v1

latestOpenAPI 3.0.02026-07-26541677.9 KB
Ethereum API

eth_newFilter

Creates a filter object to notify when the state changes

post/eth_newFilter

Request body

jsonrpcstring required

JSON-RPC version

methodstring required

The method to call

idinteger required

Request identifier

Response

Returns the filter ID

jsonrpcstring
idinteger
resultstring

The filter ID

Example response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xb415d4b0e6ca750802be8c84c99a68170deeb9ed09c4e2eb0dc5299ab715e978"
}