Skip to main content

Interface: CreateCanisterOptions

Options for creating a canister.

See

Principal

Extends

Properties

controllers?

optional controllers: Principal[]

The controllers of the canister. Defaults to the sender, which defaults to the anonymous principal.

Inherited from

CanisterSettings.controllers

Source

pocket-ic-types.ts:379


computeAllocation?

optional computeAllocation: bigint

The compute allocation of the canister.

Inherited from

CanisterSettings.computeAllocation

Source

pocket-ic-types.ts:384


memoryAllocation?

optional memoryAllocation: bigint

The memory allocation of the canister.

Inherited from

CanisterSettings.memoryAllocation

Source

pocket-ic-types.ts:389


freezingThreshold?

optional freezingThreshold: bigint

The freezing threshold of the canister.

Inherited from

CanisterSettings.freezingThreshold

Source

pocket-ic-types.ts:394


reservedCyclesLimit?

optional reservedCyclesLimit: bigint

The reserved cycles limit of the canister.

Inherited from

CanisterSettings.reservedCyclesLimit

Source

pocket-ic-types.ts:399


cycles?

optional cycles: bigint

The amount of cycles to send to the canister. Defaults to 1_000_000_000_000_000_000n.

Source

pocket-ic-types.ts:413


sender?

optional sender: Principal

The principal to create the canister as. Defaults to the anonymous principal.

Source

pocket-ic-types.ts:419


targetSubnetId?

optional targetSubnetId: Principal

The Id of the subnet to create the canister on.

Source

pocket-ic-types.ts:424


targetCanisterId?

optional targetCanisterId: Principal

The Id of the canister to create. Can only be used on Bitcoin, Fiduciary, II, SNS and NNS subnets.

Source

pocket-ic-types.ts:430