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.
Properties
Section titled “Properties”cycles
Section titled “cycles”cycles:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:779
The current cycle balance of the canister.
idleCyclesBurnedPerDay
Section titled “idleCyclesBurnedPerDay”idleCyclesBurnedPerDay:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:789
The amount of cycles burned per day when idle.
memorySize
Section titled “memorySize”memorySize:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:774
The total memory size of the canister in bytes.
moduleHash
Section titled “moduleHash”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
Section titled “queryStats”queryStats:
CanisterQueryStats
Defined in: packages/pic/src/pocket-ic-types.ts:794
Query call statistics for the canister.
reservedCycles
Section titled “reservedCycles”reservedCycles:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:784
The reserved cycles of the canister.
settings
Section titled “settings”settings:
object
Defined in: packages/pic/src/pocket-ic-types.ts:758
The definite settings of the canister.
computeAllocation
Section titled “computeAllocation”computeAllocation:
bigint
controllers
Section titled “controllers”controllers:
Principal[]
freezingThreshold
Section titled “freezingThreshold”freezingThreshold:
bigint
memoryAllocation
Section titled “memoryAllocation”memoryAllocation:
bigint
reservedCyclesLimit
Section titled “reservedCyclesLimit”reservedCyclesLimit:
bigint
status
Section titled “status”status:
CanisterStatus
Defined in: packages/pic/src/pocket-ic-types.ts:753
The current status of the canister.