UNPKG

kiban-agent-kit

Version:

Open-source framework connecting AI agents to Katana ecosystem protocols

18 lines (17 loc) 511 B
import { PublicClient, WalletClient, Chain } from "viem"; export interface WalletTools { getAddress(): string; getBalance(): Promise<string>; getChainInfo(): Promise<ChainInfo>; } export interface ChainInfo { name: string; id: number; nativeCurrency: { name: string; symbol: string; decimals: number; }; } export declare function createWalletTools(publicClient: PublicClient, walletClient: WalletClient, chain: Chain): WalletTools; export * from "./service";