Optimism transaction
Look up a Optimism transaction by hash: sender, recipient, value in ETH, nonce, gas limit, the 4-byte function selector and its block. Use to see what was sent or whether it exists; for success or failure and fees paid use op_receipt, for emitted events op_logs. Input is a 0x-prefixed 64-hex hash; an unknown hash returns 404, uncharged.
Inputs
| Name | Type | Description |
|---|---|---|
hash (required) | string | 0x-prefixed transaction hash (64 hex characters) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/op/tx?hash=0x721f3e9a996da49e2a8929bd2dd42e0f51344c11d7ca7bc3328fda349cdfae89"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/op/tx?hash=0x721f3e9a996da49e2a8929bd2dd42e0f51344c11d7ca7bc3328fda349cdfae89&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.
Example result
{
"chain": "Optimism",
"chainId": 10,
"hash": "0x721f3e9a996da49e2a8929bd2dd42e0f51344c11d7ca7bc3328fda349cdfae89",
"from": "0x…",
"to": "0x…",
"value": "0.0",
"nonce": 12,
"gas": "65000",
"selector": "0xa9059cbb",
"inputBytes": 68,
"block": 123456789
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is op_tx, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp