Parameters
Object Name | Required | Type | Detail |
---|---|---|---|
delegator_address | ✅ | String | The delegator address to query for. |
/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards
Result
Example
Request
curl <your-rest-endpoint>/cosmos/distribution/v1beta1/delegators/cosmos1qp2cjs037tax8nvhaee7zguwlmpr0ck4rtfk4d/rewards \
-X GET \
-H "accept: application/json"
Return
{
"rewards": [
{
"validator_address": "cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs",
"reward": [
{
"denom": "uatom",
"amount": "145.755716276604708847"
}
]
}
],
"total": [
{
"denom": "uatom",
"amount": "145.755716276604708847"
}
]
}