DEVELOPER LAB · RUNS IN YOUR BROWSER

ERC-20 event decoder

Read Transfer topics and discover the raw token amount.

Standard ERC-20 Transfer event only: two indexed addresses and one uint256 value. Amounts are raw token units.

HOW THE CONCEPT WORKS · SEPARATE TEACHING EXAMPLE
From an emitted Transfer event to a receipt logStep 1 / 4
From an emitted Transfer event to a receipt logToken executionApply coded rulesUpdate relevant balancesEmit Transferfrom · to · valueA structured logA reverted execution portion does not keep its emitted logsTransfer(address,address,uint256)Topic 0: 0xddf252ad…b3efFull digest · 32 bytesEvent topic zero and a function selector use different lengthsTopic 1from addressIndexedTopic 2to addressIndexedDataraw valueNot indexedThis diagram is specifically the common ERC-20 Transfer layoutReceipt logTopics + dataBlock contextApplication viewDecoded fieldsImplementation still mattersThe local event tool does not query or authenticate a deployed token

A token implementation may update balances and emit its standard Transfer event. State and the emitted record are related but distinct.

Animated local teaching model. No wallet, RPC or live blockchain data. Some labels and hashes are abbreviated for readability.

How to use this event decoder

Decode a standard non-anonymous ERC-20 Transfer event from its topics and data. No RPC call is made and no token decimals are assumed. Start with the prefilled example, change an input, and run the calculation. Invalid values produce an explanation rather than a misleading result.

What the result means

These results describe your supplied inputs. They do not query a blockchain, check balances, estimate current network conditions, or submit transactions. Read events, topics and logs for the meaning and limits of the calculation.