Octopus - Market API
Get Swap Quote
GET
/
quote
Query Parameters
chain
string
requiredBlockchain of the trade
receiver
string
Address that receives the trade (by default, the sender)
fromToken
string
requiredSource token for the swap
toToken
string
requiredDestination token for the swap
fromAddress
string
requiredAddress that triggers the trade
amount
integer
requiredAmount (x decimals) for the swap in
slippage
number
requiredSlippage (%) accepted
type
enum<string>
default: bestAggregation type (fast or best)
Available options:
fast
, best
Response
200 - application/json
success
object[]