Parameters
- blockHashstring
The block hash
- indexstring
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 in, 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
- yParitystring
The Y parity component of the signature for typed transactions
- 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"result": {4"type": "0x2",5"maxPriorityFeePerGas": "0x10c388cf5",6"maxFeePerGas": "0x2187119f5",7"accessList": [],8"yParity": "0x0",9"chainId": "0x64",10"nonce": "0x8",11"to": "0x8c26b7ca61a6608b011cba43d8ca4476b6d8da17",12"from": "0xf60f39955acd6cbac718e819f716b7c7bd990291",13"value": "0x0",14"input": "0xc1d810d5f6257e6015b31e3dfc0afce0c21e882a7f45ca9e9c1799ec29bf4fb7f7b5a2b900000000000000000000000000000000000000000000000000000000000000082e1a2f4f6b608c919a3d7ce26dbf481f3f99028b5d537e8615afd0755c429d3d55d2c911d0907cb3229c9f9ae79a85d4e99a3ad203746baeaf896c5b726ab421",15"gasPrice": "0x10c388cfc",16"v": "0x0",17"r": "0xdff4ba065ae7424eaf3fc98ad853a2c8ebd2124b007c02d1b2868fa92e074da6",18"s": "0x732ac02dc10fcd15232b002254795d1e0689283afd1e914058e206b01186eee4",19"hash": "0xd7407c3794eb447fd9002e913b6e695a35d1d59eeb0143e3ef8d47d74fe8acda",20"transactionIndex": "0x0",21"blockHash": "0x7e66106e62b63548d6496bda5825c5338d03bd097fbca6dde6e772b78851eef6",22"blockNumber": "0x1879724",23"blockTimestamp": "0x63ab0d52",24"gas": "0x7a120"25},26"id": 127}
1{2"jsonrpc": "2.0",3"result": {4"type": "0x2",5"maxPriorityFeePerGas": "0x10c388cf5",6"maxFeePerGas": "0x2187119f5",7"accessList": [],8"yParity": "0x0",9"chainId": "0x64",10"nonce": "0x8",11"to": "0x8c26b7ca61a6608b011cba43d8ca4476b6d8da17",12"from": "0xf60f39955acd6cbac718e819f716b7c7bd990291",13"value": "0x0",14"input": "0xc1d810d5f6257e6015b31e3dfc0afce0c21e882a7f45ca9e9c1799ec29bf4fb7f7b5a2b900000000000000000000000000000000000000000000000000000000000000082e1a2f4f6b608c919a3d7ce26dbf481f3f99028b5d537e8615afd0755c429d3d55d2c911d0907cb3229c9f9ae79a85d4e99a3ad203746baeaf896c5b726ab421",15"gasPrice": "0x10c388cfc",16"v": "0x0",17"r": "0xdff4ba065ae7424eaf3fc98ad853a2c8ebd2124b007c02d1b2868fa92e074da6",18"s": "0x732ac02dc10fcd15232b002254795d1e0689283afd1e914058e206b01186eee4",19"hash": "0xd7407c3794eb447fd9002e913b6e695a35d1d59eeb0143e3ef8d47d74fe8acda",20"transactionIndex": "0x0",21"blockHash": "0x7e66106e62b63548d6496bda5825c5338d03bd097fbca6dde6e772b78851eef6",22"blockNumber": "0x1879724",23"blockTimestamp": "0x63ab0d52",24"gas": "0x7a120"25},26"id": 127}