Sonar quote
strata_quoteRequest a short-lived quote for a Strata market, specifying side and amount, to receive expected output, fees, price impact, and expiry.
Instructions
Request a short-lived Sonar quote for a Strata market. Returns expected output, minimum output, fees, price impact, and expiry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Buy or sell the market's base asset. | |
| market | Yes | Market label such as SOL/USDC, or its public market ID. | |
| amountInAtoms | Yes | Exact input amount in the input token's smallest atomic unit. | |
| maximumToleranceBps | No | The most you accept below the quoted output, in basis points (default 0: the quoted output exactly). This is YOUR choice. It is not price impact — price_impact_pct in the response is measured from the book and is not a setting. |