Optimism transaction receipt
Get the receipt of a mined Optimism transaction: success or reverted, gas used, effective gas price, fee paid in ETH, number of event logs and any contract created. Use to confirm a payment or call went through; for sender, value and calldata use op_tx. Input is a 0x-prefixed 64-hex hash; a pending or 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/receipt?hash=0x721f3e9a996da49e2a8929bd2dd42e0f51344c11d7ca7bc3328fda349cdfae89"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/op/receipt?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",
"status": "success",
"block": 123456789,
"gasUsed": "52000",
"effectiveGasPriceGwei": "0.012",
"fee": "0.000000624",
"logs": 1,
"contractAddress": null
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is op_receipt, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp