• Creates a CBOR-encoded anchor for a verification request.

    This function creates a standardized CBOR-encoded representation of the presentation request that can be stored on the Concordium blockchain as transaction data. The anchor includes a hash of the request and optional public metadata.

    Returns

    CBOR-encoded anchor data suitable for blockchain storage

    Parameters

    • context: VerificationRequestV1.Context

      The context information for the request

    • credentialStatements: IdentityStatement[]

      The credential statements being requested

    • Optional publicInfo: Record<string, any>

      Optional public information to include in the anchor

    Returns Uint8Array

Generated using TypeDoc