eth_newBlockFilter
Blocks info | Monad
eth_newBlockFilter | Monad
Monad API method that creates a filter in the node to notify when a new block arrives. Use eth_getFilterChanges to poll for new blocks.
POST
eth_newBlockFilter
Monad API method that creates a filter in the node to notify when a new block arrives. Use
eth_getFilterChanges to poll for new blocks.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
none
Response
result— the filter ID, used to poll for new blocks witheth_getFilterChanges.
eth_newBlockFilter code examples
Use case
A practical use case foreth_newBlockFilter is building applications that need to react to new blocks as they are mined, such as block explorers, monitoring tools, or HTTP-only clients that can’t hold a persistent WebSocket connection. For real-time streaming, prefer eth_subscribe("newHeads") over WebSocket — see the event-monitoring tutorial.Last modified on May 18, 2026