Last updated 4 months ago
Creates a filter in the node, to notify when a new block arrives. To check if the state has changed, call .
This method will use 10 .
10
None
QUANTITY - A filter id.
QUANTITY
// Result { "id":1, "jsonrpc": "2.0", "result": "0x1" // 1 }
curl https://mainnet.hedera.validationcloud.io/v1/<YOUR_API_KEY_HERE> \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_newBlockFilter","params":[],"id":73}'
curl https://testnet.hedera.validationcloud.io/v1/<YOUR_API_KEY_HERE> \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_newBlockFilter","params":[],"id":73}'