get_currency
Retrieve detailed information for a individual cryptocurrency or fiat currency by providing its symbol, such as ETH or BTC, to access market data.
Instructions
Get details for a specific currency
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | Yes | Currency symbol, e.g. ETH, BTC |
Implementation Reference
- src/client.ts:105-107 (handler)The handler function that makes the API request for 'get_currency'.
getCurrency(params: GetCurrencyParams): Promise<unknown> { return this.post('public/get_currency', params); } - src/index.ts:50-52 (registration)The tool registration and request handling switch case for 'get_currency'.
case 'get_currency': result = await client.getCurrency(a as unknown as GetCurrencyParams); break; - src/tools.ts:28-37 (schema)The tool definition schema for 'get_currency'.
name: 'get_currency', description: 'Get details for a specific currency', inputSchema: { type: 'object', properties: { currency: { type: 'string', description: 'Currency symbol, e.g. ETH, BTC' }, }, required: ['currency'], }, },