---
title: "Get consensus state"
method: GET
path: "/dump_consensus_state"
tags: ["Info"]
---

# Get consensus state

`GET /dump_consensus_state`

Get consensus state.

Not safe to call from inside the ABCI application during a block execution.

## Response `200`

Complete consensus state.

See https://pkg.go.dev/github.com/Finschia/ostracon/types?tab=doc#Vote.String for Vote string description.

- DumpConsensusResponse
  - `jsonrpc` string, required
  - `id` integer, required
  - `result` object, required
    - `round_state` object, required
      - `height` string, required
      - `round` integer, required
      - `step` integer, required
      - `start_time` string, required
      - `commit_time` string, required
      - `validators` object, required
        - `validators` ValidatorPriority[], required
          - `address` string
          - `pub_key` object
            - `type` string, required
            - `value` string, required
          - `voting_power` string
          - `proposer_priority` string
      - `locked_round` integer, required
      - `valid_round` string, required
      - `votes` object[], required
        - `round` string
        - `prevotes` string[], nullable
        - `prevotes_bit_array` string
        - `precommits` string[], nullable
        - `precommits_bit_array` string
      - `commit_round` integer, required
      - `last_commit` object, nullable, required
        - `votes` string[], required
        - `votes_bit_array` string, required
        - `peer_maj_23s` object, required
      - `last_validators` object, required
        - `validators` ValidatorPriority[], required
          - `address` string
          - `pub_key` object
            - `type` string, required
            - `value` string, required
          - `voting_power` string
          - `proposer_priority` string
      - `triggered_timeout_precommit` boolean, required
    - `proposer` object
      - `address` string, required
      - `pub_key` object, required
        - `type` string, required
        - `value` string, required
      - `voting_power` string, required
      - `proposer_priority` string, required
    - `peers` object[], required
      - `node_address` string
      - `peer_state` object
        - `round_state` object, required
          - `height` string, required
          - `round` string, required
          - `step` integer, required
          - `start_time` string, required
          - `proposal` boolean, required
          - `proposal_block_parts_header` object, required
            - `total` integer, required
            - `hash` string, required
          - `proposal_pol_round` integer, nullable, required
          - `proposal_pol` string, nullable, required
          - `prevotes` string, nullable, required
          - `precommits` string, nullable, required
          - `last_commit_round` integer, nullable, required
          - `last_commit` string, nullable, required
          - `catchup_commit_round` integer, nullable, required
          - `catchup_commit` string, nullable, required
        - `stats` object, required
          - `votes` string, required
          - `block_parts` string, 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)
