# Blockscout Transaction Lookup by Chain

> Blockscout Transaction Lookup by Chain is a paid API for AI agents from api.blockscout.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-12).

Fetches detailed on-chain transaction data for a specific transaction hash on a specified blockchain network via Blockscout's multichain explorer API

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/api/v2/transactions/%7Btransaction_hash_param%7D
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-transaction-lookup-by-chain-32bb8e5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zGzSv8mmoU9SqiaTVwZjC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockscout-transaction-lookup-by-chain-32bb8e5e
```

Example prompt: Can you pull up the full details for this Ethereum transaction — 0xabc123def456... — using Blockscout, including status, fees, and any token transfers?

## When to prefer this

Use this endpoint when you need granular, decoded details about a single transaction on a specific blockchain — including fee breakdown, token transfers, decoded calldata, and revert reasons. Prefer it over generic blockchain RPC calls when you need Blockscout's enriched metadata like ENS resolution, address tags, scam flags, and reputation scores. It covers multiple chains via the chain_id parameter, making it suitable for cross-chain transaction verification workflows.

## Known failure modes

- Invalid or malformed transaction hash returns a 404 or error response
- Unsupported or unknown chain_id returns an error
- Transaction not yet indexed returns empty or 404
- Network timeout for high-traffic chains
- Truncated response if transaction has unusually large calldata or many token transfers

## How this service works

Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data

## Output

Returns a rich JSON object describing the transaction: status, sender (from), recipient (to), value, fee breakdown, gas used, gas limit, gas price, block number, timestamp, nonce, confirmations, decoded function call input, token transfers with from/to/amount/token details, revert reason if failed, and chain-specific metadata (e.g. Arbitrum batch/L1 fee fields). Address objects include ENS names, contract flags, scam flags, reputation, and public/private tags.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "chain_id": {
       "type": "string"
      },
      "transaction_hash_param": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": {},
  "fee": {
   "type": "string",
   "value": "string"
  },
  "from": {
   "hash": "string",
   "name": "string",
   "is_scam": true,
   "metadata": {},
   "proxy_type": "string",
   "reputation": "string",
   "is_contract": true,
   "is_verified": true,
   "public_tags": [
    {
     "label": "string",
     "address_hash": "string",
     "display_name": "string"
    }
   ],
   "private_tags": [
    {
     "label": "string",
     "address_hash": "string",
     "display_name": "string"
    }
   ],
   "ens_domain_name": "string",
   "implementations": [
    {
     "name": "string",
     "address_hash": "string"
    }
   ],
   "watchlist_names": [
    {
     "label": "string",
     "display_name": "string"
    }
   ]
  },
  "hash": "string",
  "type": 0,
  "nonce": 0,
  "value": "string",
  "method": "string",
  "result": {},
  "status": "string",
  "arbitrum": {
   "status": "string",
   "poster_fee": "string",
   "network_fee": "string",
   "batch_number": 0,
   "gas_used_for_l1": "string",
   "gas_used_for_l2": "string",
   "contains_message": "string",
   "batch_data_container": "string",
   "message_related_info": {
    "message_id": 0,
    "message_status": "string",
    "associated_l1_transaction_hash": "string"
   },
   "commitment_transaction": {
    "hash": "string",
    "status": "string",
    "timestamp": "string"
   },
   "confirmation_transaction": {
    "hash": "string",
    "status": "string",
    "timestamp": "string"
   }
  },
  "gas_used": "string",
  "position": 0,
  "gas_limit": "string",
  "gas_price": "string",
  "raw_input": "string",
  "timestamp": "string",
  "block_number": 0,
  "priority_fee": "string",
  "confirmations": 0,
  "decoded_input": {},
  "exchange_rate": "string",
  "revert_reason": {},
  "max_fee_per_gas": "string",
  "token_transfers": [
   {
    "to": {
     "hash": "string",
     "name": "string",
     "is_scam": true,
     "metadata": {},
     "proxy_type": "string",
     "reputation": "string",
     "is_contract": true,
     "is_verified": true,
     "public_tags": [
      {
       "label": "string",
       "address_hash": "string",
       "display_name": "string"
      }
     ],
     "private_tags": [
      {
       "label": "string",
       "address_hash": "string",
       "display_name": "string"
      }
     ],
     "ens_domain_name": "string",
     "implementations": [
      {
       "name": "string",
       "address_hash": "string"
      }
     ],
     "watchlist_na
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-transaction-lookup-by-chain-32bb8e5e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockscout.com](https://www.zero.xyz/host/api.blockscout.com/llms.txt)
