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

Target chain for the withdrawal. Tempo delivers USDC.e with usdc or OUSD with ousd; wallets can withdraw OUSD on tempo_moderato in sandbox.

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. OUSD is available on Tempo.

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
number<double> | null

Gross wallet value to withdraw before execution fees. If omitted, the preview uses the maximum gross withdrawable amount. For Tempo, this also returns the beta-limit error when that maximum exceeds 100 USDC.e; provide an explicit smaller amount instead.

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
number<double>

Partner-calculated fee for an EVM USDC or USDT withdrawal. Must be positive, smaller than amountUsd when provided, have at most 6 decimal places, and be supplied with partnerFeeRecipientAddress.

Required range: x > 0
partnerFeeRecipientAddress
string

EVM address that receives the partner fee. Must be supplied with partnerFeeAmountUsd.

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
required
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: