Blocks

Query blocks information.

get
Get Block

https://api.elrond.com/block/:shardId/:blockNumber
This endpoint allows one to query the hash and the content of a Block commited by a Shard.
Request
Response
Request
Path Parameters
shardId
required
number
The Shard ID. 0, 1, 2 etc. Use 4294967295 in order to query the Metachain.
blockNumber
required
number
The Block number.
Response
200: OK
Block details retrieved successfully.
{
"block": {
"nonce": 34547,
"hash": "ad6a...",
"transactions": [
{
"hash": "10e9...",
"fee": "10000000000000000",
"miniBlockHash": "37d5...",
"nonce": 18,
"round": 35968,
"value": "50000000000000000000000",
"receiver": "erd1...",
"sender": "erd1...",
"receiverShard": 0,
"senderShard": 0,
"gasPrice": 200000000000,
"gasLimit": 50000,
"gasUsed": 50000,
"data": "",
"signature": "0ac90...",
"timestamp": 1591271808,
"status": "Success",
"scResults": null
}
]
}
}