Learn about Maxy / Learn more
Data handling
What the SDK sends, what Maxy stores for each wallet, who can read it, and what appears in URLs. It is for privacy and security reviewers.
The SDK stores nothing itself: no local database, no cookies, no telemetry. Everything below is held by Maxy's API or by the services a swap's legs use, all reached through Maxy's one host, openapi.maxy.co (SDK hosts).
What Maxy stores
| Activity | What is sent | What is stored | Who can read it |
|---|---|---|---|
Sign-in (auth.signIn) | Wallet address, the signed Sign-In with Ethereum message, a username on first sign-in | An account: wallet address and username. The signature and message are not stored; single-use nonces are deleted | The wallet's own session |
| Prices and quotes | Assets, amounts, chains, the addresses named | Nothing | — |
| Buying BTC | The signed intent and its signature, the escrow transaction hash, the payout script; Permit2 data on gasless orders | One swap record: maker, intent, signatures, payout script, status | The wallet's own session and Maxy's services. The escrow is public on chain |
| Selling BTC | Wallet address, amount, destination, the signed sell intent, the paying Bitcoin address | One swap record: intent, signature, Bitcoin script and address, status | As above |
Loans (@maxy-labs/loans) | Borrower's EVM and Bitcoin addresses and public key, the signed terms and returns | The request, terms, Bitcoin script and signatures | The wallet's own session |
| Orders placed with an API key | The order id, route and your own ids (externalId) | A row under your key, for GET /orders and webhooks | Your key |
Rate limits. To enforce rate limits, Maxy records the operation, the time, the caller's IP address and, for a call that acts for a wallet, the wallet. Swap rate-limit records are deleted after one day.
Retention. Swap records, loan records and accounts have no automatic expiry: they are the record of orders that settled on chain. There is no self-service account deletion: ask your Maxy contact.
Services a leg uses
Through openapi.maxy.co, never directly:
| Service | What it receives | Why |
|---|---|---|
| Bitcoin data (Maxy's node, then public Esplora explorers) | Bitcoin addresses and transaction ids; raw transactions to broadcast | Coin selection, fees, confirmations, broadcast |
| Chain RPCs (Maxy's provider, with public fallbacks) | Contract reads and receipts | On-chain checks |
| LI.FI, and the bridge its route picker chooses for a leg | Assets, amounts, the sending and receiving addresses; a transaction hash for status | Two-leg routes (any token, Tron and Sui, a sale paid out in another coin), coin to coin, a leg's status |
| Tron's and Sui's APIs | A Tron or Sui address; signed transactions to broadcast | Tron and Sui legs |
| The Solana swap's router | The Solana wallet, the SOL amount and the coin wanted | BTC to a Solana coin no settler pays |
| The Solana settler's gateway and Solana RPC | Solana address, offers, signed transactions | Solana routes |
None of them receives your API key: it goes only to Maxy's API.
Hosted checkout (buy.maxy.co) is Maxy's own page: it receives what the signed link carries (your publishable key, the amount, the coin, the recipient and your ids) and the user's wallet address, and calls the API like any other page.
What appears in URLs
Only public blockchain identifiers: a wallet address as a filter when listing its orders, the sending and receiving addresses of a quote, a loan request id, a transaction hash for a leg's status, and Bitcoin addresses in the path of Bitcoin reads. Session tokens and the API key travel only in headers.