/blockchain
Get block headers for minHeight <= height <= maxHeight. At most 20 items will be returned. Upon success, the Cache-Control header will be set with the default maximum age.
Parameters:
minHeight - int, Minimum block height to return
maxHeight- int, Maximumblock height to return
Example:
// Request
curl -X GET -H 'Content-Type: application/json' https://froopyland.blockpi.network/rpc/v1/<your-api-key>/blockchain
// Result
{
"jsonrpc": "2.0",
"result": {
"block_metas": [
{
"block_id": {
"hash": "AA6EFB382D2E429C7C0A9F1CC06193B681BDA896B0454414DC64A58A54F92F26",
"parts": {
"hash": "62E109119CC3A5CB57330342AA74B0BDB51082ACC8123670BB79E85E92964412",
"total": 1
}
},
"block_size": "16874",
"header": {
"app_hash": "34BB94716A0384FACEEF3B42D55CB9CCAF1B906CC80BA84F06871614466D7184",
"chain_id": "froopyland_100-1",
"consensus_hash": "7A4E64D2A9B5CE22B75E956E2025274DC03B6846CCD7725152A6BC0D0727E33E",
"data_hash": "5E338CD71ED646BD70B9BDBE8A493AF09F6591ECA92BA8E3E882E4F47DBD5A3A",
"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
"height": "1651535",
"last_block_id": {
"hash": "ED01235782CB4917BFD1EE76347EFC5FF29DDC500662458254433C3CA728A01F",
"parts": {
"hash": "99F6BB16841AFC8473814C044A4C62839EABCB0F8099832D9B6ABD745B4223EF",
"total": 1
}
},
"last_commit_hash": "A598424877B2D2589F228E51101C8461CF813B1DAE2C030953E479CE3F8291F4",
"last_results_hash": "9880AD0ECFB04F6C815690CEE0EF79AB754441ABBCA1ADE9F51B591D4AC4C7D5",
"next_validators_hash": "F661BE6F35E6C1BA2827032FB3D12DF0CE0B6952D26F755E33475188FB290DDA",
"proposer_address": "4FB4FB32590049247BC2417E8148BCA7DD7F200E",
"time": "2023-12-11T12:08:40.839400205Z",
"validators_hash": "F661BE6F35E6C1BA2827032FB3D12DF0CE0B6952D26F755E33475188FB290DDA",
"version": {
"block": "11"
}
},
"num_txs": "9"
},
......
]
}
}
Last updated