• Verifies a verifiable presentation using a Concordium node.

    This function performs verification by querying a Concordium node for the necessary cryptographic parameters and public data, then validates the presentation proofs against the blockchain state.

    Returns

    Promise resolving to a VerificationResult contiaining the Request and a list of statuses for each credential in the presentation.

    Throws

    If presentation could not be successfully verified

    Throws

    If credential metadata could not be successfully verified

    Parameters

    • presentation: VerifiablePresentationV1

      The verifiable presentation to verify

    • grpc: ConcordiumGRPCClient

      Concordium GRPC client for node communication

    • network: Network

      The Concordium network to verify against

    • Optional blockHash: BlockHash

      The block to verify the proof at. If not specified, the last finalized block is used.

    Returns Promise<VerificationResult<{
        credentialsStatus: CredentialStatus[];
        request: Request;
    }>>

Generated using TypeDoc