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§
- caller
- Returns the caller of the current call.
- canister_
balance - Get the amount of funds available in the canister.
- canister_
balance128 - Get the amount of funds available in the canister.
- canister_
version - Get the value of canister version.
- 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 - Determine if a Principal is a controller of the canister.
- performance_
counter - Get the value of specified performance counter.
- Prints the given message.
- set_
certified_ data - Sets the certified data of this canister.
- time
- Get current timestamp, in nanoseconds since the epoch (1970-01-01)
- trap
- Traps with the given message.