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
- maxFeePerGasstring
The maximum fee per gas set in the transaction
- maxPriorityFeePerGasstring
The maximum priority gas fee set in the transaction
- 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
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
- 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
- yParitystring
Coordinate of key used in signature
1{2"jsonrpc": "2.0",3"result": {4"type": "0x2",5"maxPriorityFeePerGas": "0x18e9b26e00",6"maxFeePerGas": "0x18e9b26e46",7"accessList": [],8"yParity": "0x1",9"chainId": "0x51",10"nonce": "0x56aac4",11"to": "0x5cfce8669c672df27e3d6cad41859328932ec278",12"from": "0x5cfce8669c672df27e3d6cad41859328932ec278",13"value": "0x0",14"input": "0x",15"gasPrice": "0x18e9b26e07",16"v": "0x1",17"r": "0x24e632feef2946eac65dae36358975a4f74a235126396ecdb7090d4741189c6f",18"s": "0x1549364ec6f6d0a00137aa7ee4b7404d5e9edc34d0ef1f32e41528037017360c",19"hash": "0xff4893e5a3d7c9669bbf1351fb1bf96ca1649fd0e759f7f354f7eb3c5dd95aa1",20"transactionIndex": "0x0",21"blockHash": "0x9b1ebd3426e7a59a32d39ff106fb75e71f79201b8fcdaf3c656efb914b5851ab",22"blockNumber": "0xe474f6",23"gas": "0x5208"24},25"id": 126}
1{2"jsonrpc": "2.0",3"result": {4"type": "0x2",5"maxPriorityFeePerGas": "0x18e9b26e00",6"maxFeePerGas": "0x18e9b26e46",7"accessList": [],8"yParity": "0x1",9"chainId": "0x51",10"nonce": "0x56aac4",11"to": "0x5cfce8669c672df27e3d6cad41859328932ec278",12"from": "0x5cfce8669c672df27e3d6cad41859328932ec278",13"value": "0x0",14"input": "0x",15"gasPrice": "0x18e9b26e07",16"v": "0x1",17"r": "0x24e632feef2946eac65dae36358975a4f74a235126396ecdb7090d4741189c6f",18"s": "0x1549364ec6f6d0a00137aa7ee4b7404d5e9edc34d0ef1f32e41528037017360c",19"hash": "0xff4893e5a3d7c9669bbf1351fb1bf96ca1649fd0e759f7f354f7eb3c5dd95aa1",20"transactionIndex": "0x0",21"blockHash": "0x9b1ebd3426e7a59a32d39ff106fb75e71f79201b8fcdaf3c656efb914b5851ab",22"blockNumber": "0xe474f6",23"gas": "0x5208"24},25"id": 126}