/validators

Get Validators. Validators are sorted by voting power. 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.

Parameters:

height - int, height to return. If no height is provided, it will fetch information regarding the latest block.

Example:

// Request
curl -X GET -H 'Content-Type: application/json'  https://zetachain.blockpi.network/rpc/v1/<your-api-key>/validators?height=14183822

// Result
{
    "jsonrpc": "2.0",
    "id": -1,
    "result": {
        "block_height": "2115729",
        "validators": [
            {
                "address": "0CE77A66422692185F4EE7DAFC212D2A2294BBAE",
                "pub_key": {
                    "type": "tendermint/PubKeyEd25519",
                    "value": "IYYt/r5YgdxYhwPWivBOgfGGBXMtd2ChQ8qv5RWqhvI="
                },
                "voting_power": "5000001000000",