/dump_consensus_state

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

Parameters:

Example:

// Request
curl -X GET -H 'Content-Type: application/json'  https://froopyland.blockpi.network/rpc/v1/<your-api-key>/dump_consensus_state

// Result
{
   "jsonrpc": "2.0",
    "result": {
        "peers": [
            {
                "node_address": "43a5aace188c9680f4e64a58e907bd28326e2bab@144.76.138.156:41656",
                "peer_state": {
                    "round_state": {
                        "catchup_commit": null,
                        "catchup_commit_round": -1,
                        "height": "1254292",
                        "last_commit": null,
                        "last_commit_round": 0,
                        "precommits": null,
                        "prevotes": null,
                        "proposal": false,
                        "proposal_block_part_set_header": {
                            "hash": "",
                            "total": 0
                        },
                        "proposal_block_parts": null,
                        "proposal_pol": null,
                        "proposal_pol_round": -1,
                        "round": 0,
                        "start_time": "2023-11-14T12:05:13.4037855Z",
                        "step": 8
                    },
                    "stats": {
                        "block_parts": "0",
                        "votes": "0"
                    }
                }
            },
}

Last updated