Parameters
- filter IDstringREQUIRED
The filter ID returned by eth_newFilter or eth_newBlockFilter
Returns
- resultarray
An array of log objects for a log filter, block hashes for a block filter, or an empty array if no matching events occurred
- addressstring
An address from which this log originated
- topicsarray
An array of zero to four 32 Bytes DATA of indexed log arguments. In Solidity, the first topic is the hash of the signature of the event (e.g. Deposit(address, bytes32, uint256)), except you declare the event with the anonymous specifier
- 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
- 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, encoded as hexadecimal. 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, encoded as hexadecimal. 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
- blockTimestampstring
Timestamp of the block containing the log, encoded as a hexadecimal quantity
1{2"jsonrpc": "2.0",3"id": 1,4"result": []5}
1{2"jsonrpc": "2.0",3"id": 1,4"result": []5}