# Dynamic Gas

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmeKfXaQnIP3bbI1AdlVX%2Fuploads%2FU2pvTymqhLt1nwqvVSLZ%2FScreen%20Recording%202025-03-27%20at%2012.09.19%E2%80%AFPM.mp4?alt=media&token=1989f4f4-6a3b-464b-961c-50f792361ed8>" %}

One of the most frustrating aspects of onboarding to a new blockchain ecosystem is obtaining the native token to pay for transactions. In order to provide a seamless experience for our users who are new to the Sui ecosystem, Aftermath built Dynamic Gas.

Dynamic Gas allows users to use coins other than SUI to pay for gas to perform any transaction on Aftermath. This functionality is made possible by two Sui-native features: Sponsored Transactions and Programmable Transactions. Essentially how it works is that Aftermath sponsors the transaction with SUI, and takes payment from the user in the coin of their choice, all in one action and totally abstracted from the user.

Dynamic Gas supports multiple stable coins and Sui ecosystem tokens. To choose which gas token you would like to use, click the gas pump icon on right side of the Menu Bar at the top of the screen.

<figure><img src="/files/hFgCcVLbULwsia9arD8K" alt=""><figcaption><p>Click the gas pump icon to access Dynamic Gas</p></figcaption></figure>

You can now select which coin you would like to use to pay for transactions. Check the "Show Zero Balance" box to see the full list of supported coins, even those you do not have in your wallet.

<figure><img src="/files/vVQAseWp1gqyLOdWZkJO" alt="" width="375"><figcaption><p>Dynamic Gas menu</p></figcaption></figure>

Select any asset you have a balance of. An icon will appear showing you which asset you currently are using as gas if it is something other than SUI.

When you have selected a coin other than SUI to use as gas, when you perform a transaction, you will see an outflow of that coin to pay for the transaction. For example, in the image below, LBTC has been specified as the Dynamic Gas coin:

<div data-full-width="false"><figure><img src="/files/cQ65baBjCk2aus7os68J" alt="" width="375"><figcaption><p>LBTC specified as Dynamic Gas coin</p></figcaption></figure></div>

And that's it! Dynamic Gas makes transacting on Sui a breeze, whether you hold any SUI or not.


---

# 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.aftermath.finance/getting-started/dynamic-gas.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.
