Skip to content

StartCanisterOptions

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

Options for starting a given canister.

Principal

canisterId: Principal

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

The Principal of the canister to start.


optional sender: Principal

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

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


optional targetSubnetId: Principal

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

The ID of the subnet that the canister resides on.