Skip to main content

eth_newBlockFilter RPC Method

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

Updated on
Aug 31, 2026

Parameters

This method does not accept any parameters

Returns

result
string

It returns a filter id to be used when calling eth_getFilterChanges

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": "0xb52b11095ca4cb359a82889a9d88005",
4
"id": 1
5
}
1
{
2
"jsonrpc": "2.0",
3
"result": "0xb52b11095ca4cb359a82889a9d88005",
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free