POST
Create quote.
Price a swap and create the order in a single call. Returns the pre-built transaction to initiate the swap on-chain.

Authorizations

garden-app-id
string
header
required

If you do not yet have an app ID, please follow these steps.

Body

application/json
source
object
required

One side of the swap.

destination
object
required

One side of the swap.

slippage
integer
required

In BIPS (base index points), 100 bips = 1%.

Example:

50

affiliate_fees
object[]
nonce
string | null

Response

Quote information.

status
enum<string>
Available options:
Ok
result
object