eth_newBlockFilter-polygon

Creates a filter in the node, to notify when a new block arrives. To check if the state has changed, call eth_getFilterChanges.

Log in to see full request history

Parameters

  • No parameters needed.
curl https://polygon-mainnet-archive.allthatnode.com/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \ --request POST \ --header "Content-Type: application/json" \ --data '{ "jsonrpc":"2.0", "id":1, "method":"eth_newBlockFilter", "params":[] }'

Returns

  • QUANTITY - A filter id.
{"jsonrpc":"2.0","id":1,"result":"0x8e9682541e543d9cb1381ca97e19f9a8"}

Try Yourself

Path Params
string
required
Defaults to 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj
Body Params
string
required
Defaults to 1
string
required
Defaults to 2.0
string
required
Defaults to eth_newBlockFilter
Language
Click Try It! to start a request and see the response here!