Parameters
- blockHashstringREQUIRED
The block hash
- indexstringREQUIRED
An integer of the transaction index position encoded as a hexadecimal
Returns
- objectobject
The transaction response object, or null if no transaction is found:
- blockHashstring
The hash of the block where this log was in. null when it's a pending log
- blockNumberstring
The block number where this log was in. null when it's a pending log
- 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
- 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 it's a contract creation transaction
- transactionIndexstring
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
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
- yParitystring
The transaction y parity value encoded as hexadecimal
- sourceHashstring
The hash of the source transaction that created this transaction
- mintstring
The minting event associated with the transaction
- depositReceiptVersionstring
The version of a deposit receipt
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x0fcefe6a55cda5ea6975653cf232ce0f4cc81fc4f2daea45aef0d19271e8f094",6"blockNumber": "0x657d14",7"blockTimestamp": "0x69d02cc7",8"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",9"gas": "0xf4240",10"gasPrice": "0x0",11"hash": "0xc02a7982a1355a19caa5eee5648723ec7549b1d8b153cd380c262ec3426a8bde",12"input": "0x440a5e20000021f9000c5f4f0000000000000003000000006745f4ab00000000014499e90000000000000000000000000000000000000000000000000000000322a07c92000000000000000000000000000000000000000000000000000000069849e63dd2b0b2de0a42c9144bd999d61ad80ef4409cbfd5342d3ee35cd63ab41bcd576c000000000000000000000000dbbe3d8c2d2b22a2611c5a94a9a12c2fcd49eb29",13"nonce": "0x657d15",14"to": "0x4200000000000000000000000000000000000015",15"transactionIndex": "0x0",16"value": "0x0",17"type": "0x7e",18"v": "0x0",19"r": "0x0",20"s": "0x0",21"sourceHash": "0x565c81b3fba01c3e1db6b632bb382ef49ebae5e1430114a5090c3e4280c8d56b",22"mint": "0x0",23"depositReceiptVersion": "0x1"24}25}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x0fcefe6a55cda5ea6975653cf232ce0f4cc81fc4f2daea45aef0d19271e8f094",6"blockNumber": "0x657d14",7"blockTimestamp": "0x69d02cc7",8"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",9"gas": "0xf4240",10"gasPrice": "0x0",11"hash": "0xc02a7982a1355a19caa5eee5648723ec7549b1d8b153cd380c262ec3426a8bde",12"input": "0x440a5e20000021f9000c5f4f0000000000000003000000006745f4ab00000000014499e90000000000000000000000000000000000000000000000000000000322a07c92000000000000000000000000000000000000000000000000000000069849e63dd2b0b2de0a42c9144bd999d61ad80ef4409cbfd5342d3ee35cd63ab41bcd576c000000000000000000000000dbbe3d8c2d2b22a2611c5a94a9a12c2fcd49eb29",13"nonce": "0x657d15",14"to": "0x4200000000000000000000000000000000000015",15"transactionIndex": "0x0",16"value": "0x0",17"type": "0x7e",18"v": "0x0",19"r": "0x0",20"s": "0x0",21"sourceHash": "0x565c81b3fba01c3e1db6b632bb382ef49ebae5e1430114a5090c3e4280c8d56b",22"mint": "0x0",23"depositReceiptVersion": "0x1"24}25}