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 transaction was in. Null when it's a pending log
- blockNumberstring
The block number where this transaction 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
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 prior to this one encoded as hexadecimal
- tostring
The address of the receiver. Null when its 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
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
1{2"id": 1,3"result": {4"blockHash": "0xb1112ef37861f39ff395a245eb962791e11eae26f94b50bb95e3e31378ef3d25",5"blockNumber": "0xfd27df",6"hash": "0xb1fac2cb5074a4eda8296faebe3b5a3c10b48947dd9a738b2fdf859be0e1fbaf",7"accessList": [],8"transactionIndex": "0xb4",9"type": "0x2",10"nonce": "0x2768",11"input": "0xa9059cbb000000000000000000000000b6ae07829376a5b704bb46a0869f383555097c29000000000000000000000000000000000000000000000034df6db862352c72d0",12"r": "0x4dec2c2ab964f28385d31cd203fe5960e001ccd110db816ad462d411cf496548",13"s": "0x62ffcab5b6ae1cf4a59d32dd39a92f14eadea5fbbb7587c1a845a3d0d8621253",14"chainId": "0x1",15"v": "0x1",16"gas": "0xf478",17"maxPriorityFeePerGas": "0x173eed80",18"from": "0x2d218ce7d8892fc6b391b614f84278d12decae52",19"to": "0x111111517e4929d3dcbdfa7cce55d30d4b6bc4d6",20"maxFeePerGas": "0x645a4b0a6",21"value": "0x0",22"gasPrice": "0x5bcdcacee"23},24"jsonrpc": "2.0"25}
1{2"id": 1,3"result": {4"blockHash": "0xb1112ef37861f39ff395a245eb962791e11eae26f94b50bb95e3e31378ef3d25",5"blockNumber": "0xfd27df",6"hash": "0xb1fac2cb5074a4eda8296faebe3b5a3c10b48947dd9a738b2fdf859be0e1fbaf",7"accessList": [],8"transactionIndex": "0xb4",9"type": "0x2",10"nonce": "0x2768",11"input": "0xa9059cbb000000000000000000000000b6ae07829376a5b704bb46a0869f383555097c29000000000000000000000000000000000000000000000034df6db862352c72d0",12"r": "0x4dec2c2ab964f28385d31cd203fe5960e001ccd110db816ad462d411cf496548",13"s": "0x62ffcab5b6ae1cf4a59d32dd39a92f14eadea5fbbb7587c1a845a3d0d8621253",14"chainId": "0x1",15"v": "0x1",16"gas": "0xf478",17"maxPriorityFeePerGas": "0x173eed80",18"from": "0x2d218ce7d8892fc6b391b614f84278d12decae52",19"to": "0x111111517e4929d3dcbdfa7cce55d30d4b6bc4d6",20"maxFeePerGas": "0x645a4b0a6",21"value": "0x0",22"gasPrice": "0x5bcdcacee"23},24"jsonrpc": "2.0"25}