v1

latestOpenAPI 3.0.02026-07-26150435405.8 KB

GetSwapQuote

After selecting a swap price from 'GetSwapPrices', use this API to retrieve the transaction data needed to execute the swap on-chain.

post/rpc/API/GetSwapQuote

Request body

userAddressstring
buyCurrencyAddressstring
sellCurrencyAddressstring
buyAmountstring
chainIdnumber
includeApproveboolean
slippagePercentagenumber

Response

OK