How it works
- Quote. You request a route for a pair and an amount. Mayan returns the routes available, each with an expected output, a minimum output, an ETA, and the transfer method it uses.
- Sign. The user signs one transaction on the source chain.
minAmountOutis part of what they sign, so the order cannot fill below it. - Fill. Drivers compete to fill the order with their own capital, and the best offer wins.
- Settle. The winning driver pays the user, then reclaims the source funds afterwards.
Instant settlement
The driver pays the user from capital they already hold on the destination chain, so nobody waits for the source chain to finalize first. Verification and reimbursement happen after the user already has their funds. See intents for how an order reaches a driver in the first place.Token coverage
Any token with a contract address is tradable. There is no whitelist and no listing process, so a long-tail asset routes the same way a major does, and adding an asset is never an integration change.Transfer methods and size
A swap can execute over any of three transfer methods.fetchQuote returns the routes available for the pair, each tagged with its method, and you choose which one to execute.
Swift carries single swaps up to around $1M, depending on the chain. MCTP and Fast MCTP carry up to around $10M.
Where it fits
- A wallet adds in-app trading without building routing or maintaining a token list.
- An aggregator widens asset coverage without adding integrations one chain at a time.
- A trading app makes every market reachable from one interface.
Case studies
- Avail Nexus routes high-value cross-chain transfers up to $10M per transaction with Mayan.
- SwapKit unlocked instant cross-chain swaps across its routing with Mayan.
Next steps
Quickstart
Quote, sign and execute a first cross-chain swap.
Swift
The route behind settlement in seconds.
Mayan app
Try a swap yourself.