Skip to content

CanisterStatusResult

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

The result of querying the status of a canister. Matches the IC management canister canister_status response.

Principal

cycles: bigint

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

The current cycle balance of the canister.


idleCyclesBurnedPerDay: bigint

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

The amount of cycles burned per day when idle.


memorySize: bigint

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

The total memory size of the canister in bytes.


moduleHash: Uint8Array<ArrayBufferLike> | null

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

The SHA-256 hash of the installed WASM module, if any.


queryStats: CanisterQueryStats

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

Query call statistics for the canister.


reservedCycles: bigint

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

The reserved cycles of the canister.


settings: object

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

The definite settings of the canister.

computeAllocation: bigint

controllers: Principal[]

freezingThreshold: bigint

memoryAllocation: bigint

reservedCyclesLimit: bigint


status: CanisterStatus

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

The current status of the canister.