# Blockscout FHE Operations for Transaction

> Blockscout FHE Operations for Transaction 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).

Retrieves Fully Homomorphic Encryption (FHE) operations associated with a specific transaction on a given blockchain network via Blockscout

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/api/v2/transactions/%7Btransaction_hash_param%7D/fhe-operations
- 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-fhe-operations-for-transaction-fd8de008
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LqJ2XZiyXrR8_pnCbTJ_i

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-fhe-operations-for-transaction-fd8de008
```

Example prompt: Can you pull up the FHE operations for transaction 0x3a7b...f9c2 on chain ID 8008135 using Blockscout, and tell me the total HCU used and how many operations were performed?

## When to prefer this

Use this endpoint when you need to inspect or audit Fully Homomorphic Encryption (FHE) operations within a specific blockchain transaction, particularly on FHE-enabled chains like Fhenix. It is the go-to choice when you need HCU cost analysis, operation depth profiling, or debugging encrypted computation within a transaction, as opposed to general transaction data retrieval.

## Known failure modes

- Invalid or non-existent transaction hash returns empty or error response
- Unsupported chain_id returns 404 or no results
- Transaction exists but has no FHE operations — returns empty items array with zero counts
- Network timeout on heavily loaded chain nodes
- Malformed transaction hash causes bad request error

## 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 JSON object containing an array of FHE operation items, the total homomorphic compute units (HCU) consumed, the maximum depth HCU, and the total operation count for the specified transaction

## 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": {
  "items": [
   {}
  ],
  "total_hcu": 0,
  "max_depth_hcu": 0,
  "operation_count": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-fhe-operations-for-transaction-fd8de008/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)
