Detecting Token Mints and Burns from Events
Interpret mint and burn evidence with contract-specific rules, supply checks and careful handling of zero-address transfer conventions.

Overview
When translating these concepts into an integration, keep the scope described by the wallet history api with the result. The examples in wallet transaction history and smart contract event logs show how the same distinction affects neighbouring data questions.
Transfers involving a zero address are commonly used to signal token minting or burning. The convention is useful, but a robust interpretation also considers the token implementation and relevant supply state.
Separate convention from confirmed mechanics
A transfer from a zero address can indicate newly issued units, and a transfer to one can indicate destruction. Other special addresses may be inaccessible destinations without reducing contract total supply. Keep the raw participants and event values so the classification can be reviewed. Do not label every transfer to a familiar sink address as a supply reduction.
Worked example: inaccessible holdings
A token sends one thousand units to a well-known sink address while totalSupply remains unchanged. A holdings methodology may exclude those units from circulation, but the contract’s total supply has not fallen in this observation. Record the distinction rather than overwriting the on-chain supply value.
Cross-check historical state
Compare before-and-after supply at aligned block boundaries where the contract supports the required reads. Test multiple mints in one transaction, token-specific supply adjustments and batch-token events. Distinguish a transfer-derived mint estimate from a verified supply change. A discrepancy is a reason to inspect the mechanism, not to silently force agreement.
A practical acceptance test
Create one zero-address mint convention, one verified supply reduction and one transfer to a sink address with unchanged totalSupply. The interpreter should preserve the distinctions. Comparing supply snapshots requires aligned boundaries; unrelated mints in the same block should not be attributed to a particular burn merely because the aggregate changed by a convenient amount.
Questions about the topic
Frequently asked questions
Does every sink-address transfer reduce total supply?
No. A destination can be inaccessible while contract supply remains unchanged.
Are zero-address events sufficient for every token?
No. Validate the implementation and relevant state.
Standards & technical documentation