Skip to content

CanisterStatusResult

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

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:825

The current cycle balance of the canister.


idleCyclesBurnedPerDay: bigint

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

The amount of cycles burned per day when idle.


memorySize: bigint

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

The total memory size of the canister in bytes.


moduleHash: Uint8Array<ArrayBufferLike> | null

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

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


queryStats: CanisterQueryStats

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

Query call statistics for the canister.


reservedCycles: bigint

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

The reserved cycles of the canister.


settings: object

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

The definite settings of the canister.

computeAllocation: bigint

controllers: Principal[]

environmentVariables: EnvironmentVariable[]

freezingThreshold: bigint

logVisibility: LogVisibility

memoryAllocation: bigint

reservedCyclesLimit: bigint

wasmMemoryLimit: bigint

wasmMemoryThreshold: bigint


status: CanisterStatus

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

The current status of the canister.