ic_cdk::api

Function cycles_burn

Source
pub fn cycles_burn(amount: u128) -> u128
Expand description

Burns cycles from the canister.

Returns the amount of cycles that were actually burned.