handleOutgoingMessage

abstract fun handleOutgoingMessage(payload: String, responseCallback: (responseBody: String?) -> Unit, errorCallback: (errorMessage: String?) -> Unit)

Used by the Fireblocks SDK to pass data to the application. This data should be sent to the Fireblocks server.

Parameters

payload

The payload that should be passed to the Fireblocks server as the request body

responseCallback

Call this callback with the response that was returned from the Fireblocks server.

errorCallback

Call this callback in case of an error