Solana: solanaGetTokenPrices
solanaGetTokenPricesBatch-fetch USD spot prices for up to 100 SPL tokens, returning each mint's current price and confidence level for efficient price queries.
Instructions
Batch-fetch USD spot prices for one or more SPL tokens. Returns each mint's USD price plus confidence level. More efficient than calling solanaGetTokenPairPrice in a loop.
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": {
"tokenMints": "<tokenMints>"
},
"name": "solanaGetTokenPrices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenMints | Yes | List of SPL mint addresses to price (1-100). Each entry is a base58 mint pubkey. |