Perps
Quote a Perps deposit
Prepare a free USD transfer from your GUM spot balance into a GUM Perps sub-account.
POST
https://api.gum.ag/app/v1/perps/deposit/quoteBody
| Field | Required | Description |
|---|---|---|
address | Yes | Your Solana address or EVM 0x address. |
amount | Yes | USD amount to transfer, as a decimal string (up to 6 decimal places). |
subaccountId | No | Target 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/deposit. Locked promotional credit cannot be transferred into Perps margin.