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 containing this transaction. null when pending
- blockNumberstring
The block number containing this transaction. 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 fee per gas
- maxPriorityFeePerGasstring
The maximum priority fee per gas
- hashstring
The hash of the transaction
- inputstring
The data sent along with the transaction
- noncestring
The number of transactions made by the sender before this one encoded as hexadecimal
- tostring
The address of the receiver. null when it's a contract creation transaction
- transactionIndexstring
The index position of the transaction in the block encoded as hexadecimal. null when pending
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type encoded as hexadecimal
- accessListarray
The access list for the transaction
- chainIdstring
The chain ID
- vstring
The V field of the transaction signature encoded as hexadecimal
- rstring
The R field of the transaction signature
- sstring
The S field of the transaction signature
- yParitystring
The y-parity of the transaction signature encoded as hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xd2ef4e91af5fc49137909f323104a64f99a5d500086b5299bacb33d10eb9d17c",6"blockNumber": "0x6d000",7"from": "0xf4e84fee3aa08aec9c2580260311d28de371d937",8"gas": "0x493e0",9"gasPrice": "0x13134d0",10"maxFeePerGas": "0x2625a00",11"maxPriorityFeePerGas": "0x0",12"hash": "0x33dec5073161051abab063f8dc8d93674d32c77a362054eb2b29acb880f23314",13"input": "0xb6621842000000000000000000000000000000000000000000000000000000039cf985fd0000000000000000000000000000000000000000000000000000000000000000",14"nonce": "0x1b33",15"to": "0x4e5b9fc9df660c355743f8b6dd79389db8dcd836",16"transactionIndex": "0x1",17"value": "0x0",18"type": "0x2",19"accessList": [],20"chainId": "0x1237",21"v": "0x1",22"r": "0x8d5b16a77fad7275d950550609fafd69bdfb2fa4040fd1c841189e62dd03c282",23"s": "0xa49d48f7c8f80fbb4db268c3b87a6896aab6c0c11458fcabadb81052b506957",24"yParity": "0x1"25}26}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xd2ef4e91af5fc49137909f323104a64f99a5d500086b5299bacb33d10eb9d17c",6"blockNumber": "0x6d000",7"from": "0xf4e84fee3aa08aec9c2580260311d28de371d937",8"gas": "0x493e0",9"gasPrice": "0x13134d0",10"maxFeePerGas": "0x2625a00",11"maxPriorityFeePerGas": "0x0",12"hash": "0x33dec5073161051abab063f8dc8d93674d32c77a362054eb2b29acb880f23314",13"input": "0xb6621842000000000000000000000000000000000000000000000000000000039cf985fd0000000000000000000000000000000000000000000000000000000000000000",14"nonce": "0x1b33",15"to": "0x4e5b9fc9df660c355743f8b6dd79389db8dcd836",16"transactionIndex": "0x1",17"value": "0x0",18"type": "0x2",19"accessList": [],20"chainId": "0x1237",21"v": "0x1",22"r": "0x8d5b16a77fad7275d950550609fafd69bdfb2fa4040fd1c841189e62dd03c282",23"s": "0xa49d48f7c8f80fbb4db268c3b87a6896aab6c0c11458fcabadb81052b506957",24"yParity": "0x1"25}26}