Compare Price References
chainwhisper_compare_price_referencesCompare price references for base/quote asset pairs. Provide an amount to get best-execution ranking from checked liquidity.
Instructions
Compare ChainWhisper and compatible market price references in quote-per-base orientation. Amount is optional. A best-execution ranking is returned only when an amount is supplied and executable liquidity was actually checked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Buy or sell the base asset. | |
| amount | No | A base-10 decimal string. JSON numbers are not accepted. | |
| baseAsset | Yes | Native, a verified token symbol, or a verified token address. | |
| quoteAsset | Yes | Native, a verified token symbol, or a verified token address. |