API
Multi_swap_quote
url: https://open-api.openocean.finance/v3/:chain/multi_swap_quote
method: post
params:
chain
string
arbitrum
arbitrum
inToken
array
inTokens
inToken.inTokenSymbol
string
ARB
token symbol
inToken.inTokenAddress
string
0x912CE59144191C1204E64559FE8253a0e49E6548
token address
inToken.amount
string
2000000000000000000
token amount
inToken.slippage
number
100
100 equals 1%
outToken
object
outToken
outToken.outTokenSymbol
string
USDT
token symbol
outToken.outTokenAddress
string
0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9
token address
gasPrice
number
10000000
gas price
referrer
string?
0x0000000000000000000000000000000000000000
Please contact us for a unique referrer parameter
disabledDexIds
string?
Enter the 'index' number of dexs through dexList endpoint to disable single or multiple dexs separated by commas, e.g. disabledDexIds
: "2,6,9".
account
string
0xBd5c13e01060D17a159D5acF3BDa97bf7E6F59AC
user's address
example:
body:
response:
Last updated