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

DelegationRewards queries the total rewards accrued by a delegation.

Parameters:

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

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

Example:

// Request
curl -X GET -H 'Content-Type: application/json' https://cosmos.blockpi.network/lcd/v1/<your-api-key>/cosmos/distribution/v1beta1/delegators/cosmos1j52fnrad494smwjp3l7tg4ng96s2kmzd9kgue9/rewards/cosmosvaloper1clpqr4nrk4khgkxj78fcwwh6dl3uw4epsluffn

// Result
{
    "rewards": [
        {
            "denom": "uatom",
            "amount": "13180.282707075550000000"
        }
    ]
}

Last updated