Skip to main content
Glama

MCP-ODOS

by IQAIcom
types.ts1.1 kB
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; // Chain ID for path execution gas: string; // Gas limit (2x naive or 1.1x simulated) gasPrice: string; // Gas price for path calculation value: string; // Input gas token amount (0 if not input) to: string; // Odos router address from: string; // Transaction source address data: string; // Router calldata for DEX swaps nonce: number; // Transaction nonce } export interface ErrorResponse { detail: string; traceId: string; errorCode: number; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IQAIcom/mcp-odos'

If you have feedback or need assistance with the MCP directory API, please join our Discord server