Quote lifecycle
| Status | Meaning |
|---|---|
open | Rate locked. Awaiting transaction creation. |
accepted | A transaction has been created from this quote. |
expired | Pricing window closed. Create a new quote. |
What a quote contains
A quote response includes:source: the asset being sent, withamountGross,amountNet, and afeesDeductedbreakdowndestination: the asset being received, with the same fee structurerates:exchangeRate(spot) andeffectiveRate(post-fee)fixedAmountSide: which side you specified (sourceordestination)expiresAt: when the rate lock expires
Fee structure
Fees are always reported on both sides of the trade. Each side carries:source.amountNet × rates.exchangeRate = destination.amountGross.
Developer fees are configurable per integration. Set them on your OMS account or pass them in the quote request. OMS never shows your fee margin to the end user.
Gas sponsorship
SetsponsorGas: true on the quote request to cover network gas for your users. Gas costs move out of the transaction fee breakdown and into sponsorGasCost on your account, a separate, out-of-band developer cost. This is the standard pattern for custodial wallets where users should not be aware of blockchain mechanics.
Fixed-amount quoting
You can fix either side:fixedAmountSide: "source": user sends an exact amount, destination is calculatedfixedAmountSide: "destination": user receives an exact amount, source is calculated