cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}

DelegationRewards queries the total rewards accrued by a delegation.

Parameters

Object NameRequiredTypeDetail
delegator_addressStringThe delegator address to query for.
validator_addressStringThe validator address to query for.
/cosmos/distribution/v1beta1/delegators/cosmos1qp2cjs037tax8nvhaee7zguwlmpr0ck4rtfk4d/rewards/cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs

Result

Example

Request

curl <your-rest-endpoint>/cosmos/distribution/v1beta1/delegators/cosmos1qp2cjs037tax8nvhaee7zguwlmpr0ck4rtfk4d/rewards/cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs \
  -X GET \
  -H "accept: application/json"

Return

{
    "rewards": [
        {
            "denom": "uatom",
            "amount": "145.797977639972814281"
        }
    ]
}