Rewards
Query the commission and self-delegation rewards of validator.
Path parameters
validatorAddranyRequired
Bech32 OperatorAddress of validator
Responses
200
OK
application/json
400
Invalid validator address
500
Internal Server Error
get
GET /distribution/validators/{validatorAddr}/rewards HTTP/1.1
Host: akt.nownodes.io
Accept: */*
[
{
"denom": "stake",
"amount": "50"
}
]
Withdraw the validator's self-delegation and commissions rewards
Path parameters
validatorAddranyRequired
Bech32 OperatorAddress of validator
Body
Responses
200
OK
application/json
400
Invalid validator address
401
Key password is wrong
500
Internal Server Error
post
POST /distribution/validators/{validatorAddr}/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"
}
}