• Creates a verifiable presentation request and anchors it to the Concordium blockchain.

    This function creates a presentation request with the specified context and credential statements, then stores an anchor of the request on the blockchain as a data registration transaction. The blockchain anchor provides a tamper-evident timestamp and immutable record of the request.

    Returns

    Promise resolving to the created presentation request

    Throws

    Error if the transaction fails or network issues occur

    Parameters

    • grpc: ConcordiumGRPCClient

      The Concordium GRPC client for blockchain interaction

    • sender: AccountAddress

      The account address that will send the anchoring transaction

    • signer: AccountSigner

      The signer for the anchoring transaction

    • context: Omit<VerifiablePresentationRequestV1.Context, "type">

      The context information for the request (without type field)

    • credentialStatements: CredentialStatement[]

      The credential statements being requested

    • Optional anchorPublicInfo: Record<string, any>

      Optional public information to include in the anchor

    Returns Promise<VerifiablePresentationRequestV1>

Generated using TypeDoc