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

increase fee ? #163

Open mahdimokhtari1373 opened 1 year ago

mahdimokhtari1373 commented 1 year ago

i need to increase fee limit to transfer USDT TRC-20 . how can i do that ? https://tronscan.org/#/transaction/6b9ab597489bad449b9d6d2f60e8d7e677f8eccefe83014eeb8e0c45d2d82df1

crypto-zuks commented 1 year ago

Try this:

$contract = $tron->contract('TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t');
$contract->setFeeLimit(20); // FeeLimit in TRX

Then transfer as usual