Skip to content

ListCanisterSnapshotsOptions

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

Options for listing the snapshots of a canister.

Principal

canisterId: Principal

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

The Principal of the canister to list the snapshots of.


optional sender: Principal

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

The Principal to send the request as. Defaults to the anonymous principal. It must be a controller unless the canister’s snapshot visibility allows it.