Withdraw address
Get the delegations' rewards withdrawal address. This is the address in which the user will receive the reward funds
Path parameters
delegatorAddranyRequired
Bech32 AccAddress of Delegator
Responses
200
OK
application/json
ResponsestringExample:
bech32 encoded address
cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
400
Invalid delegator address
500
Internal Server Error
get
GET /distribution/delegators/{delegatorAddr}/withdraw_address HTTP/1.1
Host: akt.nownodes.io
Accept: */*
cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
Replace the delegations' rewards withdrawal address for a new one.
Path parameters
delegatorAddranyRequired
Bech32 AccAddress of Delegator
Body
withdraw_addressstringOptionalExample:
bech32 encoded address
cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
Responses
200
OK
application/json
400
Invalid delegator or withdraw address
401
Key password is wrong
500
Internal Server Error
post
POST /distribution/delegators/{delegatorAddr}/withdraw_address HTTP/1.1
Host: akt.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 330
{
"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
},
"withdraw_address": "cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27"
}
{
"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"
}
}