Documentation Index
Fetch the complete documentation index at: https://docs.spire.dev/llms.txt
Use this file to discover all available pages before exploring further.
Summary
DA Builder account monitoring usesdab_accountInfo for GasTank balances and eth_getTransactionReceipt or dab_transactionStatus for request tracking.
Account Information
dab_accountInfo returns the current GasTank balance and outstanding charges for an account.
| Response field | Meaning |
|---|---|
balance | GasTank balance in wei |
outstanding_charge | Charges pending settlement in wei |
Authenticated cURL Request
Authentication Header
TheX-Flashbots-Signature header format is:
TypeScript: Account Info With ethers v6
Recommended Monitoring Workflow
- Check GasTank balance before submitting transactions.
- Submit through DA Builder and store the transaction hash.
- Poll
eth_getTransactionReceiptwith bounded retries. - Use
dab_transactionStatusfor richer cost and status data. - Alert when GasTank
balanceminusoutstanding_chargefalls below your operating threshold.
Troubleshooting
| Symptom | Likely cause | Recommended action |
|---|---|---|
Account not found | GasTank is not funded or deposit is not indexed | Deposit ETH and retry after a couple minutes |
Insufficient balance. | GasTank cannot cover expected cost | Add ETH to GasTank or use direct RPC fallback if the EOA has enough ETH |
Receipt returns null | Request has not landed yet | Continue polling with backoff |
Transaction not found | Transaction hash is wrong or not yet indexed | Verify the transaction hash and retry |
| Auth failure | Header signature does not match request body | Recreate the JSON body string and sign that exact body |
FAQ
What is the best way to monitor DA Builder in production?
Monitor GasTank balance withdab_accountInfo, store every transaction hash, poll receipts with bounded retries, and keep direct RPC fallback.
Should monitoring code use DA Builder for all Ethereum reads?
No. Use DA Builder for documented monitoring methods. Use a standard Ethereum RPC provider for general Ethereum reads.Next Steps
- Quick Reference - Method signatures and examples.
- Cost Structure - Understand balances and charges.
- Full Integration Guide - Add production fallback.