provisional_create_canister_with_cycles
This section is a work in progress.
Examples:
import { Canister, ic, None, update } from 'azle/experimental';
import {
managementCanister,
ProvisionalCreateCanisterWithCyclesResult
} from 'azle/canisters/management';
export default Canister({
provisionalCreateCanisterWithCycles: update(
[],
ProvisionalCreateCanisterWithCyclesResult,
async () => {
return await ic.call(
managementCanister.provisional_create_canister_with_cycles,
{
args: [
{
amount: None,
settings: None
}
]
}
);
}
)
});