Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject | null
The transaction response object or null if no transaction is found
- blockHashstring | null
The hash of the block where this transaction was included, null when pending
- blockNumberstring | null
The block number where this transaction was included, encoded as a hexadecimal. null when pending
- fromstring
The address of the sender
- gasstring
The gas provided by the sender encoded as hexadecimal
- gasPricestring
The gas price provided by the sender in wei encoded as hexadecimal
- maxFeePerGasstring
(Optional) The maximum total fee per gas in wei encoded as hexadecimal (EIP-1559)
- maxPriorityFeePerGasstring
(Optional) The maximum priority fee per gas in wei encoded as hexadecimal (EIP-1559)
- hashstring
The hash of the transaction
- inputstring
The data sent along with the transaction
- noncestring
The number of transactions made by the sender prior to this one encoded as hexadecimal
- tostring | null
The address of the receiver, null when the transaction created a contract
- transactionIndexstring | null
The index position of the transaction in the block, null when pending
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type encoded as hexadecimal (e.g., 0x2 for EIP-1559)
- accessListarray
(Optional) The optional access list for EIP-2930/1559 transactions
- chainIdstring
The chain ID where the transaction was executed encoded as hexadecimal
- vstring
The standardized V field of the transaction signature (recovery ID or y-parity)
- rstring
The R field of the transaction signature
- sstring
The S field of the transaction signature
1{2"jsonrpc": "2.0",3"id": 1,4"result": null5}
1{2"jsonrpc": "2.0",3"id": 1,4"result": null5}