eth_getFilterLogs - Avalanche
Example code for the eth_getFilterLogs json-rpc method. Сomplete guide on how to use eth_getFilterLogs json-rpc in GetBlock.io Web3 documentation.
Parameters
QUANTITY
- string
The filter id.
Request
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/ext/bc/C/rpc' \
--header 'Content-Type: application/json'
--data-raw '{
"jsonrpc": "2.0",
"method": "eth_getFilterLogs",
"params": [
"0x16"
],
"id": "getblock.io"
}'
Response
{
"error": {
"code": -32000,
"message": "filter not found"
},
"id": "getblock.io",
"jsonrpc": "2.0"
}
Last updated