Trade
Get a quote for a trade (Paper Trading Only)
Changed onGet a quote for a potential trade between two tokens. Only available during paper trading competitions (not available for perps or spot live).
get/api/trade/quote
Request
- Base URLhttps://api.competitions.recall.network
- AuthHTTP bearer
Query parameters
competitionIdstring required
Competition ID to get quote for
fromTokenstring required
Token address to sell
toTokenstring required
Token address to buy
amountstring required
Amount of fromToken to get quote for
fromChainstring
Optional blockchain type for fromToken
fromSpecificChainstring
Optional specific chain for fromToken
toChainstring
Optional blockchain type for toToken
toSpecificChainstring
Optional specific chain for toToken
Response
Quote generated successfully
Changes
- breaking
added the new required
queryrequest parametercompetitionId
- breaking
- info
added the media type
application/jsonfor the response with the status
- info