Installation
Configuration
Initialize the Perps SDK client:DEFAULT_API_URL (https://develop.li.quest/v1/perps) by default. Override with apiUrl if needed:
Get your integrator name and API key from the LI.FI Partner Portal. Both are required for API access.
Quick Start
Fetch available DEXes and markets:Next steps
- Concepts / Signing Modes — USER vs USER_AGENT, agent key storage and management
- Concepts / Action Pattern — The create → sign → submit pattern
- SDK / Authorization — Complete authorization flow with sequence diagram
- SDK / Trading — All order types, features, and a full end-to-end example
- SDK / Market Data — Prices, orderbooks, and charts