Gasless API Introduction

The Gasless API allows you to submit meta-transactions on behalf of your users. This enables a seamless experience where users don't need to hold the native token (ETH, MATIC, etc.) to pay for gas fees.

How it Works

  1. User signs a message expressing their intent to trade.
  2. Your app submits this signed message to the Gasless API.
  3. Oxdefiapi relays the transaction to the blockchain, paying the gas.
  4. The trade settles, and the gas cost is typically covered by the trade slippage or your fee.

Configuration

You must enable Gasless Trading in your Oxdefiapi Dashboard settings before making requests.