resource_broadcast
Broadcast a signed TRON transaction with automatic energy optimization. If the target address lacks sufficient energy, MERX purchases the deficit at the best market price before broadcasting. One call: estimate, buy energy, wait for delegation, broadcast.
Requires MERX_API_KEY with the "broadcast" scope, and a pre-signed transaction. Returns txid on success, refunds on timeout.
NOTE: This endpoint is currently behind a feature flag and disabled by default in production. If you get a 503 MAINTENANCE error, use the manual flow instead: call ensure_resources to provision energy, then sign and broadcast the transaction with your own TronWeb client.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signed_tx | Yes | Hex-encoded signed TRON transaction | |
| target_address | Yes | TRON address that will execute the transaction (must match TX sender) |