Module ic_cdk::api[][src]

System API and low level functions for it.

Modules

call

APIs to make and manage calls in the canister.

stable

Functions

caller

Returns the caller of the current call.

canister_balance

Get the amount of funds available in 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.

print

Prints the given message.

set_certified_data

Sets the certified data of this canister.

time
trap

Traps with the given message.