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
(Optional) The maximum fee per gas set in the transaction
- maxPriorityFeePerGasstring
(Optional) 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 prior to 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
(Optional) A list of addresses and storage keys that the transaction plans to access
- chainIdstring
The chain id
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
- yParitystring
(Optional) The yParity field of the signature
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"chainId": "0x138de",7"nonce": "0x36a9",8"gasPrice": "0x2dc6c08",9"gas": "0x35f30",10"to": "0x3c2269811836af69497e5f486a85d7316753cf62",11"value": "0x0",12"input": "0x3161b7f60000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000b7000000000000000000000000000000000000000000000681313b502a2f490001000000000000000000000000000000000000000000000000000000000b1e6b670000000000000000000000000000000000000000000000000000000000000010",13"r": "0x2d3cab9ddb0bb42e54bc4f4da3159e4c2800e2b93881c924ddcbb1a9370ad025",14"s": "0x41d27d427d99b91d6206d8c88ab0b9d089f7f3b40189b55f351a878f69f8069e",15"v": "0x271df",16"hash": "0xebe19ace02c22f8d0663e7e7139f4158fd1198047ccdc151e348cdfb050353de",17"blockHash": "0xde9f192fcf109d289842a6fa08e4ec7a142da5bc1a69e6b71f5a3f017a848c9b",18"blockNumber": "0x5014c",19"transactionIndex": "0x0",20"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"chainId": "0x138de",7"nonce": "0x36a9",8"gasPrice": "0x2dc6c08",9"gas": "0x35f30",10"to": "0x3c2269811836af69497e5f486a85d7316753cf62",11"value": "0x0",12"input": "0x3161b7f60000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000b7000000000000000000000000000000000000000000000681313b502a2f490001000000000000000000000000000000000000000000000000000000000b1e6b670000000000000000000000000000000000000000000000000000000000000010",13"r": "0x2d3cab9ddb0bb42e54bc4f4da3159e4c2800e2b93881c924ddcbb1a9370ad025",14"s": "0x41d27d427d99b91d6206d8c88ab0b9d089f7f3b40189b55f351a878f69f8069e",15"v": "0x271df",16"hash": "0xebe19ace02c22f8d0663e7e7139f4158fd1198047ccdc151e348cdfb050353de",17"blockHash": "0xde9f192fcf109d289842a6fa08e4ec7a142da5bc1a69e6b71f5a3f017a848c9b",18"blockNumber": "0x5014c",19"transactionIndex": "0x0",20"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749"21}22}