Token price lookup for one or more addresses.
Input:
tokenAddresses: string (comma-separated)
chainId: number
await sdk.executeTool("PriceTool", {
tokenAddresses: "0xA0b86991c6218b36c1d19d4a2e9eb0ce3606eB48",
chainId: 1,
});
Resolves symbol to address and decimals from static mappings.
Input:
symbol: string
chainId: number
await sdk.executeTool("TokenAddressTool", { symbol: "USDC", chainId: 42161 });
Converts USD amount to token amount using fetched price.
Input:
tokenAddresses: string
chainId: number
amount: number
await sdk.executeTool("DollarToTokenAmountTool", {
tokenAddresses: "0xC02aaa39b223FE8D0A0e5C4F27eAD9083C756Cc2",
chainId: 1,
amount: 100,
});
Fetches trending tokens from CoinGecko.
await sdk.executeTool("TrendingTokenTool", {});
Fetches approved crypto news via CryptoPanic.
Input:
await sdk.executeTool("TrendingNewsTool", { tokens: "ETH,BTC" });
Short-horizon inference via Allora.
Input:
tokenSymbol: "BTC" | "ETH"
Timeframe in current implementation: EIGHT_HOURS.
await sdk.executeTool("PricePredictionTool", { tokenSymbol: "ETH" });
General text sentiment analysis.
Input:
await sdk.executeTool("SentimentTool", {
text: "ETH is showing strong momentum today.",
});
Last modified on May 26, 2026