CertificatePrincipal
CertificatePrincipal = {
canisterId:Principal; } | {subnetId:Principal; }
Defined in: packages/core/src/agent/certificate.ts:157
Type declaration
Section titled “Type declaration”{ canisterId: Principal; }
canisterId
Section titled “canisterId”canisterId:
Principal
The effective canister ID of the request when verifying a response, or the signing canister ID when verifying a certified variable.
{ subnetId: Principal; }
subnetId
Section titled “subnetId”subnetId:
Principal
The subnet ID when verifying a certificate from a subnet.