Untitled
unknown
javascript
3 years ago
293 B
3
Indexable
const getAllTransactions = async (web3) => { if (web3) { try { const txList = await contract.methods.getAllTransactions().call() console.log(txList) } catch (error) { console.log("No Transactions"); } } }
Editor is loading...