GET/cosmos/base/tendermint/v1beta1/blocks/latest

https://rest-hippo-mainnet.nodit.io/cosmos/base/tendermint/v1beta1/blocks/latest

GetLatestBlock returns the latest block.

Responses
hashstring (byte)

Block hash.

part_set_headerobject

Part set header, used when the block is split into parts for gossiping.

totalinteger (int64)

Total number of block parts.

hashstring (byte)

Merkle root hash of the block parts.

headerobject

Header defines the structure of a block header.

versionobject

Consensus captures the consensus rules for processing a block in the blockchain, including all blockchain data structures and the rules of the application's state transition machine.

blockstring (uint64)

Block protocol version.

appstring (uint64)

Application protocol version.

chain_idstring

Chain ID.

heightstring (int64)

Block height.

timestring (date-time)

Block time (UTC).

last_block_idobject

Block ID of the previous block.

hashstring (byte)

Block hash.

part_set_headerobject

Part set header, used when the block is split into parts for gossiping.

totalinteger (int64)

Total number of block parts.

hashstring (byte)

Merkle root hash of the block parts.

last_commit_hashstring (byte)

Hash of the validators' commit for the previous block.

data_hashstring (byte)

Hash of the transactions in the block.

validators_hashstring (byte)

Hash of the validator set for the current block.

next_validators_hashstring (byte)

Hash of the validator set for the next block.

consensus_hashstring (byte)

Hash of the consensus parameters for the current block.

app_hashstring (byte)

Application state hash after executing the previous block's transactions.

last_results_hashstring (byte)

Root hash of the execution results of the previous block's transactions.

evidence_hashstring (byte)

Hash of the evidence included in the block.

proposer_addressstring (byte)

Address of the validator that proposed the block.

dataobject

Transactions included in the block.

txsstring (byte)[]

Txs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs.

evidenceobject

Evidence of Byzantine behavior included in the block.

evidenceobject[]

Evidence of Byzantine behavior included in the block.

duplicate_vote_evidenceobject

Evidence that a validator signed two conflicting votes.

vote_aobject

Validator's prevote or precommit vote for consensus.

vote_bobject

Validator's prevote or precommit vote for consensus.

total_voting_powerstring (int64)

Total voting power at the time of the violation.

validator_powerstring (int64)

Validator voting power at the time of the violation.

timestampstring (date-time)

Time at which the violation occurred.

light_client_attack_evidenceobject

Evidence that the validator set attempted to mislead a light client.

conflicting_blockobject

Block that conflicts with the trusted block.

common_heightstring (int64)

Last height shared by the conflicting and trusted blocks.

byzantine_validatorsobject[]

Validators that took part in the attack.

total_voting_powerstring (int64)

Total voting power at the time of the violation.

timestampstring (date-time)

Time at which the violation occurred.

last_commitobject

Contains evidence that the block was committed by the validator set.

heightstring (int64)

Height of the committed block.

roundinteger (int32)

Consensus round in which the block was committed.

block_idobject

ID of the committed block.

hashstring (byte)

Block hash.

part_set_headerobject

Part set header, used when the block is split into parts for gossiping.

totalinteger (int64)

Total number of block parts.

hashstring (byte)

Merkle root hash of the block parts.

signaturesobject[]

Validator signatures, ordered by the validator set.

block_id_flagstring (enum)

Validator vote status: 1 absent, 2 voted for this block, 3 voted nil.

validator_addressstring (byte)

Address of the signing validator.

timestampstring (date-time)

Time the signature was made.

signaturestring (byte)

Validator signature (Base64).

headerobject

Header defines the structure of a Tendermint block header.

versionobject

Consensus captures the consensus rules for processing a block in the blockchain, including all blockchain data structures and the rules of the application's state transition machine.

blockstring (uint64)

Block protocol version.

appstring (uint64)

Application protocol version.

chain_idstring

Chain ID.

heightstring (int64)

Block height.

timestring (date-time)

Block time (UTC).

last_block_idobject

Block ID of the previous block.

hashstring (byte)

Block hash.

part_set_headerobject

Part set header, used when the block is split into parts for gossiping.

totalinteger (int64)

Total number of block parts.

hashstring (byte)

Merkle root hash of the block parts.

last_commit_hashstring (byte)

Hash of the validators' commit for the previous block.

data_hashstring (byte)

Hash of the transactions in the block.

validators_hashstring (byte)

Hash of the validator set for the current block.

next_validators_hashstring (byte)

Hash of the validator set for the next block.

consensus_hashstring (byte)

Hash of the consensus parameters for the current block.

app_hashstring (byte)

Application state hash after executing the previous block's transactions.

last_results_hashstring (byte)

Root hash of the execution results of the previous block's transactions.

evidence_hashstring (byte)

Hash of the evidence included in the block.

proposer_addressstring

proposer_address is the original block proposer address, formatted as a Bech32 string. In Tendermint, this type is bytes, but in the SDK, we convert it to a Bech32 string for better UX.

dataobject

Transactions included in the block.

txsstring (byte)[]

Txs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs.

evidenceobject

Evidence of Byzantine behavior included in the block.

evidenceobject[]

Evidence of Byzantine behavior included in the block.

duplicate_vote_evidenceobject

Evidence that a validator signed two conflicting votes.

vote_aobject

Validator's prevote or precommit vote for consensus.

vote_bobject

Validator's prevote or precommit vote for consensus.

total_voting_powerstring (int64)

Total voting power at the time of the violation.

validator_powerstring (int64)

Validator voting power at the time of the violation.

timestampstring (date-time)

Time at which the violation occurred.

light_client_attack_evidenceobject

Evidence that the validator set attempted to mislead a light client.

conflicting_blockobject

Block that conflicts with the trusted block.

common_heightstring (int64)

Last height shared by the conflicting and trusted blocks.

byzantine_validatorsobject[]

Validators that took part in the attack.

total_voting_powerstring (int64)

Total voting power at the time of the violation.

timestampstring (date-time)

Time at which the violation occurred.

last_commitobject

Contains evidence that the block was committed by the validator set.

heightstring (int64)

Height of the committed block.

roundinteger (int32)

Consensus round in which the block was committed.

block_idobject

ID of the committed block.

hashstring (byte)

Block hash.

part_set_headerobject

Part set header, used when the block is split into parts for gossiping.

totalinteger (int64)

Total number of block parts.

hashstring (byte)

Merkle root hash of the block parts.

signaturesobject[]

Validator signatures, ordered by the validator set.

block_id_flagstring (enum)

Validator vote status: 1 absent, 2 voted for this block, 3 voted nil.

validator_addressstring (byte)

Address of the signing validator.

timestampstring (date-time)

Time the signature was made.

signaturestring (byte)

Validator signature (Base64).

X-API-KEY
RequestCU25
cURL
curl -X GET "https://rest-hippo-mainnet.nodit.io/cosmos/base/tendermint/v1beta1/blocks/latest" \
  -H "X-API-KEY: {YOUR_API_KEY}"
Response
Example · 200
{
  "block_id": {
    "hash": "string",
    "part_set_header": {
      "total": 0,
      "hash": "string"
    }
  },
  "block": {
    "header": {
      "version": {
        "block": "string",
        "app": "string"
      },
      "chain_id": "string",
      "height": "string",
      "time": "string",
      "last_block_id": {
        "hash": "string",
        "part_set_header": {}
      },
      "last_commit_hash": "string",
      "data_hash": "string",
      "validators_hash": "string",
      "next_validators_hash": "string",
      "consensus_hash": "string",
      "app_hash": "string",
      "last_results_hash": "string",
      "evidence_hash": "string",
      "proposer_address": "string"
    },
    "data": {
      "txs": [
        "string"
      ]
    },
    "evidence": {
      "evidence": [
        {}
      ]
    },
    "last_commit": {
      "height": "string",
      "round": 0,
      "block_id": {
        "hash": "string",
        "part_set_header": {}
      },
      "signatures": [
        {}
      ]
    }
  },
  "sdk_block": {
    "header": {
      "version": {
        "block": "string",
        "app": "string"
      },
      "chain_id": "string",
      "height": "string",
      "time": "string",
      "last_block_id": {
        "hash": "string",
        "part_set_header": {}
      },
      "last_commit_hash": "string",
      "data_hash": "string",
      "validators_hash": "string",
      "next_validators_hash": "string",
      "consensus_hash": "string",
      "app_hash": "string",
      "last_results_hash": "string",
      "evidence_hash": "string",
      "proposer_address": "string"
    },
    "data": {
      "txs": [
        "string"
      ]
    },
    "evidence": {
      "evidence": [
        {}
      ]
    },
    "last_commit": {
      "height": "string",
      "round": 0,
      "block_id": {
        "hash": "string",
        "part_set_header": {}
      },
      "signatures": [
        {}
      ]
    }
  }
}