eth_newBlockFilter
Creates a filter to notify when new blocks arrive. Returns a filter ID for use with eth_getFilterChanges.
Parameters
Returns
Request
{
"jsonrpc": "2.0",
"method": "eth_newBlockFilter",
"params": [],
"id": 1
}
Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1"
}
Last updated