Eth
eth_newFilter
Creates a filter object, based on filter options, to notify when the state changes (logs).
⚠️ Note: Filter methods may not be available or may have limited functionality on public RPC endpoints as they require server-side state management.
JSON-RPC request
jsonrpcstring
methodstring
paramsarray<unknown>
idinteger
Response Body
application/json
application/json
curl -X POST "https://api.avax.network/ext/bc/C/rpc#eth_newFilter" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "eth_newFilter", "params": [ {} ], "id": 1 }'{
"jsonrpc": "2.0",
"result": null,
"error": {
"code": 0,
"message": "string",
"data": null
},
"id": 1
}{
"jsonrpc": "2.0",
"error": {
"code": 0,
"message": "string",
"data": null
},
"id": 1
}Is this guide helpful?