UNPKG

@agentek/tools

Version:

Blockchain tools for AI agents

21 lines 529 B
import { type RouteOption } from "zrouter-sdk"; /** * Fetch routes from the zrouter-api HTTP service. * Returns RouteOption[] sorted best-first, or null on failure. */ export declare function fetchApiRoutes(params: { chainId: number; tokenIn: { address: string; id?: bigint; }; tokenOut: { address: string; id?: bigint; }; side: string; amount: bigint; owner: string; slippageBps?: number; }): Promise<RouteOption[] | null>; //# sourceMappingURL=api.d.ts.map