Skip to content

fetchNodeKeys

fetchNodeKeys(certificate, canisterId, root_key?): BaseSubnetStatus

Defined in: packages/core/src/agent/canisterStatus/index.ts:197

Lookup node keys from a certificate for a given canister. The certificate is assumed to be already verified, including whether the canister is in range of the subnet.

Uint8Array

the certificate to lookup node keys from

Principal

the canister ID to lookup node keys for

Uint8Array<ArrayBufferLike>

the root key to use to lookup node keys

BaseSubnetStatus

a map of node IDs to public keys