get_exchange_rate
Retrieve current USD exchange rates for Axie Infinity tokens including ETH, AXS, SLP, RON, and USDC to monitor cryptocurrency values.
Instructions
Get the current USD exchange rates for Axie Infinity tokens: ETH, AXS, SLP, RON, and USDC.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:645-651 (handler)The request handler case for "get_exchange_rate" that queries the GraphQL client using the GET_EXCHANGE_RATE query and returns the formatted content.
// ── get_exchange_rate ───────────────────────────────────────────────── case "get_exchange_rate": { const data = await client.query<{ exchangeRate: unknown }>( queries.GET_EXCHANGE_RATE ); return jsonContent(data.exchangeRate); } - src/index.ts:234-242 (registration)The tool registration for "get_exchange_rate" within the toolDefinitions array.
name: "get_exchange_rate", description: "Get the current USD exchange rates for Axie Infinity tokens: ETH, AXS, SLP, RON, and USDC.", inputSchema: { type: "object", properties: {}, required: [], }, },