Parameters
- hashstringREQUIRED
The hash of a transaction
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
- maxFeePerGasstring
The maximum fee per gas set in the transaction
- maxPriorityFeePerGasstring
The maximum priority gas fee set in the transaction
- 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, encoded as hexadecimal. 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
- yParitystring
Coordinate of key used in signature
- blockTimestampstring
The timestamp of the block where this transaction was in, encoded as hexadecimal
1{2"jsonrpc": "2.0",3"result": {4"type": "0x2",5"maxPriorityFeePerGas": "0x18e9b26e00",6"maxFeePerGas": "0x18e9b26e46",7"accessList": [],8"yParity": "0x0",9"chainId": "0x51",10"nonce": "0x56abb0",11"to": "0x5cfce8669c672df27e3d6cad41859328932ec278",12"from": "0x5cfce8669c672df27e3d6cad41859328932ec278",13"value": "0x0",14"input": "0x",15"gasPrice": "0x18e9b26e07",16"v": "0x0",17"r": "0x33fbda666ff35f11a2cabdeffd7379708e9820a395add4b826f50ae64e8a2375",18"s": "0x650567499fb744ddc105dac70214dbaabbe3413a775772d11816b5588ce391be",19"hash": "0x4d9d7a87ab2dae0cc4afc5d2f8fbe1e70a0ec8229908b4ae17105e66f20097b0",20"transactionIndex": "0x1",21"blockHash": "0x77077e59febe15df15826aeabc4301443f763862a40cc06bf49ab800bad3423a",22"blockNumber": "0xe475e2",23"gas": "0x5208"24},25"id": 126}
1{2"jsonrpc": "2.0",3"result": {4"type": "0x2",5"maxPriorityFeePerGas": "0x18e9b26e00",6"maxFeePerGas": "0x18e9b26e46",7"accessList": [],8"yParity": "0x0",9"chainId": "0x51",10"nonce": "0x56abb0",11"to": "0x5cfce8669c672df27e3d6cad41859328932ec278",12"from": "0x5cfce8669c672df27e3d6cad41859328932ec278",13"value": "0x0",14"input": "0x",15"gasPrice": "0x18e9b26e07",16"v": "0x0",17"r": "0x33fbda666ff35f11a2cabdeffd7379708e9820a395add4b826f50ae64e8a2375",18"s": "0x650567499fb744ddc105dac70214dbaabbe3413a775772d11816b5588ce391be",19"hash": "0x4d9d7a87ab2dae0cc4afc5d2f8fbe1e70a0ec8229908b4ae17105e66f20097b0",20"transactionIndex": "0x1",21"blockHash": "0x77077e59febe15df15826aeabc4301443f763862a40cc06bf49ab800bad3423a",22"blockNumber": "0xe475e2",23"gas": "0x5208"24},25"id": 126}