eth_newBlockFilter

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

Parameters

None.

Sample Request

curl https://lb.nodies.app/v1/<INSERT API> -X POST -H "Content-Type: application/json" -d '{
  "method": "eth_newBlockFilter",
  "params": [],
  "id": 1,
  "jsonrpc": "2.0"
}'

Sample Response

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

Last updated