Parameters
- blockHashstringREQUIRED
The block hash
- indexstringREQUIRED
An integer of the transaction index position encoded as a hexadecimal
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 log was in. null when it's a pending log
- blockTimestampstring
The timestamp of the block where this transaction was included, encoded as hexadecimal
- 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 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
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
- yParitystring
The parity of the y-value of the secp256k1 signature, 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": "0x24ccba7a44a5ebb81249e9c2c86438218fde5146e609c646e5e57bbbdb9fc11a",6"blockNumber": "0x9764c4",7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"gas": "0xf4240",9"gasPrice": "0x0",10"hash": "0xb53e931671b869a1cc2971a827dc6b70c164ffff26d407e6c9ce947d677c74c8",11"input": "0x015d8eb9000000000000000000000000000000000000000000000000000000000123c1b10000000000000000000000000000000000000000000000000000000065b925b70000000000000000000000000000000000000000000000000000000c15c8cf0e45ce1265fc82b3134025d94979f379c353dd8dc205e92def67102e3c14e2074b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000005050f69a9786f081509234f1a7f4684b5e5b76c900000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0",12"nonce": "0x9764c3",13"to": "0x4200000000000000000000000000000000000015",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x7e",17"v": "0x0",18"r": "0x0",19"s": "0x0",20"sourceHash": "0x9ae82271b4dcf8e6cadf8b11bd2e7d6a9e2b5d9e2238d9eec43ab2a5873e305e",21"mint": "0x0",22"depositReceiptVersion": "0x1",23"blockTimestamp": "0x65b9266b"24}25}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x24ccba7a44a5ebb81249e9c2c86438218fde5146e609c646e5e57bbbdb9fc11a",6"blockNumber": "0x9764c4",7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"gas": "0xf4240",9"gasPrice": "0x0",10"hash": "0xb53e931671b869a1cc2971a827dc6b70c164ffff26d407e6c9ce947d677c74c8",11"input": "0x015d8eb9000000000000000000000000000000000000000000000000000000000123c1b10000000000000000000000000000000000000000000000000000000065b925b70000000000000000000000000000000000000000000000000000000c15c8cf0e45ce1265fc82b3134025d94979f379c353dd8dc205e92def67102e3c14e2074b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000005050f69a9786f081509234f1a7f4684b5e5b76c900000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0",12"nonce": "0x9764c3",13"to": "0x4200000000000000000000000000000000000015",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x7e",17"v": "0x0",18"r": "0x0",19"s": "0x0",20"sourceHash": "0x9ae82271b4dcf8e6cadf8b11bd2e7d6a9e2b5d9e2238d9eec43ab2a5873e305e",21"mint": "0x0",22"depositReceiptVersion": "0x1",23"blockTimestamp": "0x65b9266b"24}25}