---
title: "Get commit results at a specified height"
method: GET
path: "/commit"
tags: ["Info"]
---

# Get commit results at a specified height

`GET /commit`

Get Commit.

If the `height` field is set to a non-default value, upon success, the
`Cache-Control` header will be set with the default maximum age.

## Query parameters

- `height` integer

## Response `200`

Commit results.

canonical switches from false to true for block H once block H+1 has been committed. Until then it's subjective and only reflects what this node has seen so far.

- CommitResponse
  - `jsonrpc` string, required
  - `id` integer, required
  - `result` object, required
    - `signed_header` object, required
      - `header` BlockHeader, required
        - `version` object, required
          - `block` string, required
          - `app` string, required
        - `chain_id` string, required
        - `height` string, required
        - `time` string, required
        - `last_block_id` BlockID, required
          - `hash` string, required
          - `parts` object, required
            - `total` integer, required
            - `hash` string, required
        - `last_commit_hash` string, required
        - `data_hash` string, required
        - `validators_hash` string, required
        - `next_validators_hash` string, required
        - `consensus_hash` string, required
        - `app_hash` string, required
        - `last_results_hash` string, required
        - `evidence_hash` string, required
        - `proposer_address` string, required
      - `commit` object, required
        - `height` string, required
        - `round` integer, required
        - `block_id` BlockID, required
          - `hash` string, required
          - `parts` object, required
            - `total` integer, required
            - `hash` string, required
        - `signatures` object[], required
          - `block_id_flag` integer
          - `validator_address` string
          - `timestamp` string
          - `signature` string
    - `canonical` boolean, required

## Other responses

- `500` — Error

---

[API](https://skmtc.net/finschia/apis/ostracon-rpc.md) · [All operations](https://skmtc.net/finschia/apis/ostracon-rpc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/finschia/ostracon-rpc/versions/f8b90bf02ef4/schema)
