Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject
The transaction response object or null if no transaction is found
- blockHashstring
The hash of the block where this transaction was included, null when pending
- blockNumberstring
The block number where this transaction was included, 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
The maximum total fee per gas in wei encoded as hexadecimal (EIP-1559)
- maxPriorityFeePerGasstring
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
The address of the receiver, null when the transaction created a contract
- transactionIndexstring
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
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)
- yParitystring
The parity bit of the transaction signature encoded as a hexadecimal string
- 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": {5"blockHash": "0xb0df38c850b7233739baf3981174220ebd30c71a7e9d838d0971123551315a8c",6"blockNumber": "0x2b835e",7"from": "0x8afdf3cb67d1ff5abfd6f6c137d9e8bcff647593",8"gas": "0xf5920",9"gasPrice": "0x400746fe00",10"maxFeePerGas": "0x400746fe00",11"maxPriorityFeePerGas": "0x400746fe00",12"hash": "0xd6f3d4564a11f41c48cafd63803922539b0857c132ba3c23c683afaa74edc277",13"input": "0xd9facbed00000000000000000000000000000000000000000006f0dad1de3749fdf69b6200000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008afdf3cb67d1ff5abfd6f6c137d9e8bcff647593000000000000000000000000000000000000000000000000000000006900ce83000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000007c21a90e3ecd3215d16c3bbe76a491f8f792d4bf000000000000000000000000c2af05cfdc44b8b57b0cfacfe6c0c1102069d3e60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a9833699fbb0e3759a3c381deb43a61df99e8544",14"nonce": "0xa",15"to": "0x422716760d83f89186013d9cc7bfcc482d3e04d2",16"transactionIndex": "0x0",17"value": "0x4563918244f40000",18"type": "0x2",19"accessList": [],20"chainId": "0x15f900",21"v": "0x1",22"r": "0xd81f5b9eb89ba971e12aba4b6e07511be282254f3329ec1abd5c8dacd212a753",23"s": "0x4f06866990970d79c56fb408eb506b186b51b66dfd507dd616f4404b423a1687",24"yParity": "0x0"25}26}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xb0df38c850b7233739baf3981174220ebd30c71a7e9d838d0971123551315a8c",6"blockNumber": "0x2b835e",7"from": "0x8afdf3cb67d1ff5abfd6f6c137d9e8bcff647593",8"gas": "0xf5920",9"gasPrice": "0x400746fe00",10"maxFeePerGas": "0x400746fe00",11"maxPriorityFeePerGas": "0x400746fe00",12"hash": "0xd6f3d4564a11f41c48cafd63803922539b0857c132ba3c23c683afaa74edc277",13"input": "0xd9facbed00000000000000000000000000000000000000000006f0dad1de3749fdf69b6200000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008afdf3cb67d1ff5abfd6f6c137d9e8bcff647593000000000000000000000000000000000000000000000000000000006900ce83000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000007c21a90e3ecd3215d16c3bbe76a491f8f792d4bf000000000000000000000000c2af05cfdc44b8b57b0cfacfe6c0c1102069d3e60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a9833699fbb0e3759a3c381deb43a61df99e8544",14"nonce": "0xa",15"to": "0x422716760d83f89186013d9cc7bfcc482d3e04d2",16"transactionIndex": "0x0",17"value": "0x4563918244f40000",18"type": "0x2",19"accessList": [],20"chainId": "0x15f900",21"v": "0x1",22"r": "0xd81f5b9eb89ba971e12aba4b6e07511be282254f3329ec1abd5c8dacd212a753",23"s": "0x4f06866990970d79c56fb408eb506b186b51b66dfd507dd616f4404b423a1687",24"yParity": "0x0"25}26}