eth_getTransactionByHashHTTP

Returns a transaction object by hash, or null if the node does not know it yet.

Chain EthereumTransport HTTPTry-it live

How to use

  1. Pick an API key (or paste one) in the Try it panel.
  2. Fill each parameter (order = params array index).
  3. Send request — live against the gateway; counts toward daily quota.

Parameters

JSON-RPC positional arguments — order matches the array sent in params. Index badges below match array positions.

hashDATA(32B)required

Transaction hash.

params array (shape)

eth_getTransactionByHash · paramsjson
1[
2 "0x13de35b192a0ef1d77bac4473ad0b4fc58d45c3aafcda9d004b2c9857358e5f4"
3]

Response fields

The result row describes the complete result; other rows describe its object fields or array elements. Indented rows describe nested members. For subscriptions,params.* rows describe later notifications rather than the initial reply.

FieldTypeDescription
resultOBJECT|nullTransaction object, or null when the serving upstream cannot find the transaction or the block/index lookup has no match.
hashDATA(32B)Transaction hash.
nonceQUANTITYSender nonce for this transaction.
blockHashDATA(32B)|nullHash of the containing block (null while pending).
blockNumberQUANTITY|nullNumber of the containing block (null while pending).
transactionIndexQUANTITY|nullIndex inside the block (null while pending).
fromDATA(20B)Sender address.
toDATA(20B)|nullRecipient address (null for contract creation).
valueQUANTITYValue transferred in the selected network's native currency, in its smallest units (10^-18 native units on the six published networks).
gasQUANTITYGas limit provided by the sender.
gasPriceQUANTITYLegacy/access-list gas price, or the effective gas price for an included dynamic-fee transaction. Pending dynamic-fee transactions may expose a fee cap; use receipt.effectiveGasPrice for the paid execution price.
maxFeePerGasQUANTITYExecution fee cap for dynamic-fee types, including 0x2, 0x3 and 0x4 where supported; conditional field.
maxPriorityFeePerGasQUANTITYExecution tip cap for dynamic-fee types where supported; conditional field.
inputDATACall data payload.
typeQUANTITY0x0 legacy, 0x1 access-list, 0x2 dynamic-fee, 0x3 blob, 0x4 EIP-7702 authorization. Availability and additional types depend on the selected network.
chainIdQUANTITYSigning chain ID for replay protection, when encoded by the transaction format; compare with eth_chainId for the selected network.
accessListARRAYAccess list for supported transaction formats (such as 0x1–0x4); not a guarantee for every numerically larger chain-specific type.
└addressDATA(20B)Account to pre-warm; not restricted to contracts.
└storageKeysDATA(32B)[]Storage slots to pre-warm for this account.
vQUANTITYLegacy signature value, including EIP-155 chain-ID encoding where applicable. Typed transactions expose yParity; some clients also return v.
rQUANTITYECDSA signature r.
sQUANTITYECDSA signature s.
yParityQUANTITYTyped-transaction signature parity (0x0 or 0x1), where provided.
maxFeePerBlobGasQUANTITYBlob gas fee cap for supported blob transactions; conditional field.
blobVersionedHashesDATA(32B)[]Blob versioned hashes for supported blob transactions; conditional field.
authorizationListARRAYEIP-7702 authorization tuples for type 0x4 where supported.
└chainIdQUANTITYAuthorization domain chain ID; 0x0 permits all chains under EIP-7702 rules.
└addressDATA(20B)Delegated code address.
└nonceQUANTITYAuthority nonce bound by this authorization.
└yParityQUANTITYAuthorization signature parity.
└rQUANTITYAuthorization signature r.
└sQUANTITYAuthorization signature s.