Parameters
- blockHashstringREQUIRED
The block hash
- 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
- maxFeePerGasstring
The maximum fee per gas set in the transaction
- maxPriorityFeePerGasstring
The maximum priority gas fee set in the transaction
- 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
- 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": "0x829df9bb801fc0494abf2f443423a49ffa32964554db71b098d332d87b70a48b",6"blockNumber": "0xc4fa88",7"from": "0xf410114a4320680ede1dcd360e40f038396255ab",8"gas": "0x124f80",9"gasPrice": "0x1",10"hash": "0x1d9f631e6ac0b8940b65ea064a073e63324c60ccea1880dc9dd39a279276e7d1",11"input": "0x1cff79cd000000000000000000000000957bc1d2ef326c03dc991418ae7afb4985e7fab2000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a499037ebb00000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000a2a15d09519be00000000000000000000000000000000000000000000000c23a1327492d955677a8000000000000000000000000000000000000000000000000001f46d6f25e6ad000000000000000000000000000000000000000524dafe38c2aa62b7a3175677f000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000061003622000000000000000000000000000000000000000000000000000000000000003f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000",12"nonce": "0x13d9",13"to": "0xa57bd00134b2850b2a1c55860c9e9ea100fdd6cf",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x0",17"chainId": "0x1",18"v": "0x25",19"r": "0xcf22c0fbcf67e9c7c0836feec720c8604b3cde387d2394dc9b52396afe4766c6",20"s": "0x1b3da5eb34c772c6fba28d6890d515c5cb761388c00830a5868c333257df6b2c"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x829df9bb801fc0494abf2f443423a49ffa32964554db71b098d332d87b70a48b",6"blockNumber": "0xc4fa88",7"from": "0xf410114a4320680ede1dcd360e40f038396255ab",8"gas": "0x124f80",9"gasPrice": "0x1",10"hash": "0x1d9f631e6ac0b8940b65ea064a073e63324c60ccea1880dc9dd39a279276e7d1",11"input": "0x1cff79cd000000000000000000000000957bc1d2ef326c03dc991418ae7afb4985e7fab2000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001a499037ebb00000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000a2a15d09519be00000000000000000000000000000000000000000000000c23a1327492d955677a8000000000000000000000000000000000000000000000000001f46d6f25e6ad000000000000000000000000000000000000000524dafe38c2aa62b7a3175677f000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000061003622000000000000000000000000000000000000000000000000000000000000003f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000",12"nonce": "0x13d9",13"to": "0xa57bd00134b2850b2a1c55860c9e9ea100fdd6cf",14"transactionIndex": "0x0",15"value": "0x0",16"type": "0x0",17"chainId": "0x1",18"v": "0x25",19"r": "0xcf22c0fbcf67e9c7c0836feec720c8604b3cde387d2394dc9b52396afe4766c6",20"s": "0x1b3da5eb34c772c6fba28d6890d515c5cb761388c00830a5868c333257df6b2c"21}22}