POSTeth_newBlockFilter
Creates a filter to receive notifications when new blocks are mined, and returns a filter ID. The filter ID is used with eth_getFilterChanges to poll for filter results.
Request Body
Responses
응답 본문이 없습니다.
Creates a filter to receive notifications when new blocks are mined, and returns a filter ID. The filter ID is used with eth_getFilterChanges to poll for filter results.
응답 본문이 없습니다.
curl -X POST "https://ethereum-mainnet.nodit.io/" \
-H "X-API-KEY: {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_newBlockFilter"
}'{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0200000000000000cb91b496c6fee6fb"
}Last updated