Withdraw address

Deprecated

Get the rewards withdrawal address

get

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
Responsestring

bech32 encoded address

Example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
get
GET /distribution/delegators/{delegatorAddr}/withdraw_address HTTP/1.1
Host: akt.nownodes.io
Accept: */*
cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
Deprecated

Replace the rewards withdrawal address

post

Replace the delegations' rewards withdrawal address for a new one.

Path parameters
delegatorAddranyRequired

Bech32 AccAddress of Delegator

Body
withdraw_addressstringOptional

bech32 encoded address

Example: cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27
Responses
200
OK
application/json
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"
  }
}