POST

/

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

Creates a filter object, based on filter options, to notify when the state changes (logs). 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

Contains the list of parameters passed to the remote method.

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_newFilter",
    "params": [{"fromBlock":"latest","toBlock":"latest","address":"0xc7F999b83Af6DF9e67d0a37Ee7e900bF38b3D013"}],
    "id": 1
}'
{
    "id":1,
    "jsonrpc": "2.0",
    "result": "0xf968a32a04ad5e5511942fe4a16efb11"
}