v1

latestOpenAPI 3.1.02026-07-24223580832.9 KB
Cardano

Post Rewards Withdrawal Intent

Creates a new withdrawal intent that withdraws only the accumulated rewards. Staked tokens stay untouched and keep earning rewards.

post/v1/cardano/{network}/rewards/withdrawal-intents

Request body

base_addressstring bech32 required

bech32 encoded base address. Accounts.

Example request

{
  "base_address": "addr1vpu5vlrf4xkxv2qpwngf6cjhtw542ayty80v8dyr49rf5eg0yu80w"
}

Response

Rewards withdrawal intent created

protocol'cardano' required

Cardano protocol

network'mainnet' | 'preprod' | 'localnet' required

Cardano network

customer_idstring required

Unique identifier for a customer

Example response

{
  "cardano": {
    "base_address": "addr1vpu5vlrf4xkxv2qpwngf6cjhtw542ayty80v8dyr49rf5eg0yu80w",
    "rewards_amount": "100",
    "unsigned_transaction": "0x22895118000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120087fed394b43849eebef1e88873cd9efdbe33136656e5148e659b8b2f33625d40000000000000000000000000000000000000000000000000000000000000030b81748644e23c4d950f9dd709f3eb73d5eacd9657997e1d9dde7c4ebd8a6519ecb9d0a7fb603d3b68e023278f9650122000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020010000000000000000000000c509bb854c526af4cee5e037089f7aa8e091d8870000000000000000000000000000000000000000000000000000000000000060b36b79b4b206c0310472c117fa40c05342b5dc3e89f98f42c9da3ce6450d4c603cad55248017fd4eca3ab277cca64569193e4d487f5b2ea78a2bcdc81926c313c05842a3af318967a775783bba22519e8b8886587efa99aa7dab5784f792b187\n"
  },
  "customer_id": "SatoshiNakamoto-xUYJbPw9hw"
}