NodeJS: Moralis.transfer return sender not found

Hi Iā€™m trying to using moralis sdk for nodejs, to transfer token to specific address.
I already setup my moralis like:

const moralisSecret = process.env.MORALIS_SECRET;

  await Moralis.start({
    moralisSecret: moralisSecret,
  await Moralis.enableWeb3();

Then trying to called the transfer function:

await Moralis.transfer({
      type: 'erc20',
      receiver: walltetAddress,
      amount: Moralis.Units.Token('0.5', '18'),
      contractAddress: contractAdress,

Any other settings that I need to set up, so I can use the transfer function, guys?


Hi, check this example:

It will not work perfectly with any network, it will work with bsc.