Interface to define a custom path. Nested paths will be represented as individual buffers, and can be created from text using TextEncoder.

Param: key

the key to use to access the returned value in the canisterStatus map

Param: path

the path to the desired value, represented as an array of buffers

Param: decodeStrategy

the strategy to use to decode the returned value

Implements

Implemented by

Constructors

Properties

Constructors

  • Parameters

    • key: string
    • path: string | ArrayBuffer[]
    • decodeStrategy: "cbor" | "hex" | "leb128" | "utf-8" | "raw"

    Returns utils.agent.CanisterStatus.CustomPath

Properties

key: string
path: string | ArrayBuffer[]
decodeStrategy: "cbor" | "hex" | "leb128" | "utf-8" | "raw"