Query a single delegation reward by a delegator
Bech32 AccAddress of Delegator
Bech32 OperatorAddress of validator
GET /distribution/delegators/{delegatorAddr}/rewards/{validatorAddr} HTTP/1.1 Host: akt.nownodes.io Accept: */*
OK
[ { "denom": "stake", "amount": "50" } ]
Get the sum of all the rewards earned by delegations by a single delegator
GET /distribution/delegators/{delegatorAddr}/rewards HTTP/1.1 Host: akt.nownodes.io Accept: */*
{ "rewards": [ { "validator_address": "cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l", "reward": [ { "denom": "stake", "amount": "50" } ] } ], "total": [ { "denom": "stake", "amount": "50" } ] }
Withdraw all the delegator's delegation rewards
POST /distribution/delegators/{delegatorAddr}/rewards HTTP/1.1 Host: akt.nownodes.io Content-Type: application/json Accept: */* Content-Length: 263 { "base_req": { "from": "cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc", "memo": "Sent via Cosmos Voyager 🚀", "chain_id": "Cosmos-Hub", "account_number": "0", "sequence": "1", "gas": "200000", "gas_adjustment": "1.2", "fees": [ { "denom": "stake", "amount": "50" } ], "simulate": false } }
{ "msg": [ "text" ], "fee": { "gas": "text", "amount": [ { "denom": "stake", "amount": "50" } ] }, "memo": "text", "signature": { "signature": "MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=", "pub_key": { "type": "tendermint/PubKeySecp256k1", "value": "Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH" }, "account_number": "0", "sequence": "0" } }
Withdraw a delegator's delegation reward from a single validator
POST /distribution/delegators/{delegatorAddr}/rewards/{validatorAddr} HTTP/1.1 Host: akt.nownodes.io Content-Type: application/json Accept: */* Content-Length: 263 { "base_req": { "from": "cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc", "memo": "Sent via Cosmos Voyager 🚀", "chain_id": "Cosmos-Hub", "account_number": "0", "sequence": "1", "gas": "200000", "gas_adjustment": "1.2", "fees": [ { "denom": "stake", "amount": "50" } ], "simulate": false } }