UNPKG

@coinbase/agentkit

Version:

Coinbase AgentKit core primitives

30 lines (29 loc) 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetTruthMarketDetailsSchema = exports.GetTruthMarketsSchema = void 0; const zod_1 = require("zod"); /** * Input schema for get active markets action. */ exports.GetTruthMarketsSchema = zod_1.z .object({ limit: zod_1.z .number() .optional() .describe("Maximum number of markets to return (default: 10)") .default(10), offset: zod_1.z.number().optional().describe("Number of markets to skip (for pagination)").default(0), sortOrder: zod_1.z .enum(["asc", "desc"]) .optional() .describe("Sort order for the markets (default: desc)") .default("desc"), }) .strip() .describe("Instructions for getting prediction markets on Truemarkets"); /** * Input schema for get market details action. */ exports.GetTruthMarketDetailsSchema = zod_1.z .string() .describe("Prediction market address (0x...) or market ID (number) to retrieve details for");