eth_newBlockFilter

Creates a new block filter on the node, enabling clients to be notified when a new block arrives.

Parameters

None

Example

Request

curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{
    "jsonrpc": "2.0",
    "method": "eth_newBlockFilter",
    "params": [],
    "id": 71
}'

Response

{
    "jsonrpc": "2.0",
    "id": 71,
    "result": "0x1"
}