Understanding Gas Management in AIO#
Gas management addresses are crucial for AIO’s operations, ensuring that transactions involving subaddresses can be executed without delays.

How Does AIO Use Gas Management Addresses?#
Necessity for Gas: To perform any transaction on blockchains like Ethereum, gas (in the form of native tokens like ETH) is required. For transactions involving non-native tokens (e.g., USDT on Ethereum), sufficient ETH must be available to cover the gas fees.
From Address Challenges: Often, the 'from address' (the address from which tokens are sent) may not have enough ETH to cover gas fees, especially if it primarily holds non-native tokens like USDT.
AIO's Process:#
1.
Checking ETH Levels: AIO regularly checks if the 'from address' associated with a transaction has enough ETH.
2.
Transferring ETH: If ETH is insufficient, AIO uses its gas management addresses to send enough ETH to the 'from address' so the necessary transaction can proceed.
Example: Ecommerce System Integration#
User Transaction: Suppose a customer wants to buy an item with USDT. Upon their signup, a subaddress is created and assigned to them.
Payment: The customer sends USDT to this subaddress. The customer covers the gas for this transaction.
AIO's Role in Collection:If the subaddress lacks sufficient ETH for the gas to move the USDT to the collection address, AIO detects this shortfall.
AIO then transfers ETH from a gas management address to the subaddress, ensuring enough gas is available to collect the USDT into the main collection address.
Depositing Gas:#
Easy Deposit Steps: Similar to the fund pool deposit, click the "Deposit" button on the specific blockchain’s row. A popup will display a QR code.
Scanning and Sending: Scan the QR code with your wallet app (e.g., MetaMask or TrustWallet) and send the required amount of gas tokens to the address.

Key Gas Tokens for Different Blockchains:#
Ethereum and Optimism: ETH
Note: Bitcoin and Litecoin do not need gas management as they do not support token-based transactions like USDT.Modified at 2024-05-01 06:38:30