getExchanges

fun getExchanges(pfiDid: String, requesterDid: <Error class: unknown class>, filter: GetExchangesFilter? = null): List<Exchange>

Fetches exchanges from the PFI based on the provided filters.

Return

A list of matching Exchange.

Parameters

pfiDid

The decentralized identifier of the PFI.

requesterDid

The decentralized identifier of the entity requesting the exchange.

filter

An optional filter to apply for fetching exchanges. If null, all exchanges for the given PFI and DID will be fetched.

Throws

for request or response errors.