eth_ get Transaction By HashHTTP
Returns a transaction object by hash, or null if the node does not know it yet.
Chain
EthereumTransport HTTPTry-it liveHow to use
- Pick an API key (or paste one) in the Try it panel.
- Fill each parameter (order = params array index).
- 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)requiredTransaction 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.
| Field | Type | Description |
|---|---|---|
result | OBJECT|null | Transaction object, or null when the serving upstream cannot find the transaction or the block/index lookup has no match. |
hash | DATA(32B) | Transaction hash. |
nonce | QUANTITY | Sender nonce for this transaction. |
block | DATA(32B)|null | Hash of the containing block (null while pending). |
block | QUANTITY|null | Number of the containing block (null while pending). |
transaction | QUANTITY|null | Index inside the block (null while pending). |
from | DATA(20B) | Sender address. |
to | DATA(20B)|null | Recipient address (null for contract creation). |
value | QUANTITY | Value transferred in the selected network's native currency, in its smallest units (10^-18 native units on the six published networks). |
gas | QUANTITY | Gas limit provided by the sender. |
gas | QUANTITY | Legacy/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. |
max | QUANTITY | Execution fee cap for dynamic-fee types, including 0x2, 0x3 and 0x4 where supported; conditional field. |
max | QUANTITY | Execution tip cap for dynamic-fee types where supported; conditional field. |
input | DATA | Call data payload. |
type | QUANTITY | 0x0 legacy, 0x1 access-list, 0x2 dynamic-fee, 0x3 blob, 0x4 EIP-7702 authorization. Availability and additional types depend on the selected network. |
chain | QUANTITY | Signing chain ID for replay protection, when encoded by the transaction format; compare with eth_chainId for the selected network. |
access | ARRAY | Access list for supported transaction formats (such as 0x1–0x4); not a guarantee for every numerically larger chain-specific type. |
└address | DATA(20B) | Account to pre-warm; not restricted to contracts. |
└storage | DATA(32B)[] | Storage slots to pre-warm for this account. |
v | QUANTITY | Legacy signature value, including EIP-155 chain-ID encoding where applicable. Typed transactions expose yParity; some clients also return v. |
r | QUANTITY | ECDSA signature r. |
s | QUANTITY | ECDSA signature s. |
y | QUANTITY | Typed-transaction signature parity (0x0 or 0x1), where provided. |
max | QUANTITY | Blob gas fee cap for supported blob transactions; conditional field. |
blob | DATA(32B)[] | Blob versioned hashes for supported blob transactions; conditional field. |
authorization | ARRAY | EIP-7702 authorization tuples for type 0x4 where supported. |
└chain | QUANTITY | Authorization domain chain ID; 0x0 permits all chains under EIP-7702 rules. |
└address | DATA(20B) | Delegated code address. |
└nonce | QUANTITY | Authority nonce bound by this authorization. |
└y | QUANTITY | Authorization signature parity. |
└r | QUANTITY | Authorization signature r. |
└s | QUANTITY | Authorization signature s. |