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

Parameters

Object NameRequiredTypeDetail
VALIDATOR_ADDRStringThe validator address to query for.
DELEGATOR_ADDRStringThe delegator address to query.
/cosmos/staking/v1beta1/validators/cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs/delegations/cosmos1zqg753ll6zf85nzml67ure8zqqkpyvw85xxy5w

Result

The delegate info for given validator delegator pair.

Example

Request

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

Return

{
    "delegation_response": {
        "delegation": {
            "delegator_address": "cosmos1zqg753ll6zf85nzml67ure8zqqkpyvw85xxy5w",
            "validator_address": "cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs",
            "shares": "10000000.000000000000000000"
        },
        "balance": {
            "denom": "uatom",
            "amount": "10000000"
        }
    }
}