Documentation Index
Fetch the complete documentation index at: https://docs.magic.link/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
All endpoints require the following headers unless otherwise noted:Bearer token (JWT) for end-user authentication. Format:
Bearer YOUR_JWT_TOKENYour Magic secret key for application-level authentication.
Create or Fetch Account
Create a new account or return the existing one for the authenticated user. Wallet addresses are provisioned for supported EVM and Solana chains.cURL
perp_dex_status entry for every supported venue (lowercase keys: extended, hyperliquid, paradex, nado, polymarket). Each value is a JSON object; at minimum venues expose initialized (boolean) and may add venue-specific fields (addresses, keys, trade_initialized, etc.) as onboarding progresses.
Response Fields
Whether the account was created or fetched successfully.
The user identifier from your application (JWT
sub claim).The UOA-internal user UUID.
Map of chain code to wallet address. Provisioning creates ETH (EVM) and SOL entries; the same EVM address is used for Arbitrum, Polygon, Ink, and Ethereum when resolving balances or transfers server-side.
Map of perp venue to stored status (keys match venue ids:
extended, hyperliquid, paradex, nado, polymarket). Shape is venue-specific; see the default example above for fields present on create.Get Account Info
Return the authenticated user’s stored account state.cURL
success field. perp_dex_status always includes all venue keys; initialized venues gain non-null fields (e.g. Hyperliquid account_address, trade_initialized when applicable).
Response Fields
The user identifier from your application.
The UOA-internal user UUID.
Map of chain code to wallet address (typically
ETH and SOL as stored keys).Map of venue id to JSON status for that venue (
extended, hyperliquid, paradex, nado, polymarket). Exact keys per venue evolve with the product; treat as opaque except for documented init flows.Demo: Get Wallet Balance
Get on-chain wallet balances for one chain. This endpoint is for demo usage only.cURL
Query Parameters
The chain to fetch balances for. Values:
ETH, ARB, POL, INK, SOLResponse Fields
The requested chain.
The wallet address used for the balance query (EVM chains use the stored ETH address; Solana uses the SOL address). May be
null if no address exists for the requested chain.Map of token codes to decimal string balances for the requested chain.
Map of chain code to wallet address.