Ad

Bep20 Web3 Send Tokens Between Accounts Example

- 1 answer

someone can provide how to transfer bep20 token on BSC testnet between accounts. I tried in different ways but have a problem
enter image description here

enter image description here

Ad

Answer

The sender address, stored in the accountFrom.address value, doesn't hold enough BNB to pay for the gas fees related to the token transfer.

Solution: Fund the address so that it has at least 0.00054187 BNB (= 54,187 gas units, times 10 gwei as the gas price) on the testnet to cover the fees for this transaction.

Ad
source: stackoverflow.com
Ad