GetLatestBlock returns the latest block.
Parameters
None
Result
Example
Request
curl <your-rest-endpoint>/cosmos/base/tendermint/v1beta1/blocks/latest \
-X GET \
-H "accept: application/json"
Return
{
"block_id": {
"hash": "F0nEfiqS1iq4YlL64SFOhLEKGONoXd/T+Wb12sov8M4=",
"part_set_header": {
"total": 3,
"hash": "vIOlDUHlOOrVjVUCAMnKNK7Lvb1bGKQDvgsDl+Nfpdk="
}
},
"block": {
"header": {
"version": {
"block": "11",
"app": "0"
},
"chain_id": "cosmoshub-4",
"height": "9916235",
"time": "2022-03-28T23:31:07.511162603Z",
"last_block_id": {
"hash": "28CeHOnKE5wr7exTD6Z6u//V87/BdZBP4bpCr6q0Sxc=",
"part_set_header": {
"total": 1,
"hash": "FqI6wh8k29kFTmBPthSgl80kySnZ/+NnFPTRdDYy9FU="
}
},
"last_commit_hash": "+E1DU6qXN8ET0j0On8bcDmOAxIGXmyCL+yNjU70wN9c=",
"data_hash": "DH8TXQh/usEb7palL71VgqXfIJtPQLaeApB2emeBsZk=",
"validators_hash": "yCpt5u9TTUUwXwG3yuub/XSZN3ltZuq5GwjMOhbb/H4=",
"next_validators_hash": "yCpt5u9TTUUwXwG3yuub/XSZN3ltZuq5GwjMOhbb/H4=",
"consensus_hash": "gDZJZbfCzJ3pYcCZi0en+T8ZcAd+uILg7Rw4IkCIiMc=",
"app_hash": "2vVSWlrOtQyitLW8JAsX0bYSn5ptsVzzXBc3Bb0Q7P0=",
"last_results_hash": "47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=",
"evidence_hash": "47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=",
"proposer_address": "9Zc0qJanaJQ2vDQiJE/YYq4YnFw="
},
"data": {
"txs": [
"CsLWAQrpxwEKIy9pYmMuY29yZS5jbGllbnQudjEuTXNnVXBkYXRlQ2xpZW50EsDHAQoRMDctdGVuZGVybWludC0yNTkS+sYBCiYvaWJjLmxpZ2h0Y2xpZW50cy50ZW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
"height": "9916234",
"round": 0,
"block_id": {
"hash": "28CeHOnKE5wr7exTD6Z6u//V87/BdZBP4bpCr6q0Sxc=",
"part_set_header": {
"total": 1,
"hash": "FqI6wh8k29kFTmBPthSgl80kySnZ/+NnFPTRdDYy9FU="
}
},
"signatures": [
{
"block_id_flag": "BLOCK_ID_FLAG_COMMIT",
"validator_address": "rC1WBXzYR2Xm++MYl5CT6ORKoY8=",
"timestamp": "2022-03-28T23:31:07.489106273Z",
"signature": "5e/5haT7hNS4g5q/c6f2AyIcQEX5vXwa+hy7hdftBcgReGAVEdOc4oHYmXabrW0rhLyUGeTNgjcKB/VsALtFCg=="
},
{
"block_id_flag": "BLOCK_ID_FLAG_COMMIT",
"validator_address": "g/R9d0ew9jOmug30m33PYfkKobA=",
"timestamp": "2022-03-28T23:31:06.891785652Z",
"signature": "NkKT2UFY62zK+D4v992zEwhvxa6vxGi7kzCIRpEsZQRziZBFWvEv3hrItWfQUc+JguQMSIoY2MbCUSEsEun/CA=="
},
...
{
"block_id_flag": "BLOCK_ID_FLAG_COMMIT",
"validator_address": "6x3yJQe3nOcA+GxMixPX3wHf2pw=",
"timestamp": "2022-03-28T23:31:07.514004303Z",
"signature": "jSUK0AWiP2QAqr7i/OPJxgPS9JhE0437AH/cROOzb57ogT3jOiI7+aijw7GmdJAMsjMUzbyZ/Ic9bt1hzJ26AA=="
},
{
"block_id_flag": "BLOCK_ID_FLAG_COMMIT",
"validator_address": "cI/dzhIc2tpQLysCUv7xP9qjHlA=",
"timestamp": "2022-03-28T23:31:07.481418712Z",
"signature": "i8OmaQpMM8PsmfWyPJMZKR9hFykmkifg4ADMhWkjtmwe3KT6JjI8Ubmv7AAsPnGaJhy6/wchgAcd52q2p9gBCg=="
}
]
}
}
}