getMessage()); } try { $transaction = $tron->getTransactionBuilder()->sendTrx('to', 2,'fromAddress'); $signedTransaction = $tron->signTransaction($transaction); $response = $tron->sendRawTransaction($signedTransaction); } catch (\IEXBase\TronAPI\Exception\TronException $e) { die($e->getMessage()); }