Get Token Price
get_token_priceLive USD price for up to 20 mints (GET /prices/:mint per mint). A MISSING PRICE IS DATA, not a failure: a mint that cannot be priced has no usable route or liquidity, which is itself the answer to "can this be a basket leg" — no. Mints that could not be priced come back in unpriced; report that, never substitute a zero.
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": {
"mints": "<mints>"
},
"name": "get_token_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mints | Yes |