import * as z from 'zod/mini'; import type * as App from '../../../App.js'; import * as Response from '../../../internal/Response.js'; /** Zod schemas owned by the CoinGecko/GeckoTerminal compatibility adapter. */ export declare namespace schema { /** * A 20-byte hex address that preserves case. Unlike `Schema.Address` (which * lowercases on output), the GeckoTerminal contract returns EIP-55 * checksummed addresses, so response bodies keep the checksum produced by * `Address.checksum`. */ const ChecksummedAddress: z.ZodMiniString; /** * Path `chainId`. Unlike the rest of Tempo API (where `chainId` is an optional * query parameter defaulting from app composition), GeckoTerminal templates a * per-network base URL, so the chain is addressed positionally here. */ const ChainIdParam: z.ZodMiniObject<{ chainId: z.ZodMiniPipe, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>; }, z.core.$strip>; /** Indexed-block tip exposed to GeckoTerminal. */ const Block: z.ZodMiniObject<{ blockNumber: z.ZodMiniNumber; blockTimestamp: z.ZodMiniNumber; }, z.core.$strip>; /** `GET /:chainId/latest-block` response. */ const LatestBlockResponse: z.ZodMiniObject<{ block: z.ZodMiniObject<{ blockNumber: z.ZodMiniNumber; blockTimestamp: z.ZodMiniNumber; }, z.core.$strip>; }, z.core.$strip>; /** Path parameters addressing a single asset. */ const AssetParams: z.ZodMiniObject<{ chainId: z.ZodMiniPipe, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>; address: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; }, z.core.$strip>; /** A TIP-20 asset in GeckoTerminal shape. */ const Asset: z.ZodMiniObject<{ id: z.ZodMiniString; name: z.ZodMiniString; symbol: z.ZodMiniString; decimals: z.ZodMiniNumber; totalSupply: z.ZodMiniString; }, z.core.$strip>; /** `GET /:chainId/assets/:address` response. */ const AssetResponse: z.ZodMiniObject<{ asset: z.ZodMiniObject<{ id: z.ZodMiniString; name: z.ZodMiniString; symbol: z.ZodMiniString; decimals: z.ZodMiniNumber; totalSupply: z.ZodMiniString; }, z.core.$strip>; }, z.core.$strip>; /** A pair-side token (asset plus checksummed address). */ const PairToken: z.ZodMiniObject<{ address: z.ZodMiniString; name: z.ZodMiniString; symbol: z.ZodMiniString; decimals: z.ZodMiniNumber; totalSupply: z.ZodMiniString; }, z.core.$strip>; /** A GeckoTerminal trading pair. */ const Pair: z.ZodMiniObject<{ id: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; dexKey: z.ZodMiniString; asset0Id: z.ZodMiniString; asset1Id: z.ZodMiniString; token0: z.ZodMiniObject<{ address: z.ZodMiniString; name: z.ZodMiniString; symbol: z.ZodMiniString; decimals: z.ZodMiniNumber; totalSupply: z.ZodMiniString; }, z.core.$strip>; token1: z.ZodMiniObject<{ address: z.ZodMiniString; name: z.ZodMiniString; symbol: z.ZodMiniString; decimals: z.ZodMiniNumber; totalSupply: z.ZodMiniString; }, z.core.$strip>; reserve0: z.ZodMiniString; reserve1: z.ZodMiniString; createdAtBlockNumber: z.ZodMiniOptional>; createdAtBlockTimestamp: z.ZodMiniOptional>; createdAtTxnId: z.ZodMiniOptional>; }, z.core.$strip>; /** `GET /:chainId/pairs` response. */ const PairsResponse: z.ZodMiniObject<{ pairs: z.ZodMiniArray, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; dexKey: z.ZodMiniString; asset0Id: z.ZodMiniString; asset1Id: z.ZodMiniString; token0: z.ZodMiniObject<{ address: z.ZodMiniString; name: z.ZodMiniString; symbol: z.ZodMiniString; decimals: z.ZodMiniNumber; totalSupply: z.ZodMiniString; }, z.core.$strip>; token1: z.ZodMiniObject<{ address: z.ZodMiniString; name: z.ZodMiniString; symbol: z.ZodMiniString; decimals: z.ZodMiniNumber; totalSupply: z.ZodMiniString; }, z.core.$strip>; reserve0: z.ZodMiniString; reserve1: z.ZodMiniString; createdAtBlockNumber: z.ZodMiniOptional>; createdAtBlockTimestamp: z.ZodMiniOptional>; createdAtTxnId: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>; /** `GET /:chainId/pairs/:pairId` response. */ const PairResponse: z.ZodMiniObject<{ pair: z.ZodMiniObject<{ id: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; dexKey: z.ZodMiniString; asset0Id: z.ZodMiniString; asset1Id: z.ZodMiniString; token0: z.ZodMiniObject<{ address: z.ZodMiniString; name: z.ZodMiniString; symbol: z.ZodMiniString; decimals: z.ZodMiniNumber; totalSupply: z.ZodMiniString; }, z.core.$strip>; token1: z.ZodMiniObject<{ address: z.ZodMiniString; name: z.ZodMiniString; symbol: z.ZodMiniString; decimals: z.ZodMiniNumber; totalSupply: z.ZodMiniString; }, z.core.$strip>; reserve0: z.ZodMiniString; reserve1: z.ZodMiniString; createdAtBlockNumber: z.ZodMiniOptional>; createdAtBlockTimestamp: z.ZodMiniOptional>; createdAtTxnId: z.ZodMiniOptional>; }, z.core.$strip>; }, z.core.$strip>; /** Path parameters addressing a single pair. */ const PairParams: z.ZodMiniObject<{ chainId: z.ZodMiniPipe, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe, z.ZodMiniTransform>]>, z.ZodMiniNumber>; pairId: z.ZodMiniString; }, z.core.$strip>; /** `GET /:chainId/pairs` query parameters. */ const PairsQuery: z.ZodMiniObject<{ limit: z.ZodMiniDefault>; }, z.core.$strip>; /** `GET /:chainId/events` query parameters. */ const EventsQuery: z.ZodMiniObject<{ fromBlock: z.ZodMiniOptional>; toBlock: z.ZodMiniOptional>; }, z.core.$strip>; /** A GeckoTerminal swap event (one per `OrderFilled`). */ const SwapEvent: z.ZodMiniObject<{ block: z.ZodMiniObject<{ blockNumber: z.ZodMiniNumber; blockTimestamp: z.ZodMiniNumber; }, z.core.$strip>; eventType: z.ZodMiniLiteral<"swap">; txnId: z.ZodMiniString; txnIndex: z.ZodMiniNumber; eventIndex: z.ZodMiniNumber; maker: z.ZodMiniString; pairId: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; asset0In: z.ZodMiniOptional>; asset1In: z.ZodMiniOptional>; asset0Out: z.ZodMiniOptional>; asset1Out: z.ZodMiniOptional>; priceNative: z.ZodMiniString; reserves: z.ZodMiniObject<{ asset0: z.ZodMiniString; asset1: z.ZodMiniString; }, z.core.$strip>; }, z.core.$strip>; /** `GET /:chainId/events` response. */ const EventsResponse: z.ZodMiniObject<{ events: z.ZodMiniArray; blockTimestamp: z.ZodMiniNumber; }, z.core.$strip>; eventType: z.ZodMiniLiteral<"swap">; txnId: z.ZodMiniString; txnIndex: z.ZodMiniNumber; eventIndex: z.ZodMiniNumber; maker: z.ZodMiniString; pairId: z.ZodMiniPipe, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>; asset0In: z.ZodMiniOptional>; asset1In: z.ZodMiniOptional>; asset0Out: z.ZodMiniOptional>; asset1Out: z.ZodMiniOptional>; priceNative: z.ZodMiniString; reserves: z.ZodMiniObject<{ asset0: z.ZodMiniString; asset1: z.ZodMiniString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; } /** Composes the GeckoTerminal/CoinGecko DEX-integration compatibility adapter. */ export declare function coingecko(): import("hono/hono-base").HonoBase; //# sourceMappingURL=coingecko.d.ts.map