Skip to the article
Token Wire

News from across crypto

Fraxswap Pools and Its Long-Term Order System

Fraxswap explained for beginners: learn how pool reserves price swaps, why trade size changes price impact, and when a long-term order may help.

The Token Wire Desk4 min read

Fraxswap Pools and Its Long-Term Order System

Fraxswap is a permissionless exchange where token pools set swap prices, and its TWAMM can spread large trades over time. For more on Fraxswap, fraxswap.co has an overview of the protocol and what it offers. Prices come from each pool’s token reserves, rather than bids and asks in an order book.

Each pair holds two tokens. The Fraxswap Factory creates pairs, and the Fraxswap Router finds a path through pools for a swap. The pool’s price follows a constant-product rule: its reserves, often called x and y, are multiplied to give k. When a trade changes one reserve, the other shifts so the pool stays on that curve.

How a pool swap changes the price

Illustrative case: before a trade, a pool holds 100 units of each token. A swap sends in 1 unit of the first token. Afterward, the pool holds more of that token and less of the second; the pool’s price has moved because its reserve ratio changed. The pool still contains the same two tokens, and the constant-product rule shapes the new balance.

That small trade is about 1% of the input-side reserve. Ignoring fees, its average price is roughly 1% worse than the starting price, while the pool’s spot price moves about 2%. This is price impact: the effect of your own trade on the price. A trade’s size relative to the reserve matters more than its dollar value. A fixed dollar trade can have little impact in a deep pool and much more in a shallow one.

A normal swap fills at once. Before confirming, look at the estimated price impact and set a slippage limit, the price movement you are willing to accept before the transaction fails. Gas is also paid for each onchain action, whether a swap or a liquidity change.

When a long-term order or liquidity may fit

Fraxswap TWAMM is a time-weighted market maker built into the pool. A long-term order sells gradually over a chosen period in virtual slices, rather than sending the full amount through in one swap. As those slices execute, they change pool reserves; pending long-term orders are accounted for first when the pool processes activity. Spreading a large trade can reduce its immediate price impact, though the final price can still move while the order runs.

Liquidity providers deposit both tokens into a pair and earn swap fees. Their token mix shifts as traders move the pool price. If prices change, withdrawing may return a different mix than the one deposited, and that mix can be worth less than simply holding the original tokens. Consider that exposure alongside the fees.

For a first trade, understand which pool path the Router will use, compare the trade size with the pool’s reserves, and decide whether an instant swap or gradual order better fits the trade. Use a bookmarked frontend: fake sites can ask for malicious token approvals. An approval gives a contract permission to use tokens, so check what you are signing.

  • Reserves set pool prices, and trade size relative to reserves drives price impact.
  • TWAMM spreads a large order across time; it does not remove price risk.
  • Liquidity earns fees, while the token mix changes as prices move.
  • Budget for gas and verify token approvals.

Questions readers ask next

Which chains is Fraxswap deployed on?

Fraxswap is associated with Ethereum and Fraxtal. Confirm the chain and token contract for the pool you intend to use before interacting.

How do I add liquidity to a Fraxswap pool?

You provide both tokens to a pair through a compatible interface and pay gas for the transaction. Review the pool’s token mix and the risk of that mix changing as prices move.

How do I cancel a Fraxswap long-term order?

Cancellation depends on the order controls available for the order and the interface you use. Check those controls and any remaining order amount before signing a transaction.

Is Fraxswap cheaper than Uniswap for my swap?

There is no universal cheaper choice. Compare the route, pool depth, price impact, fees shown for the trade, and gas on the chain you are using.