Skip to main content
GET
Get indicative quote for an intent swap pair

Path Parameters

fromAssetId
string
required
toAssetId
string
required

Query Parameters

fromAmount
string<decimal>

Amount of the from-asset. Exactly one of fromAmount or toAmount must be specified.

toAmount
string<decimal>

Amount of the to-asset. Exactly one of fromAmount or toAmount must be specified.

broadcasterFeePercent
string<decimal>

Broadcaster fee in percent the order will be created with (_frontEndFee / 10000). minPrice and the amounts leave room for it. When omitted, no broadcaster fee is assumed.

Response

OK

fromAmount
string<decimal>
required

Amount of the from-asset (echo of the request)

Example:

"120.015"

fromAssetId
string
required

ID of the source asset

Example:

"2"

minPrice
string<decimal>
required

Minimum acceptable price (quote/base) for the on-chain order. Solvers cannot fill below this. Multiply by 10^18 and pass as CreateOrderParams.maxPrice_e18 (the contract's legacy field name).

Example:

"973.4500"

minToAmount
string<decimal>
required

Hard floor on the to-asset amount, enforced by minPrice in the on-chain order. Solvers cannot fill below this.

Example:

"116912.53"

oracleFeePercent
string<decimal>
required

Oracle protocol fee in percent applied to the order

Example:

"0.02"

solverFeePercent
string<decimal>
required

Solver protocol fee in percent applied to the order

Example:

"0.05"

toAmount
string<decimal>
required

Indicative expected amount of the to-asset. May drift slightly toward minToAmount between quote time and order execution.

Example:

"117500.03"

toAssetId
string
required

ID of the destination asset

Example:

"5002"

_embedded
object

Calculated extras for this quote