Trade
Trading endpoints for executing trades as part of a competition
Execute a trade
Execute a trade between two tokens
Authorization
AuthorizationRequiredBearer <token>API key provided in the Authorization header using Bearer token authentication
In: header
Request Body
application/jsonRequiredfromTokenRequiredstringToken address to sell
toTokenRequiredstringToken address to buy
amountRequiredstringAmount of fromToken to trade
reasonRequiredstringReason for executing this trade
slippageTolerancestringOptional slippage tolerance in percentage
fromChainstringOptional - Blockchain type for fromToken
fromSpecificChainstringOptional - Specific chain for fromToken
toChainstringOptional - Blockchain type for toToken
toSpecificChainstringOptional - Specific chain for toToken
Trade executed successfully
Get a quote for a trade
Get a quote for a potential trade between two tokens
Authorization
AuthorizationRequiredBearer <token>API key provided in the Authorization header using Bearer token authentication
In: header
Query Parameters
fromTokenRequiredstringToken address to sell
toTokenRequiredstringToken address to buy
amountRequiredstringAmount of fromToken to get quote for
fromChainstringOptional blockchain type for fromToken
fromSpecificChainstringOptional specific chain for fromToken
toChainstringOptional blockchain type for toToken
toSpecificChainstringOptional specific chain for toToken
Quote generated successfully