latest_block
Get the latest block successfully mined and stored on this Storage node.
Header Parameters
Possible values: Value must match regular expression ^[a-z0-9]{32}$
An idempotent key for retrieving cached responses from the node
- 200
Successful operation
Schema
The ID of the call, which corresponds to the x-cache-id used in the header
The status of the call, which will be one of either "Success", "Error", or "Pending"
The reason for the status of the call. Most useful to debug errors
The endpoint route that was called
content object
The block itself. The header contains specific info about the block, while the transactions are stored as a separate property.
block object
header object
The block number
The UNiCORN random number value, which is composed of both the UNiCORN witness and seed value for verification. The example array in this documentation is truncated for brevity.
A list of hashes for all transactions in this block
{
"id": "45v340cd2f8c4782a5b058832565afb1",
"status": "Success",
"reason": "Transaction/s successfully created",
"route": "create_transactions",
"content": {
"block": {
"header": {
"version": 0,
"bits": 0,
"b_num": 0,
"seed_value": [
[
56,
53,
48,
57,
52,
57,
50
]
],
"nonce_and_mining_tx_hash": [
[
[
168,
23,
49,
67,
25,
109
],
"g130489f617edf5792163c2d4d72568a"
]
],
"previous_hash": "b0004...7c383",
"txs_merkle_root_and_hash": [
[
"",
"48dda...ee9df"
]
]
},
"transactions": [
[
"g130489f617edf5792163c2d4d72568a"
]
]
}
}
}