POSTeth_newBlockFilter

Tron Mainnethttps://tron-mainnet.nodit.io/

Creates a block filter so the client can be notified when a new block arrives, and returns the filter ID. Query the created filter with eth_getFilterChanges, and remove it with eth_uninstallFilter when done.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
paramsobject[]required

This method takes no parameters. Pass an empty array.

Responses

응답 본문이 없습니다.

X-API-KEY
RequestCU18
cURL
curl -X POST "https://tron-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_newBlockFilter",
  "params": []
}'
Response
Example · 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x4ad051af0b9615fc3390c019cd8f64e9"
}