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 unix timestamp for when the block was collated, 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
- accessListarray
A list of addresses and storage keys that the transaction plans to access
- chainIdstring
The chain id of the transaction, if any
- 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"chainId": "0x38",7"nonce": "0x16",8"gasPrice": "0x826299e00",9"gas": "0x3d090",10"to": "0x22cc57c9ec341152834f216289a1824d61b47855",11"value": "0x0",12"input": "0xe2bbb15800000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000004f1a77ccd3ba0000",13"r": "0xfc32ee2fee75718593b0f09b964c5cae54188b8d0556e525af1a811b501dd9b0",14"s": "0x589cd02a49468c49e48b2c1dd854026a9de7b87b0828af1ea7565c9148ee8377",15"v": "0x93",16"hash": "0x4847b1ebcbd04297a1d01c9724da0101d5fefd5f9d9f22068056231f0707f355",17"blockHash": "0x94c626286c237e187454ddd993adc534f0ce3468aaec134a39fbd52185cc3a5f",18"blockNumber": "0x52a96e",19"transactionIndex": "0x0",20"from": "0xb0fbdb31e382b7186d8d08c4a09c935a33a0996e",21"blockTimestamp": "0x604246de"22}23}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"chainId": "0x38",7"nonce": "0x16",8"gasPrice": "0x826299e00",9"gas": "0x3d090",10"to": "0x22cc57c9ec341152834f216289a1824d61b47855",11"value": "0x0",12"input": "0xe2bbb15800000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000004f1a77ccd3ba0000",13"r": "0xfc32ee2fee75718593b0f09b964c5cae54188b8d0556e525af1a811b501dd9b0",14"s": "0x589cd02a49468c49e48b2c1dd854026a9de7b87b0828af1ea7565c9148ee8377",15"v": "0x93",16"hash": "0x4847b1ebcbd04297a1d01c9724da0101d5fefd5f9d9f22068056231f0707f355",17"blockHash": "0x94c626286c237e187454ddd993adc534f0ce3468aaec134a39fbd52185cc3a5f",18"blockNumber": "0x52a96e",19"transactionIndex": "0x0",20"from": "0xb0fbdb31e382b7186d8d08c4a09c935a33a0996e",21"blockTimestamp": "0x604246de"22}23}