• Creates a verifiable presentation from an anchored presentation request.

    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

    • presentationRequest: VerifiablePresentationRequestV1

      The anchored presentation request

    • statements: SpecifiedCredentialStatement[]

      The credential statements to prove

    • inputs: CommitmentInput[]

      The commitment inputs for generating proofs

    • additionalContext: GivenContext[]

      Additional context information beyond block hash

    Returns Promise<VerifiablePresentationV1>

Generated using TypeDoc