• Creates a verifiable presentation from an anchored VerificationRequestV1.

    This function retrieves the presentation request anchor from the blockchain, verifies its integrity, and creates a verifiable presentation with the requested statements and proofs. It automatically includes blockchain context (block hash) in the presentation.

    Returns

    Promise resolving to the created verifiable presentation

    Throws

    Error if anchor verification fails or blockchain interaction errors

    Parameters

    • grpc: ConcordiumGRPCClient

      Concordium GRPC client for blockchain interaction

    • verificationRequest: VerificationRequestV1

      The anchored verification request

    • claims: SubjectClaims[]

      The claims to prove for the corresponding subject

    • inputs: VerifiablePresentationV1.CommitmentInput[]

      The credential inputs for generating proofs corresponding to the claims

    • additionalContext: GivenContext[]

      Additional context information beyond block hash

    Returns Promise<VerifiablePresentationV1>

Generated using TypeDoc