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
Apr 29, 2026

To use the eth_newBlockFilter method on the C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

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
"id": 1,
4
"result": "0x911bba1e80260ee9edbc1fe8ea93e07c"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x911bba1e80260ee9edbc1fe8ea93e07c"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free