create Exchange
suspend fun createExchange(call: <Error class: unknown class>, offeringsApi: OfferingsApi, exchangesApi: ExchangesApi, callback: CreateExchangeCallback?)
Handles the submission of a Request for Quote (RFQ) through the TBDex API.
This function parses an RFQ message, performs necessary validations, and invokes the callback if provided. It responds with appropriate HTTP status codes for success or failure scenarios.
Parameters
call
The Ktor application call object representing the incoming HTTP request.
offerings Api
An instance of OfferingsApi for interacting with offerings data.
exchanges Api
An instance of ExchangesApi for interacting with exchanges data.
callback
An optional callback function to be invoked after processing the RFQ.