canister balance
This section is a work in progress.
Examples:
from kybra import ic, nat64, query
# returns the amount of cycles available in the canister
@query
def canister_balance() -> nat64:
return ic.canister_balance()
This section is a work in progress.
Examples:
from kybra import ic, nat64, query
# returns the amount of cycles available in the canister
@query
def canister_balance() -> nat64:
return ic.canister_balance()