/cosmos/base/tendermint/v1beta1/validatorsets/{height}

GetValidatorSetByHeight queries validator-set at a given height.

Parameters:

height-string, block height

Example:

// Request
curl -X GET -H 'Content-Type: application/json' https://froopyland.blockpi.network/lcd/v1/<your-api-key>/cosmos/base/tendermint/v1beta1/validatorsets/1435053

// Result
{
    "block_height": "1435053",
    "pagination": {
        "next_key": null,
        "total": "96"
    },
    "validators": [
        {
            "address": "dymvalcons1qqwllenlt8k5rm0eyz5sa7302gr6phy0qt6795",
            "proposer_priority": "22",
            "pub_key": {
                "@type": "/cosmos.crypto.ed25519.PubKey",
                "key": "VGUPcca+KdlWAVj6cL/FstX4zn1ihgfOtRb3UF5pWrw="
            },
            "voting_power": "1"
        },
        ......
    }
}

Last updated