submitMessage

suspend fun submitMessage(call: <Error class: unknown class>, exchangesApi: ExchangesApi, callbacks: Callbacks)

Handles the submission of a close message by parsing the incoming message, validating the submission, and executing the specified callback if provided.

Parameters

call

The ApplicationCall instance representing the HTTP call.

exchangesApi

The ExchangesApi instance for interacting with TBDex exchanges.

callbacks

The group of callback functions from which to select for submitting Order or Close.