Linea transaction
Look up a Linea 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 linea_receipt, for emitted events linea_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/linea/tx?hash=0x638169f15ccab7f5491b46b3a883fa1aa5b5399ba5c56fa0110355d47a526a93"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/linea/tx?hash=0x638169f15ccab7f5491b46b3a883fa1aa5b5399ba5c56fa0110355d47a526a93&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 or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"chain": "Linea",
"chainId": 59144,
"hash": "0x638169f15ccab7f5491b46b3a883fa1aa5b5399ba5c56fa0110355d47a526a93",
"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 linea_tx, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp