delegator_address defines the delegator address to query for.
QueryDelegationTotalRewardsResponse is the response type for the Query/DelegationTotalRewards RPC method.
GET /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards HTTP/1.1 Host: zetachain.nownodes.io Accept: */*
A successful response.
{ "rewards": [ { "validator_address": "text", "reward": [ { "denom": "text", "amount": "text" } ] } ], "total": [ { "denom": "text", "amount": "text" } ] }
validator_address defines the validator address to query for.
QueryDelegationRewardsResponse is the response type for the Query/DelegationRewards RPC method.
GET /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address} HTTP/1.1 Host: zetachain.nownodes.io Accept: */*
{ "rewards": [ { "denom": "text", "amount": "text" } ] }