UNPKG

tensaikit

Version:

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

23 lines (22 loc) 712 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AlchemyTokenPricesBySymbolSchema = void 0; const zod_1 = require("zod"); /** * Schema for fetching token prices by symbol from Alchemy. * * Expects an object containing an array of token symbols. * * Example input: * { * symbols: ["ETH", "BTC", "POL"] * } */ exports.AlchemyTokenPricesBySymbolSchema = zod_1.z .object({ symbols: zod_1.z .array(zod_1.z.string()) .min(1, "At least one token symbol is required. Example: ETH, BTC, SOL, etc.") .max(25, "A maximum of 25 token symbols can be provided."), }) .describe("Input schema for fetching token prices by symbol from Alchemy");