How to Set a Minimum Output on a Chain 4663 Swap
Minimum output — sometimes called amountOutMin — is the floor value your Robinhood Chain (chain ID 4663) swap must deliver or the router reverts. It is derived from the quoted output multiplied by (1 minus your slippage tolerance), and it is the actual on-chain protection against a swap filling at a much worse price than the preview.
Most swap apps compute this value for you from the slippage number you enter and pass it into the router call as an argument. Understanding the derivation matters because it clarifies what slippage really does and lets you set a hard floor manually when an app exposes the field.
In this article, see also: how the slippage percentage becomes a floordecode the swap call on Blockscoutthe full swap flow on chain 4663.
Deriving the number from a quote
If the quoted output is Q and your slippage tolerance is s (as a decimal), minimum output is at least Q * (1 - s). A quote of 1,000 units at 1% tolerance sets the floor at 990 units; anything worse cancels the trade instead of filling at that worse price.
Reading it back from the transaction
Router calls encode the minimum output as an argument to the swap function. Decoding the input data of your pending or mined transaction on Blockscout confirms the exact value the router will enforce — a useful check when an app's UI is unclear about how strict its floor is.
Limitations
Minimum output protects only against the preview-vs-execution gap. It cannot compensate for a bad quote to begin with, and it does not shield you from contract-level taxes or transfer restrictions that reduce the amount actually delivered inside the swap.
Steps
- 1Get the quoted outputNote the output amount the app previews for your input size at the current pool state on chain 4663.
- 2Pick a slippage toleranceChoose the smallest percentage that still executes reliably against the pool you are trading.
- 3Compute the floorMultiply the quoted output by (1 minus your tolerance as a decimal) to get the minimum output value.
- 4Verify the router callDecode the pending transaction on Blockscout and confirm the amountOutMin argument matches your computed floor.
Frequently asked questions
Is minimum output the same as slippage? No. Slippage is the tolerance you enter as a percentage; minimum output is the absolute floor value derived from the quoted output and that tolerance. The router enforces the floor, not the percentage. What happens if execution would deliver less? The router reverts and no swap occurs. Your input tokens stay in your wallet, but you still pay gas for the failed attempt. Can an app set a hidden floor? An app can only pass whatever value it computes into the router call, and that value is public in the transaction data. Decoding the call on Blockscout removes any ambiguity about what the router is enforcing.
Related
Sources checked
First-party pages used to write or verify the entries above. Vendor pages change frequently — treat each source as the authoritative reference for its own product, not this article.
- Robinhood Chain docs — overview— Chain-4663 network reference.
- Robinhoodchain Blockscout explorer— Decode router call arguments.
Trade Robinhood Chain like a pro
Screener, live pairs and one-tap execution — all built for chain 4663.