Skip to content

StopCanisterOptions

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

Options for stopping a given canister.

Principal

canisterId: Principal

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

The Principal of the canister to stop.


optional sender: Principal

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

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


optional targetSubnetId: Principal

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

The ID of the subnet that the canister resides on.