可以
const tx= await tronWeb.transactionBuilder.sendTrx(to, amount, from) const txID = tx.txID as string