tron-api icon indicating copy to clipboard operation
tron-api copied to clipboard

how can i send a usdt to a address

Open XiaomiYe opened this issue 2 years ago • 1 comments

我怎么发起usdt转帐

XiaomiYe avatar Oct 15 '22 19:10 XiaomiYe

$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');

kendol07 avatar Dec 17 '22 18:12 kendol07