eth_newBlockFilter - BNB Smart Chain
eth_newBlockFilter in JSON-RPC API Interface creates a filter to notify when new blocks are added to the BSC blockchain, enhancing monitoring.
Supported Networks
Parameters
Request Example
https://go.getblock.io/<ACCESS-TOKEN>/curl --location --request POST https://go.getblock.io/<ACCESS-TOKEN>/
--header 'Content-Type: application/json'
--data-raw {
"jsonrpc": "2.0",
"method": "eth_newBlockFilter",
"params": [],
"id": 67
}wscat -c wss://go.getblock.io/{ACCESS_TOKEN}/
{
"jsonrpc": "2.0",
"method": "eth_newBlockFilter",
"params": [],
"id": "getblock.io"
}Body Parameters
Use Cases
Code for eth_newBlockFilter
Common Errors
Conclusion
Last updated
Was this helpful?