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 log was in. null when it's a pending log
- blockNumberstring | null
The block number where this transaction was in, encoded as a hexadecimal. null when it is a pending transaction
- 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 fee per gas set in the transaction
- maxPriorityFeePerGasstring
(Optional) The maximum priority gas fee set in the transaction
- 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 | null
The address of the receiver. null when it's a contract creation transaction
- transactionIndexstring | null
The integer of the transaction's index position that the log was created from. null when it's a pending log
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type
- accessListarray
(Optional) A list of addresses and storage keys that the transaction plans to access
- chainIdstring
(Optional) The chain id
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
- yParitystring
(Optional) Coordinate of key used in signature
- sourceHashstring
(Optional) The hash of the source transaction that created this transaction
- mintstring
(Optional) The minting event associated with the transaction
- depositReceiptVersionstring
(Optional) The version of a deposit receipt
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x9cec7b01259d70696917dd09756062db2cad5c67256a33cb980e7f2d79d03ed9",6"blockNumber": "0x1bed10",7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"gas": "0xf4240",9"gasPrice": "0x0",10"hash": "0x37a900cf0edaa9bfc3612489a3af63886fb91c5e34dca645bd76003a9138b467",11"input": "0x440a5e20000f424000000000000000000000000000000000682dbf37000000000157cc20000000000000000000000000000000000000000000000000000000002e9d9f550000000000000000000000000000000000000000000000000000000000000001352bef4cc04bea5f9751a1944e101e89c47e4028e970917b7a1fe5d889bb4f5300000000000000000000000065115c6d23274e0a29a63b69130efe901aa52e7a",12"nonce": "0x1bed10",13"to": "0x4200000000000000000000000000000000000015",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x7e",17"v": "0x0",18"r": "0x0",19"s": "0x0",20"sourceHash": "0x9cbd4d4b87684eeddb956693b43db919ae6b7d69bcef311e3548befea6c85684",21"mint": "0x0",22"depositReceiptVersion": "0x1"23}24}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x9cec7b01259d70696917dd09756062db2cad5c67256a33cb980e7f2d79d03ed9",6"blockNumber": "0x1bed10",7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"gas": "0xf4240",9"gasPrice": "0x0",10"hash": "0x37a900cf0edaa9bfc3612489a3af63886fb91c5e34dca645bd76003a9138b467",11"input": "0x440a5e20000f424000000000000000000000000000000000682dbf37000000000157cc20000000000000000000000000000000000000000000000000000000002e9d9f550000000000000000000000000000000000000000000000000000000000000001352bef4cc04bea5f9751a1944e101e89c47e4028e970917b7a1fe5d889bb4f5300000000000000000000000065115c6d23274e0a29a63b69130efe901aa52e7a",12"nonce": "0x1bed10",13"to": "0x4200000000000000000000000000000000000015",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x7e",17"v": "0x0",18"r": "0x0",19"s": "0x0",20"sourceHash": "0x9cbd4d4b87684eeddb956693b43db919ae6b7d69bcef311e3548befea6c85684",21"mint": "0x0",22"depositReceiptVersion": "0x1"23}24}