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
- 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
- maxFeePerGasstring
The maximum fee per gas set in the transaction
- maxPriorityFeePerGasstring
The maximum priority gas fee set in the transaction
- 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"blockHash": "0x20bde2ea857799e989e31e204471efadb9a462901cf4a4ce7b0cc4832813753b",6"blockNumber": "0x2ef76ad",7"from": "0x00000000000000000000000000000000000a4b05",8"gas": "0x0",9"gasPrice": "0x0",10"hash": "0x57017a5058cca740e8998ddceb2e0e6f06c561534b09da7d0fe247fad7d9d1ac",11"input": "0x6bf6a42d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f860940000000000000000000000000000000000000000000000000000000002ef76ad0000000000000000000000000000000000000000000000000000000000000000",12"nonce": "0x0",13"to": "0x00000000000000000000000000000000000a4b05",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x6a",17"chainId": "0xa4b1",18"v": "0x0",19"r": "0x0",20"s": "0x0"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x20bde2ea857799e989e31e204471efadb9a462901cf4a4ce7b0cc4832813753b",6"blockNumber": "0x2ef76ad",7"from": "0x00000000000000000000000000000000000a4b05",8"gas": "0x0",9"gasPrice": "0x0",10"hash": "0x57017a5058cca740e8998ddceb2e0e6f06c561534b09da7d0fe247fad7d9d1ac",11"input": "0x6bf6a42d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f860940000000000000000000000000000000000000000000000000000000002ef76ad0000000000000000000000000000000000000000000000000000000000000000",12"nonce": "0x0",13"to": "0x00000000000000000000000000000000000a4b05",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x6a",17"chainId": "0xa4b1",18"v": "0x0",19"r": "0x0",20"s": "0x0"21}22}