Estimating output & fees
Every flow has an estimate method. Estimates return the expected output, the minimum input, and a full fee breakdown.
| Method | Direction |
|---|---|
wrapAndSwapEstimate(amountBTC, networkName, outputToken?) | BTC → EVM/TON/Solana |
swapAndUnwrapEstimate(exchangeInfo, networkName) | EVM → BTC |
swapAndUnwrapEstimateTon(exchangeInfo) | TON → BTC |