Elytro LogoElytro
All guides

With your agent

How to bridge and swap tokens

Get funds on the right chain, swap with a quote first, check route and minimum received, then approve.

Elytro team

Summary

Bridge or withdraw from an exchange so funds land on the chain your wallet uses. Swaps are usually same-chain: your agent gets a quote, you read minimum received, slippage, and route in the JSON, then approve. The route (for example LI.FI) is returned by the tool, not typed in. Sponsored gas does not pay the trade amount.

Ask your agent

Ask your agent

Need gas on myWallet's chain. Address and chain ID, then best way to fund (withdrawal vs bridge). What do I verify in the UI before I confirm?

Ask your agent

Swap 0.01 ETH to USDC on Ethereum mainnet. Look up USDC the right way, get a quote, and show me chain, tokens, minimum I'd receive, slippage, route, and whether gas is sponsored. Don't execute the swap until I say execute.

Ask your agent

Cross-check the USDC contract on the quote against a proper token lookup. If it doesn't match or looks like a placeholder, stop.

Before you approve

  • Quote matches the chain and tokens you wanted.
  • The route field makes sense (e.g. LI.FI). If it changes between CLI versions, trust the CLI.
  • Slippage and minimum received are acceptable for the size you are moving.

If something goes wrong

  • Wrong chain: bridge or withdraw before you do more.
  • Balance weird after swap: native ETH, WETH, and ERC-20 are different. Query each.

Further reading

FAQ

Do I type LI.FI on the command line?
No. You pass chain, tokens, amount in wei, optional slippage. The tool picks the route. swap send re-quotes so prices aren't stale. If this page and your CLI disagree, trust the CLI.