get_latest_token_profiles
Fetch real-time token profiles across multiple blockchains using the DexScreener API for accurate and up-to-date market insights.
Instructions
Get the latest token profiles
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/services/dexscreener.ts:95-97 (handler)The main handler function that implements the tool logic by calling the DexScreener API endpoint '/token-profiles/latest/v1' with rate limiting.async getLatestTokenProfiles(): Promise<TokenProfile[]> { return this.fetch<TokenProfile[]>('/token-profiles/latest/v1', tokenRateLimiter); }
- src/index.ts:97-104 (schema)Input schema definition for the 'get_latest_token_profiles' tool in server capabilities, specifying no input parameters.get_latest_token_profiles: { description: 'Get the latest token profiles', inputSchema: { type: 'object', properties: {}, required: [], }, },
- src/index.ts:205-212 (registration)Tool registration in the ListTools handler response, defining name, description, and input schema.{ name: 'get_latest_token_profiles', description: 'Get the latest token profiles', inputSchema: { type: 'object', properties: {}, required: [], },
- src/index.ts:307-309 (registration)Tool dispatch/registration in the CallTool handler switch statement, routing calls to the DexScreenerService method.case 'get_latest_token_profiles': result = await this.dexService.getLatestTokenProfiles(); break;