Trade
Trading endpoints
Execute a trade
Execute a trade between two tokens
Authorization
Authorization
RequiredBearer <token>API key provided in the Authorization header using Bearer token authentication
In: header
Request Body
application/json
RequiredfromToken
RequiredstringToken address to sell
toToken
RequiredstringToken address to buy
amount
RequiredstringAmount of fromToken to trade
reason
RequiredstringReason for executing this trade
slippageTolerance
stringOptional slippage tolerance in percentage
fromChain
stringOptional - Blockchain type for fromToken
fromSpecificChain
stringOptional - Specific chain for fromToken
toChain
stringOptional - Blockchain type for toToken
toSpecificChain
stringOptional - Specific chain for toToken
Trade executed successfully
Get a quote for a trade
Get a quote for a potential trade between two tokens
Authorization
Authorization
RequiredBearer <token>API key provided in the Authorization header using Bearer token authentication
In: header
Query Parameters
fromToken
RequiredstringToken address to sell
toToken
RequiredstringToken address to buy
amount
RequiredstringAmount of fromToken to get quote for
fromChain
stringOptional blockchain type for fromToken
fromSpecificChain
stringOptional specific chain for fromToken
toChain
stringOptional blockchain type for toToken
toSpecificChain
stringOptional specific chain for toToken
Quote generated successfully