Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject | null
The transaction response object, or null if no transaction is found
- typestring
The transaction type
- chainIdstring
The chain ID of the blockchain
- noncestring
The number of transactions made by the sender before this one, encoded as hexadecimal
- gasPricestring
The gas price provided by the sender in wei, encoded as hexadecimal (legacy, optional in EIP-1559)
- gasstring
The gas provided by the sender, encoded as hexadecimal
- maxFeePerGasstring
(Optional) The maximum fee per gas set in the transaction (EIP-1559 only)
- maxPriorityFeePerGasstring
(Optional) The maximum priority fee per gas set in the transaction (EIP-1559 only)
- tostring | null
The address of the receiver. null if it's a contract creation transaction
- valuestring
The value transferred in wei, encoded as hexadecimal
- accessListarray
(Optional) The access list for EIP-2930 and EIP-1559 transactions
- inputstring
The data sent along with the transaction
- rstring
The R field of the signature
- sstring
The S field of the signature
- yParitystring
(Optional) The parity bit of the signature (used instead of v in typed transactions such as EIP-1559)
- vstring
The V field of the signature (legacy transactions, mutually exclusive with yParity)
- hashstring
The hash of the transaction
- blockHashstring
The hash of the block containing this transaction
- blockNumberstring
The block number containing this transaction
- transactionIndexstring
The index position of this transaction in the block
- fromstring
The address of the sender
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"chainId": "0x2611",7"nonce": "0x1bab",8"gasPrice": "0x47868c08",9"gas": "0x35f30",10"to": "0x3c2269811836af69497e5f486a85d7316753cf62",11"value": "0x0",12"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016f0000000000000000000000000000000000000000000001fa13e050d85ef86fe4000000000000000000000000000000000000000000000000000000002da2df000000000000000000000000000000000000000000000000000000000000000010",13"r": "0xed68e6ca9e7f7c7d7096b3ea633a91aa2f8b85a619f502c4651b68a71f104dc0",14"s": "0x4cd0739f734bd574b01624a2b95c41e82e5c6eaa33caeab2901f2507521d581a",15"v": "0x4c46",16"hash": "0x58140afbab35d992bcccaf9df2630ed2e4c179ab2ae132e4e7b0f252f4b562b5",17"blockHash": "0x3470f949d7b08fa655c7228dd7a05a36dd31ceaf67fb05b42664262f31922d87",18"blockNumber": "0xba2cd",19"transactionIndex": "0x3",20"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"chainId": "0x2611",7"nonce": "0x1bab",8"gasPrice": "0x47868c08",9"gas": "0x35f30",10"to": "0x3c2269811836af69497e5f486a85d7316753cf62",11"value": "0x0",12"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016f0000000000000000000000000000000000000000000001fa13e050d85ef86fe4000000000000000000000000000000000000000000000000000000002da2df000000000000000000000000000000000000000000000000000000000000000010",13"r": "0xed68e6ca9e7f7c7d7096b3ea633a91aa2f8b85a619f502c4651b68a71f104dc0",14"s": "0x4cd0739f734bd574b01624a2b95c41e82e5c6eaa33caeab2901f2507521d581a",15"v": "0x4c46",16"hash": "0x58140afbab35d992bcccaf9df2630ed2e4c179ab2ae132e4e7b0f252f4b562b5",17"blockHash": "0x3470f949d7b08fa655c7228dd7a05a36dd31ceaf67fb05b42664262f31922d87",18"blockNumber": "0xba2cd",19"transactionIndex": "0x3",20"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749"21}22}