0x Gasless API
Lets end users swap tokens without holding the chain's native gas asset (ETH, BNB, AVAX, etc.). Fees are deducted from the sell token via a meta-transaction signed off-chain (Permit2 EIP-712) and submitted by 0x relayers to the Settler contract. Includes endpoints for indicative price, firm quote, trade submission, status polling, and supported approval tokens.
Documentation
Specifications
Code Examples
CodeExamples
Gasless v2 Headless Example
CodeExamples
Gasless v2 ERC-4337 Smart Account
CodeExamples
Gasless v2 Trading Bot