POST

/

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

Returns the number of transactions sent from an address

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

address
string

A string representing the address (20 bytes) to check for transaction count for

block
string

A hexadecimal block number, or the string “latest”, “earliest” or “pending” or the hash (32 bytes) of a block

Response

id
number

Returns unique identifier for the request

jsonrpc
string

Returns the version of JSON-RPC being used

transactionCount
string

A hex code of the integer representing the number of transactions sent from this address

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