Skip to content

CreateCanisterArg

Defined in: packages/canisters/src/declarations/cmc/cmc.d.ts:33

The argument of the [create_canister] method.

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: [] | [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: [] | [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.