Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var contract = new web3.eth.Contract(balanceOfABI, contractAddress);
- var contract = new web3.eth.Contract(getterABI, contractAddress);
- contract.methods.decimals().call(function (error, result) {
- if(!error)
- console.log(result);
- });
Add Comment
Please, Sign In to add comment