Deprecated

Use CustomPath instead

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 a string

Param: decodeStrategy

the strategy to use to decode the returned value

interface MetaData {
    kind: "metadata";
    key: string;
    path: string | ArrayBuffer;
    decodeStrategy: "cbor" | "hex" | "leb128" | "utf-8" | "raw";
}

Properties

kind: "metadata"
key: string
path: string | ArrayBuffer
decodeStrategy: "cbor" | "hex" | "leb128" | "utf-8" | "raw"