Blocks

GetBlockByHeight queries block for given height.

get
Path parameters
heightstring · int64Required
Responses
200
A successful response.
application/json
get
GET /cosmos/base/tendermint/v1beta1/blocks/{height} HTTP/1.1
Host: luna.nownodes.io
Accept: */*
{
  "block_id": {
    "hash": "text",
    "part_set_header": {
      "total": 1,
      "hash": "text"
    }
  },
  "block": {
    "header": {
      "version": {
        "block": "text",
        "app": "text"
      },
      "chain_id": "text",
      "height": "text",
      "time": "2025-06-23T18:06:59.389Z",
      "last_block_id": {
        "hash": "text",
        "part_set_header": {
          "total": 1,
          "hash": "text"
        }
      },
      "last_commit_hash": "text",
      "data_hash": "text",
      "validators_hash": "text",
      "next_validators_hash": "text",
      "consensus_hash": "text",
      "app_hash": "text",
      "last_results_hash": "text",
      "evidence_hash": "text",
      "proposer_address": "text"
    },
    "data": {
      "txs": [
        "text"
      ]
    },
    "evidence": {
      "evidence": [
        {
          "duplicate_vote_evidence": {
            "vote_a": {
              "type": "SIGNED_MSG_TYPE_UNKNOWN",
              "height": "text",
              "round": 1,
              "block_id": {
                "hash": "text",
                "part_set_header": {
                  "total": 1,
                  "hash": "text"
                }
              },
              "timestamp": "2025-06-23T18:06:59.389Z",
              "validator_address": "text",
              "validator_index": 1,
              "signature": "text"
            },
            "vote_b": {
              "type": "SIGNED_MSG_TYPE_UNKNOWN",
              "height": "text",
              "round": 1,
              "block_id": {
                "hash": "text",
                "part_set_header": {
                  "total": 1,
                  "hash": "text"
                }
              },
              "timestamp": "2025-06-23T18:06:59.389Z",
              "validator_address": "text",
              "validator_index": 1,
              "signature": "text"
            },
            "total_voting_power": "text",
            "validator_power": "text",
            "timestamp": "2025-06-23T18:06:59.389Z"
          },
          "light_client_attack_evidence": {
            "conflicting_block": {
              "signed_header": {
                "header": {
                  "version": {
                    "block": "text",
                    "app": "text"
                  },
                  "chain_id": "text",
                  "height": "text",
                  "time": "2025-06-23T18:06:59.389Z",
                  "last_block_id": {
                    "hash": "text",
                    "part_set_header": {
                      "total": 1,
                      "hash": "text"
                    }
                  },
                  "last_commit_hash": "text",
                  "data_hash": "text",
                  "validators_hash": "text",
                  "next_validators_hash": "text",
                  "consensus_hash": "text",
                  "app_hash": "text",
                  "last_results_hash": "text",
                  "evidence_hash": "text",
                  "proposer_address": "text"
                },
                "commit": {
                  "height": "text",
                  "round": 1,
                  "block_id": {
                    "hash": "text",
                    "part_set_header": {
                      "total": 1,
                      "hash": "text"
                    }
                  },
                  "signatures": [
                    {
                      "block_id_flag": "BLOCK_ID_FLAG_UNKNOWN",
                      "validator_address": "text",
                      "timestamp": "2025-06-23T18:06:59.389Z",
                      "signature": "text"
                    }
                  ]
                }
              },
              "validator_set": {
                "validators": [
                  {
                    "address": "text",
                    "pub_key": {
                      "ed25519": "text",
                      "secp256k1": "text"
                    },
                    "voting_power": "text",
                    "proposer_priority": "text"
                  }
                ],
                "proposer": {
                  "address": "text",
                  "pub_key": {
                    "ed25519": "text",
                    "secp256k1": "text"
                  },
                  "voting_power": "text",
                  "proposer_priority": "text"
                },
                "total_voting_power": "text"
              }
            },
            "common_height": "text",
            "byzantine_validators": [
              {
                "address": "text",
                "pub_key": {
                  "ed25519": "text",
                  "secp256k1": "text"
                },
                "voting_power": "text",
                "proposer_priority": "text"
              }
            ],
            "total_voting_power": "text",
            "timestamp": "2025-06-23T18:06:59.389Z"
          }
        }
      ]
    },
    "last_commit": {
      "height": "text",
      "round": 1,
      "block_id": {
        "hash": "text",
        "part_set_header": {
          "total": 1,
          "hash": "text"
        }
      },
      "signatures": [
        {
          "block_id_flag": "BLOCK_ID_FLAG_UNKNOWN",
          "validator_address": "text",
          "timestamp": "2025-06-23T18:06:59.389Z",
          "signature": "text"
        }
      ]
    }
  },
  "sdk_block": {
    "header": {
      "version": {
        "block": "text",
        "app": "text"
      },
      "chain_id": "text",
      "height": "text",
      "time": "2025-06-23T18:06:59.389Z",
      "last_block_id": {
        "hash": "text",
        "part_set_header": {
          "total": 1,
          "hash": "text"
        }
      },
      "last_commit_hash": "text",
      "data_hash": "text",
      "validators_hash": "text",
      "next_validators_hash": "text",
      "consensus_hash": "text",
      "app_hash": "text",
      "last_results_hash": "text",
      "evidence_hash": "text",
      "proposer_address": "text"
    },
    "data": {
      "txs": [
        "text"
      ]
    },
    "evidence": {
      "evidence": [
        {
          "duplicate_vote_evidence": {
            "vote_a": {
              "type": "SIGNED_MSG_TYPE_UNKNOWN",
              "height": "text",
              "round": 1,
              "block_id": {
                "hash": "text",
                "part_set_header": {
                  "total": 1,
                  "hash": "text"
                }
              },
              "timestamp": "2025-06-23T18:06:59.389Z",
              "validator_address": "text",
              "validator_index": 1,
              "signature": "text"
            },
            "vote_b": {
              "type": "SIGNED_MSG_TYPE_UNKNOWN",
              "height": "text",
              "round": 1,
              "block_id": {
                "hash": "text",
                "part_set_header": {
                  "total": 1,
                  "hash": "text"
                }
              },
              "timestamp": "2025-06-23T18:06:59.389Z",
              "validator_address": "text",
              "validator_index": 1,
              "signature": "text"
            },
            "total_voting_power": "text",
            "validator_power": "text",
            "timestamp": "2025-06-23T18:06:59.389Z"
          },
          "light_client_attack_evidence": {
            "conflicting_block": {
              "signed_header": {
                "header": {
                  "version": {
                    "block": "text",
                    "app": "text"
                  },
                  "chain_id": "text",
                  "height": "text",
                  "time": "2025-06-23T18:06:59.389Z",
                  "last_block_id": {
                    "hash": "text",
                    "part_set_header": {
                      "total": 1,
                      "hash": "text"
                    }
                  },
                  "last_commit_hash": "text",
                  "data_hash": "text",
                  "validators_hash": "text",
                  "next_validators_hash": "text",
                  "consensus_hash": "text",
                  "app_hash": "text",
                  "last_results_hash": "text",
                  "evidence_hash": "text",
                  "proposer_address": "text"
                },
                "commit": {
                  "height": "text",
                  "round": 1,
                  "block_id": {
                    "hash": "text",
                    "part_set_header": {
                      "total": 1,
                      "hash": "text"
                    }
                  },
                  "signatures": [
                    {
                      "block_id_flag": "BLOCK_ID_FLAG_UNKNOWN",
                      "validator_address": "text",
                      "timestamp": "2025-06-23T18:06:59.389Z",
                      "signature": "text"
                    }
                  ]
                }
              },
              "validator_set": {
                "validators": [
                  {
                    "address": "text",
                    "pub_key": {
                      "ed25519": "text",
                      "secp256k1": "text"
                    },
                    "voting_power": "text",
                    "proposer_priority": "text"
                  }
                ],
                "proposer": {
                  "address": "text",
                  "pub_key": {
                    "ed25519": "text",
                    "secp256k1": "text"
                  },
                  "voting_power": "text",
                  "proposer_priority": "text"
                },
                "total_voting_power": "text"
              }
            },
            "common_height": "text",
            "byzantine_validators": [
              {
                "address": "text",
                "pub_key": {
                  "ed25519": "text",
                  "secp256k1": "text"
                },
                "voting_power": "text",
                "proposer_priority": "text"
              }
            ],
            "total_voting_power": "text",
            "timestamp": "2025-06-23T18:06:59.389Z"
          }
        }
      ]
    },
    "last_commit": {
      "height": "text",
      "round": 1,
      "block_id": {
        "hash": "text",
        "part_set_header": {
          "total": 1,
          "hash": "text"
        }
      },
      "signatures": [
        {
          "block_id_flag": "BLOCK_ID_FLAG_UNKNOWN",
          "validator_address": "text",
          "timestamp": "2025-06-23T18:06:59.389Z",
          "signature": "text"
        }
      ]
    }
  }
}

Revision created

GitBook: No commit message