tensaikit
Version:
An autonomous DeFi AI Agent Kit on Katana enabling AI agents to plan and execute on-chain financial operations.
9 lines (8 loc) • 455 B
TypeScript
/**
* Fetches USD prices for all tokens available on the specified EVM chain via the SushiSwap module.
*
* @param chainId - The chain ID (as a string) representing the target blockchain network.
* @returns A promise resolving to a map of token addresses to their current USD prices.
* @throws Throws a formatted error if price fetching fails.
*/
export declare const fetchAllTokenPrices: (chainId: string) => Promise<Record<`0x${string}`, number>>;