eth_newBlockFilter

在节点上创建新的区块过滤器,使客户端能够在新区块到来时收到通知。

在节点上创建新的区块过滤器,使客户端能够在新区块到来时收到通知。

参数

示例

请求

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

响应

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