Polling method for a filter, which returns an array of logs which occurred since last poll.
POST/:network/eth_getFilterChanges
Polling method for a filter, which returns an array of logs which occurred since last poll.
Request
Path Parameters
network stringrequired
Default value: eth-mainnet
The blockchain network to connect to.
Example: eth-mainnet
Query Parameters
projectId stringrequired
Default value: 8ry9f6t9dct1se2hlagxnd9n2a
The id of your project. Can be found in your Histori dashboard.
Example: 8ry9f6t9dct1se2hlagxnd9n2a
- application/json
Body
id integer
jsonrpc string
method string
params undefined[]nullable
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Sample Response
Schema
id integer
jsonrpc string
result string
{
"id": 0,
"jsonrpc": "string",
"result": "string"
}
Real World response
{
"jsonrpc": "2.0",
"id": 73,
"result": [
{
"address": "0xb5a5f22694352c15b00323844ad545abb2b11028",
"blockHash": "0x99e8663c7b6d8bba3c7627a17d774238eae3e793dee30008debb2699666657de",
"blockNumber": "0x5d12ab",
"data": "0x0000000000000000000000000000000000000000000000a247d7a2955b61d000",
"logIndex": "0x0",
"removed": false,
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000bdc0afe57b8e9468aa95396da2ab2063e595f37e",
"0x0000000000000000000000007503e090dc2b64a88f034fb45e247cbd82b8741e"
],
"transactionHash": "0xa74c2432c9cf7dbb875a385a2411fd8f13ca9ec12216864b1a1ead3c99de99cd",
"transactionIndex": "0x3"
}
]
}
Loading...