Skip to main content

Module api

Module api 

Source

Functionsยง

caller
Returns the principal of the caller that invoked the current module.
id
Returns the principal of the current module.
is_canister_controller
print
Prints a debug message to the Juno runtime logs.
time
Returns the current timestamp in nanoseconds since the UNIX epoch.