Swap Order
Last updated
Was this helpful?
Last updated
Was this helpful?
An interface called IThirdPartyOrderOperations
from the namespace XendBridgeSDK.Services.Interfaces
is provided, in which the method InitiateSwapOrderRequest
would be called from. An object argument is passed called InitiateOrderRequestModel
which would return the response of the initiated swap order method call.
The response returned from initiating the swap order is BaseResponse<PeerToPeerOrderResponseModel>
, which the following properties are as follows;
Finally, get your response using the snippet below;
Please see the function from your IDE or visit to see the request and response models in detail.