• Map the requested statements into statements used as part of the verifiable presentation.

    Statements such as RevealAttribute are converted into AttributeValueStatement with the value from the chosen attributes.

    See

    noRevealRequestedStatements when RevealAttribute statements are not supported.

    Returns

    The atomic statements to be used in a verifiable presentation

    Throws

    If requested statements contains reveal attribute for attribute tag not found in chosen attributes.

    Type Parameters

    • AttributeTag extends string

    Parameters

    • statements: RequestedStatement<AttributeTag>[]

      The requested statements to prove for the account credential.

    • chosenAttributes: Partial<Record<AttributeTag, string>>

      The list of attributes in the ID object.

    Returns AtomicStatementV1<AttributeTag>[]

Generated using TypeDoc