Request an indicative price for a potential swap between two assets without creating an on-chain order. Used by broadcaster integrators to display rates before initiating createOrder. Includes a hard floor (minToAmount) enforced on-chain via maxPrice.
Documentation Index
Fetch the complete documentation index at: https://developer.bron.org/llms.txt
Use this file to discover all available pages before exploring further.
ID of the source asset
ID of the destination asset
Amount of the from-asset. Exactly one of fromAmount or toAmount must be specified.
Amount of the to-asset. Exactly one of fromAmount or toAmount must be specified.
OK
Amount of the from-asset (echo of the request)
"120.015"
ID of the source asset
"2"
Price floor (quote/base) to pass to OrderEngine.createOrder.maxPrice_e18
"973.4500"
Hard floor on the to-asset amount, enforced by maxPrice in the on-chain order. Solvers cannot fill below this.
"116912.53"
Oracle protocol fee in percent applied to the order
"0.02"
Solver protocol fee in percent applied to the order
"0.05"
Indicative expected amount of the to-asset. May drift slightly toward minToAmount between quote time and order execution.
"117500.03"
ID of the destination asset
"5002"