ic_cdk::api::call

Function msg_cycles_accept

Source
pub fn msg_cycles_accept(max_amount: u64) -> u64
Expand description

Moves cycles from the call to the canister balance.

The actual amount moved will be returned.