# Gasless Trading

<figure><img src="/files/8NZFP45UlFrJmPLZfnJ4" alt=""><figcaption></figcaption></figure>

Avantis supports **gasless trading** across most user actions by sponsoring transaction gas on behalf of users.

Gasless trading is available to **all users and wallets.**&#x20;

***

### What Gasless Trading Covers

When gasless trading is enabled, users do **not** pay gas for the following actions:

* Depositing collateral
* Opening positions
* Modifying positions (size, leverage, TP/SL)
* Closing positions

Users do not need native gas tokens (e.g. ETH) to perform these actions.

***

### Supported Login & Wallet Flows

#### Social Login (X / Email / SMS)

* Gasless trading is **enabled by default**
* No configuration required
* Users can trade immediately after login

#### EVM Wallets (MetaMask, Rabby, etc.)

For EVM wallets, gasless trading requires **Smart Wallet mode**.

**Requirement**

* Users must toggle **Smart Wallet** during login

**Behavior**

* When Smart Wallet is enabled → all supported actions are gasless
* When Smart Wallet is disabled → users pay gas normally

This toggle is required to allow Avantis to sponsor gas on behalf of the wallet.

<figure><img src="/files/XHlMlSqdlqpet1ukeSld" alt="" width="563"><figcaption></figcaption></figure>

***

### How Gas Is Sponsored

Avantis sponsors transaction gas using infrastructure provided by Gelato.

This enables:

* Transaction relaying
* Gas abstraction for supported actions
* Consistent execution across users

Gas sponsorship does not change trade execution logic or pricing.

***

### Limitations

* Gasless trading applies only to supported trading actions listed above
* EVM wallets must enable **Smart Wallet** to use gasless trading
* Wallet actions outside the Avantis trading flow may still require gas

***

### Getting Started

To trade gasless:

1. Log in via social login **or**
2. Connect an EVM wallet and enable **Smart Wallet**
3. Start trading

👉 <https://avantisfi.com/trade>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avantisfi.com/trading/gasless-trading.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
