> For the complete documentation index, see [llms.txt](https://docs.inabit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inabit.com/inabit-terminal/terminal-guide/gas-features/gas-sweeping.md).

# Gas Sweeping

## What is Gas Sweeping?

**Gas Sweeping** is an essential part of how inabit automates the secure movement of funds across deposit addresses and wallets. Every widget created within the inabit Terminal collects user deposits to unique, on-chain addresses. To ensure these funds are accessible and manageable at scale, inabit uses **sweeping mechanisms** to transfer them into centralized organization wallets.

Gas Sweeping refers to this **automated fund consolidation**, and requires blockchain-native gas fees to execute transactions securely and efficiently.

### How Gas Sweeping Works

When users deposit funds via a widget (e.g., USDT on Tron or Ethereum), the funds initially sit in a **dedicated deposit address** generated for that session. To make these funds usable for your organization, the Terminal automatically "sweeps" them into a central wallet.

#### **Key Behaviors**

* Sweeping is triggered based on the widget's configuration:
  * **Daily**, **Weekly**, **On-demand**, or **Never**
* Each sweep consumes **gas fees** (TRX for Tron, ETH for Ethereum, etc.)
* To prevent failed or stuck transactions, inabit handles sweeping gas from a **separate station wallet**, not from the customer’s deposit address

#### Smart Sweeping Design

* **Gas Separation:** Gas for sweeping is drawn from your organization's **gas station wallet**, not from the deposit address, ensuring funds are always sweepable.
* **Fail-safe Logic:** inabit’s infrastructure monitors sweep attempts and retries if gas is insufficient.
* **Fee Control:** You can configure whether the gas cost is covered by you (the merchant) or passed on to the end user at the widget level.

### Viewing Your Gas Balances Status

On the Terminal Dashboard, you’ll find a section showing gas balances per blockchain:

* Tron
* Ethereum
* BSC (Binance Smart Chain)
* Polygon

These balances represent how much gas is available to support sweep transactions.

### ✅  Best Practices

{% hint style="success" %}

* Keep your gas balances topped up to avoid failed sweeps.
* Monitor the gas status from the dashboard.
* Use the **"Add Gas"** feature (explained below) to easily fund your sweep stations.
  {% endhint %}
