Skip to main content
Gasless trades let users swap and bridge without holding native gas tokens like ETH or MATIC. DZap executes the transaction on your behalf and deducts the gas cost from your output in the source token.

Why it matters

  • No gas tokens needed. Users can trade USDC on Arbitrum even if their ETH balance is zero.
  • Trade full balances. Users can swap their entire token holdings without leaving dust for gas.
  • Better UX. Removes the friction of acquiring native tokens before trading.
  • Multi-chain ready. Same flow works across all supported chains.

How it works

  1. You approve tokens for DZap to spend (EIP-2612 permit, Permit2, or standard approval)
  2. You request a gasless quote
  3. DZap executes the transaction, paying the gas fee
  4. DZap deducts an equivalent amount in the source token from your output
For trades with multiple source tokens, fees are split proportionally based on USD value.

Gasless swap

Standard approval (alternative)

If the token does not support EIP-2612, use standard approval. Note: This requires an on-chain approval transaction and grants potentially unlimited allowance.

Gasless bridge

Same flow as gasless swap, just add toChain:

Permit2 with gasless

If you have already approved tokens to Permit2, set hasPermit2ApprovalForAllTokens: true:

Fee calculation

Gasless fees are calculated at quote time and included in the response:
  • Single source token: Fee deducted entirely from that token
  • Multiple source tokens: Fee split proportionally based on USD value of each token
The quote response includes the effective rate after fees.

When to use gasless

Last modified on May 4, 2026