iexbase / tron-api

A PHP API for interacting with Tron (TRX)
https://iexbase.github.io/tron-api/
MIT License
405 stars 287 forks source link

Can i send USDT-TRC20 With this library? #155

Open JasonMep opened 1 year ago

kendol07 commented 1 year ago

$tron->setAddress('your wallet'); $tron->setPrivateKey('private key'); $transfer = $tron->contract('TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t')->setFeeLimit(15); //fee limit 15 trx o more AND //TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t tether contract address $result=$transfer->transfer('address To', 'USDT amount');