POST

/

id
jsonrpc
method
params
curl --request POST \
  --url https://rpc1.taurus.axiomesh.io/

Creates a filter in the node, to notify when a new block arrives. To check if the state has changed, call eth_getFilterChanges.

Body

id
number

Serves as a unique identifier for the request

jsonrpc
string

Indicates the version of JSON-RPC being used

method
string

Represents the name of the remote procedure or method to be called

params
array

None

Response

id
number

Returns unique identifier for the request

jsonrpc
string

Returns the version of JSON-RPC being used.

filterId
string

A filter id

curl  'https://example-rpc.axiomesh.io' \
--header 'Content-Type: application/json' \
--data '{
    "jsonrpc":"2.0",
    "method":"eth_newBlockFilter",
    "params":[],
    "id":1
}'
{
    "id":1,
    "jsonrpc": "2.0",
    "result": "0xd28b61b399766b07f9889f9c126a5af" 
}