Skip to main content
The 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