Skip to content

CanisterSnapshotOptions

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

Options for loading, or deleting, a snapshot of a canister.

Principal

canisterId: Principal

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

The Principal of the canister the snapshot belongs to.


optional sender: Principal

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

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


snapshotId: Uint8Array

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

The ID of the snapshot.