Skip to main content
GET
/
v2
/
transactions
/
{transaction_hash_param}
/
fhe-operations
List FHE operations for a specific transaction
curl --request GET \
  --url http://localhost/api/v2/transactions/{transaction_hash_param}/fhe-operations
{
  "items": [
    {
      "block_number": 12345678,
      "fhe_type": "Uint8",
      "hcu_cost": 100,
      "hcu_depth": 1,
      "inputs": {
        "control": "<string>",
        "ct": "<string>",
        "if_false": "<string>",
        "if_true": "<string>",
        "lhs": "<string>",
        "plaintext": 123,
        "rhs": "<string>"
      },
      "is_scalar": false,
      "log_index": 123,
      "operation": "FheAdd",
      "result": "<string>",
      "type": "arithmetic",
      "caller": {
        "ens_domain_name": "<string>",
        "hash": "<string>",
        "implementations": [
          {
            "address_hash": "<string>",
            "name": "<string>"
          }
        ],
        "is_contract": true,
        "is_scam": true,
        "is_verified": true,
        "metadata": {
          "tags": [
            {
              "meta": {},
              "name": "<string>",
              "ordinal": 123,
              "slug": "<string>",
              "tagType": "<string>"
            }
          ]
        },
        "name": "<string>",
        "proxy_type": "eip1167",
        "reputation": "ok",
        "private_tags": [
          {
            "address_hash": "<string>",
            "display_name": "<string>",
            "label": "<string>"
          }
        ],
        "public_tags": [
          {
            "address_hash": "<string>",
            "display_name": "<string>",
            "label": "<string>"
          }
        ],
        "watchlist_names": [
          {
            "display_name": "<string>",
            "label": "<string>"
          }
        ]
      }
    }
  ],
  "max_depth_hcu": 3,
  "operation_count": 5,
  "total_hcu": 500
}

Documentation Index

Fetch the complete documentation index at: https://docs.blockscout.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

transaction_hash_param
string
required

Transaction hash in the path

Pattern: ^0x([A-Fa-f0-9]{64})$

Query Parameters

apikey
string

API key for rate limiting or for sensitive endpoints

key
string

Secret key for getting access to restricted resources

Response

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

items
FheOperation · object[]
required
max_depth_hcu
integer
required

Maximum HCU depth across all operations in the transaction

Required range: x >= 0
Example:

3

operation_count
integer
required

Total number of FHE operations in the transaction

Required range: x >= 0
Example:

5

total_hcu
integer
required

Total HCU (Homomorphic Compute Units) cost for all operations in the transaction

Required range: x >= 0
Example:

500