- Retrieve general information about a transaction: This can also be used to get general information about a transaction or to track the status of a transaction since the result will be
nulluntil the transaction is mined. However, using the Mined Transaction Webhook is a better option for tracking the status of a transaction. Unlike
eth_getTransactionByHash, which returns
nullfor unknown transactions, and a non-null response with three (3)
nullfields for a pending transaction,
nullfor both pending and unknown transactions.
- This call can also be used to get the contract address for a contract creation tx. However, if you use tools like Hardhat to deploy the contracts, you can get the address of the newly created contract by using the Hardhat toolbox.
The receipt is not available for pending transactions.
DATA, 32 Bytes - hash of a transaction
params: [ '0xab059a62e22e230fe0f56d8555340a29b2e9532360368f810595453f6fdd213b' ]