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
- 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 before 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
A list of addresses and storage keys that the transaction plans to access
- blockTimestampstring
The timestamp of the block containing this transaction, encoded as a hexadecimal value.
- 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
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x3efeffd571d944e1dac62634711c39ef842206499a09cd618fe9ac1db6f12ce9",6"blockNumber": "0xcedca",7"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",8"gas": "0x1b40d0",9"gasPrice": "0xcf31b273",10"hash": "0x917d0ccbe796c7dfe9452a24c6845d3300052b60cc69d821192928b964abdb4c",11"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e5000000000000000000000000000000000000000000000000000000000000006f4c74df74eefaa75eaf959507c071430f4f27642949543e96e6cba4e7e6d8894c00000000000000000000000000000000000000000000000000000000000000144c74df74eefaa75eaf959507c071430f4f27642949543e96e6cba4e7e6d8894c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008208ce204608b925efc48ecdb5936c3cb4bbc0b53f880699fed9037f9f7830fc0d6a69b060f0126d9ba6c4e7e201e5eeb5dd4dec22c68adaba620af7b9a40802191b38c29d578b422f7e3d579c0831772c6c4d139e043a4215884690c2ec7f4304e53b0b8f54ebbf439451a6dbbc831a5d7493a80478a8c49a1d6d1ec3311d547ac01b000000000000000000000000000000000000000000000000000000000000",12"nonce": "0x67be9",13"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x0",17"chainId": "0xe708",18"v": "0x1ce34",19"r": "0x58387b3572eb0ff51f950abd6e722368e2b3c559e7ce9e278e6f0a3b91f37595",20"s": "0x3a25ebbbdbda4fc0f2932b452a9adbf4db28ea32d07e2faac8371dcae7221ec7"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x3efeffd571d944e1dac62634711c39ef842206499a09cd618fe9ac1db6f12ce9",6"blockNumber": "0xcedca",7"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",8"gas": "0x1b40d0",9"gasPrice": "0xcf31b273",10"hash": "0x917d0ccbe796c7dfe9452a24c6845d3300052b60cc69d821192928b964abdb4c",11"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e5000000000000000000000000000000000000000000000000000000000000006f4c74df74eefaa75eaf959507c071430f4f27642949543e96e6cba4e7e6d8894c00000000000000000000000000000000000000000000000000000000000000144c74df74eefaa75eaf959507c071430f4f27642949543e96e6cba4e7e6d8894c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008208ce204608b925efc48ecdb5936c3cb4bbc0b53f880699fed9037f9f7830fc0d6a69b060f0126d9ba6c4e7e201e5eeb5dd4dec22c68adaba620af7b9a40802191b38c29d578b422f7e3d579c0831772c6c4d139e043a4215884690c2ec7f4304e53b0b8f54ebbf439451a6dbbc831a5d7493a80478a8c49a1d6d1ec3311d547ac01b000000000000000000000000000000000000000000000000000000000000",12"nonce": "0x67be9",13"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x0",17"chainId": "0xe708",18"v": "0x1ce34",19"r": "0x58387b3572eb0ff51f950abd6e722368e2b3c559e7ce9e278e6f0a3b91f37595",20"s": "0x3a25ebbbdbda4fc0f2932b452a9adbf4db28ea32d07e2faac8371dcae7221ec7"21}22}