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, encoded as hexadecimal. null when it's a pending log
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type
- chainIdstring
(Optional) The chain id of the blockchain
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"nonce": "0x100026",7"gasPrice": "0xba43b7400",8"gas": "0x1c9c380",9"to": "0x00000000000000000000000000000001625f2004",10"value": "0x0",11"input": "0x8d4adfd500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000652608e313f5a0000000000000000000000000000000000000000000000000000000000000000",12"r": "0x0",13"s": "0x0",14"v": "0x1b",15"hash": "0x091bd81bdfa55c663c48be7b4412d10f6533acbccac7beb43cdd7a8d3c945afc",16"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",17"blockNumber": "0x100000",18"transactionIndex": "0x0",19"from": "0x00000000000000000000000000000001625f0000"20}21}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"nonce": "0x100026",7"gasPrice": "0xba43b7400",8"gas": "0x1c9c380",9"to": "0x00000000000000000000000000000001625f2004",10"value": "0x0",11"input": "0x8d4adfd500000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000652608e313f5a0000000000000000000000000000000000000000000000000000000000000000",12"r": "0x0",13"s": "0x0",14"v": "0x1b",15"hash": "0x091bd81bdfa55c663c48be7b4412d10f6533acbccac7beb43cdd7a8d3c945afc",16"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",17"blockNumber": "0x100000",18"transactionIndex": "0x0",19"from": "0x00000000000000000000000000000001625f0000"20}21}