Skip to content
Eden Engine

Blockchain Transaction Lookup by Hash

omnial/onchain-tx

Given a transaction hash and a chain, returns that transaction's on-chain details -- sender and receiver addresses, the amount transferred, gas price and limit, the block it was mined in, and its raw signature fields -- for Ethereum and 9 other EVM-compatible chains.

activeper callv2

Price

Up to $0.0164 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 blockchains

Data from the public blockchain you query.

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/onchain-tx" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/onchain-tx" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/onchain-tx", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/onchain-tx", 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.0164
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "hash",
    "chain"
  ],
  "properties": {
    "hash": {
      "type": "string",
      "minLength": 1,
      "description": "Transaction hash (0x-prefixed hex). Example: 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060."
    },
    "chain": {
      "enum": [
        "ethereum",
        "polygon",
        "bsc",
        "arbitrum",
        "optimism",
        "base",
        "avalanche",
        "fantom",
        "linea",
        "cyber"
      ],
      "type": "string",
      "description": "Chain. Can be ethereum, polygon, bsc, arbitrum, optimism, base, avalanche, fantom, linea, or cyber. Example: ethereum."
    },
    "include": {
      "type": "string",
      "minLength": 1,
      "description": "Comma-separated enrichments to attach. Currently valid: labels -- attempts to add entity labels for the from/to addresses when a known label exists. Example: labels."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "r": {
            "type": "string",
            "description": "ECDSA signature r component, 0x-prefixed hex."
          },
          "s": {
            "type": "string",
            "description": "ECDSA signature s component, 0x-prefixed hex."
          },
          "v": {
            "type": "string",
            "description": "ECDSA signature recovery value, 0x-prefixed hex."
          },
          "to": {
            "type": "string",
            "description": "Recipient account address, 0x-prefixed hex -- an Ethereum-style account address, not a phone number."
          },
          "gas": {
            "type": "string",
            "description": "Gas limit supplied for this transaction, 0x-prefixed hex."
          },
          "from": {
            "type": "string",
            "description": "Sender account address, 0x-prefixed hex -- an Ethereum-style account address, not a phone number."
          },
          "hash": {
            "type": "string",
            "description": "Transaction hash, 0x-prefixed hex. Echoes the requested hash."
          },
          "type": {
            "type": "string",
            "description": "EIP-2718 transaction type envelope, 0x-prefixed hex, e.g. '0x0' (legacy)."
          },
          "input": {
            "type": "string",
            "description": "Call data attached to the transaction, 0x-prefixed hex; '0x' (empty) for a plain value transfer with no contract call."
          },
          "nonce": {
            "type": "string",
            "description": "The sending account's nonce at the time of this transaction, 0x-prefixed hex."
          },
          "value": {
            "type": "string",
            "description": "Amount transferred, in wei, 0x-prefixed hex."
          },
          "chainId": {
            "type": "string",
            "description": "Chain ID, 0x-prefixed hex, e.g. '0x1' (Ethereum mainnet)."
          },
          "gasPrice": {
            "type": "string",
            "description": "Gas price paid, in wei, 0x-prefixed hex."
          },
          "blockHash": {
            "type": "string",
            "description": "Hash of the block this transaction was mined in, 0x-prefixed hex."
          },
          "accessList": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object"
            },
            "description": "EIP-2930 access list. Null for a legacy, type '0x0' transaction, which carries none; the shape of a populated list is not documented."
          },
          "blockNumber": {
            "type": "string",
            "description": "Number of the block this transaction was mined in, 0x-prefixed hex."
          },
          "transactionIndex": {
            "type": "string",
            "description": "This transaction's index within its block, 0x-prefixed hex."
          }
        },
        "additionalProperties": false
      },
      "description": "The matched transaction, typically as a single-item array."
    },
    "meta": {
      "type": "object",
      "properties": {
        "limit": {
          "type": "integer",
          "description": "Echoes the requested (or defaulted) limit."
        },
        "total": {
          "type": "integer",
          "description": "Total matching transactions (typically 1)."
        },
        "cached": {
          "type": "boolean",
          "description": "Whether this response was served from the provider's cache."
        },
        "offset": {
          "type": "integer",
          "description": "Echoes the requested (or defaulted) offset."
        }
      },
      "additionalProperties": false
    }
  },
  "description": "The transaction response.",
  "additionalProperties": false
}