UNPKG

linea-mcp

Version:

A Model Context Protocol server for interacting with the Linea blockchain

71 lines 2.35 kB
import { z } from 'zod'; /** * Schema for listing NFTs owned by an address */ export declare const ListNftsSchema: z.ZodObject<{ address: z.ZodOptional<z.ZodString>; contractAddress: z.ZodOptional<z.ZodString>; tokenId: z.ZodOptional<z.ZodString>; standard: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ERC721", "ERC1155", "ALL"]>>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { standard: "ERC721" | "ERC1155" | "ALL"; limit: number; address?: string | undefined; contractAddress?: string | undefined; tokenId?: string | undefined; cursor?: string | undefined; }, { address?: string | undefined; contractAddress?: string | undefined; tokenId?: string | undefined; standard?: "ERC721" | "ERC1155" | "ALL" | undefined; limit?: number | undefined; cursor?: string | undefined; }>; /** * Schema for transferring an NFT */ export declare const TransferNftSchema: z.ZodObject<{ contractAddress: z.ZodString; tokenId: z.ZodString; destination: z.ZodString; amount: z.ZodDefault<z.ZodOptional<z.ZodString>>; standard: z.ZodOptional<z.ZodEnum<["ERC721", "ERC1155"]>>; data: z.ZodDefault<z.ZodOptional<z.ZodString>>; }, "strip", z.ZodTypeAny, { data: string; amount: string; contractAddress: string; tokenId: string; destination: string; standard?: "ERC721" | "ERC1155" | undefined; }, { contractAddress: string; tokenId: string; destination: string; data?: string | undefined; amount?: string | undefined; standard?: "ERC721" | "ERC1155" | undefined; }>; /** * Schema for retrieving NFT metadata */ export declare const NftMetadataSchema: z.ZodObject<{ contractAddress: z.ZodString; tokenId: z.ZodString; standard: z.ZodOptional<z.ZodEnum<["ERC721", "ERC1155"]>>; }, "strip", z.ZodTypeAny, { contractAddress: string; tokenId: string; standard?: "ERC721" | "ERC1155" | undefined; }, { contractAddress: string; tokenId: string; standard?: "ERC721" | "ERC1155" | undefined; }>; export type ListNftsParams = z.infer<typeof ListNftsSchema>; export type TransferNftParams = z.infer<typeof TransferNftSchema>; export type NftMetadataParams = z.infer<typeof NftMetadataSchema>; //# sourceMappingURL=schemas.d.ts.map