v1

latestOpenAPI 3.0.32026-07-26184851.6 MB
Rewards

Withdraw

Withdraws from an earn position. The amount is the net amount you receive — the platform grosses up the redemption so the fee is taken from realized yield only. Pass "max" to fully exit (closes the position). Asynchronous — returns a PENDING transaction; completion is delivered via webhook.

Body Parameters

KeyRequiredTypeDescription
assetIdtruestring (UUID)The asset to withdraw.
amounttruestringNet amount to withdraw, or "max" for a full exit.
typefalsestringStrategy class: regulated or defi.
addressfalsestringExternal destination address. Omit to credit the signer (master wallet or sub-address).
referencefalsestringClient reference.
metadatafalseobjectCustom metadata.
addressIdfalsestring (UUID)Scope the operation to a sub-address. Omit to act on the master wallet.
post/v1/wallets/{walletId}/rewards/withdraw

Request body

assetIdstring
amountstring
typestring
addressstring
referencestring
metadataobject
addressIdstring

Example request

{
  "assetId": "WALLET_ASSET_ID",
  "amount": "NET_AMOUNT_TO_WITHDRAW",
  "type": "defi",
  "address": "OPTIONAL_EXTERNAL_ADDRESS",
  "reference": "OPTIONAL_REFERENCE",
  "metadata": {},
  "addressId": "OPTIONAL_SUB_ADDRESS_ID"
}

Response

OK

object required