Blocks
Last updated
Last updated
Block height
1
The block at a specific height
const response = await fetch('https://akt.nownodes.io/blocks/{height}', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"block_meta": {
"header": {
"chain_id": "cosmoshub-2",
"height": 1,
"time": "2017-12-30T05:53:09.287+01:00",
"num_txs": 0,
"last_block_id": {
"hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"parts": {
"total": 0,
"hash": "EE5F3404034C524501629B56E0DDC38FAD651F04"
}
},
"total_txs": 35,
"last_commit_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"data_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"validators_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"next_validators_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"consensus_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"app_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"last_results_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"evidence_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"proposer_address": "cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27",
"version": {
"block": 10,
"app": 0
}
},
"block_id": {
"hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"parts": {
"total": 0,
"hash": "EE5F3404034C524501629B56E0DDC38FAD651F04"
}
}
},
"block": {
"header": {
"chain_id": "cosmoshub-2",
"height": 1,
"time": "2017-12-30T05:53:09.287+01:00",
"num_txs": 0,
"last_block_id": {
"hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"parts": {
"total": 0,
"hash": "EE5F3404034C524501629B56E0DDC38FAD651F04"
}
},
"total_txs": 35,
"last_commit_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"data_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"validators_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"next_validators_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"consensus_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"app_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"last_results_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"evidence_hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"proposer_address": "cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27",
"version": {
"block": 10,
"app": 0
}
},
"txs": [
"text"
],
"evidence": [
"text"
],
"last_commit": {
"block_id": {
"hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"parts": {
"total": 0,
"hash": "EE5F3404034C524501629B56E0DDC38FAD651F04"
}
},
"precommits": [
{
"validator_address": "text",
"validator_index": "0",
"height": "0",
"round": "0",
"timestamp": "2017-12-30T05:53:09.287+01:00",
"type": 2,
"block_id": {
"hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
"parts": {
"total": 0,
"hash": "EE5F3404034C524501629B56E0DDC38FAD651F04"
}
},
"signature": "7uTC74QlknqYWEwg7Vn6M8Om7FuZ0EO4bjvuj6rwH1mTUJrRuMMZvAAqT9VjNgP0RA/TDp6u/92AqrZfXJSpBQ=="
}
]
}
}
}