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:
- hashstring
The hash of the transaction
- noncestring
The number of transactions made by the sender before this one encoded as hexadecimal
- 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
- transactionIndexstring
The integer of the transaction's index position that the log was created from. null when it's a pending log
- fromstring
The address of the sender
- tostring
The address of the receiver. null when it's a contract creation transaction
- valuestring
The value transferred in wei encoded as hexadecimal
- gasPricestring
The gas price provided by the sender in wei, encoded as hexadecimal
- gasstring
The gas provided by the sender, encoded as hexadecimal
- inputstring
The data sent along with the transaction
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
- typestring
The transaction type
- chainIdstring
The chain id of the transaction, if any
1{2"jsonrpc": "2.0",3"result": {4"type": "0x0",5"chainId": "0x8f",6"nonce": "0x3cf83d",7"gasPrice": "0x0",8"gas": "0x0",9"to": "0x0000000000000000000000000000000000001000",10"value": "0x15af1d78b58c40000",11"input": "0x791bdcf300000000000000000000000007290809a5a5d4d514b69cf507baa2e703ae3aa0",12"r": "0x9f5500e64f2cb325af0b5de78c422dbf6be83513be767f69474a66f306fa3166",13"s": "0x732f7de395c2ca1967b47ae6827ae996f8a2ddb0c2f385aaca4012c6dc2cb91f",14"v": "0x142",15"hash": "0x83a030823858b9c8fce29a85161a15944d0863c786d6d28c050dee7406d5b1b4",16"blockHash": "0x07094d0832e933bea5769a068c7e66393b23c6175f5ff63beedef731fe056bf0",17"blockNumber": "0x23f43c2",18"transactionIndex": "0x0",19"from": "0x6f49a8f621353f12378d0046e7d7e4b9b249dc9e"20},21"id": 122}
1{2"jsonrpc": "2.0",3"result": {4"type": "0x0",5"chainId": "0x8f",6"nonce": "0x3cf83d",7"gasPrice": "0x0",8"gas": "0x0",9"to": "0x0000000000000000000000000000000000001000",10"value": "0x15af1d78b58c40000",11"input": "0x791bdcf300000000000000000000000007290809a5a5d4d514b69cf507baa2e703ae3aa0",12"r": "0x9f5500e64f2cb325af0b5de78c422dbf6be83513be767f69474a66f306fa3166",13"s": "0x732f7de395c2ca1967b47ae6827ae996f8a2ddb0c2f385aaca4012c6dc2cb91f",14"v": "0x142",15"hash": "0x83a030823858b9c8fce29a85161a15944d0863c786d6d28c050dee7406d5b1b4",16"blockHash": "0x07094d0832e933bea5769a068c7e66393b23c6175f5ff63beedef731fe056bf0",17"blockNumber": "0x23f43c2",18"transactionIndex": "0x0",19"from": "0x6f49a8f621353f12378d0046e7d7e4b9b249dc9e"20},21"id": 122}