Topics
- Signing Model — Phantom agent signing and the SDK-managed agent
- Deposits — Funding your Hyperliquid account via LI.FI or the Arbitrum bridge
- Setup — One-time account setup before trading
- Trading — All account setup and trading actions with parameters
- Withdrawals — Withdrawing USDC to Arbitrum
- Account Abstraction — Account types, unified accounts, and configuration
- WebSocket Protocol — Native WebSocket protocol, channel mapping, and rate limits
Defaults & assumptions
- Default margin mode:
CROSS— applied whenmarginModeis omitted onplaceOrderorupdateLeverage. For markets where cross margin is unavailable, checkonlyIsolatedonPerpsMarketbefore presenting a margin mode toggle in your UI. - Trade signing: trading actions are signed by the SDK-managed agent — no per-trade wallet popup.
- Order fields:
typeandpriceare required on every order. - Withdrawals &
sendAsset: signed by the user’s L1 wallet every time; agents cannot move funds.
Notes
- Multiple quote assets are supported across HIP-3 venues (USDC, USDH, USDE, USDT0). See Trading / Available Markets for the current list.
Related Pages
- Concepts — The action pattern, streaming, and multi-provider support
- SDK / Streaming — Subscribe to live market data and user events via WebSocket
- SDK / Account — Fetch account balances, positions, and fills
- SDK / Trading — Place orders, cancel orders, and query order status
- SDK / Actions — The create -> sign -> execute pattern for all operations
- LI.FI Docs — Cross-chain swap and bridge for deposits