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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"baseAsset": "<baseAsset>",
"quoteAsset": "<quoteAsset>",
"side": "<side>"
},
"name": "chainwhisper_compare_price_references"
}
}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. |