Closed idevlinkcom closed 1 year ago
FOR an update if the value set to 0 the transaction will success, this is the example success using 0 value
$transactionparams = array(
'contract'=>$contractaddress,
'address' => $address,
'addressprivate' => $addressprivate,
'toaddress' => $toaddress,
'gas_limit' => 21103, // gas price can be set or null
'amount' => 0,
'web3ChainId' => 97 // 56 bsc mainnet, 97 bsc testnet
);
$gettransactiontxbep20 = $bapi->CreateAndSendTransBEP20($transactionparams);
echo "<pre>";
print_r($gettransactiontxbep20);
echo "</pre>";
https://testnet.bscscan.com/tx/0xc292e30c8a292e1aca1cca575c9f72856b121294346e4c4fe13388df67fdc8c1
here is my address sender 0x5454c66Eaa964D13B7d858D79E85c877Ccbf33Ab which contains 20 USDT Token
also trying this but no luck https://github.com/web3p/web3.php/issues/251#issuecomment-1063884215
@idevlinkcom how you fixed this? getting the same error
I need help to send token BSC (BEP20) to others wallet, I've successfully implement send BSC but not the token BEP20
I already created this
And then i call the function with this code
What I got is an error showing
Already try to double the gas price also give another +1 to nonce and the result is "Error: insufficient funds for gas * price + value"
Any one can help me with this error?