Transaction Not Being Included
If your transaction is pending for longer than expected, check the following:Max Fee Too Low
If yourmaxFeePerGas is lower than the current base fee, your transaction will remain pending until the base fee drops to your specified level.
Solution: The maxFeePerGas must cover both the base fee and your priority fee. Since the base fee can change with each block, set maxFeePerGas high enough to remain valid even if the base fee rises while your transaction is pending. A common approach is:
Base has a minimum base fee. Transactions with
maxFeePerGas below this value will never be included, since the base fee cannot drop below the minimum.Priority Fee Too Low
During periods of high demand, transactions compete for block space through priority fees. If your priority fee is too low relative to other transactions, yours may be delayed. Solution: Most users simply wait for congestion to subside. For time-sensitive transactions, useeth_maxPriorityFeePerGas to get a priority fee estimate that can outbid enough recent transactions to be included.
If DA throttling is currently in effect, there’s no RPC endpoint that calculates priority fee estimates with throttling in mind. During DA throttling, even transactions with high priority fees may be delayed as the sequencer limits L2 transactions to manage its L1 data availability throughput.
Nonce Gap
If you have a pending transaction with nonce N, all transactions with nonce N+1 or higher will queue behind it, regardless of their fees. Solution: Either wait for the pending transaction to be included, or replace it by submitting a new transaction with the same nonce and a higher fee (at least 10% highermaxPriorityFeePerGas and maxFeePerGas).
Nonce Too Low
If you submit a transaction with a nonce that has already been used, it will be rejected. Solution: Query your current nonce usingeth_getTransactionCount with the pending tag to get the next available nonce.
Transaction Rejected
Gas Limit Exceeds Maximum
Ethereum enforces a transaction gas limit cap of 16,777,216 gas. Base plans to match this limit in a future upgrade, but currently enforces a per-transaction gas maximum of 25,000,000 gas. Transactions specifying a higher gas limit are rejected by the mempool before inclusion. Error:exceeds maximum per-transaction gas limit
Solution: Reduce the gas limit to 16,777,216 or below. If your transaction genuinely requires more gas, you’ll need to break it into multiple transactions.
Transaction Included But Failed
If your transaction was included in a block but shows a failed status:Out of Gas
The transaction ran out of gas during execution. Solution: Increase the gas limit. Useeth_estimateGas to get a gas estimate, then add a buffer (e.g., 20%) to account for variability.
Reverted by Contract
The contract execution encountered a revert condition. Solution: Check the transaction on Basescan to see the revert reason. Common causes include failed require statements, arithmetic errors, or invalid state transitions.Slow Confirmation
Understanding Confirmation Times
Base produces blocks every 2 seconds, but Flashblocks provide preconfirmations every 200ms.| Confirmation Level | Time | Description |
|---|---|---|
| Flashblock preconfirmation | ~200ms | Transaction included in a preconfirmation |
| L2 block inclusion | ~2s | Transaction included in a sealed L2 block |
| L1 batch inclusion | ~2m | Transaction posted to Ethereum |
| L1 finality | ~20m | Ethereum batch is finalized |
Using Flashblocks for Faster Confirmations
To get the fastest possible confirmation, use a Flashblocks-aware RPC endpoint:| Network | Flashblocks RPC |
|---|---|
| Mainnet | https://mainnet-preconf.base.org |
| Sepolia | https://sepolia-preconf.base.org |
Debugging Tools
- Basescan: View transaction status, logs, and revert reasons
- Tenderly: Simulate and debug transactions
eth_call: Test contract calls without submitting a transactioneth_estimateGas: Estimate gas usage before submitting
Getting Help
If you’re still experiencing issues, reach out in the#developer-chat channel in the Base Discord.