dab_accountInfo RPC method to check account details and eth_getTransactionReceipt to track transaction status.
Account Information
Thedab_accountInfo method returns your current GasTank balance and any outstanding charges that haven’t been settled yet.
This method requires authentication using a Flashbots-style header. The X-Flashbots-Signature header should contain your address and an EIP-191 signature of the JSON-RPC request body.
Example Request
Example Response
balance: Current balance in the GasTank (in wei)outstanding_charge: Charges pending settlement (in wei)whitelisted: Whether the account is whitelisted to submit transactions
Authentication Header Implementation
TheX-Flashbots-Signature header requires an EIP-191 signature of the JSON-RPC request body. The format is X-Flashbots-Signature: <address>:<signature>.
Implementation steps:
- Create the JSON-RPC request body as a string
- Compute the keccak256 hash of the body
- Sign the hash using EIP-191 (Ethereum signed message format)
- Format as
address:signaturein the header
For complete authentication implementation: See the fetch_account_info_via_rpc function↗ in the sample integration repository for the working Rust/Alloy implementation with proper EIP-191 signing.
Understanding Balance and Charges
Balance
Your GasTank balance represents deposited funds available to cover transaction costs. When transactions are included onchain, costs are automatically deducted from this balance. See Cost Structure for details on how costs are calculated.Outstanding Charges
Outstanding charges are costs that have been calculated but not yet settled. These represent transactions that have been included in blocks but charges haven’t been finalized yet. Outstanding charges will be deducted from your balance once settlement completes.Whitelist Status
Thewhitelisted field indicates whether your account is authorized to submit transactions to DA Builder. Only whitelisted accounts can submit transactions. If you need to be whitelisted, contact us↗.
Low Balance Warnings
If your balance becomes insufficient:- New transactions may be rejected
- You’ll receive an “Insufficient balance” error
- Deposit additional funds to the GasTank to continue
Transaction Status Tracking
Track individual transaction status usingeth_getTransactionReceipt with your DA Builder Request ID.
Checking Transaction Status
Transaction Lifecycle
- Submitted: Transaction received by DA Builder, Request ID returned
- Pending: Transaction in mempool, waiting for aggregation
- Included: Transaction included in aggregated onchain transaction
- Confirmed: Transaction confirmed on Ethereum
Monitoring Best Practices
- Check balance regularly: Monitor your GasTank balance to ensure sufficient funds
- Track outstanding charges: Understand pending costs before they settle
- Monitor transaction status: Use Request IDs to track transaction progress
- Set up alerts: Implement monitoring for low balance conditions
Common Issues
Account Not Found
Error:Account not foundSolution: Deposit funds to the GasTank to create an account
Insufficient Balance
Error:Insufficient balanceSolution: Add more funds to your GasTank account
Transaction Not Found
Error:Transaction not foundSolution: Transaction may not be included yet. Wait and retry, or verify the Request ID is correct
Next Steps
- Learn about Cost Structure to understand how charges are calculated
- Review Integration Guide for complete setup instructions
- Check Quick Reference for all RPC endpoints and methods