Parameters
- filter IDstringREQUIRED
The filter id that is returned from eth_newFilter, eth_newBlockFilter or eth_newPendingTransactionFilter
Returns
- arrayarray
An array of block hashes (eth_newBlockFilter), log objects (eth_newFilter), or empty if there were no changes since the last poll:
- eth_newBlockFilterobject
- blockHashstring
The 32 byte hash of a block that meets your filter requirements
- eth_newPendingTransactionFilterobject
- transactionHashstring
The 32 byte hash of a transaction that meets your filter requirements
- eth_newFilterobject
- addressstring
An address from which this log originated
- topicsarray
An array of zero to four 32 Bytes DATA of indexed log arguments
- datastring
It contains one or more 32 Bytes non-indexed arguments of the log
- blockNumberstring | null
The block number where this log was in. null when its a pending log
- blockTimestampstring
The Unix timestamp of the block containing this log, encoded as hexadecimal
- transactionHashstring | null
The hash of the transactions this log was created from. null when its a pending log
- transactionIndexstring | null
The integer of the transaction's index position that the log was created from. null when it's a pending log
- blockHashstring | null
The hash of the block where this log was in. null when its a pending log
- logIndexstring | null
The integer of the log index position in the block. null when it's a pending log
- removedboolean
It is true when the log was removed due to a chain reorganization, and false if it's a valid log
1{2"jsonrpc": "2.0",3"id": "1",4"result": [5{6"logIndex": "0x0",7"removed": false,8"blockNumber": "0x233",9"blockTimestamp": "0x6909eb2d",10"blockHash": "0xfc139f5e2edee9e9c888d8df9a2d2226133a9bd87c88ccbd9c930d3d4c9f9ef5",11"transactionHash": "0x66e7a140c8fa27fe98fde923defea7562c3ca2d6bb89798aabec65782c08f63d",12"transactionIndex": "0x0",13"address": "0x42699a7612a82f1d9c36148af9c77354759b210b",14"data": "0x0000000000000000000000000000000000000000000000000000000000000004",15"topics": [16"0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3"17]18},19{20"logIndex": "0x0",21"removed": false,22"blockNumber": "0x238",23"blockTimestamp": "0x6909eb2d",24"blockHash": "0x98b0ec0f9fea0018a644959accbe69cd046a8582e89402e1ab0ada91cad644ed",25"transactionHash": "0xdb17aa1c2ce609132f599155d384c0bc5334c988a6c368056d7e167e23eee058",26"transactionIndex": "0x0",27"address": "0x42699a7612a82f1d9c36148af9c77354759b210b",28"data": "0x0000000000000000000000000000000000000000000000000000000000000007",29"topics": [30"0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3"31]32}33]34}
1{2"jsonrpc": "2.0",3"id": "1",4"result": [5{6"logIndex": "0x0",7"removed": false,8"blockNumber": "0x233",9"blockTimestamp": "0x6909eb2d",10"blockHash": "0xfc139f5e2edee9e9c888d8df9a2d2226133a9bd87c88ccbd9c930d3d4c9f9ef5",11"transactionHash": "0x66e7a140c8fa27fe98fde923defea7562c3ca2d6bb89798aabec65782c08f63d",12"transactionIndex": "0x0",13"address": "0x42699a7612a82f1d9c36148af9c77354759b210b",14"data": "0x0000000000000000000000000000000000000000000000000000000000000004",15"topics": [16"0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3"17]18},19{20"logIndex": "0x0",21"removed": false,22"blockNumber": "0x238",23"blockTimestamp": "0x6909eb2d",24"blockHash": "0x98b0ec0f9fea0018a644959accbe69cd046a8582e89402e1ab0ada91cad644ed",25"transactionHash": "0xdb17aa1c2ce609132f599155d384c0bc5334c988a6c368056d7e167e23eee058",26"transactionIndex": "0x0",27"address": "0x42699a7612a82f1d9c36148af9c77354759b210b",28"data": "0x0000000000000000000000000000000000000000000000000000000000000007",29"topics": [30"0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3"31]32}33]34}