Parameters
- filter IDstringREQUIRED
The filter id that is returned from eth_newFilter, eth_newBlockFilter
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_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"blockHash": "0xfc139f5e2edee9e9c888d8df9a2d2226133a9bd87c88ccbd9c930d3d4c9f9ef5",10"transactionHash": "0x66e7a140c8fa27fe98fde923defea7562c3ca2d6bb89798aabec65782c08f63d",11"transactionIndex": "0x0",12"address": "0x42699a7612a82f1d9c36148af9c77354759b210b",13"data": "0x0000000000000000000000000000000000000000000000000000000000000004",14"topics": [15"0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3"16]17},18{19"logIndex": "0x0",20"removed": false,21"blockNumber": "0x238",22"blockHash": "0x98b0ec0f9fea0018a644959accbe69cd046a8582e89402e1ab0ada91cad644ed",23"transactionHash": "0xdb17aa1c2ce609132f599155d384c0bc5334c988a6c368056d7e167e23eee058",24"transactionIndex": "0x0",25"address": "0x42699a7612a82f1d9c36148af9c77354759b210b",26"data": "0x0000000000000000000000000000000000000000000000000000000000000007",27"topics": [28"0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3"29]30}31]32}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"logIndex": "0x0",7"removed": false,8"blockNumber": "0x233",9"blockHash": "0xfc139f5e2edee9e9c888d8df9a2d2226133a9bd87c88ccbd9c930d3d4c9f9ef5",10"transactionHash": "0x66e7a140c8fa27fe98fde923defea7562c3ca2d6bb89798aabec65782c08f63d",11"transactionIndex": "0x0",12"address": "0x42699a7612a82f1d9c36148af9c77354759b210b",13"data": "0x0000000000000000000000000000000000000000000000000000000000000004",14"topics": [15"0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3"16]17},18{19"logIndex": "0x0",20"removed": false,21"blockNumber": "0x238",22"blockHash": "0x98b0ec0f9fea0018a644959accbe69cd046a8582e89402e1ab0ada91cad644ed",23"transactionHash": "0xdb17aa1c2ce609132f599155d384c0bc5334c988a6c368056d7e167e23eee058",24"transactionIndex": "0x0",25"address": "0x42699a7612a82f1d9c36148af9c77354759b210b",26"data": "0x0000000000000000000000000000000000000000000000000000000000000007",27"topics": [28"0x04474795f5b996ff80cb47c148d4c5ccdbe09ef27551820caa9c2f8ed149cce3"29]30}31]32}