curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_newBlockFilter",
"params": []
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_newBlockFilter",
"params": []
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}Ronin API method that creates a new filter in the node. This filter allows applications to receive notifications when new blocks are added to the blockchain. Once the filter is created, the application can periodically useDocumentation Index
Fetch the complete documentation index at: https://chainstack-mintlify-flesh-empty-pages.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
eth_getFilterChanges to get an array of block hashes of the latest blocks.
none — This method does not require any parameters.result — the filter identifier (filterId) as a hexadecimal string. This ID is used to query the filter changes or to uninstall the filter.eth_newBlockFilter method is particularly useful for applications that need to stay synchronized with the latest state of the blockchain, such as wallets, block explorers, or decentralized applications (DApps) that react to new blocks. It provides a more efficient way to monitor the blockchain for new blocks compared to polling the latest block number.Was this page helpful?