Skip to main content

Get block (by hash)

Returns the block from the given hash

Path Parameters
  • hash string required

    Block hash

Responses

OK


Schema
  • data object
  • txs array[]

    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.

  • evidence object
  • evidence undefined[]
  • hash string
  • header object
  • app_hash integer[]

    state after txs from the previous block

  • chain_id string
  • consensus_hash integer[]

    consensus params for current block

  • data_hash integer[]

    transactions

  • evidence_hash integer[]

    consensus info

  • height integer
  • last_block_id object
  • hash integer[]
  • parts object
  • hash integer[]
  • total integer
  • last_commit_hash integer[]

    hashes of block data

  • last_results_hash integer[]

    root hash of all results from the txs from the previous block see DeterministicExecTxResult to understand which parts of a tx is hashed into here

  • next_validators_hash integer[]

    validators for the next block

  • proposer_address integer[]

    original proposer of the block

  • time string
  • validators_hash integer[]

    hashes from the app output from the prev block

  • version object
  • app integer
  • block integer
  • last_commit object
  • block_id object
  • hash integer[]
  • parts object
  • hash integer[]
  • total integer
  • height integer

    NOTE: The signatures are in order of address to preserve the bonded ValidatorSet order. Any peer with a block can gossip signatures by index with a peer without recalculating the active ValidatorSet.

  • round integer
  • signatures object[]
  • block_id_flag integer

    Possible values: [1, 2, 3]

  • signature integer[]
  • timestamp string
  • validator_address integer[]
Loading...

Resources

Guides
Soon

Tutorials
Soon

Copyright © 2024 Vocdoni, Inc. All rights reserved.