Expand description
IC Interfaces Thin wrappers around the management canister and network-specific helpers.
Re-exports§
pub use helper::*;
Modules§
Functions§
- call_
and_ decode - Calls a method on a canister and candid-decodes the response into
T. - canister_
cycle_ balance - Returns the local canister’s cycle balance (cheap).
- canister_
status - Query the management canister for a canister’s status.
- delete_
canister - Deletes a canister (code + controllers) via the management canister.
- deposit_
cycles - Deposits cycles into a canister.
- get_
current_ subnet_ pid - Queries the NNS registry for the subnet that this canister belongs to.
- get_
cycles - Gets a canister’s cycle balance (expensive: calls mgmt canister).
- install_
code - Installs or upgrades a canister with the given wasm + args.
- uninstall_
code - Uninstalls code from a canister.