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
(Conditional) 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
- chainIdstring
(Conditional) The chain ID of the transaction, encoded as hexadecimal
- yParitystring
Signature recovery parity, encoded as hexadecimal.
- blockTimestampstring
Timestamp of the containing block, encoded as hexadecimal.
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x13",6"gas": "0x1c9c380",7"nonce": "0x4ffff",8"to": "0x0000000000000000000000000000000000002002",9"value": "0x3782dace9d900000",10"input": "0x092193ab000000000000000000000000514708beda3441cc4e141f8546c096eaab7c8a05",11"r": "0x1",12"s": "0x2",13"yParity": "0x0",14"v": "0x0",15"hash": "0x5d005403489e1bc301344d2b51fa7f403372cf4e7941c2861aa320f1605c9dd4",16"blockHash": "0x464dc0fc78ef448e18597261ac67ecfdf3c5a6ba0a86d30947ca4d379f0fc46b",17"blockNumber": "0x50000",18"transactionIndex": "0x0",19"from": "0xfffffffffffffffffffffffffffffffffffffffe",20"blockTimestamp": "0x6a8e16c4"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x13",6"gas": "0x1c9c380",7"nonce": "0x4ffff",8"to": "0x0000000000000000000000000000000000002002",9"value": "0x3782dace9d900000",10"input": "0x092193ab000000000000000000000000514708beda3441cc4e141f8546c096eaab7c8a05",11"r": "0x1",12"s": "0x2",13"yParity": "0x0",14"v": "0x0",15"hash": "0x5d005403489e1bc301344d2b51fa7f403372cf4e7941c2861aa320f1605c9dd4",16"blockHash": "0x464dc0fc78ef448e18597261ac67ecfdf3c5a6ba0a86d30947ca4d379f0fc46b",17"blockNumber": "0x50000",18"transactionIndex": "0x0",19"from": "0xfffffffffffffffffffffffffffffffffffffffe",20"blockTimestamp": "0x6a8e16c4"21}22}