ExchangesApi

interface ExchangesApi

Interface representing an API for interacting with TBDex exchanges and related entities.

Inheritors

Functions

Link copied to clipboard
abstract fun getClose(exchangeId: String): Close

Retrieves the Close information for the specified exchange ID.

Link copied to clipboard
abstract fun getExchange(id: String, requesterDid: String): List<Message>

Retrieves the exchange with the specified ID.

Link copied to clipboard
abstract fun getExchanges(filter: GetExchangesFilter? = null): List<List<Message>>

Retrieves a list of exchanges based on the provided filter.

Link copied to clipboard
abstract fun getOrder(exchangeId: String): Order

Retrieves the Order for the specified exchange ID.

Link copied to clipboard
abstract fun getOrderStatuses(exchangeId: String): List<OrderStatus>

Retrieves the list of Order Statuses for the specified exchange ID.

Link copied to clipboard
abstract fun getQuote(exchangeId: String): Quote

Retrieves the Quote for the specified exchange ID.

Link copied to clipboard
abstract fun getRfq(exchangeId: String): Rfq

Retrieves the Request for Quote (RFQ) for the specified exchange ID.