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 containing this transaction. null when pending
- blockNumberstring
The block number containing this transaction. null when pending
- blockTimestampstring
Timestamp of the block containing this transaction, encoded as a hexadecimal quantity
- 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. Present only for applicable transaction types.
- maxPriorityFeePerGasstring
The maximum priority fee per gas. Present only for applicable transaction types.
- 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 index position of the transaction in the block encoded as hexadecimal. null when pending
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type encoded as hexadecimal
- accessListarray
The access list for the transaction. Present only for applicable transaction types.
- chainIdstring
The chain ID
- vstring
The V field of the transaction signature encoded as hexadecimal
- rstring
The R field of the transaction signature
- sstring
The S field of the transaction signature
- yParitystring
The y-parity of the transaction signature encoded as hexadecimal. Present only for applicable transaction types.
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x7185f42907301265eb75253e74bd652d425d9a6e95f5d5aeb749a15af7269ad0",6"blockNumber": "0x181f92",7"blockTimestamp": "0x6aee1f6c",8"from": "0x54bf055108f9af5da4f4dfe2eda125842acae622",9"gas": "0x1d4c0",10"gasPrice": "0x8f899b0",11"maxFeePerGas": "0x1b187e30",12"maxPriorityFeePerGas": "0x302b8b0",13"hash": "0x5b40f41726f5fcfc5b89d369fb57696d31380ebe9b41cd8976aa7bdda65c31a4",14"input": "0x005e7c42e4464686e518cf3b3b37478f6d60600000000000000001a1b22ab60f00377b2bde7b7b0000000000000000000000000000000000000001a1b22ab60f0102d9167ca3a30000000000000000000000000000000000000001a1b22ab60f02",15"nonce": "0x2c4",16"to": "0xe844701934d9c6085b292e428f41b911cc0b3872",17"transactionIndex": "0x1",18"value": "0x0",19"type": "0x2",20"accessList": [],21"chainId": "0x1863d",22"v": "0x1",23"r": "0xdbd067ef040bc7bf70c2accefab8b035ff0362446735035a822145d39b08304c",24"s": "0x4b87881c791b2e2d7b0afc768585d89775e08b6edabb5ee6f12617452f620c0",25"yParity": "0x1"26}27}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x7185f42907301265eb75253e74bd652d425d9a6e95f5d5aeb749a15af7269ad0",6"blockNumber": "0x181f92",7"blockTimestamp": "0x6aee1f6c",8"from": "0x54bf055108f9af5da4f4dfe2eda125842acae622",9"gas": "0x1d4c0",10"gasPrice": "0x8f899b0",11"maxFeePerGas": "0x1b187e30",12"maxPriorityFeePerGas": "0x302b8b0",13"hash": "0x5b40f41726f5fcfc5b89d369fb57696d31380ebe9b41cd8976aa7bdda65c31a4",14"input": "0x005e7c42e4464686e518cf3b3b37478f6d60600000000000000001a1b22ab60f00377b2bde7b7b0000000000000000000000000000000000000001a1b22ab60f0102d9167ca3a30000000000000000000000000000000000000001a1b22ab60f02",15"nonce": "0x2c4",16"to": "0xe844701934d9c6085b292e428f41b911cc0b3872",17"transactionIndex": "0x1",18"value": "0x0",19"type": "0x2",20"accessList": [],21"chainId": "0x1863d",22"v": "0x1",23"r": "0xdbd067ef040bc7bf70c2accefab8b035ff0362446735035a822145d39b08304c",24"s": "0x4b87881c791b2e2d7b0afc768585d89775e08b6edabb5ee6f12617452f620c0",25"yParity": "0x1"26}27}