get_all_currencies
Retrieve all available currencies from Derive's market data to access comprehensive financial information for trading and analysis.
Instructions
Get all available currencies on Derive
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/client.ts:101-103 (handler)The actual handler method that makes the API request to the Derive API.
getAllCurrencies(): Promise<unknown> { return this.post('public/get_all_currencies'); } - src/tools.ts:22-26 (registration)Tool definition used by the MCP server to list available tools.
{ name: 'get_all_currencies', description: 'Get all available currencies on Derive', inputSchema: { type: 'object', properties: {} }, }, - src/index.ts:47-49 (handler)Switch case logic in the MCP server's tool handler to invoke the client method for 'get_all_currencies'.
case 'get_all_currencies': result = await client.getAllCurrencies(); break;