Hi!
When I trying to transfer erc20 token, amount of tokens become sooo big
my code
async function tokenTransfer() {
var value = document.getElementById("value").value;
const contract = "0x04c747b40be4d535fc83d09939fb0f626f32800b";
const myadress = "0x97B6E7647fba574Ca1E9B46eDe48DB7188160cE2";
await Moralis.authenticate({ signingMessage: "Test Authenticate" });
const web3 = await Moralis.enableWeb3();
const options = {type: "erc20",
amount: Moralis.Units.Token(value, "18").toString(),
receiver: myadress,
contractAddress: contract}
let result = await Moralis.Web3.transfer(options)
}