Virtual TestNets are live! ⚡️ Test and stage dapps on real-time production data.  Schedule Office Hours

eth_newBlockFilter - Optimism Mainnet


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.

Parameters

This method does not accept any parameters.

Code Examples