GET
/
v2
/
{chain_name}
/
transactions
/
{transaction_hash}
Lookup Transaction By Hash
curl --request GET \
  --url https://api.data.ormilabs.com/v2/{chain_name}/transactions/{transaction_hash}
{
"transaction": {
"block_hash": 1.1422479551680867e+77,
"block_number": 22412527,
"block_timestamp": "2025-05-04T19:38:11Z",
"contract_address": 2.807754160281623e+47,
"cumulative_gas_used": "2692235",
"effective_gas_price": "1000000000",
"from_address": 2.343505912018747e+47,
"gas": "40000",
"gas_price": "1000000000",
"gas_used": "22901",
"input": "0x6874...",
"l1_fee": "<string>",
"l1_fee_scalar": "<string>",
"l1_gas_price": "<string>",
"l1_gas_used": "<string>",
"max_fee_per_gas": "1000000000",
"max_priority_fee_per_gas": "1000000000",
"nonce": "132573",
"status": 0,
"to_address": 2.807754160281623e+47,
"transaction_hash": 6.735722084347401e+76,
"transaction_index": 43,
"transaction_type": 2,
"value": 0,
"value_raw": "0"
}
}

Authorizations

Authorization
string
header
required

(Optional) Enter your API key in the format: Bearer <api_key>. Providing an API key may grant higher rate limits or access to additional features. The API will function without an API key for basic access.

Path Parameters

transaction_hash
string
required

The transaction hash.

Example:

2.016917905879511e+76

chain_name
enum<string>
required

The name or ID of the blockchain.

Available options:
ethereum,
base,
tron
Example:

"ethereum"

Response

200
application/json

Successfully retrieved transaction details.

The response is of type object.