BuildSwap

This endpoint returns the transaction detail that is needed to perform the actual swap, based on information obtained in the **Get Exchange Rate** endpoint. This endpoint will build a transaction for

public static VyTask<VyTransactionRequestBase[]> BuildSwap(string id, VySwapRequestDto reqParams)

Parameters

id

string

This is the `ID` of the source wallet. (Wallet that holds tokens to swap)

reqParams

Request data for the operation

Returns

VyTask<VyTransactionRequestBase[]> Swap transactions created successfully.

Last updated