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
| Before | After | |
|---|---|---|
| Finding the order for a broadcast | By 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 present | true or null: the amounts are final |
- Node-native result codes. The top-level
codeandmessageare the TRON node's result;transatron.codestays Transatron's own decision code. See the result code table. - The "may still land" message. When the outcome is unknown, the decoded
messagestarts withOutcome 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
| Before | After | |
|---|---|---|
Fee figures in the reply (tx_fee_*) | Documented as the amounts charged, not estimates | An 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 fee | After the final fee only when is_final is true |
is_final: false on orders (GET /api/v1/orders) | Not returned | false: the order is still settling |
| Instant-payment cashback | Never below 0 | Payment 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: truewith 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/orderswith your Spender key, byorder_id, unless the reply hasis_final: true. - An order's amounts are final once its
is_finalistrueornull.
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_idon a Non-Spender key. The reply carries it, but a Non-Spender key gets401onGET /api/v1/orders. Theorder_idis 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_idor by transaction hash. - Coupons also became single-use on the same day: see Coupons Are Single-Use.
What to check
- Fee bookkeeping: take the fee from a reply only when
is_finalistrue; otherwise fromGET /api/v1/orders. - Missing fields: handle a reply without
is_finalororder_id, and aDUP_TRANSACTION_ERRORreply whosetransatronobject holds onlyorder_id. - May still land: decode
messageand match theOutcome unknown or the tx may still landprefix before deciding to rebuild. - Orders: treat
is_finaltrueornullas final andfalseas still settling. - Instant payments: allow for a negative cashback.
Details
- POST broadcasttransaction: how it works, reply modes, result codes, edge cases.
- GET Orders: looking up by order id.
- Tron GRPC: broadcast response.