post https://cosmos-mainnet-archive.allthatnode.com:26657/
Get block results at a specified height.
If the height field is set to a non-default value, upon success, the Cache-Control header will be set with the default maximum age.
Parameters
OBJECT
- parametersheight
:INTEGER
- height to return. If no height is provided, it will fetch commit informations regarding the latest block.
curl https://cosmos-mainnet-archive.allthatnode.com:26657/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \
--header "Content-Type: application/json" \
--request GET \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "commit",
"params": {
"height": "16369419"
}
}'
Returns
OBJECT
- Commit results. Canonical switches from false to true for block H once block H+1 has been committed. Until then it's subjective and only reflects what this node has seen so far.
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"signed_header": {
"header": {
"version": {
"block": "11"
},
"chain_id": "cosmoshub-4",
"height": "16369419",
"time": "2023-07-31T11:23:26.077012068Z",
"last_block_id": {
"hash": "2A106753C672C0C5975B4F4998639EA796044C73ABDD03B8849855DB06E29504",
"parts": {
"total": 1,
"hash": "A020B5B6262D5904C4975C64EA1CF55A8CF101CD182B79C3D4053100F3480174"
}
},
"last_commit_hash": "D74EE9108BAAA3BBB0C9BFD71EADD42862BEF1263ADA8841EB2308B3DABA3060",
"data_hash": "FDBDFCCB4DD09BC09EC84380B84B89E29FF2C69E81AC944F1F83338917C05A31",
"validators_hash": "58C4503AF8F2C3515A3D6DDAEAD2CD4F03D996932CA33B32930B9B65F2CBB371",
"next_validators_hash": "1E0383A9F684B025A7196E8D14A4FB1534B740FA1B722F5CC5D9E4410BF325F8",
"consensus_hash": "80364965B7C2CC9DE961C0998B47A7F93F1970077EB882E0ED1C3822408888C7",
"app_hash": "F62D26DCD2C2D57B10880CE33D63C52532EB461630A0A0025EB07B8E85982B04",
"last_results_hash": "397DFC6F5B00B4EE4C07B6C0EC524E10506FDD0AA8DE734C0FDEC3412D92826A",
"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
"proposer_address": "2199EAE894CA391FA82F01C2C614BFEB103D056C"
},
"commit": {
"height": "16369419",
"round": 0,
"block_id": {
"hash": "622D72B19564ADEC2E8995B57D6B6C7F00B416C9E42B90602F45F5322313DEFD",
"parts": {
"total": 1,
"hash": "9FBDA5B1DB405C16A5C375B767FAF1EDEB4D74177F0E6DDB1731D308D8827E6E"
}
},
"signatures": [
{
"block_id_flag": 2,
"validator_address": "D68EEC0D2E8248F1EC64CDB585EDB61ECA432BD8",
"timestamp": "2023-07-31T11:23:32.198211875Z",
"signature": "+BSKhXOg2kJaoPX2109I5DYefTaEZNaqjZCZ8GXqJylfQRuvn9jzvHSiwaNLZIq1k9ajwimsZHemmvPJTeuKCg=="
},
{
"block_id_flag": 2,
"validator_address": "D2D458F9209ECB8CA2AAB1D99E06611B812A8797",
"timestamp": "2023-07-31T11:23:32.276493294Z",
"signature": "Omm1t36Y923zyscxEKg3EEOevba2UoAkH1JXhChbw/tASibvT3zqVkYX0BIfv4E6McnfkqPJmkq0riPAIxxiAQ=="
},
{
"block_id_flag": 2,
"validator_address": "2199EAE894CA391FA82F01C2C614BFEB103D056C",
"timestamp": "2023-07-31T11:23:32.163330337Z",
"signature": "hxZbCxuXiXRRKlAoQtsYi+c1msxR+0xiycxa4qIANiqT1JxQob+ngRddjDQT47XI+LGGmVkNa5ClpUT4JrfgDQ=="
},
{
"block_id_flag": 2,
"validator_address": "ED509E78097E1306A91FEDE8E85B75D06BDDF6E3",
"timestamp": "2023-07-31T11:23:32.206267848Z",
"signature": "OPLoTHzLRC+CIxRZp0z4hex3Han5F1E+ewxjHCn+XzG+lHu8Zwq2PbwFe1lcuG7LTc9J7tKcyHxMs8sMdZOFBg=="
},
{
"block_id_flag": 2,
"validator_address": "4AF69D6A5436C30E3584C1628433DE55E758BCCA",
"timestamp": "2023-07-31T11:23:32.244211274Z",
"signature": "X5owbquFGLcxGCZJqpfzf11k/RhvZKTIig/pVYS9FSLpJhTG6IxS2T5ajm0u1Dssjd+cxZt2zM21ko3VASKsDA=="
}
]
}
},
"canonical": true
}
}