LogoLogo
HuggingFace Community$LUMOXTelegram
  • Introduction
  • Roadmap
  • Partnerships and Listings
  • LumoKit: Solana AI Toolkit Framwork
    • Introduction to LumoKit
    • Installation Guide
      • Pre-requisites
      • Environment Configuration
      • Local Installation
  • How to Add Tools
  • Tools
    • Wallet Portfolio tool
    • Token Identification Tool
    • Rugcheck Token Information Tool
    • Fluxbeam Token Price
    • BirdEye Token Trending
    • Birdeye All Time Trades
    • CoinMarketCap Crypto News
    • Crypto.news Memecoin News
    • GeckoTerminal Trending Pump.Fun Tool
    • CoinGecko Global Crypto Data Tool
    • CoinGecko Trending Crypto Tool
    • CoinGecko Exchange Rates Tool
    • CoinGecko Coin Data Tool
    • CoinMarketCap Trending Coins Tool
    • DexScreener Top Boosts Tool
    • DexScreener Token Information
    • Jupiter Token Price
    • Jupiter Token Metadata Tool
    • Solana Send SOL Tool
    • Solana Send SPL Tokens Tool
    • Solana Burn Tokens Tool
    • Jupiter Swap (Buy/Sell) Tool
    • Pump.Fun Launch Coin Tool
  • Lumo-8B-Instruct Model
    • Model Overview
    • Capabilities and Limitations
    • Use Cases
  • Lumo Dataset
    • About Lumo-Iris
    • About Lumo-8B
    • Dataset Preparation
    • Training Metrics
  • Using The Model
    • HuggingFace Hub
    • How to Inference
  • Lumo Community
    • How to Contribute
    • Report Bugs/Issues
Powered by GitBook

Copyright © 2025 Lumo. All Rights Reserved. This software is open-source and licensed under the GNU Affero General Public License (AGPL) v3.0. You are free to redistribute and modify it under the terms of this license.

On this page
  1. Tools

Token Identification Tool

Token Identification Tool (token_identification_tool)

Helps find the contract address and other basic information (name, ticker) for a Solana token by searching its name or ticker symbol. Essential for when you need a token's address.

Input: Requires a token identifier (name or ticker).

class TokenIdentificationInput(BaseModel):
    identifier: str # e.g., 'Raydium', 'RAY', '$RAY'

Key Functionality:

  • Searches for tokens using the provided name or ticker (e.g., "Bonk", "RAY", "$USDC").

  • Looks up information from a predefined, internal list of known tokens (TOKEN_DATA).

  • Returns the token's full name, ticker, and Solana contract address if found.

  • Supports exact and partial matches (case-insensitive).


Sample Usage Queries (How an AI might use it):

  • "What is the contract address for Raydium?"

  • "Find the token address for $WIF."

  • "Identify the token with ticker SOL." (Note: This tool is primarily for SPL tokens; SOL itself doesn't have a contract address in the same way)

  • "Get me the details for the 'Bonk' token."

  • "Look up token info for 'USDC'."

  • "Search for a token named 'Jupiter Perpetuals'."

  • "What's the mint address for 'mSOL'?"

  • "Find token 'dogwifhat'."

  • "Can you identify the 'RENDER' token?"

  • "I need the address for 'LUMO'."


Quick Code Glance:

class TokenIdentificationTool(BaseTool):
    name: ClassVar[str] = "token_identification_tool"
    description: ClassVar[str] = "Get token information by name or ticker..."
    args_schema: ClassVar[Type[BaseModel]] = TokenIdentificationInput
    # TOKEN_DATA: ClassVar[Dict[str, Dict[str, str]]] = { ... } # Internal list

Important:

  • This tool operates asynchronously (_arun).

  • The list of identifiable tokens is based on a static, hardcoded dictionary within the tool. It will only find tokens present in this internal list.

PreviousWallet Portfolio toolNextRugcheck Token Information Tool

Last updated 2 days ago