eth_newBlockFilter
API key required. This Polygon Amoy method is documented for keyed private endpoints. It is not available on
/v1/rpc/public. Create an endpoint to get an API key.
Network: Polygon Amoy · Testnet · Chain ID 80002 (0x13882)
Counts as 1 request. See Request Counting.
Description
Creates a filter for new blocks.
Parameters
None
Request
{
"jsonrpc": "2.0",
"method": "eth_newBlockFilter",
"params": [],
"id": 1
}Code Examples
curl -X POST https://polygon-amoy-bor-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000 \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_newBlockFilter","params":[],"id":1}'