Skip to content
Eden Engine

Recent Ethereum DEX Trades of a Token, 3 Trades (by Contract Address)

omnial/ethereum-token-recent-3-dex-trades

For an Ethereum token contract address, returns 3 recent decentralized-exchange (DEX) trades that involve the token, each with its block time (Unix seconds), the exchange protocol and its version, the token pair, the symbols and amounts of the token bought and the token sold, and the trade's value in USD. No trader wallet or transaction hash comes back.

activeper callv1

Price

Up to $0.0328 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Public Ethereum decentralized exchanges

Trades read from public on-chain decentralized-exchange activity on Ethereum.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/ethereum-token-recent-3-dex-trades" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/ethereum-token-recent-3-dex-trades" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/ethereum-token-recent-3-dex-trades", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/ethereum-token-recent-3-dex-trades", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0328
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "address",
    "chain",
    "limit"
  ],
  "properties": {
    "chain": {
      "enum": [
        "ethereum"
      ],
      "type": "string",
      "default": "ethereum",
      "description": "The chain; only `ethereum` is offered."
    },
    "limit": {
      "enum": [
        3
      ],
      "type": "integer",
      "default": 3,
      "description": "How many trades to return; only 3, the one tested, is offered."
    },
    "address": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "minLength": 1,
      "description": "The token's contract address on Ethereum: 0x followed by 40 hex characters. A contract address, not a ticker symbol."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "project": {
            "type": "string",
            "description": "The DEX protocol the trade went through."
          },
          "version": {
            "type": "string",
            "description": "The protocol's version."
          },
          "amount_usd": {
            "type": "number",
            "description": "The trade's value in USD."
          },
          "block_time": {
            "type": "number",
            "description": "When the trade's block was produced, in Unix seconds."
          },
          "token_pair": {
            "type": "string",
            "description": "The pool's two token symbols joined by a hyphen; UNKNOWN stands for a token with no recorded symbol."
          },
          "token_sold_amount": {
            "type": "number",
            "description": "The amount of the token sold, in whole tokens."
          },
          "token_sold_symbol": {
            "type": "string",
            "description": "The symbol of the token the taker paid; empty when unknown."
          },
          "token_bought_amount": {
            "type": "number",
            "description": "The amount of the token bought, in whole tokens."
          },
          "token_bought_symbol": {
            "type": "string",
            "description": "The symbol of the token the taker received; empty when unknown."
          }
        }
      },
      "description": "Up to 3 trades."
    }
  },
  "description": "Recent DEX trades of the token."
}