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 | 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
- blockTimestampstring
The timestamp of the block where this transaction was included, encoded as hexadecimal.
- 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
- 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, encoded as hexadecimal. null when it's a pending log
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type
- vstring
The standardized V field of the signature
- rstring
The R field of the signature
- sstring
The S field of the signature
- yParitystring
(Optional) Coordinate of key used in signature
- sourceHashstring
The hash of the source transaction that created this transaction
- mintstring
The minting event associated with the transaction
- depositReceiptVersionstring
The version of a deposit receipt
- chainIdstring
(Optional) The chain ID of the transaction, encoded as hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x294ee346b64498b6f9375e5ceaf04dc0dd8f40f1ba4247e598d0ca4cb57e7152",6"blockNumber": "0x1b15f50",7"transactionIndex": "0x0",8"hash": "0xcfa85227cb945061e31d9c8c7707f01d940e85b3d9f59c57e2248c3ff308dcd2",9"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",10"to": "0x4200000000000000000000000000000000000015",11"input": "0x3db6be2b00000558000c5fc500000000000000050000000069ce8d2700000000017a4f23000000000000000000000000000000000000000000000000000000000c7ba4080000000000000000000000000000000000000000000000000000000000b60a39e98cd37b62cc5287580404ef0e9af5a1283cd7e4ff0c924ace3716dc74c6bb4c0000000000000000000000001ffda89c755f6d4af069897d77ccabb580fd412a000000000000013aa2d138370190",12"nonce": "0x1b15f51",13"value": "0x0",14"gas": "0xf4240",15"gasPrice": "0x0",16"chainId": "0xb67d2",17"type": "0x7e",18"v": "0x0",19"r": "0x0",20"s": "0x0",21"mint": "0x0",22"sourceHash": "0x6304a3145e256a6e6777cb722a5cb9a043e895034a6d4d1ce751b2f04b0231f9",23"depositReceiptVersion": "0x1"24}25}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x294ee346b64498b6f9375e5ceaf04dc0dd8f40f1ba4247e598d0ca4cb57e7152",6"blockNumber": "0x1b15f50",7"transactionIndex": "0x0",8"hash": "0xcfa85227cb945061e31d9c8c7707f01d940e85b3d9f59c57e2248c3ff308dcd2",9"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",10"to": "0x4200000000000000000000000000000000000015",11"input": "0x3db6be2b00000558000c5fc500000000000000050000000069ce8d2700000000017a4f23000000000000000000000000000000000000000000000000000000000c7ba4080000000000000000000000000000000000000000000000000000000000b60a39e98cd37b62cc5287580404ef0e9af5a1283cd7e4ff0c924ace3716dc74c6bb4c0000000000000000000000001ffda89c755f6d4af069897d77ccabb580fd412a000000000000013aa2d138370190",12"nonce": "0x1b15f51",13"value": "0x0",14"gas": "0xf4240",15"gasPrice": "0x0",16"chainId": "0xb67d2",17"type": "0x7e",18"v": "0x0",19"r": "0x0",20"s": "0x0",21"mint": "0x0",22"sourceHash": "0x6304a3145e256a6e6777cb722a5cb9a043e895034a6d4d1ce751b2f04b0231f9",23"depositReceiptVersion": "0x1"24}25}