Gas Problems on GX EVM
My transaction failed due to insufficient gas
GX EVM uses GX as the gas token. If your transaction failed:
- Check your GX balance — You need GX in your wallet on the GX Chain network to pay for gas. Bridge GX from Ethereum if your balance is zero.
- Increase gas limit — Some complex transactions (contract deployments, multi-step DeFi operations) require a higher gas limit. Increase the gas limit in MetaMask before confirming.
- Check gas price — During periods of high network activity, gas prices may increase. Wait for activity to decrease or increase your gas price.
How do I get GX for gas?
- Bridge from Ethereum — Use the GX bridge to transfer GX tokens from Ethereum to GX Chain
- Receive from another user — Any GX holder on GX Chain can send you GX
- Faucet (testnet only) — The testnet provides a faucet for test GX tokens
My transaction is stuck (pending)
- The transaction may be waiting for block inclusion. GX Chain has 1-second block times, so transactions should confirm quickly.
- If stuck for more than 30 seconds, try resubmitting with a higher gas price.
- In MetaMask, use the “Speed Up” option to resubmit with higher gas.
What is the typical gas cost on GX EVM?
Gas costs on GX Chain are significantly lower than Ethereum mainnet due to industry-leading throughput and efficient block production. Typical costs:
| Operation | Estimated Gas | Estimated Cost |
|---|---|---|
| Token transfer | ~21,000 | Minimal |
| Token approval | ~46,000 | Minimal |
| Swap | ~150,000 | Low |
| Contract deployment | Variable | Moderate |