_getDelegationInfoByValidatorAndDelegator

Queries delegation info for given validator delegator pair.

Parameters

Path

  • validator_addr: STRING - The validator address to query for.
  • delegator_addr: STRING - The delegator address to query for.
curl "https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/staking/v1beta1/validators/cosmosvaloper13x4pynlp86prhcmtns742kgsgu7pjtzj4djh7s/delegations/cosmos1s5dtu5pywamqc9kuxu37u9p0xrj4psmjm0a7w6" \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj'

Returns

  • OBJECT - Validators information.
{
  "delegation_response": {
    "delegation": {
      "delegator_address": "cosmos1s5dtu5pywamqc9kuxu37u9p0xrj4psmjm0a7w6",
      "validator_address": "cosmosvaloper13x4pynlp86prhcmtns742kgsgu7pjtzj4djh7s",
      "shares": "1414821094.000000000000000000"
    },
    "balance": {
      "denom": "uatom",
      "amount": "1414821094"
    }
  }
}

Try Yourself

Language
Click Try It! to start a request and see the response here!