Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject
The transaction response object, or null if no transaction is found:
- blockHashstring
The hash of the block where this log was in. null when it's a pending log
- blockNumberstring
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
- maxFeePerGasstring
(Optional) The maximum fee per gas set in the transaction
- maxPriorityFeePerGasstring
(Optional) 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
The address of the receiver. null when it's a contract creation transaction
- transactionIndexstring
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
(Optional) A list of addresses and storage keys that the transaction plans to access
- chainIdstring
(Optional) The chain id
- 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
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x2",6"chainId": "0x1f019",7"nonce": "0x2cd4",8"gas": "0xea60",9"maxFeePerGas": "0xdf8475800",10"maxPriorityFeePerGas": "0x2540be400",11"to": "0x779c127bd3b93efcefacf182e2ce4907765db997",12"value": "0x0",13"accessList": [],14"input": "0xa9059cbb000000000000000000000000f9f5d67ea953a764b07e05bbad59d851544351e5000000000000000000000000000000000004d0985cb1d3608acc930223590000",15"r": "0xec9028c0262bf9c8c6841445c20ca4de46a694673a514788e370805aaa908b8c",16"s": "0x1d0490435121ff22b2bf26eed2802be7ba6da5c183b29ca018246f9eae0cbfaa",17"yParity": "0x1",18"v": "0x1",19"hash": "0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f",20"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",21"blockNumber": "0x100000",22"transactionIndex": "0x1",23"from": "0x43e4a1aa550a979582dc3449a6bd441f37f2f84c",24"gasPrice": "0xdf8475800"25}26}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x2",6"chainId": "0x1f019",7"nonce": "0x2cd4",8"gas": "0xea60",9"maxFeePerGas": "0xdf8475800",10"maxPriorityFeePerGas": "0x2540be400",11"to": "0x779c127bd3b93efcefacf182e2ce4907765db997",12"value": "0x0",13"accessList": [],14"input": "0xa9059cbb000000000000000000000000f9f5d67ea953a764b07e05bbad59d851544351e5000000000000000000000000000000000004d0985cb1d3608acc930223590000",15"r": "0xec9028c0262bf9c8c6841445c20ca4de46a694673a514788e370805aaa908b8c",16"s": "0x1d0490435121ff22b2bf26eed2802be7ba6da5c183b29ca018246f9eae0cbfaa",17"yParity": "0x1",18"v": "0x1",19"hash": "0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f",20"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",21"blockNumber": "0x100000",22"transactionIndex": "0x1",23"from": "0x43e4a1aa550a979582dc3449a6bd441f37f2f84c",24"gasPrice": "0xdf8475800"25}26}