Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject
The transaction response object, or null if no transaction is found:
- blockHash
The hash of the block where this transaction was in. Null when it's a pending log
- blockNumber
The block number where this transaction was in. Null when it's a pending log
- from
The address of the sender
- gas
The gas provided by the sender, encoded as hexadecimal
- gasPrice
The gas price provided by the sender in wei encoded as hexadecimal
- hash
The hash of the transaction
- input
The data sent along with the transaction
- nonce
The number of transactions made by the sender prior to this one encoded as hexadecimal
- to
The address of the receiver. Null when its a contract creation transaction
- transactionIndex
The integer of the transaction's index position that the log was created from. Null when it's a pending log
- value
The value transferred in wei encoded as hexadecimal
- type
The transaction type
- v
The standardized V field of the signature
- r
The R field of the signature
- s
The S field of the signature
- sourceHash
The hash of the source transaction that created this transaction
- mint
The minting event associated with the transaction
- depositReceiptVersion
The version of a deposit receipt
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x14fcb43cea36af13795b19ef4ff8c8cf9de0150c4e7fe1288b85ba75e978f622",6"blockNumber": "0x3a09c",7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"gas": "0xf4240",9"gasPrice": "0x0",10"hash": "0x99610cbf06d10e78a65544106230ebce6821aa4b79da6e8b4836edaac2a72d5e",11"input": "0x440a5e2000000558000c5fc500000000000000060000000067121f580000000000693e8e00000000000000000000000000000000000000000000000000000004a18b03150000000000000000000000000000000000000000000000000000000000000001c0536a72c36c8d0ad5fb63c426c0d75c2b22521b343b239f4670f50a61c6432e00000000000000000000000021e57c21530bc33f12ba96c9ddc135488365002f",12"nonce": "0x3a09b",13"to": "0x4200000000000000000000000000000000000015",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x7e",17"v": "0x0",18"r": "0x0",19"s": "0x0",20"sourceHash": "0x14c95baf62075e42b4cc43965af592bcfda1acfa590f773354fbd84c7cde9bb9",21"mint": "0x0",22"depositReceiptVersion": "0x1"23}24}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x14fcb43cea36af13795b19ef4ff8c8cf9de0150c4e7fe1288b85ba75e978f622",6"blockNumber": "0x3a09c",7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"gas": "0xf4240",9"gasPrice": "0x0",10"hash": "0x99610cbf06d10e78a65544106230ebce6821aa4b79da6e8b4836edaac2a72d5e",11"input": "0x440a5e2000000558000c5fc500000000000000060000000067121f580000000000693e8e00000000000000000000000000000000000000000000000000000004a18b03150000000000000000000000000000000000000000000000000000000000000001c0536a72c36c8d0ad5fb63c426c0d75c2b22521b343b239f4670f50a61c6432e00000000000000000000000021e57c21530bc33f12ba96c9ddc135488365002f",12"nonce": "0x3a09b",13"to": "0x4200000000000000000000000000000000000015",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x7e",17"v": "0x0",18"r": "0x0",19"s": "0x0",20"sourceHash": "0x14c95baf62075e42b4cc43965af592bcfda1acfa590f773354fbd84c7cde9bb9",21"mint": "0x0",22"depositReceiptVersion": "0x1"23}24}