Parameters
- blockNumberstringREQUIRED
The block number as a string in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators
- 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
- blockTimestampstring
The timestamp of the block where this transaction was included, encoded as hexadecimal.
- depositReceiptVersionstring
The version of a deposit receipt
- 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
- mintstring
The minting event associated with the transaction
- noncestring
The number of transactions made by the sender prior to this one encoded as hexadecimal
- rstring
The R field of the signature
- sstring
The S field of the signature
- sourceHashstring
The hash of the source transaction that created this transaction
- 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
- typestring
The transaction type
- vstring
The standardized V field of the signature
- valuestring
The value transferred in wei encoded as hexadecimal
- yParitystring
The parity of the y-value of the secp256k1 signature, encoded as hexadecimal.
1{2"jsonrpc": "2.0",3"result": {4"blockHash": "0x415aac98a7007e1e40980402bf6c52c077dd8d2e137dfea24da702b04486bf26",5"blockNumber": "0x205203b",6"blockTimestamp": "0x6a870c97",7"depositReceiptVersion": "0x1",8"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",9"gas": "0xf4240",10"gasPrice": "0x0",11"hash": "0xf195555ac15f2c4c77f0256f092633ae39395c81a1345bdf51dc029e3a393992",12"input": "0x3db6be2b00000558000c3c9d0000000000000000000000006a870c440000000000afed6d00000000000000000000000000000000000000000000000000000000396b08e40000000000000000000000000000000000000000000000000000000003e06a9ce5d14bf21ebe80b3b37518cb46126768a8057c6bbf1d22198a640785d4d85fc70000000000000000000000001caaaa58002a7e8b4c6f427ac2c943767b4d6cd70000000000000000000000000190",13"mint": "0x0",14"nonce": "0x2052059",15"r": "0x0",16"s": "0x0",17"sourceHash": "0xec39cc33f5f4653dc1684028ec571ad6cc61f4ae94a7960b5222bd1e5a2795ea",18"to": "0x4200000000000000000000000000000000000015",19"transactionIndex": "0x0",20"type": "0x7e",21"v": "0x0",22"value": "0x0",23"yParity": "0x0"24},25"id": 126}
1{2"jsonrpc": "2.0",3"result": {4"blockHash": "0x415aac98a7007e1e40980402bf6c52c077dd8d2e137dfea24da702b04486bf26",5"blockNumber": "0x205203b",6"blockTimestamp": "0x6a870c97",7"depositReceiptVersion": "0x1",8"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",9"gas": "0xf4240",10"gasPrice": "0x0",11"hash": "0xf195555ac15f2c4c77f0256f092633ae39395c81a1345bdf51dc029e3a393992",12"input": "0x3db6be2b00000558000c3c9d0000000000000000000000006a870c440000000000afed6d00000000000000000000000000000000000000000000000000000000396b08e40000000000000000000000000000000000000000000000000000000003e06a9ce5d14bf21ebe80b3b37518cb46126768a8057c6bbf1d22198a640785d4d85fc70000000000000000000000001caaaa58002a7e8b4c6f427ac2c943767b4d6cd70000000000000000000000000190",13"mint": "0x0",14"nonce": "0x2052059",15"r": "0x0",16"s": "0x0",17"sourceHash": "0xec39cc33f5f4653dc1684028ec571ad6cc61f4ae94a7960b5222bd1e5a2795ea",18"to": "0x4200000000000000000000000000000000000015",19"transactionIndex": "0x0",20"type": "0x7e",21"v": "0x0",22"value": "0x0",23"yParity": "0x0"24},25"id": 126}