The problem
Month-end and year-end close need exact balances and every transfer with its fee, at fixed dates.
How archive RPC helps
- Balances at the last block of each period.
- Receipts for exact fees paid (gasUsed × effectiveGasPrice).
- Reproducible numbers for auditors.
Methods you will call
- eth_getBalanceReturns the native token balance of an address at a given block.
- eth_getTransactionReceiptReturns the receipt of a mined transaction: status, gas used and emitted logs.
- eth_getLogsReturns all logs (events) that match a filter over a block range.
- erigon_getBlockByTimestampReturns the block closest to a Unix timestamp. The fastest way to turn a date into a block number.
Example
Fee paid by a transaction
const receipt = await client.getTransactionReceipt({ hash });
const feeWei = receipt.gasUsed * receipt.effectiveGasPrice;Which plan
Builder for a treasury; Growth for an accounting product. See pricing or how it compares.