buildSwapTransaction
function is used to get an unsigned transaction for a swap between two Tokens.
Before using this function, make sure to obtain a Client API Key from Coinbase Developer Platform.
Returns
Promise<BuildSwapTransactionResponse>
Parameters
BuildSwapTransactionParams
Types
Body
application/json
Response
200 - application/json
Successful response
The response is of type object
.