referrerpolicy=no-referrer-when-downgrade

Function pallet_balances::pallet::dispatchables::burn

source ·
pub fn burn<T: Config<I>, I: 'static>(value: T::Balance, keep_alive: bool)
Expand description

Burn the specified liquid free balance from the origin account.

If the origin’s account ends up below the existential deposit as a result of the burn and keep_alive is false, the account will be reaped.

Unlike sending funds to a burn address, which merely makes the funds inaccessible, this burn operation will reduce total issuance by the amount burned.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::burn.