Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- object
The transaction response object, or null if no transaction is found:
- blockHash
The hash of the block where this log was in. null when it's a pending log
- blockNumber
The block number where this log 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 it's 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": "0x8723b3ce416b0491a757ca648fd4f714f341f0459ab0f053c5f194589ac03aef",6"blockNumber": "0xcec",7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"gas": "0xf4240",9"gasPrice": "0x0",10"hash": "0x79d6c2d313dd8d8af0d3953ed4b6894e5a487bd4084d48dc7c2a0bffe5e47876",11"input": "0x440a5e20000f42400000000000000000000000000000000065f434b0000000000053c81800000000000000000000000000000000000000000000000000000019f11bc96100000000000000000000000000000000000000000000000000000023ad68e864818a621ca966be21eefdbc24710b8d774d24cc4ce16e5af2d0a288425b2540f300000000000000000000000090bb84339856530192cd002533cd7f1290fc5142",12"nonce": "0xcec",13"to": "0x4200000000000000000000000000000000000015",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x7e",17"v": "0x0",18"r": "0x0",19"s": "0x0",20"sourceHash": "0xf076fece5f8551ca40f20c17c20c47968c2c5a972a5e7328d429216d42b6dd79",21"mint": "0x0",22"depositReceiptVersion": "0x1"23}24}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x8723b3ce416b0491a757ca648fd4f714f341f0459ab0f053c5f194589ac03aef",6"blockNumber": "0xcec",7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"gas": "0xf4240",9"gasPrice": "0x0",10"hash": "0x79d6c2d313dd8d8af0d3953ed4b6894e5a487bd4084d48dc7c2a0bffe5e47876",11"input": "0x440a5e20000f42400000000000000000000000000000000065f434b0000000000053c81800000000000000000000000000000000000000000000000000000019f11bc96100000000000000000000000000000000000000000000000000000023ad68e864818a621ca966be21eefdbc24710b8d774d24cc4ce16e5af2d0a288425b2540f300000000000000000000000090bb84339856530192cd002533cd7f1290fc5142",12"nonce": "0xcec",13"to": "0x4200000000000000000000000000000000000015",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x7e",17"v": "0x0",18"r": "0x0",19"s": "0x0",20"sourceHash": "0xf076fece5f8551ca40f20c17c20c47968c2c5a972a5e7328d429216d42b6dd79",21"mint": "0x0",22"depositReceiptVersion": "0x1"23}24}