_getDelegationRewardsByDelegatorAndValidator

DelegationRewards queries the total rewards accrued by a delegation.

Parameters

Path

  • delegator_address: STRING - The delegator address to query for.
  • validator_address: STRING - The validator address to query for.
curl "https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/distribution/v1beta1/delegators/cosmos1ss75p6a4h57wvnp9sp7mwuf58et82tc9w95ek7/rewards/cosmosvaloper1c4k24jzduc365kywrsvf5ujz4ya6mwympnc4en" \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj'

Returns

  • OBJECT - The reward information of an address by validator.

  "rewards": [
    {
      "denom": "ibc/0025F8A87464A471E66B234C4F93AEC5B4DA3D42D7986451A059273426290DD5",
      "amount": "2064.415167794926398850"
    },
    {
      "denom": "ibc/6B8A3F5C2AD51CD6171FA41A7E8C35AD594AB69226438DB94450436EA57B3A89",
      "amount": "25779.751249722214951395"
    },
    {
      "denom": "uatom",
      "amount": "89172218.598876597276274097"
    }
  ]
}

Try Yourself

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