---
title: "List FHE operations for a specific transaction"
method: GET
path: "/{chain_id}/api/v2/transactions/{transaction_hash_param}/fhe-operations"
tags: ["transactions"]
---

# List FHE operations for a specific transaction

`GET /{chain_id}/api/v2/transactions/{transaction_hash_param}/fhe-operations`

Retrieves Fully Homomorphic Encryption (FHE) operations parsed from transaction logs. Includes operation details, HCU (Homomorphic Compute Unit) costs, operation types, and related metadata.

## Path parameters

- `transaction_hash_param` string, required
- `chain_id` string, required

## Response `200`

FHE operations for the specified transaction with transaction-level metrics.

- FheOperationsResponse
  - `items` FheOperation[], required
    - `block_number` integer, required
    - `caller` Address — Address
      - `ens_domain_name` string, nullable, required — ENS domain name associated with the address
      - `hash` string, required
      - `implementations` Implementation[], required — Implementations linked with the contract
        - `address_hash` string, required
        - `name` string, nullable, required
      - `is_contract` boolean, nullable, required — Has address contract code?
      - `is_scam` boolean, required — Has address scam badge?
      - `is_verified` boolean, nullable, required — Has address associated source code?
      - `metadata` Metadata, required — Metadata struct
        - `tags` MetadataTag[], required — Metadata tags linked with the address
          - `meta` object, nullable, required
          - `name` string, required
          - `ordinal` integer, required
          - `slug` string, required
          - `tagType` 'name' | 'generic' | 'classifier' | 'information' | 'note' | 'protocol', required
      - `name` string, nullable, required — Name associated with the address
      - `private_tags` Tag[] — Private tags associated with the address
        - `address_hash` string, required
        - `display_name` string, required
        - `label` string, required
      - `proxy_type` 'eip1167' | 'eip1967' | 'eip1822' | 'eip1967_oz' | 'eip1967_beacon' | 'master_copy' | 'basic_implementation' | 'basic_get_implementation' | 'comptroller' | 'eip2535' | 'clone_with_immutable_arguments' | 'eip7702' | 'resolved_delegate_proxy' | 'erc7760' | 'minimal_proxy', nullable, required
      - `public_tags` Tag[] — Public tags associated with the address
        - `address_hash` string, required
        - `display_name` string, required
        - `label` string, required
      - `reputation` 'ok' | 'scam', required — Reputation of the address
      - `watchlist_names` WatchlistName[] — Watchlist name associated with the address
        - `display_name` string, required
        - `label` string, required
    - `fhe_type` 'Bool' | 'Uint8' | 'Uint16' | 'Uint32' | 'Uint64' | 'Uint128' | 'Uint160' | 'Uint256' | 'Bytes64' | 'Bytes128' | 'Bytes256', required
    - `hcu_cost` integer, required
    - `hcu_depth` integer, required
    - `inputs` object, required
      - `control` string, nullable
      - `ct` string, nullable
      - `if_false` string, nullable
      - `if_true` string, nullable
      - `lhs` string, nullable
      - `plaintext` number, nullable
      - `rhs` string, nullable
    - `is_scalar` boolean, required
    - `log_index` integer, required
    - `operation` string, required
    - `result` string, required
    - `type` 'arithmetic' | 'bitwise' | 'comparison' | 'unary' | 'control' | 'encryption' | 'random', required
  - `max_depth_hcu` integer, required — Maximum HCU depth across all operations in the transaction
  - `operation_count` integer, required — Total number of FHE operations in the transaction
  - `total_hcu` integer, required — Total HCU (Homomorphic Compute Units) cost for all operations in the transaction

## Other responses

- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.dev/blockscout/apis/blockscout-pro-api.md) · [All operations](https://skmtc.dev/blockscout/apis/blockscout-pro-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/blockscout/blockscout-pro-api/revisions/59ac5466233b/schema)
