Skip to main content
Once a swap is signed, the Explorer API is how you know what happened to it.
For a gasless swap, swapFromEvm returns an order hash instead of a transaction hash. Pass that to the same endpoint.

How often to poll

Poll every 2 seconds. Most swaps settle in seconds, so a slower interval makes your interface look laggy when the swap is already done. Without an API key you are rate limited per IP, which is fine for development and for moderate production volume. If you are polling at scale, request a key from support@mayan.finance and pass it as apiKey.

Swap statuses

Read clientStatus: INPROGRESS is the only non-terminal state. Treat the other two as final.

Other response fields

Next steps

Refunds

What REFUNDED means for the user, and what they get back.

Mayan Explorer

The same data in a browser, searchable by hash or wallet.