UNPKG

@iqai/mcp-odos

Version:
41 lines (40 loc) 934 B
import type { Chain } from "viem"; export interface OdosActionParams { walletPrivateKey?: string; chain?: Chain; } export interface QuoteResponse { inTokens: string[]; outTokens: string[]; inAmounts: string[]; outAmounts: string[]; gasEstimate: number; dataGasEstimate: number; gweiPerGas: number; gasEstimateValue: number; inValues: number[]; outValues: number[]; netOutValue: number; priceImpact: number | null; percentDiff: number; pathId: string | null; blockNumber: number; deprecated: string | null; partnerFeePercent: number; pathVizImage: string | null; } export interface AssembleResponseTxn { chainId: number; gas: string; gasPrice: string; value: string; to: string; from: string; data: string; nonce: number; } export interface ErrorResponse { detail: string; traceId: string; errorCode: number; }