---
updatedAt: 2025-06-11T20:36:51.000Z
agentTools:
  projectIndex: https://docs.allthatnode.com/llms.txt
---

# GetBlockByHeight queries block for given height.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Cosmos SDK - gRPC Gateway docs",
    "description": "A REST interface for state queries.",
    "version": "1.0.0"
  },
  "paths": {
    "/cosmos/base/tendermint/v1beta1/blocks/{height}": {
      "get": {
        "summary": "GetBlockByHeight queries block for given height.",
        "operationId": "GetBlockByHeight",
        "responses": {
          "200": {
            "description": "A successful response.",
            "content": {
              "*/*": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "block_id": {
                      "type": "object",
                      "properties": {
                        "hash": {
                          "type": "string",
                          "format": "byte"
                        },
                        "part_set_header": {
                          "type": "object",
                          "properties": {
                            "total": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "hash": {
                              "type": "string",
                              "format": "byte"
                            }
                          },
                          "description": "Header of the parts set for a block."
                        }
                      },
                      "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`."
                    },
                    "block": {
                      "title": "Deprecated: please use `sdk_block` instead",
                      "type": "object",
                      "properties": {
                        "header": {
                          "type": "object",
                          "properties": {
                            "version": {
                              "title": "basic block info",
                              "type": "object",
                              "properties": {
                                "block": {
                                  "type": "string",
                                  "format": "uint64"
                                },
                                "app": {
                                  "type": "string",
                                  "format": "uint64"
                                }
                              },
                              "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine."
                            },
                            "chain_id": {
                              "type": "string"
                            },
                            "height": {
                              "type": "string",
                              "format": "int64"
                            },
                            "time": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "last_block_id": {
                              "type": "object",
                              "properties": {
                                "hash": {
                                  "type": "string",
                                  "format": "byte"
                                },
                                "part_set_header": {
                                  "type": "object",
                                  "properties": {
                                    "total": {
                                      "type": "integer",
                                      "format": "int64"
                                    },
                                    "hash": {
                                      "type": "string",
                                      "format": "byte"
                                    }
                                  },
                                  "description": "Header of the parts set for a block."
                                }
                              },
                              "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`.",
                              "title": "prev block info"
                            },
                            "last_commit_hash": {
                              "type": "string",
                              "format": "byte",
                              "description": "commit from validators from the last block",
                              "title": "hashes of block data"
                            },
                            "data_hash": {
                              "type": "string",
                              "format": "byte",
                              "title": "transactions"
                            },
                            "validators_hash": {
                              "type": "string",
                              "format": "byte",
                              "description": "validators for the current block",
                              "title": "hashes from the app output from the prev block"
                            },
                            "next_validators_hash": {
                              "type": "string",
                              "format": "byte",
                              "title": "validators for the next block"
                            },
                            "consensus_hash": {
                              "type": "string",
                              "format": "byte",
                              "title": "consensus params for current block"
                            },
                            "app_hash": {
                              "type": "string",
                              "format": "byte",
                              "title": "state after txs from the previous block"
                            },
                            "last_results_hash": {
                              "type": "string",
                              "format": "byte",
                              "title": "root hash of all results from the txs from the previous block"
                            },
                            "evidence_hash": {
                              "type": "string",
                              "format": "byte",
                              "description": "evidence included in the block",
                              "title": "consensus info"
                            },
                            "proposer_address": {
                              "type": "string",
                              "format": "byte",
                              "title": "original proposer of the block"
                            }
                          },
                          "description": "Header defines the structure of a block header."
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "txs": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "byte"
                              },
                              "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid.  We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs."
                            }
                          },
                          "title": "Data contains the set of transactions included in the block"
                        },
                        "evidence": {
                          "type": "object",
                          "properties": {
                            "evidence": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "duplicate_vote_evidence": {
                                    "type": "object",
                                    "properties": {
                                      "vote_a": {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "SIGNED_MSG_TYPE_UNKNOWN",
                                              "SIGNED_MSG_TYPE_PREVOTE",
                                              "SIGNED_MSG_TYPE_PRECOMMIT",
                                              "SIGNED_MSG_TYPE_PROPOSAL"
                                            ],
                                            "default": "SIGNED_MSG_TYPE_UNKNOWN",
                                            "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_UNKNOWN: Unknown\n - SIGNED_MSG_TYPE_PREVOTE: Prevote\n - SIGNED_MSG_TYPE_PRECOMMIT: Precommit\n - SIGNED_MSG_TYPE_PROPOSAL: Proposal"
                                          },
                                          "height": {
                                            "type": "string",
                                            "format": "int64"
                                          },
                                          "round": {
                                            "type": "integer",
                                            "format": "int32"
                                          },
                                          "block_id": {
                                            "type": "object",
                                            "properties": {
                                              "hash": {
                                                "type": "string",
                                                "format": "byte"
                                              },
                                              "part_set_header": {
                                                "type": "object",
                                                "properties": {
                                                  "total": {
                                                    "type": "integer",
                                                    "format": "int64"
                                                  },
                                                  "hash": {
                                                    "type": "string",
                                                    "format": "byte"
                                                  }
                                                },
                                                "description": "Header of the parts set for a block."
                                              }
                                            },
                                            "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`."
                                          },
                                          "timestamp": {
                                            "type": "string",
                                            "format": "date-time"
                                          },
                                          "validator_address": {
                                            "type": "string",
                                            "format": "byte"
                                          },
                                          "validator_index": {
                                            "type": "integer",
                                            "format": "int32"
                                          },
                                          "signature": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote signature by the validator if they participated in consensus for the\nassociated block."
                                          },
                                          "extension": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote extension provided by the application. Only valid for precommit\nmessages."
                                          },
                                          "extension_signature": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote extension signature by the validator if they participated in\nconsensus for the associated block.\nOnly valid for precommit messages."
                                          }
                                        },
                                        "description": "Vote represents a prevote or precommit vote from validators for\nconsensus."
                                      },
                                      "vote_b": {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "SIGNED_MSG_TYPE_UNKNOWN",
                                              "SIGNED_MSG_TYPE_PREVOTE",
                                              "SIGNED_MSG_TYPE_PRECOMMIT",
                                              "SIGNED_MSG_TYPE_PROPOSAL"
                                            ],
                                            "default": "SIGNED_MSG_TYPE_UNKNOWN",
                                            "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_UNKNOWN: Unknown\n - SIGNED_MSG_TYPE_PREVOTE: Prevote\n - SIGNED_MSG_TYPE_PRECOMMIT: Precommit\n - SIGNED_MSG_TYPE_PROPOSAL: Proposal"
                                          },
                                          "height": {
                                            "type": "string",
                                            "format": "int64"
                                          },
                                          "round": {
                                            "type": "integer",
                                            "format": "int32"
                                          },
                                          "block_id": {
                                            "type": "object",
                                            "properties": {
                                              "hash": {
                                                "type": "string",
                                                "format": "byte"
                                              },
                                              "part_set_header": {
                                                "type": "object",
                                                "properties": {
                                                  "total": {
                                                    "type": "integer",
                                                    "format": "int64"
                                                  },
                                                  "hash": {
                                                    "type": "string",
                                                    "format": "byte"
                                                  }
                                                },
                                                "description": "Header of the parts set for a block."
                                              }
                                            },
                                            "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`."
                                          },
                                          "timestamp": {
                                            "type": "string",
                                            "format": "date-time"
                                          },
                                          "validator_address": {
                                            "type": "string",
                                            "format": "byte"
                                          },
                                          "validator_index": {
                                            "type": "integer",
                                            "format": "int32"
                                          },
                                          "signature": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote signature by the validator if they participated in consensus for the\nassociated block."
                                          },
                                          "extension": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote extension provided by the application. Only valid for precommit\nmessages."
                                          },
                                          "extension_signature": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote extension signature by the validator if they participated in\nconsensus for the associated block.\nOnly valid for precommit messages."
                                          }
                                        },
                                        "description": "Vote represents a prevote or precommit vote from validators for\nconsensus."
                                      },
                                      "total_voting_power": {
                                        "type": "string",
                                        "format": "int64"
                                      },
                                      "validator_power": {
                                        "type": "string",
                                        "format": "int64"
                                      },
                                      "timestamp": {
                                        "type": "string",
                                        "format": "date-time"
                                      }
                                    },
                                    "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes."
                                  },
                                  "light_client_attack_evidence": {
                                    "type": "object",
                                    "properties": {
                                      "conflicting_block": {
                                        "type": "object",
                                        "properties": {
                                          "signed_header": {
                                            "type": "object",
                                            "properties": {
                                              "header": {
                                                "type": "object",
                                                "properties": {
                                                  "version": {
                                                    "title": "basic block info",
                                                    "type": "object",
                                                    "properties": {
                                                      "block": {
                                                        "type": "string",
                                                        "format": "uint64"
                                                      },
                                                      "app": {
                                                        "type": "string",
                                                        "format": "uint64"
                                                      }
                                                    },
                                                    "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine."
                                                  },
                                                  "chain_id": {
                                                    "type": "string"
                                                  },
                                                  "height": {
                                                    "type": "string",
                                                    "format": "int64"
                                                  },
                                                  "time": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                  },
                                                  "last_block_id": {
                                                    "type": "object",
                                                    "properties": {
                                                      "hash": {
                                                        "type": "string",
                                                        "format": "byte"
                                                      },
                                                      "part_set_header": {
                                                        "type": "object",
                                                        "properties": {
                                                          "total": {
                                                            "type": "integer",
                                                            "format": "int64"
                                                          },
                                                          "hash": {
                                                            "type": "string",
                                                            "format": "byte"
                                                          }
                                                        },
                                                        "description": "Header of the parts set for a block."
                                                      }
                                                    },
                                                    "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`.",
                                                    "title": "prev block info"
                                                  },
                                                  "last_commit_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "description": "commit from validators from the last block",
                                                    "title": "hashes of block data"
                                                  },
                                                  "data_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "transactions"
                                                  },
                                                  "validators_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "description": "validators for the current block",
                                                    "title": "hashes from the app output from the prev block"
                                                  },
                                                  "next_validators_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "validators for the next block"
                                                  },
                                                  "consensus_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "consensus params for current block"
                                                  },
                                                  "app_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "state after txs from the previous block"
                                                  },
                                                  "last_results_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "root hash of all results from the txs from the previous block"
                                                  },
                                                  "evidence_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "description": "evidence included in the block",
                                                    "title": "consensus info"
                                                  },
                                                  "proposer_address": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "original proposer of the block"
                                                  }
                                                },
                                                "description": "Header defines the structure of a block header."
                                              },
                                              "commit": {
                                                "type": "object",
                                                "properties": {
                                                  "height": {
                                                    "type": "string",
                                                    "format": "int64"
                                                  },
                                                  "round": {
                                                    "type": "integer",
                                                    "format": "int32"
                                                  },
                                                  "block_id": {
                                                    "type": "object",
                                                    "properties": {
                                                      "hash": {
                                                        "type": "string",
                                                        "format": "byte"
                                                      },
                                                      "part_set_header": {
                                                        "type": "object",
                                                        "properties": {
                                                          "total": {
                                                            "type": "integer",
                                                            "format": "int64"
                                                          },
                                                          "hash": {
                                                            "type": "string",
                                                            "format": "byte"
                                                          }
                                                        },
                                                        "description": "Header of the parts set for a block."
                                                      }
                                                    },
                                                    "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`."
                                                  },
                                                  "signatures": {
                                                    "type": "array",
                                                    "items": {
                                                      "type": "object",
                                                      "properties": {
                                                        "block_id_flag": {
                                                          "type": "string",
                                                          "enum": [
                                                            "BLOCK_ID_FLAG_UNKNOWN",
                                                            "BLOCK_ID_FLAG_ABSENT",
                                                            "BLOCK_ID_FLAG_COMMIT",
                                                            "BLOCK_ID_FLAG_NIL"
                                                          ],
                                                          "default": "BLOCK_ID_FLAG_UNKNOWN",
                                                          "description": "- BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition\n - BLOCK_ID_FLAG_ABSENT: The vote was not received\n - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority\n - BLOCK_ID_FLAG_NIL: Voted for nil",
                                                          "title": "BlockIdFlag indicates which BlockID the signature is for"
                                                        },
                                                        "validator_address": {
                                                          "type": "string",
                                                          "format": "byte"
                                                        },
                                                        "timestamp": {
                                                          "type": "string",
                                                          "format": "date-time"
                                                        },
                                                        "signature": {
                                                          "type": "string",
                                                          "format": "byte"
                                                        }
                                                      },
                                                      "description": "CommitSig is a part of the Vote included in a Commit."
                                                    }
                                                  }
                                                },
                                                "description": "Commit contains the evidence that a block was committed by a set of validators."
                                              }
                                            },
                                            "description": "SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it."
                                          },
                                          "validator_set": {
                                            "type": "object",
                                            "properties": {
                                              "validators": {
                                                "type": "array",
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "address": {
                                                      "type": "string",
                                                      "format": "byte"
                                                    },
                                                    "pub_key": {
                                                      "type": "object",
                                                      "properties": {
                                                        "ed25519": {
                                                          "type": "string",
                                                          "format": "byte"
                                                        },
                                                        "secp256k1": {
                                                          "type": "string",
                                                          "format": "byte"
                                                        }
                                                      },
                                                      "description": "PublicKey is a ED25519 or a secp256k1 public key."
                                                    },
                                                    "voting_power": {
                                                      "type": "string",
                                                      "format": "int64"
                                                    },
                                                    "proposer_priority": {
                                                      "type": "string",
                                                      "format": "int64"
                                                    }
                                                  },
                                                  "description": "Validator represents a node participating in the consensus protocol."
                                                }
                                              },
                                              "proposer": {
                                                "type": "object",
                                                "properties": {
                                                  "address": {
                                                    "type": "string",
                                                    "format": "byte"
                                                  },
                                                  "pub_key": {
                                                    "type": "object",
                                                    "properties": {
                                                      "ed25519": {
                                                        "type": "string",
                                                        "format": "byte"
                                                      },
                                                      "secp256k1": {
                                                        "type": "string",
                                                        "format": "byte"
                                                      }
                                                    },
                                                    "description": "PublicKey is a ED25519 or a secp256k1 public key."
                                                  },
                                                  "voting_power": {
                                                    "type": "string",
                                                    "format": "int64"
                                                  },
                                                  "proposer_priority": {
                                                    "type": "string",
                                                    "format": "int64"
                                                  }
                                                },
                                                "description": "Validator represents a node participating in the consensus protocol."
                                              },
                                              "total_voting_power": {
                                                "type": "string",
                                                "format": "int64"
                                              }
                                            },
                                            "description": "ValidatorSet defines a set of validators."
                                          }
                                        },
                                        "description": "LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients."
                                      },
                                      "common_height": {
                                        "type": "string",
                                        "format": "int64"
                                      },
                                      "byzantine_validators": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "address": {
                                              "type": "string",
                                              "format": "byte"
                                            },
                                            "pub_key": {
                                              "type": "object",
                                              "properties": {
                                                "ed25519": {
                                                  "type": "string",
                                                  "format": "byte"
                                                },
                                                "secp256k1": {
                                                  "type": "string",
                                                  "format": "byte"
                                                }
                                              },
                                              "description": "PublicKey is a ED25519 or a secp256k1 public key."
                                            },
                                            "voting_power": {
                                              "type": "string",
                                              "format": "int64"
                                            },
                                            "proposer_priority": {
                                              "type": "string",
                                              "format": "int64"
                                            }
                                          },
                                          "description": "Validator represents a node participating in the consensus protocol."
                                        }
                                      },
                                      "total_voting_power": {
                                        "type": "string",
                                        "format": "int64"
                                      },
                                      "timestamp": {
                                        "type": "string",
                                        "format": "date-time"
                                      }
                                    },
                                    "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client."
                                  }
                                },
                                "description": "Evidence is a generic type for wrapping evidence of misbehavior by a validator."
                              }
                            }
                          },
                          "description": "EvidenceList is a list of evidence."
                        },
                        "last_commit": {
                          "type": "object",
                          "properties": {
                            "height": {
                              "type": "string",
                              "format": "int64"
                            },
                            "round": {
                              "type": "integer",
                              "format": "int32"
                            },
                            "block_id": {
                              "type": "object",
                              "properties": {
                                "hash": {
                                  "type": "string",
                                  "format": "byte"
                                },
                                "part_set_header": {
                                  "type": "object",
                                  "properties": {
                                    "total": {
                                      "type": "integer",
                                      "format": "int64"
                                    },
                                    "hash": {
                                      "type": "string",
                                      "format": "byte"
                                    }
                                  },
                                  "description": "Header of the parts set for a block."
                                }
                              },
                              "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`."
                            },
                            "signatures": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "block_id_flag": {
                                    "type": "string",
                                    "enum": [
                                      "BLOCK_ID_FLAG_UNKNOWN",
                                      "BLOCK_ID_FLAG_ABSENT",
                                      "BLOCK_ID_FLAG_COMMIT",
                                      "BLOCK_ID_FLAG_NIL"
                                    ],
                                    "default": "BLOCK_ID_FLAG_UNKNOWN",
                                    "description": "- BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition\n - BLOCK_ID_FLAG_ABSENT: The vote was not received\n - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority\n - BLOCK_ID_FLAG_NIL: Voted for nil",
                                    "title": "BlockIdFlag indicates which BlockID the signature is for"
                                  },
                                  "validator_address": {
                                    "type": "string",
                                    "format": "byte"
                                  },
                                  "timestamp": {
                                    "type": "string",
                                    "format": "date-time"
                                  },
                                  "signature": {
                                    "type": "string",
                                    "format": "byte"
                                  }
                                },
                                "description": "CommitSig is a part of the Vote included in a Commit."
                              }
                            }
                          },
                          "description": "Commit contains the evidence that a block was committed by a set of validators."
                        }
                      },
                      "description": "Block defines the structure of a block in the CometBFT blockchain."
                    },
                    "sdk_block": {
                      "type": "object",
                      "properties": {
                        "header": {
                          "type": "object",
                          "properties": {
                            "version": {
                              "title": "basic block info",
                              "type": "object",
                              "properties": {
                                "block": {
                                  "type": "string",
                                  "format": "uint64"
                                },
                                "app": {
                                  "type": "string",
                                  "format": "uint64"
                                }
                              },
                              "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine."
                            },
                            "chain_id": {
                              "type": "string"
                            },
                            "height": {
                              "type": "string",
                              "format": "int64"
                            },
                            "time": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "last_block_id": {
                              "type": "object",
                              "properties": {
                                "hash": {
                                  "type": "string",
                                  "format": "byte"
                                },
                                "part_set_header": {
                                  "type": "object",
                                  "properties": {
                                    "total": {
                                      "type": "integer",
                                      "format": "int64"
                                    },
                                    "hash": {
                                      "type": "string",
                                      "format": "byte"
                                    }
                                  },
                                  "description": "Header of the parts set for a block."
                                }
                              },
                              "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`.",
                              "title": "prev block info"
                            },
                            "last_commit_hash": {
                              "type": "string",
                              "format": "byte",
                              "description": "commit from validators from the last block",
                              "title": "hashes of block data"
                            },
                            "data_hash": {
                              "type": "string",
                              "format": "byte",
                              "title": "transactions"
                            },
                            "validators_hash": {
                              "type": "string",
                              "format": "byte",
                              "description": "validators for the current block",
                              "title": "hashes from the app output from the prev block"
                            },
                            "next_validators_hash": {
                              "type": "string",
                              "format": "byte",
                              "title": "validators for the next block"
                            },
                            "consensus_hash": {
                              "type": "string",
                              "format": "byte",
                              "title": "consensus params for current block"
                            },
                            "app_hash": {
                              "type": "string",
                              "format": "byte",
                              "title": "state after txs from the previous block"
                            },
                            "last_results_hash": {
                              "type": "string",
                              "format": "byte",
                              "title": "root hash of all results from the txs from the previous block"
                            },
                            "evidence_hash": {
                              "type": "string",
                              "format": "byte",
                              "description": "evidence included in the block",
                              "title": "consensus info"
                            },
                            "proposer_address": {
                              "type": "string",
                              "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX.\n\noriginal proposer of the block"
                            }
                          },
                          "description": "Header defines the structure of a Tendermint block header."
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "txs": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "byte"
                              },
                              "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid.  We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs."
                            }
                          },
                          "title": "Data contains the set of transactions included in the block"
                        },
                        "evidence": {
                          "type": "object",
                          "properties": {
                            "evidence": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "duplicate_vote_evidence": {
                                    "type": "object",
                                    "properties": {
                                      "vote_a": {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "SIGNED_MSG_TYPE_UNKNOWN",
                                              "SIGNED_MSG_TYPE_PREVOTE",
                                              "SIGNED_MSG_TYPE_PRECOMMIT",
                                              "SIGNED_MSG_TYPE_PROPOSAL"
                                            ],
                                            "default": "SIGNED_MSG_TYPE_UNKNOWN",
                                            "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_UNKNOWN: Unknown\n - SIGNED_MSG_TYPE_PREVOTE: Prevote\n - SIGNED_MSG_TYPE_PRECOMMIT: Precommit\n - SIGNED_MSG_TYPE_PROPOSAL: Proposal"
                                          },
                                          "height": {
                                            "type": "string",
                                            "format": "int64"
                                          },
                                          "round": {
                                            "type": "integer",
                                            "format": "int32"
                                          },
                                          "block_id": {
                                            "type": "object",
                                            "properties": {
                                              "hash": {
                                                "type": "string",
                                                "format": "byte"
                                              },
                                              "part_set_header": {
                                                "type": "object",
                                                "properties": {
                                                  "total": {
                                                    "type": "integer",
                                                    "format": "int64"
                                                  },
                                                  "hash": {
                                                    "type": "string",
                                                    "format": "byte"
                                                  }
                                                },
                                                "description": "Header of the parts set for a block."
                                              }
                                            },
                                            "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`."
                                          },
                                          "timestamp": {
                                            "type": "string",
                                            "format": "date-time"
                                          },
                                          "validator_address": {
                                            "type": "string",
                                            "format": "byte"
                                          },
                                          "validator_index": {
                                            "type": "integer",
                                            "format": "int32"
                                          },
                                          "signature": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote signature by the validator if they participated in consensus for the\nassociated block."
                                          },
                                          "extension": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote extension provided by the application. Only valid for precommit\nmessages."
                                          },
                                          "extension_signature": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote extension signature by the validator if they participated in\nconsensus for the associated block.\nOnly valid for precommit messages."
                                          }
                                        },
                                        "description": "Vote represents a prevote or precommit vote from validators for\nconsensus."
                                      },
                                      "vote_b": {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "SIGNED_MSG_TYPE_UNKNOWN",
                                              "SIGNED_MSG_TYPE_PREVOTE",
                                              "SIGNED_MSG_TYPE_PRECOMMIT",
                                              "SIGNED_MSG_TYPE_PROPOSAL"
                                            ],
                                            "default": "SIGNED_MSG_TYPE_UNKNOWN",
                                            "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_UNKNOWN: Unknown\n - SIGNED_MSG_TYPE_PREVOTE: Prevote\n - SIGNED_MSG_TYPE_PRECOMMIT: Precommit\n - SIGNED_MSG_TYPE_PROPOSAL: Proposal"
                                          },
                                          "height": {
                                            "type": "string",
                                            "format": "int64"
                                          },
                                          "round": {
                                            "type": "integer",
                                            "format": "int32"
                                          },
                                          "block_id": {
                                            "type": "object",
                                            "properties": {
                                              "hash": {
                                                "type": "string",
                                                "format": "byte"
                                              },
                                              "part_set_header": {
                                                "type": "object",
                                                "properties": {
                                                  "total": {
                                                    "type": "integer",
                                                    "format": "int64"
                                                  },
                                                  "hash": {
                                                    "type": "string",
                                                    "format": "byte"
                                                  }
                                                },
                                                "description": "Header of the parts set for a block."
                                              }
                                            },
                                            "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`."
                                          },
                                          "timestamp": {
                                            "type": "string",
                                            "format": "date-time"
                                          },
                                          "validator_address": {
                                            "type": "string",
                                            "format": "byte"
                                          },
                                          "validator_index": {
                                            "type": "integer",
                                            "format": "int32"
                                          },
                                          "signature": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote signature by the validator if they participated in consensus for the\nassociated block."
                                          },
                                          "extension": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote extension provided by the application. Only valid for precommit\nmessages."
                                          },
                                          "extension_signature": {
                                            "type": "string",
                                            "format": "byte",
                                            "description": "Vote extension signature by the validator if they participated in\nconsensus for the associated block.\nOnly valid for precommit messages."
                                          }
                                        },
                                        "description": "Vote represents a prevote or precommit vote from validators for\nconsensus."
                                      },
                                      "total_voting_power": {
                                        "type": "string",
                                        "format": "int64"
                                      },
                                      "validator_power": {
                                        "type": "string",
                                        "format": "int64"
                                      },
                                      "timestamp": {
                                        "type": "string",
                                        "format": "date-time"
                                      }
                                    },
                                    "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes."
                                  },
                                  "light_client_attack_evidence": {
                                    "type": "object",
                                    "properties": {
                                      "conflicting_block": {
                                        "type": "object",
                                        "properties": {
                                          "signed_header": {
                                            "type": "object",
                                            "properties": {
                                              "header": {
                                                "type": "object",
                                                "properties": {
                                                  "version": {
                                                    "title": "basic block info",
                                                    "type": "object",
                                                    "properties": {
                                                      "block": {
                                                        "type": "string",
                                                        "format": "uint64"
                                                      },
                                                      "app": {
                                                        "type": "string",
                                                        "format": "uint64"
                                                      }
                                                    },
                                                    "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine."
                                                  },
                                                  "chain_id": {
                                                    "type": "string"
                                                  },
                                                  "height": {
                                                    "type": "string",
                                                    "format": "int64"
                                                  },
                                                  "time": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                  },
                                                  "last_block_id": {
                                                    "type": "object",
                                                    "properties": {
                                                      "hash": {
                                                        "type": "string",
                                                        "format": "byte"
                                                      },
                                                      "part_set_header": {
                                                        "type": "object",
                                                        "properties": {
                                                          "total": {
                                                            "type": "integer",
                                                            "format": "int64"
                                                          },
                                                          "hash": {
                                                            "type": "string",
                                                            "format": "byte"
                                                          }
                                                        },
                                                        "description": "Header of the parts set for a block."
                                                      }
                                                    },
                                                    "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`.",
                                                    "title": "prev block info"
                                                  },
                                                  "last_commit_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "description": "commit from validators from the last block",
                                                    "title": "hashes of block data"
                                                  },
                                                  "data_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "transactions"
                                                  },
                                                  "validators_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "description": "validators for the current block",
                                                    "title": "hashes from the app output from the prev block"
                                                  },
                                                  "next_validators_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "validators for the next block"
                                                  },
                                                  "consensus_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "consensus params for current block"
                                                  },
                                                  "app_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "state after txs from the previous block"
                                                  },
                                                  "last_results_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "root hash of all results from the txs from the previous block"
                                                  },
                                                  "evidence_hash": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "description": "evidence included in the block",
                                                    "title": "consensus info"
                                                  },
                                                  "proposer_address": {
                                                    "type": "string",
                                                    "format": "byte",
                                                    "title": "original proposer of the block"
                                                  }
                                                },
                                                "description": "Header defines the structure of a block header."
                                              },
                                              "commit": {
                                                "type": "object",
                                                "properties": {
                                                  "height": {
                                                    "type": "string",
                                                    "format": "int64"
                                                  },
                                                  "round": {
                                                    "type": "integer",
                                                    "format": "int32"
                                                  },
                                                  "block_id": {
                                                    "type": "object",
                                                    "properties": {
                                                      "hash": {
                                                        "type": "string",
                                                        "format": "byte"
                                                      },
                                                      "part_set_header": {
                                                        "type": "object",
                                                        "properties": {
                                                          "total": {
                                                            "type": "integer",
                                                            "format": "int64"
                                                          },
                                                          "hash": {
                                                            "type": "string",
                                                            "format": "byte"
                                                          }
                                                        },
                                                        "description": "Header of the parts set for a block."
                                                      }
                                                    },
                                                    "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`."
                                                  },
                                                  "signatures": {
                                                    "type": "array",
                                                    "items": {
                                                      "type": "object",
                                                      "properties": {
                                                        "block_id_flag": {
                                                          "type": "string",
                                                          "enum": [
                                                            "BLOCK_ID_FLAG_UNKNOWN",
                                                            "BLOCK_ID_FLAG_ABSENT",
                                                            "BLOCK_ID_FLAG_COMMIT",
                                                            "BLOCK_ID_FLAG_NIL"
                                                          ],
                                                          "default": "BLOCK_ID_FLAG_UNKNOWN",
                                                          "description": "- BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition\n - BLOCK_ID_FLAG_ABSENT: The vote was not received\n - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority\n - BLOCK_ID_FLAG_NIL: Voted for nil",
                                                          "title": "BlockIdFlag indicates which BlockID the signature is for"
                                                        },
                                                        "validator_address": {
                                                          "type": "string",
                                                          "format": "byte"
                                                        },
                                                        "timestamp": {
                                                          "type": "string",
                                                          "format": "date-time"
                                                        },
                                                        "signature": {
                                                          "type": "string",
                                                          "format": "byte"
                                                        }
                                                      },
                                                      "description": "CommitSig is a part of the Vote included in a Commit."
                                                    }
                                                  }
                                                },
                                                "description": "Commit contains the evidence that a block was committed by a set of validators."
                                              }
                                            },
                                            "description": "SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it."
                                          },
                                          "validator_set": {
                                            "type": "object",
                                            "properties": {
                                              "validators": {
                                                "type": "array",
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "address": {
                                                      "type": "string",
                                                      "format": "byte"
                                                    },
                                                    "pub_key": {
                                                      "type": "object",
                                                      "properties": {
                                                        "ed25519": {
                                                          "type": "string",
                                                          "format": "byte"
                                                        },
                                                        "secp256k1": {
                                                          "type": "string",
                                                          "format": "byte"
                                                        }
                                                      },
                                                      "description": "PublicKey is a ED25519 or a secp256k1 public key."
                                                    },
                                                    "voting_power": {
                                                      "type": "string",
                                                      "format": "int64"
                                                    },
                                                    "proposer_priority": {
                                                      "type": "string",
                                                      "format": "int64"
                                                    }
                                                  },
                                                  "description": "Validator represents a node participating in the consensus protocol."
                                                }
                                              },
                                              "proposer": {
                                                "type": "object",
                                                "properties": {
                                                  "address": {
                                                    "type": "string",
                                                    "format": "byte"
                                                  },
                                                  "pub_key": {
                                                    "type": "object",
                                                    "properties": {
                                                      "ed25519": {
                                                        "type": "string",
                                                        "format": "byte"
                                                      },
                                                      "secp256k1": {
                                                        "type": "string",
                                                        "format": "byte"
                                                      }
                                                    },
                                                    "description": "PublicKey is a ED25519 or a secp256k1 public key."
                                                  },
                                                  "voting_power": {
                                                    "type": "string",
                                                    "format": "int64"
                                                  },
                                                  "proposer_priority": {
                                                    "type": "string",
                                                    "format": "int64"
                                                  }
                                                },
                                                "description": "Validator represents a node participating in the consensus protocol."
                                              },
                                              "total_voting_power": {
                                                "type": "string",
                                                "format": "int64"
                                              }
                                            },
                                            "description": "ValidatorSet defines a set of validators."
                                          }
                                        },
                                        "description": "LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients."
                                      },
                                      "common_height": {
                                        "type": "string",
                                        "format": "int64"
                                      },
                                      "byzantine_validators": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "address": {
                                              "type": "string",
                                              "format": "byte"
                                            },
                                            "pub_key": {
                                              "type": "object",
                                              "properties": {
                                                "ed25519": {
                                                  "type": "string",
                                                  "format": "byte"
                                                },
                                                "secp256k1": {
                                                  "type": "string",
                                                  "format": "byte"
                                                }
                                              },
                                              "description": "PublicKey is a ED25519 or a secp256k1 public key."
                                            },
                                            "voting_power": {
                                              "type": "string",
                                              "format": "int64"
                                            },
                                            "proposer_priority": {
                                              "type": "string",
                                              "format": "int64"
                                            }
                                          },
                                          "description": "Validator represents a node participating in the consensus protocol."
                                        }
                                      },
                                      "total_voting_power": {
                                        "type": "string",
                                        "format": "int64"
                                      },
                                      "timestamp": {
                                        "type": "string",
                                        "format": "date-time"
                                      }
                                    },
                                    "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client."
                                  }
                                },
                                "description": "Evidence is a generic type for wrapping evidence of misbehavior by a validator."
                              }
                            }
                          },
                          "description": "EvidenceList is a list of evidence."
                        },
                        "last_commit": {
                          "type": "object",
                          "properties": {
                            "height": {
                              "type": "string",
                              "format": "int64"
                            },
                            "round": {
                              "type": "integer",
                              "format": "int32"
                            },
                            "block_id": {
                              "type": "object",
                              "properties": {
                                "hash": {
                                  "type": "string",
                                  "format": "byte"
                                },
                                "part_set_header": {
                                  "type": "object",
                                  "properties": {
                                    "total": {
                                      "type": "integer",
                                      "format": "int64"
                                    },
                                    "hash": {
                                      "type": "string",
                                      "format": "byte"
                                    }
                                  },
                                  "description": "Header of the parts set for a block."
                                }
                              },
                              "description": "BlockID defines the unique ID of a block as its hash and its `PartSetHeader`."
                            },
                            "signatures": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "block_id_flag": {
                                    "type": "string",
                                    "enum": [
                                      "BLOCK_ID_FLAG_UNKNOWN",
                                      "BLOCK_ID_FLAG_ABSENT",
                                      "BLOCK_ID_FLAG_COMMIT",
                                      "BLOCK_ID_FLAG_NIL"
                                    ],
                                    "default": "BLOCK_ID_FLAG_UNKNOWN",
                                    "description": "- BLOCK_ID_FLAG_UNKNOWN: Indicates an error condition\n - BLOCK_ID_FLAG_ABSENT: The vote was not received\n - BLOCK_ID_FLAG_COMMIT: Voted for the block that received the majority\n - BLOCK_ID_FLAG_NIL: Voted for nil",
                                    "title": "BlockIdFlag indicates which BlockID the signature is for"
                                  },
                                  "validator_address": {
                                    "type": "string",
                                    "format": "byte"
                                  },
                                  "timestamp": {
                                    "type": "string",
                                    "format": "date-time"
                                  },
                                  "signature": {
                                    "type": "string",
                                    "format": "byte"
                                  }
                                },
                                "description": "CommitSig is a part of the Vote included in a Commit."
                              }
                            }
                          },
                          "description": "Commit contains the evidence that a block was committed by a set of validators."
                        }
                      },
                      "description": "Block is tendermint type Block, with the Header proposer address\nfield converted to bech32 string."
                    }
                  },
                  "description": "GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method."
                }
              }
            }
          },
          "default": {
            "description": "An unexpected error response.",
            "content": {
              "*/*": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "@type": {
                            "type": "string",
                            "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n  value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n  URL, or have them precompiled into a binary to avoid any\n  lookup. Therefore, binary compatibility needs to be preserved\n  on changes to types. (Use versioned type names to manage\n  breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics."
                          }
                        },
                        "additionalProperties": {},
                        "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n    Foo foo = ...;\n    Any any;\n    any.PackFrom(foo);\n    ...\n    if (any.UnpackTo(&foo)) {\n      ...\n    }\n\nExample 2: Pack and unpack a message in Java.\n\n    Foo foo = ...;\n    Any any = Any.pack(foo);\n    ...\n    if (any.is(Foo.class)) {\n      foo = any.unpack(Foo.class);\n    }\n    // or ...\n    if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n      foo = any.unpack(Foo.getDefaultInstance());\n    }\n\n Example 3: Pack and unpack a message in Python.\n\n    foo = Foo(...)\n    any = Any()\n    any.Pack(foo)\n    ...\n    if any.Is(Foo.DESCRIPTOR):\n      any.Unpack(foo)\n      ...\n\n Example 4: Pack and unpack a message in Go\n\n     foo := &pb.Foo{...}\n     any, err := anypb.New(foo)\n     if err != nil {\n       ...\n     }\n     ...\n     foo := &pb.Foo{}\n     if err := any.UnmarshalTo(foo); err != nil {\n       ...\n     }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n    package google.profile;\n    message Person {\n      string first_name = 1;\n      string last_name = 2;\n    }\n\n    {\n      \"@type\": \"type.googleapis.com/google.profile.Person\",\n      \"firstName\": <string>,\n      \"lastName\": <string>\n    }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n    {\n      \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n      \"value\": \"1.212s\"\n    }"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "height",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "int64"
            }
          }
        ],
        "tags": [
          "Service"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```