Virtual TestNets are live! ⚡️ Test and stage dapps on real-time production data.
Get started →

All Products

eth_newBlockFilter - Fraxtal


Summary

Creates a filter object based on the given filter options, to notify when a new block arrives. To check if the state has changed, call eth_getFilterChanges. Filters that are not requested by eth_getFilterChanges time out after 24 hours.

This method does not accept any parameters.

eth_newBlockFilter response example

Code Example

eth_newBlockFilter curl

Don’t have an Access Key?

Start using this API in your app today.

Get started for free