POSTkaia_newBlockFilter

Creates a filter to receive notifications when new blocks are created and returns the filter ID. The filter ID is used with kaia_getFilterChanges to query filter results.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
Responses

응답 본문이 없습니다.

X-API-KEY
RequestCU18
cURL
curl -X POST "https://kaia-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "kaia_newBlockFilter"
}'
Response
Example · 200
"0x1a"