post https://dogeos-testnet.unifra.io/v1//eth_getFilterChanges
Polling method for a filter, which returns an array of logs which occurred since last poll.
Polling method for a filter, which returns an array of logs that occurred since the last poll.
PARAMETERS
Filter ID - (required) The filter ID.
REQUEST
{
"jsonrpc":"2.0",
"method":"eth_getFilterChanges",
"params":["0x433f460405cc3301fc07314056de481e"],
"id":73
}RESPONSE
Result - An array of log objects, or an empty array if nothing has changed since the last poll.
NOTE:
eth_getFilterChangesonly returns logs since the filter was created, regardless of the block passed in to create the filter. To get logs ranging from a specific block you should use eth_getLogs.
- For filters created with
eth_newBlockFilterthe return are block hashes, e.g.["0x3454645634534..."]. - For filters created with
eth_newPendingTransactionFilterthe return are transaction hashes, e.g.["0x6345343454645..."]. - For filters created with
eth_newFilterlogs are objects with the following parameters:removed-truewhen the log was removed, due to a chain reorganization.falseif it's a valid log.logIndex- The log index position in the block.nullwhen it's a pending log.transactionIndex- The transaction's index position log was created from.nullwhen it's a pending log.transactionHash- Hash of the transactions this log was created from.nullwhen it's a pending log.blockHash- Hash of the block where this log was in.nullwhen it's pending.nullwhen it's a pending log.blockNumber- The block number where this log was in.nullwhen it's pending.nullwhen it's a pending log.address- Address from which this log originated.data- Contains one or more 32 Bytes non-indexed arguments of the log.topics- An array of 0 to 4 32-byte 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)), unless you declare the event with theanonymousspecifier.
- In Solidity, the first topic is the hash of the signature of the event (e.g.
{
"jsonrpc": "2.0",
"id": 73,
"result": []
}