Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dsa.estimateCastGas({
spells: spells,
value: 0,
nonce: txCount
})
.then(gasLimit => {
console.log(gasLimit);
})
.catch(err => {
return console.error(`This transaction is likely to fail if sent to blockchain`)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.