CreateCanisterArg
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:33
The argument of the [create_canister] method.
Properties
Section titled “Properties”settings
Section titled “settings”settings: [] | [
CanisterSettings]
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:42
Optional canister settings that, if set, are applied to the newly created canister. If not specified, the caller is the controller of the canister and the other settings are set to default values.
subnet_selection
Section titled “subnet_selection”subnet_selection: [] | [
SubnetSelection]
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:37
Optional instructions to select on which subnet the new canister will be created on.
subnet_type
Section titled “subnet_type”subnet_type: [] | [
string]
Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:48
An optional subnet type that, if set, determines what type of subnet the new canister will be created on. Deprecated. Use subnet_selection instead.