Skip to content

StopCanisterOptions

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

Options for stopping a given canister.

Principal

canisterId: Principal

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

The Principal of the canister to stop.


optional sender: Principal

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

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


optional targetSubnetId: Principal

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

The ID of the subnet that the canister resides on.