Skip to main content
POST
Preview a withdrawal

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Wallet ID

Body

application/json
destinationChain
enum<string>
required

Destination network for the withdrawal.

Available options:
arbitrum,
base,
ethereum,
ethereum_sepolia,
polygon,
solana,
solana_devnet,
stellar,
stellar_testnet,
tempo,
tempo_moderato,
tron,
tron_shasta
token
enum<string>
required

Token delivered by the withdrawal.

Available options:
usdc,
usdt,
ousd
memo
object

Optional recipient memo for Stellar withdrawals. Text is 1–28 UTF-8 bytes without null characters. ID is an unsigned 64-bit integer string (0–18446744073709551615); leading zeros are normalized. Omit for no memo.

Example:
amountUsd
string | null

Gross wallet value as a positive decimal string with at most 6 decimal places, before execution fees. Omit to evaluate the maximum gross withdrawable amount. Route limits still apply to that resolved amount.

Pattern: ^(?!0(?:\.0{1,6})?$)(?:0|[1-9][0-9]*)(?:\.[0-9]{1,6})?$
sources
object[]

Optional gross cash contribution by source when automatic rebalancing is disabled. Omit it to let Ground select sources automatically.

Minimum array length: 1
partnerFeeAmountUsd
string

Partner-calculated fee as a decimal string for a USDC or USDT withdrawal on a supported EVM network, or a TRON USDT withdrawal. Must be positive, smaller than amountUsd when provided, have at most 6 decimal places, and be supplied with partnerFeeRecipientAddress.

Pattern: ^(?!0(?:\.0{1,6})?$)(?:0|[1-9][0-9]*)(?:\.[0-9]{1,6})?$
partnerFeeRecipientAddress
string

Recipient of the partner fee on the destination network. Supported for EVM and TRON payouts; supply a valid address for that network together with partnerFeeAmountUsd. In the withdrawal request it must differ from destinationAddress. Not supported for Solana, Stellar, or Tempo payouts.

Response

Withdrawal preview

amountRequestedUsd
string
required

Gross wallet value evaluated by this preview. Equals the requested amount, or the resolved maximum gross withdrawable amount when amountUsd was omitted.

feeUsd
string
required

Estimated execution fee deducted from the gross requested amount, including yield source protocol exit fees.

partnerFeeUsd
string
required

Partner fee deducted from the gross requested amount.

amountToReceiveUsd
string
required

Estimated net amount to be sent to the destination after execution and partner fees are deducted from the gross requested amount.

withdrawableUsd
string
required

Maximum gross wallet value that can safely start a new withdrawal for this destination right now.

totalUsdAfterWithdrawal
string
required

Estimated wallet total after the gross requested amount is removed, including owned holdings that cannot fund this destination.

processingEstimate
object | null
required

Estimated elapsed seconds for the selected withdrawal route after applying provider calendars, holidays, and cutoffs. Bounds preserve day-level uncertainty when only settlement dates are known. A preview is anchored at the preview time; a workflow range is measured from request acceptance, not a countdown. Null means no reliable estimate is available. The upper bound is typical, not a guaranteed deadline.

memo
object

Optional recipient memo for Stellar withdrawals. Text is 1–28 UTF-8 bytes without null characters. ID is an unsigned 64-bit integer string (0–18446744073709551615); leading zeros are normalized. Omit for no memo.

Example: