The problem
A case report has to show exactly what an address held and did at specific blocks, and give the same answer when re-run.
How archive RPC helps
- Balances and token holdings pinned to a block number: the same query returns the same answer every time.
- eth_getLogs to follow transfers hop by hop.
- Our own archive nodes, not a routed pool, so results are reproducible.
Methods you will call
- eth_getLogsReturns all logs (events) that match a filter over a block range.
- eth_getBalanceReturns the native token balance of an address at a given block.
- eth_callExecutes a read-only contract call against the state of a given block, without sending a transaction.
- eth_getTransactionByHashReturns a transaction by hash.
Example
Balance one block before an incident
const before = await client.getBalance({
address: suspect,
blockNumber: incidentBlock - 1n,
});Which plan
Growth; dedicated nodes when case volume is high. See pricing or how it compares.