Learn · Fundamentals

What is a token swap?

Written by XAUConnect Labs · Reviewed against live product behavior · Updated August 2026

A token swap on a DEX is an on-chain trade against a liquidity pool: you send token A, the pool sends token B, at a price the pool math allows right now. There is no clerk, no account, and no “order filled by the other guy” in the stock-market sense. The other side is the pool (and, indirectly, the liquidity providers).

XAUConnect is an aggregator: it asks several of those pools and routing networks for the same trade and lets you sign the path with the best minimum received after fees. Understanding the primitive is what makes the quote card readable.

Swap versus send versus bridge

A send moves the same token to another address on the same chain. A swap changes the token. A bridge changes the chain (and often wraps the token). Mixing those verbs is how people paste the wrong destination.

Where the price comes from

AMMs price from reserves. Large trades move the price (impact). Slippage tolerance is how far you allow that price to move before the transaction reverts. The quote’s minimum received is that protection, not a marketing rate.

What you sign

On EVM, possibly an approval, then a swap transaction to a router. On Solana, one transaction the wallet simulates. XAUConnect does not broadcast EVM transactions for you and does not hold balances.

Multi-chain tokens

Swapping USDC on Ethereum does not touch USDC on Solana. “Token swap” is always local to a chain unless you explicitly start a cross-chain route.

Creating a token is not a swap

Generating an ERC-20 or SPL mint creates a new asset. Until someone deposits a pool, there is nothing to swap against. Launchpad plus locked liquidity is what makes a new token swappable; the swap widget is what traders use afterward.

What the wallet is actually allowing

On EVM, an approval says a router may move up to N tokens. The swap says “exchange these for at least M of the other token, or revert.” On Solana, one transaction encodes the debit and credit; simulation is your preview of M. XAUConnect ranks candidate paths by M after fees. If M looks wrong, the pool is thin, the token is wrong, or the hop list includes junk. Creating a new token does not perform a swap; it creates something that might be swappable after LP exists.

Failed swaps still teach

An EVM revert spends gas and moves nothing. That is the contract enforcing minimum received or a missing allowance. A Solana simulation reject spends nothing and also moves nothing. In both cases, change one variable — size, slippage, token address — then re-quote. Do not “retry harder” with max slippage on a public mempool.

Legal

Risk disclosure

XAUConnect is a non-custodial swap aggregator. Digital assets are volatile and may lose value rapidly. Content on this page is educational and not investment advice. Verify every contract address on the official block explorer before approving a transaction.

Frequently asked questions

Is a swap reversible?

Only by swapping back, at a new price, paying fees again. There is no chargeback.

Who is the counterparty?

The pool (LPs), not XAUConnect. We aggregate routes.

Do I need KYC?

Not to use this non-custodial interface. The chain is still public.

What tokens can I swap?

Any supported-chain token with a routable pool, after you verify the contract. No pool, no honest swap.

Live execution

Trade on XAUConnect

Open the swap page to compare live routes, set slippage, and sign from your own wallet — fully non-custodial.

Continue exploring

Related markets, guides & networks

Curated next steps based on this topic — deepen your research before you trade.

Build programmatically

Swap via API for bots and AI agents — quotes, builds, and cross-chain routes.

Developer quickstart