How can we display transaction Hash in the front end using blockchain? I tried
getTransactionsByAccount("*")
- Find transactions to/from
eth.accounts[0]
address - https://web3js.readthedocs.io/en/v1.2.11/web3-eth-contract.html
How can we display transaction Hash in the front end using blockchain? I tried
getTransactionsByAccount("*")
eth.accounts[0]
addressOn Console in the browser, you can use this method getTransactionReceipt(tx.result)
const transaction = web3.eth.getTransactionReceipt(tx.result); console.log(transaction);