JSON-RPCMethods
eth_getTransactionByHash: parameters, returns and CU
Return a transaction by its hash. See parameters, return value, CU metering and supported chains for this method.
Summary
Return a transaction by its hash.
Compute Units (CU) and Pricing
CU per call
10 CU
Price per 1M calls (USD)
$1
Parameters
| Parameter | Type | Description |
|---|---|---|
transactionHash | HASH | 32-byte transaction hash as 0x-prefixed hex. |
Returns
- Type:
OBJECT|NULL - Description: Transaction object including its block context; null when the transaction is unknown.
Notes
A pending transaction may already be in the pool, but its block fields stay empty until it is included.
Request Example
curl -X POST "https://dev-api.blockvectra.network/v1/robinhood_mainnet" \
-H 'Content-Type: application/json' \
-H 'x-api-key: <api_key>' \
-d '{
"jsonrpc": "2.0",
"method": "eth_getTransactionByHash",
"params": [
"<transactionHash>"
],
"id": 1
}'Supported Chains
Supported chains:
- EthereumBeta
eth_mainnet - HyperEVM
hyperevm_mainnet - Robinhood Chain
robinhood_mainnet
Related references
eth_getBlockByHash: parameters, returns and CU
Return a block by its hash, optionally with full transaction objects. See parameters, return value, CU metering and supported chains for this method.
eth_getTransactionReceipt: parameters, returns and CU
Return the receipt (execution result) of a transaction by its hash. See parameters, return value, CU metering and supported chains for this method.