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. Wallets are provisioned across all supported chains automatically.cURL
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 (e.g.,
{"ETH": "0x...", "SOL": "7nYB..."}).Map of DEX venue to initialization status.
Get Account Info
Return the authenticated user’s stored account state.cURL
Response Fields
The user identifier from your application.
The UOA-internal user UUID.
Map of chain code to wallet address.
Map of DEX venue to initialization status.
Get Wallet Balances
Get on-chain wallet balances for the authenticated user across all chains.cURL
Response Fields
Map of chain code to wallet address.
Map of chain code to token balances. Each chain maps token codes to decimal string amounts.