getMessage()); } $tron->setAddress('address'); $tron->setPrivateKey('privateKey'); try { $transfer = $tron->send( 'ToAddress', 1); } catch (\IEXBase\TronAPI\Exception\TronException $e) { die($e->getMessage()); } var_dump($transfer);