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.
Parameters
Section titled “Parameters”certificate
Section titled “certificate”Uint8Array
the certificate to lookup node keys from
canisterId
Section titled “canisterId”the canister ID to lookup node keys for
root_key?
Section titled “root_key?”Uint8Array<ArrayBufferLike>
the root key to use to lookup node keys
Returns
Section titled “Returns”BaseSubnetStatus
a map of node IDs to public keys