Skip to main content

Final Fees and Order IDs

Effective (UTC): 2026-11-26, in two steps: about 08:03 (order_id, node result codes, multi-route broadcast) and 15:24 (is_final on charged orders, wait-for-final mode, signed instant-payment cashback)
Action required: Yes, if you book fees from the broadcast reply
Affects: /wallet/broadcasttransaction, /wallet/broadcasthex and the gRPC broadcast call (transatron.is_final, transatron.order_id, the top-level code and message, the gRPC header x-transatron-order-id); GET /api/v1/orders (the order_id parameter, is_final, cashback_amount_trx)

What changed​

From 08:03 UTC​

BeforeAfter
Finding the order for a broadcastBy transaction hash (?search=<txid>)Also by order_id: transatron.order_id on JSON, the x-transatron-order-id header on gRPC
is_final on orders (GET /api/v1/orders)Not presenttrue or null: the amounts are final
  • Node-native result codes. The top-level code and message are the TRON node's result; transatron.code stays Transatron's own decision code. See the result code table.
  • The "may still land" message. When the outcome is unknown, the decoded message starts with Outcome unknown or the tx may still land: do not rebuild the transaction, and poll the txid until the expiration printed in the text (ISO-8601 UTC).
  • Multi-route broadcast. Transatron submits each transaction through more than one route, retrying on transport failures.

From 15:24 UTC​

BeforeAfter
Fee figures in the reply (tx_fee_*)Documented as the amounts charged, not estimatesAn estimate unless is_final is true; the final charge is read from GET /api/v1/orders
Balances in the reply (user_account_balance_*)Documented as the balances after the feeAfter the final fee only when is_final is true
is_final: false on orders (GET /api/v1/orders)Not returnedfalse: the order is still settling
Instant-payment cashbackNever below 0Payment minus final fee, which can be negative; a negative cashback is debited from your balance
  • Settlement timing: charged when it settles, typically within about 10 seconds of the transfer landing on chain; an account with several transfers in flight at the same moment can see this take longer, up to a few minutes; after a service interruption it can take longer. The amount is the settled amount, charged once.
  • Wait-for-final mode. On request to support, a key can be switched to a mode where the reply is held until the order has settled and then carries is_final: true with the final fee.

Impact on your integration​

Only is_final: true means the reply's fee figures are the final charge. If is_final is false or missing, treat the figures as an estimate and read the charge from GET /api/v1/orders with a Spender key: by order_id if the reply has one, otherwise by the transaction hash (?search=<txid>) once the transaction has landed. Right after a broadcast the order may not be recorded yet. If no order is found once the transaction has landed, nothing has been charged for it.

Account-based​

  • Book the fee from GET /api/v1/orders with your Spender key, by order_id, unless the reply has is_final: true.
  • An order's amounts are final once its is_final is true or null.

Instant payments​

  • Does your user need the final fee? Not needed. Your user pays exactly the instant payment amount; settlement never refunds or charges them more. The difference between that payment and the final fee is settled with you, the API key owner, as cashback, which you read with your Spender key in GET /api/v1/orders (cashback_amount_trx). If the payment does not land, nothing is charged.
  • Change (15:24): cashback can be negative. When the final fee is above the instant payment, the cashback is negative and your balance, as the API key owner, is debited. Before, cashback was never below 0.
  • Payment through any route (08:03). The user transaction proceeds when the payment transaction landed, whichever broadcast route accepted it.
  • order_id on a Non-Spender key. The reply carries it, but a Non-Spender key gets 401 on GET /api/v1/orders. The order_id is there so your user can quote it to you; you look it up with your Spender key.

Coupons​

  • Read the charge on your server with your Spender key, by order_id or by transaction hash.
  • Coupons also became single-use on the same day: see Coupons Are Single-Use.

What to check​

  1. Fee bookkeeping: take the fee from a reply only when is_final is true; otherwise from GET /api/v1/orders.
  2. Missing fields: handle a reply without is_final or order_id, and a DUP_TRANSACTION_ERROR reply whose transatron object holds only order_id.
  3. May still land: decode message and match the Outcome unknown or the tx may still land prefix before deciding to rebuild.
  4. Orders: treat is_final true or null as final and false as still settling.
  5. Instant payments: allow for a negative cashback.

Details​