POST

/

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

Returns information about a block by block number

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

blockNumber
string

Hexadecimal block number, or the string “latest”, “earliest” or “pending”

transactionDetailsFlag
bool

If true it returns the full transaction objects,if false only the hashes of the transactions

Response

id
number

Returns unique identifier for the request

jsonrpc
string

Returns the version of JSON-RPC being used

result
object

A blockObject

curl  'https://example-rpc.axiomesh.io' \
--header 'Content-Type: application/json' \
--data '{
    "jsonrpc": "2.0",
    "method": "eth_getBlockByNumber",
    "params": ["latest",false],
    "id": 1
}'
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "difficulty": "0x0",
        "extraData": "",
        "gasLimit": "0x5f5e100",
        "gasUsed": "0x0",
        "hash": "0xfB041b3D98d317C209d9782e97E873B24f42c3D0C93B24feDA94f6A244e73fEb",
        "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "miner": "0x0000000000000000000000000000000000000000",
        "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x0000000000000000",
        "number": "0x1",
        "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "receiptsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "size": "0x1fd",
        "stateRoot": "0xaa3ac2e5127e4F3aCAC9d2fceE82f3A621c15b673849BCedFbBd359C3B00052c",
        "timestamp": "0x64b8d101",
        "totalDifficulty": "0x0",
        "transactions": [],
        "transactionsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000"
    }
}