UNPKG

tensaikit-test

Version:

An autonomous DeFi AI Agent Kit on Katana enabling AI agents to plan and execute on-chain financial operations.

22 lines (21 loc) 676 B
import { Chain } from "viem/chains"; /** * Maps EVM chain IDs to tensai-kit network IDs. */ export declare const CHAIN_ID_TO_NETWORK_ID: Record<number, string>; /** * Maps tensai-kit network IDs to EVM chain IDs */ export declare const NETWORK_ID_TO_CHAIN_ID: Record<string, string>; /** * Maps tensai-kit network IDs to Viem chain objects */ export declare const NETWORK_ID_TO_VIEM_CHAIN: Record<string, Chain>; /** * Retrieve a `Chain` object using its chain ID. * * @param id - The EVM chain ID (as string or number). * @returns The matching `Chain` object. * @throws If the chain is not found. */ export declare const getChain: (id: string | number) => Chain;