Function ic_cdk::api::management_canister::main::deposit_cycles

source ยท
pub async fn deposit_cycles(
    arg: CanisterIdRecord,
    cycles: u128,
) -> CallResult<()>
Expand description

Deposit cycles into the specified canister.

Note that, beyond the argument as specified in the interface description, there is a second parameter cycles which is the amount of cycles to be deposited.

See IC method deposit_cycles.