How to Swap on Fraxswap: Complete and Verify a Token Trade

How to Swap on Fraxswap: Complete and Verify a Token Trade


Fraxswap lets you exchange one token for another in a single on-chain swap and verify the result in a block explorer. With the app open from your bookmark, use Fraxswap to submit the trade after connecting your wallet, selecting the network and tokens, setting your amount and price bounds, and approving an ERC-20 token when needed. The Fraxswap Router receives the token path, amount bound and deadline in the swap’s calldata, then routes the trade through Fraxswap pair contracts.

Fraxswap Swap Steps and What Each Setting Controls

A swap quote comes from the reserves in the pairs along its route. Frax Finance’s technical details describe the constant-product AMM and explain how its embedded time-weighted market maker (TWAMM) processes long-term orders before an interaction with a pair. A larger trade relative to available reserves has greater price impact: it moves the pair’s price further as it executes.

  1. Connect your wallet. Start with the token you intend to sell and enough of the network’s gas token to pay for an approval, if required, and the swap. Your connected address will be the source of the input token.
  2. Choose the network. Match the wallet network to the assets you hold. Fraxtal, Ethereum and Arbitrum are distinct chains; an asset’s balance on one does not fund a swap on another. The selected network determines which contracts and explorer you use.
  3. Select both tokens by verified contract address. Match each address against a trusted source for that token on the chosen network. A ticker alone can identify the wrong asset. After selection, the input and output addresses define the ends of the Router’s path, which may include intermediate tokens.
  4. Enter an amount and decide which side must be exact. With exact input, you fix what you sell and set a minimum you will receive, called amountOutMin. With exact output, you fix what you receive and cap what you will pay, called amountInMax. Say you can spend exactly 100 units of token A: choose exact input. If you need exactly 50 units of token B and can spend up to a defined limit, choose exact output. Pick the mode by which amount you cannot afford to miss.
  5. Set slippage and a deadline. Slippage tolerance turns the current quote into the minimum output for exact input, or the maximum input for exact output. A tighter bound permits less adverse movement before the swap reverts. The deadline is an expiry timestamp; a transaction executed after it reverts. The Uniswap V2 Router trading documentation shows how a Router call carries the path, minimum output and deadline.
  6. Approve the input ERC-20 token if required. Approval gives the Router an allowance to transfer that token for the trade. Confirm that the spender is the intended Router contract. Once the approval succeeds, the allowance is available for the swap; approval alone has not exchanged the tokens.
  7. Review and sign the swap. Compare the quoted output, price impact, amount bound, path and recipient with what you intended. Your wallet then submits the Router call. The pair contracts execute the exchange subject to the bound and deadline.
  8. Verify the result. Open the transaction on the explorer for your network. A successful transaction should show the pair’s Swap event and token transfers that account for the input leaving and output reaching your recipient address. Confirm the output token balance in your wallet.

What is a swap deadline?

A swap deadline is the latest on-chain time at which the Router may execute the call. It protects a pending transaction from filling much later against changed conditions. If it expires before execution, submit a fresh swap with a current quote.

How to read a Fraxswap swap on Etherscan

For an Ethereum swap, open its transaction hash on Etherscan and inspect the status, Router call, logs and token transfers. The Swap event identifies the pair’s exchange; the transfer records show which tokens moved and where the output landed. On Fraxtal or Arbitrum, use that network’s explorer instead.

Questions About Other Fraxswap Actions

How do I place a long-term TWAMM order?

A long-term order sells an amount over time through the pair’s embedded TWAMM rather than completing one immediate swap. Specify the asset, amount and duration, then track the order’s execution on-chain.

Why did my Fraxswap transaction fail?

Read the explorer’s status and revert reason. Common causes include an expired deadline, output below amountOutMin, input above amountInMax, insufficient allowance or balance, and inadequate gas funds.

How do I add liquidity on Fraxswap?

Add both assets to the intended pair in amounts consistent with its current reserve ratio. Verify the pair and token contract addresses before signing, then confirm the resulting liquidity position on-chain.

What fee does a Fraxswap pair charge?

The applicable swap fee comes from the selected pair’s contract. Inspect that pair’s verified contract and the quote before trading; network gas is a separate cost.

Report Page