How to Estimate a Chainflip Swap’s Output
A Chainflip estimate depends on the exact pair, amount, route and fees; compare quoted net output and set a minimum price before sending funds because execution can move.
By Web3 Hub Newsroom2 min read
Estimate a Chainflip swap by entering the exact source and destination assets and deposit amount, then checking the quoted output after fees. That figure is a snapshot of the price and liquidity available when the quote is generated; the amount delivered can change before execution.
Start with the asset and network on both sides, not just the token symbols: the same asset can exist on more than one chain. The guide to Chainflip’s native cross-chain swap mechanics explains how deposits, pool trades and payouts fit together. For an estimate, the practical point is that a route can involve more than one pool, and each step affects the final amount.
Which details change the estimated output?
The pair, amount and route all matter because the quote reflects available pool liquidity, trading fees and the price impact of that specific swap. A larger order can move further through a pool’s available liquidity, so multiplying a small-swap rate by a larger amount may overstate what the larger trade returns.
Fees also come from different stages. The protocol’s published fee schedule lists a liquidity fee for each pool, a network fee, and a destination-chain broadcast fee that varies by chain; the deposit transaction has its own source-chain gas cost. The schedule lists liquidity fees of 0.10%–0.15% per pool and a 0.10% network fee, with a $0.50 minimum. Those figures are protocol fees, not a promise of the total cost for every route.
How do you read the quote?
Compare the estimated output in the destination asset, and check which fees the quote includes. The developer quote format separates the estimated AMM price from deposit and broadcast fees, and can also report fee amounts, a low-liquidity warning and estimated time. That distinction matters: an AMM price alone is not the same as the net amount expected at the destination.
Before sending, check these details against the transaction you intend to make:
- Source chain and asset, plus destination chain and asset.
- Deposit amount and the quote’s estimated destination output.
- Any broker or optional boost fee shown by the interface.
- Whether deposit gas and destination transfer costs are included or paid separately.
Use the quote for the same amount you plan to send, and refresh it if the market has moved or time has passed. For a fair comparison between routes or interfaces, hold the pair and amount constant and compare the estimated destination output after fees, rather than headline exchange rates.
How can you limit price changes before execution?
A minimum accepted price can prevent execution below a chosen threshold: if the swap cannot meet it within the retry period, the protocol can refund the deposit to the specified address. The protection is checked at the AMM level, so it does not include deposit or broadcast fees; set the threshold with those separate costs in mind.
The useful takeaway is to treat the quote as an estimate, then decide whether its net output is acceptable and set price protection where available. The quote’s retry window and the swap’s status determine what happens next: execution at an acceptable price, or a refund if the threshold is not met before the window ends.