Skip to content
Fossa

Trade tokens

Swap limits, price impact, and final curve buys.

Choose a pair

On Swap, choose the token you sell and the token you receive. Check mint addresses before you rely on a name or symbol.

A pool serves both trade directions. The program creates one pool per unordered mint pair. TOKEN/MODEL and MODEL/TOKEN use the same pool. TOKEN/OTHER_MODEL can use a separate pool.

Sign your action

Ordinary account-wallet actions sign in your browser. Approve browser signing when prompted. Shared sign-in does not unlock signing on a new site or browser. An external wallet signs through its own approval flow.

The browser checks the action, token accounts, amounts, and fee bounds before signing. An encrypted server-held wallet copy remains available for account services and wallet maintenance.

Keep browser storage while an action is pending. Reopen the DEX and resume the saved action after an interruption. Recovery preserves the signed transaction while its outcome is uncertain. It resends the same bytes and requires finalized failure or fresh expiry checks before preparing a replacement.

Price impact and slippage

Price impact is the change your trade causes in the pool price. Larger trades use more of the reserves and usually cause more price impact.

Slippage is the difference between your quoted result and your executed result. Your transaction sets a limit to control the result you accept. A displayed price alone does not set this limit.

Input and output limits

The program supports two trade types:

TypeYou specifyProtection
Exact inputThe input amount.The recipient must receive at least the minimum output.
Exact outputThe amount the recipient must receive.The input cannot exceed the maximum input.

Output checks use the amount received after any output-token transfer tax. Input calculations include applicable trade fees and transfer taxes. The program rejects a trade if it cannot meet your limit.

Final curve buy

An exact-input buy can exceed the quote amount still needed for graduation. In that case, the program reduces the input to the remaining capacity. The unused input stays with you.

Your minimum output still applies. The 75% per-buy supply limit also applies. An exact-output trade must fit within the remaining curve capacity.

Trading costs

Standard curve trades charge 1.75%: 1.25% for the protocol and 0.5% for the creator. Reward curves, community curves, model curves, and AMMs charge the 1.25% protocol fee. The creator trade fee ends at graduation.

The program calculates these fees on input received after any input-token transfer tax. It prices the trade with the remaining amount. An output-token transfer tax can further reduce your receipt. Transfer taxes and network fees are additional. Integer rounding can affect small amounts.