canister balance
This section is a work in progress.
Examples:
import { Canister, ic, nat64, query } from 'azle/experimental';
export default Canister({
// returns the amount of cycles available in the canister
canisterBalance: query([], nat64, () => {
return ic.canisterBalance();
})
});