Expand description
System API and low level functions for it.
Modules§
- call
- APIs to make and manage calls in the canister.
- management_
canister - Functions and types for calling the IC management canister.
- stable
- APIs to manage stable memory.
Functions§
- call_
context_ instruction_ counter - Returns the number of WebAssembly instructions the canister has executed within the call context of the current Message execution since Call context creation.
- caller
- Returns the caller of the current call.
- canister_
balance - Gets the amount of funds available in the canister.
- canister_
balance128 - Gets the amount of funds available in the canister.
- canister_
version - Gets the value of canister version.
- cycles_
burn - Burns cycles from the canister.
- data_
certificate - When called from a query call, returns the data certificate authenticating certified_data set by this canister.
- id
- Returns the canister id as a blob.
- instruction_
counter - Returns the number of instructions that the canister executed since the last entry point.
- is_
controller - Determines if a Principal is a controller of the canister.
- performance_
counter - Gets the value of specified performance counter.
- Prints the given message.
- set_
certified_ data - Sets the certified data of this canister.
- time
- Gets current timestamp, in nanoseconds since the epoch (1970-01-01)
- trap
- Traps with the given message.