Module ic_cdk::api

source · []
Expand description

System API and low level functions for it.

Modules

APIs to make and manage calls in the canister.

APIs to manage stable memory.

Functions

Returns the caller of the current call.

Get the amount of funds available in the canister.

Get the amount of funds available in the canister.

When called from a query call, returns the data certificate authenticating certified_data set by this canister.

Returns the canister id as a blob.

Returns the number of instructions that the canister executed since the last entry point.

Get the value of specified performance counter.

Prints the given message.

Sets the certified data of this canister.

Get current timestamp

Traps with the given message.