getExchange

abstract fun getExchange(id: String, requesterDid: String): List<Message>

Retrieves the exchange with the specified ID.

Return

A list of Message representing the exchange with the specified ID.

Parameters

id

The ID of the exchange to retrieve.

requesterDid

The DID of the requester.

Throws

NoSuchElementException

if the exchange with the specified ID is not found.

for general exceptions.