cosmos/staking/v1beta1/validators/{validator_addr}/delegations

Parameters

Object NameRequiredTypeDetail
VALIDATOR_ADDR✅StringThe validator address to query for.
pagination.key❌StringThe value returned in PageResponse.next_key to begin querying the next page most efficiently. If provided, then pagination.offset is not allowed.
pagination.offset❌IntegerA numeric offset that can be used when pagination.key is unavailable. It is less efficient than pagination.key. If provided, then pagination.key is not allowed.
pagination.limit❌IntegerThe total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
pagination.count_total❌BooleanIf set to true, the result will include a count of the total number of items available for pagination. count_total is only respected when offset is used. It is ignored when key is set.
/cosmos/staking/v1beta1/validators/cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs/delegations

Result

The delegate info for given validator.

Example

Request

curl <your-rest-endpoint>/cosmos/staking/v1beta1/validators/cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs/delegations \
  -X GET \
  -H "accept: application/json"

Return

{
    "delegation_responses": [
        {
            "delegation": {
                "delegator_address": "cosmos1qp2cjs037tax8nvhaee7zguwlmpr0ck4rtfk4d",
                "validator_address": "cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs",
                "shares": "10001.000000000000000000"
            },
            "balance": {
                "denom": "uatom",
                "amount": "10001"
            }
        },
        {
            "delegation": {
                "delegator_address": "cosmos1qpe3tdjy9hp0c5fsxnee85a9d005dwpk0sjsqk",
                "validator_address": "cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs",
                "shares": "512000000.000000000000000000"
            },
            "balance": {
                "denom": "uatom",
                "amount": "512000000"
            }
        },
        ...
        {
            "delegation": {
                "delegator_address": "cosmos1p778n0wh86jkzmr36gex2p9xh4486uwyegm6wf",
                "validator_address": "cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs",
                "shares": "1260900.000000000000000000"
            },
            "balance": {
                "denom": "uatom",
                "amount": "1260900"
            }
        },
        {
            "delegation": {
                "delegator_address": "cosmos1zqg753ll6zf85nzml67ure8zqqkpyvw85xxy5w",
                "validator_address": "cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs",
                "shares": "10000000.000000000000000000"
            },
            "balance": {
                "denom": "uatom",
                "amount": "10000000"
            }
        }
    ],
    "pagination": {
        "next_key": "FBAly0XD3UTydUeH1bWRLPGGg1HDFKaQBJTx9zza4rrxyLiP9fwLijOc",
        "total": "1473"
    }
}