Hello team,

i am planning to send a token for DAPP and to send i am calling approve the functions,

await contractInstancebalance.methods.approve(process.env.REACT_APP_CONTRACT, ethers.utils.parseUnits(amount +"", "18"))
.send({
feeLimit: 100000000,from:account
})
.then(function (result) {
console.log(" "+process.env.REACT_APP_CONTRACT)
toast.success("Enable Successfully");
//setBtnText("Stake")
}).catch(e=> { console.trace(e);});



I am getting an error as "unknown account"

Feb 22, 2022, 11:27 AM
unable to get the reason here
any one has faced this issue ???
@all can you check with this issue
Feb 22, 2022, 12:39 PM

© 2024 Draquery.com All rights reserved.