Skip to main content

Sending Transactions in Tron

Creating and broadcasting transactions via Transatron works just like standard Tron flows. The only addition is telling Transatron how to cover fees.

Examples of all flows: Transatron TronWeb Examples.


Transfer TRX Transactions

No special prep is required. Create with your client (tronweb or tronpy) and broadcast.

  1. Prepare a TRX transfer transaction.
  2. Sign the transaction.
  3. POST /wallet/broadcasttransaction with the signed payload.

Smart Contract Transactions (incl. TRC-20)

  1. Prepare
    Call POST /wallet/triggersmartcontract with:

    • owner (originator) address
    • contract address
    • function selector + params
      → You get a prepared transaction.
    • With Transatron, you’ll also get a transatron object in the response.
  2. Estimate energy → fee limit
    Call POST /wallet/triggerconstantcontract with the prepared transaction to obtain energy_used.
    Get energy_fee from GET /wallet/getchainparameters, then compute: fee_limit = energy_used * energy_fee Set fee_limit in the prepared transaction.

Example: if energy_used = 30,000 and energy_fee = 420 sun/energy, fee_limit = 12,600,000 sun (12.6 TRX).

  1. Sign
    Sign the prepared transaction with the wallet private key and inject the signature.

  2. Broadcast
    POST /wallet/broadcasttransaction with the prepared & signed transaction.

  • With Transatron, the response includes a transatron object.

Important Notes

  1. API compatibility: Transatron is a proxy Tron node; API matches the Tron Node API with the extensions noted above.
  2. Access: You need an API key — contact info@transatron.io or Telegram Support.
  3. Protocol: Transatron currently supports JSON-RPC only (gRPC not supported).
  4. TFN/TFU: You can read TFN/TFU balances via the Transatron node. Transfers of these tokens are not yet supported.

Example Scripts

See sending transactions examples here:
👉 examples_tronweb/src/sendingTransactions.js