POST
/
eth_newBlockFilter
curl --request POST \
  --url https://api.mainnet.abs.xyz/eth_newBlockFilter \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_newBlockFilter",
  "params": []
}'
{
  "jsonrpc": "2.0",
  "result": "0xb415d4b0e6ca750802be8c84c99a68170deeb9ed09c4e2eb0dc5299ab715e978",
  "id": 1
}

Body

application/json
jsonrpc
string
default:2.0
required

JSON-RPC version

method
string
default:eth_newBlockFilter
required

The method to call

id
integer
default:1
required

Request identifier

params
any[]

No parameters

Response

200 - application/json
Returns the filter ID
jsonrpc
string
Example:

"2.0"

id
integer
Example:

1

result
string

The filter ID

Example:

"0xb415d4b0e6ca750802be8c84c99a68170deeb9ed09c4e2eb0dc5299ab715e978"