eth_newBlockFilter
Creates a filter in the node, to notify when a new block arrives.
Parameters
This method doesn't accept any parameters.
Returns
hex encoded unsigned integer
Example request
await provider.request({
method: 'eth_newBlockFilter',
params: [],
})
Example response
{
"id": 1,
"jsonrpc": "2.0",
"result": "0x01"
}