You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// send transaction, log transaction hashletpendingTx=awaittx.send();console.log(`Got pending transaction with hash ${pendingTx.hash()}`);// wait until transaction is included in a blockawaitpendingTx.wait();// our account updates are applied on chain!
Gm, I am trying to understand how to get a value back from a contract
The function in an ideal case would provide an ability to read the data the contract returns.
However the best i could get is call
txn.toPretty()
which returns a large json with the correct values hidden in preconditions
The text was updated successfully, but these errors were encountered: