Skip to content
Y News

Crypto markets, protocols and regulation

Gasless swap vs normal swap: gasless needs ERC-20s

Gasless swap vs normal swap: use gasless when you lack the chain’s gas token and sell a supported ERC-20; otherwise, a normal swap is simpler.

The Y News Editors3 min read

Gasless swap vs normal swap: gasless needs ERC-20s

Use a normal swap if you hold the chain’s gas token; choose gasless if you have no gas token but want to sell a supported ERC-20. A relayer submits the gasless transaction and deducts its cost from the sell token.

The key choice is whether your wallet can pay network fees directly and how much value you receive after all costs.

How does a gasless swap differ from a normal swap?

A normal swap is a transaction you submit from your wallet, with gas paid in the chain’s native token, such as ETH on Ethereum. In a gasless swap, you sign typed data with EIP-712 and a relayer submits the transaction for you.

Matcha swap is a decentralized exchange aggregator: it finds routes across liquidity sources to exchange one token for another. For more on the related order option, see matcha limit orders, which cover setting a price for a future trade.

Is a gasless swap free or cheaper?

A gasless swap still has a network cost; the relayer pays it up front and takes the fee from the sell token. That can help if you lack ETH for gas, but it does not make the trade cost-free.

Compare the amount you will receive in each mode after fees and deductions. A normal swap may leave you with more of the bought token if its total costs are lower. The gasless option may be the practical choice when you cannot submit any transaction because you have no gas token.

Can you sell native ETH with a gasless swap?

No. Native ETH cannot be moved by a signature alone, so a gasless swap cannot sell ETH itself. Gasless swaps are for eligible ERC-20 tokens, which use token contracts that can authorize transfers by signature.

Those approvals can rely on token permits such as EIP-2612. A permit lets the token holder approve spending with a signature rather than a separate on-chain approval transaction. The token and chain must support the gasless flow; having an ERC-20 in your wallet is not enough by itself.

Is signing a gasless swap safe?

A gasless swap signature authorizes a specific typed-data request, so read the wallet prompt and confirm the token, amount, and trade details before signing. EIP-712 structures the data being signed; it does not remove the need to check what the request authorizes.

With a permit, the signature can authorize a token allowance. Review the spender and allowance details shown by the wallet, and only sign a request for the trade you intend to make. Use the swap interface’s quoted received amount to judge the offer.

Can a gasless swap get stuck pending?

Yes. A relayer submits the signed order, but the transaction still depends on network processing and the relayer’s submission. Check the order or transaction status in the interface before signing again; a repeat signature could create another request.

For a beginner, the rule is simple: if you hold the native gas token, use a normal swap and submit it yourself. If you have no gas token and are selling a supported ERC-20 on an eligible chain, gasless can rescue the trade; compare the received amount first. Matcha swap offers this option for eligible ERC-20 sells.