Transfers, Withdrawals & Agents
Move USDC between Spot and Perp, withdraw to EVM, authorize API wallets, and deposit into vaults.
/exchangeAccount-level fund movements and wallet authorizations must be signed by the master wallet using the User-Signed EIP-712 flow (VPerpTransaction:*, vperpChain, and signatureChainId). See Authentication & Signing.
Spot ↔ Perp Transfer (usdClassTransfer)
Move USDC between your Spot and Perpetuals margin balances.
{
"type": "usdClassTransfer",
"vperpChain": "VPerpTestnet",
"signatureChainId": "0xa4b1",
"amount": "1000",
"toPerp": true,
"nonce": 1700000000000
}toPerp:truetransfers Spot → Perp;falsetransfers Perp → Spot.
Withdraw to EVM (withdraw3)
Initiate a bridge withdrawal of USDC to any valid non-zero EVM address (not restricted to the sender's own address; master-wallet signed only). The response includes the x-vcore-withdrawal-id header for tracking settlement.
{
"type": "withdraw3",
"vperpChain": "VPerpTestnet",
"signatureChainId": "0xa4b1",
"destination": "0x0000000000000000000000000000000000000000",
"amount": "250",
"time": 1700000000000
}- Minimum & Fee: Minimum withdrawal 5 USDC; fixed bridge fee 1 USDC (
net_payout = amount - 1 USDC). Debitsspot_usdcfirst and automatically sweeps any shortfall from freeperp_usdc. See Bridge & Protocol Vault for mainnet rolling caps and dispute windows.
Send USDC (usdSend / sendAsset)
Transfer USDC to another account. Standard accounts use usdSend (or spotSend); Unified / Portfolio Margin accounts reject usdSend/spotSend and must use sendAsset. Sending to a previously unactivated address via usdSend, spotSend, or sendAsset charges the sender a one-time 0.1 USDC activation fee.
{
"type": "usdSend",
"vperpChain": "VPerpTestnet",
"signatureChainId": "0xa4b1",
"destination": "0x0000000000000000000000000000000000000000",
"amount": "100",
"time": 1700000000000
}Approve API Wallet (approveAgent)
Authorize an Agent wallet address to sign trading actions (order, cancel, modify, etc.) on behalf of your master account.
{
"type": "approveAgent",
"vperpChain": "VPerpTestnet",
"signatureChainId": "0xa4b1",
"agentAddress": "0x1111111111111111111111111111111111111111",
"agentName": "trading-bot-1",
"nonce": 1700000000000
}- For restricted bots, use
approveAgentScopedwith ascopeJSON string supportingpermissions("trade"|"cancelOnly"|"reduceOnly"),allowedAssets,allowedSubaccounts,allowMaster, andmaxLeverageCap.
Protocol Vault Deposit / Redeem / Cancel (userVaultTransfer / userProtocolVaultCancel)
Subscribe to, redeem from, or cancel a pending queue request in the Protocol Market-Making Vault (MMV). All vault fund movements require a direct master-wallet EIP-712 signature (trading agents are strictly forbidden).
{
"type": "userVaultTransfer",
"vperpChain": "VPerpTestnet",
"signatureChainId": "0xa4b1",
"vaultAddress": "0x7600000000000000000000000000000000000000",
"isDeposit": true,
"usd": 1000000000,
"nonce": 1700000000000
}vaultAddress: Must target the Tier 0 Parent vault address (direct deposits to Strategy/Liquidator sub-vaults are rejected).usd: Integer amount in micro-USDC (1 USDC = 1,000,000). Minimum deposit 5 USDC; max 32 pending subscriptions and 32 pending redemptions per account.- Queues & Settlement: Default 7-day subscription escrow queue and 30-day pro-rata redemption queue (zero commission). Matured redemptions and canceled subscription refunds credit
spot_usdc(or the unified pool). See Bridge & Protocol Vault.