Find validator withdrawals missing from an Ethereum address ledger

An address can receive ETH in a block without appearing as a transaction recipient. Inspect the block’s withdrawal list when reconciling validator payouts.

Read amounts in the correct unit

Fetch the full execution block with eth_getBlockByNumber and inspect withdrawals. The example below abbreviates a single entry to its amount and validator index. The quantity is denominated in gwei.

{"validatorIndex":"0x2a","amount":"0x3b9aca00"}

A value of one billion gwei credits one ETH. Store the block hash and withdrawal index from the complete entry, as well as its destination address. The validator index identifies the validator and may recur in later withdrawals.

Explain a balance change without a receipt

Execution applies withdrawals as system operations after user transactions. A transaction-hash search will therefore miss this credit. Also account for transactions and execution fees when reconciling all changes to an address within the same block. eips.ethereum.org EIP-4895