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

Delegation queries delegate info for given validator delegator pair.

Parameters:

validator_address - string, validator_address defines the validator address to query for.

delegator_address - string, delegator_address defines the delegator address to query for.

Example:

// Request
curl -X GET -H 'Content-Type: application/json' https://zetachain.blockpi.network/lcd/v1/<your-api-key>/cosmos/staking/v1beta1/validators/zetavaloper1t4zkm98wf625k7y5ntv850rqzy3rd4a05vzq2r/delegations/zeta1t4zkm98wf625k7y5ntv850rqzy3rd4a0sv6u84

// Result
{
  "delegation_response": {
    "delegation": {
      "delegator_address": "zeta1t4zkm98wf625k7y5ntv850rqzy3rd4a0sv6u84",
      "validator_address": "zetavaloper1t4zkm98wf625k7y5ntv850rqzy3rd4a05vzq2r",
      "shares": "1000000000000000000000000.000000000000000000"
    },
    "balance": {
      "denom": "azeta",
      "amount": "1000000000000000000000000"
    }
  }
}

Last updated