Fenguoz / tron-php

Support TRON's TRX and TRC20, which include functions such as address creation, balance query, transaction transfer, query the latest blockchain, query information based on the blockchain, and query information based on the transaction hash
MIT License
200 stars 72 forks source link

No contract or not a valid smart contract #15

Open li-jian-feng opened 3 years ago

li-jian-feng commented 3 years ago
PHP Fatal error:  Uncaught Tron\Exceptions\TransactionException: No contract or not a valid smart contract in /data/wwwroot/tron/vendor/fenguoz/tron-php/src/TRC20.php:82
Stack trace:
#0 /data/wwwroot/tron/20.php(93): Tron\TRC20->transfer()
#1 /data/wwwroot/tron/20.php(125): TRC20Test->testTransfer()

请问是什么原因啊

Fenguoz commented 3 years ago

检查是否合约地址错误