Skip to main content

Contract

The Burner contract provides a way for resources to define custom logic that is executed when the resource is destroyed. Resources that want to utilize this functionality should implement the Burner.Burnable interface which requires that they include a burnCallback() function that includes the custom logic.

It is recommended that regardless of the resource, all users and developers should use Burner.burn() when destroying a resource instead of destroy.

NetworkContract Address
Cadence Testing Framework0x0000000000000001
Emulator0xee82856bf20e2aa6
Testnet0x294e44e1ec6993c6
Mainnet0xd8a7e05a7ac670c0