Skip to the article
Top Crypto

Crypto markets, protocols, policy

When should you split a Mayan cross-chain swap?

Split a Mayan cross-chain swap only when a full-size quote worsens enough to outweigh another transaction's gas, fees and execution risk; compare fresh quotes before signing.

The Top Crypto Editors 3 min read

When should you split a Mayan cross-chain swap?

Should you split a Mayan cross-chain swap? Only when separate smaller quotes improve the expected output enough to justify paying for and managing multiple transactions. A split can reduce the impact of a large order on execution, but each leg becomes its own swap, with its own costs and outcome.

What does splitting a cross-chain swap change?

Splitting means submitting portions of your source tokens as separate swaps to the same destination, rather than sending the full amount in one order. Each order gets its own quote and execution; the legs are not one atomic transaction, so one can complete while another is delayed or refunded. For how tokens move across chains, this fuller mayan bridge explainer covers the mechanics.

Mayan’s SDK returns a quote for each available route, and those quotes are alternatives: you select one route for an order. That is different from splitting one order across routes. If you divide the amount yourself, request a fresh quote for each proposed size; don’t assume the full-order quote can be divided proportionally.

When can splitting improve your result?

Consider it when the quoted output deteriorates as you raise the order size, or when the full amount approaches a limit shown in the quote. Smaller legs may receive better terms, but the comparison only helps if the improvement survives the extra costs and risk of multiple executions.

  • Compare the full-size quote with quotes for realistic smaller amounts.
  • Add source-chain gas and any route-specific fees for every leg.
  • Check each leg’s minimum output, route type and refund conditions.

Use the total expected destination amount after costs, not the best-looking rate on one leg, to judge the difference. A quote is a snapshot; prices and available routes can change before you submit.

When is one swap the better choice?

For most readers, one order is preferable when splitting barely improves the quoted output or adds costs that erase the gain. It means one source transaction to sign and one swap outcome to track, while avoiding the possibility that only part of your intended amount arrives promptly. Splitting is a trade-off, not a guaranteed way to get a better price.

Before signing, compare the latest quote for the full amount against the combined expected output and all costs for the smaller legs. Watch the minimum output and route on each refreshed quote; those are the numbers that tell you whether the split still makes sense.