EVM
eth_getTransactionByHash
Summary: Get transaction by transaction hash
This request returns the information about a transaction for the given transaction hash.
Parameters
transactionHash
stringA string representing the hash (32 bytes) of a transaction.
Pattern: ^0x[0-9a-f]{64}$
Returns
eth_getTransactionByHashResponse
oneOfReturns the transaction information or "not found".
Customize request
RequestCURL
CURL
curl https://linea-mainnet.infura.io/v3/<YOUR-API-KEY> \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getTransactionByHash",
"params": [],
"id": 1
}'