canister id
This section is a work in progress.
Examples:
from kybra import ic, Principal, query
# returns this canister's id
@query
def id() -> Principal:
return ic.id()
This section is a work in progress.
Examples:
from kybra import ic, Principal, query
# returns this canister's id
@query
def id() -> Principal:
return ic.id()