v1

latestOpenAPI 3.0.02026-07-14293257.6 KB
DeX Swap

Get Estimated Swap Output Amount

Estimate the swap output amount

get/api/v1/web3/dex/swap/estimate

Query parameters

tokenInstring required

Token symbol to swap from

tokenOutstring required

Token symbol to swap to

enteredAmountstring required

Amount of tokens to swap

chainstring required

Chain to which the transaction will be sent. See https://securo.readme.io/reference/dexswap-overview#list-of-chains-we-supported for more information.

slippagePercnumber

Slippage tolerance percentage

exactInboolean

Exact in or out. Default is exact in

chainIdnumber

ChainID is used to estimate the swap. Takes precedence over chain param

Response

Successful Response

statusCodenumber
messagestring