Skip to content

encodePath

encodePath(path, subnetId): Uint8Array<ArrayBufferLike>[]

Defined in: packages/core/src/agent/subnetStatus/index.ts:234

Encode a path for subnet state queries

Path

the path to encode

Principal

the subnet ID

Uint8Array<ArrayBufferLike>[]

the encoded path as an array of Uint8Arrays