Overview
TRONHEX is a B2B API for delegating Energy. You pay in TRX and receive delegated Energy on a target TRON address, so USDT TRC-20 transfers and smart-contract calls cost a fraction of what they would by burning TRX.
Who this is for
The API is designed for programmatic integration — wallets, exchanges, payment gateways, and automation tools that need to cover Energy on behalf of many addresses. Every endpoint is signed with HMAC-SHA256 and returns a fixed, machine-readable envelope.
Base URL
All endpoints live under the global prefix /api/v1:
https://api.hexvetron.com/api/v1
For example, a quote is created at https://api.hexvetron.com/api/v1/energy/quotes.
How it fits together
- Authenticate every request with five signing headers (see Authentication).
- Create a quote — get a live price for an amount and duration.
- Create an order from that quote — funds are reserved from your prepaid balance.
- Learn the outcome — poll the order, or receive a webhook if you configured a callback URL.
Conventions
- Responses are wrapped as
{ "data": …, "request_id": "…" }. - Errors are wrapped as
{ "error": { "code", "message" }, "request_id": "…" }. - Prices and balances are strings (decimal-safe), in
TRX. - Order results are learned by polling, or pushed by webhook to a callback URL you configure (see Webhooks).
Where to go next
- Quickstart — get a key and place your first order in minutes.
- Authentication — the HMAC signing scheme in detail.
- API Reference — the full endpoint list.
