JSON: {
    credentialStatements: CredentialStatement[];
    requestContext: Pick<VerifiablePresentationRequestV1.Context, "type" | "requested"> & {
        given: GivenContextJSON[];
    };
    transactionRef: TransactionHash.JSON;
}

JSON representation of a verifiable presentation request. Used for serialization and network transmission of request data.

The structure is reminiscent of a w3c verifiable presentation

Type declaration

  • credentialStatements: CredentialStatement[]

    The credential statements being requested

  • requestContext: Pick<VerifiablePresentationRequestV1.Context, "type" | "requested"> & {
        given: GivenContextJSON[];
    }

    The request context with serialized given contexts

  • transactionRef: TransactionHash.JSON

    Reference to the blockchain transaction containing the request anchor

Generated using TypeDoc