GUM Docs
Open GUM

Perps

Quote a Perps withdrawal

Prepare a free USD transfer from a GUM Perps sub-account back to your GUM spot cash balance.

POSThttps://api.gum.ag/app/v1/perps/withdraw/quote

Try it

Body

FieldRequiredDescription
addressYesYour Solana address or EVM 0x address.
amountYesFree USD margin to withdraw back to spot, as a decimal string.
subaccountIdNoSource Perps sub-account index (0–4, default 0).

Response

Returns amount, usdValue, tradingAccount, expiresAt, signer, message and transaction. Sign message and submit to POST /v1/perps/withdraw.