Type alias RequestStatement<AttributeKey>

RequestStatement<AttributeKey>: {
    id: DIDString;
    statement: AtomicStatementV2<AttributeKey>[];
    type?: string[];
}

A request statement linking atomic statements to a specific credential identifier. Used in proof requests to specify which credential should be used to prove statements.

Type Parameters

  • AttributeKey = string

Type declaration

  • id: DIDString

    The DID of the credential being requested

  • statement: AtomicStatementV2<AttributeKey>[]

    Array of atomic statements to prove about the credential

  • Optional type?: string[]

    The type field is present iff the request is for a verifiable credential

Generated using TypeDoc