Skip to content

StartCanisterOptions

Defined in: packages/pic/src/pocket-ic-types.ts:534

Options for starting a given canister.

Principal

canisterId: Principal

Defined in: packages/pic/src/pocket-ic-types.ts:538

The Principal of the canister to start.


optional sender: Principal

Defined in: packages/pic/src/pocket-ic-types.ts:544

The Principal to send the request as. Defaults to the anonymous principal.


optional targetSubnetId: Principal

Defined in: packages/pic/src/pocket-ic-types.ts:549

The ID of the subnet that the canister resides on.