Skip to content

StopCanisterOptions

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

Options for stopping a given canister.

Principal

canisterId: Principal

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

The Principal of the canister to stop.


optional sender: Principal

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

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


optional targetSubnetId: Principal

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

The ID of the subnet that the canister resides on.