Documentation
TRONENERGY DOCS
Developer documentation para sa TronEnergy Tron Energy rental service. REST API reference, integration guides para sa TronWeb, PHP, at Python, at step-by-step tutorials.
API PAYMENT ADDRESS
TFqUiCu1JwLHHnBNeaaVKH7Csm4aA3YhZx
Magpadala ng TRX sa address na ito. Ang iyong tx hash ay ginagamit upang i-claim ang energy delegation.
Quick start
I-delegate ang energy sa tatlong hakbang
Magpadala ng TRX, mag-sign, mag-claim. Tatlong hakbang, walang API key, walang sign-up. Linear pricing: 16,250 energy per TRX, minimum 4 TRX.
const API = 'https://api.tronnrg.com';
const ADDR = 'TFqUiCu1JwLHHnBNeaaVKH7Csm4aA3YhZx';
const delegateTo = 'TRecipientWallet';
// Step 1: Send TRX to the payment address
// Pricing is linear: 16,250 energy per TRX. Minimum 4 TRX (65,000 energy),
// maximum 1,000 TRX. Send 4 TRX for a standard transfer, 8 TRX if the
// recipient has never received USDT (needs 130,000 energy), or any amount
// in between — you get exactly trx × 16,250 energy back.
const trxAmount = 4; // 4 → 65k, 8 → 130k, 16 → 260k, 40 → 650k ...
const payment = await tronWeb.trx.sendTransaction(ADDR, trxAmount * 1e6);
// Step 2: Sign — proves you sent the payment
const message = `${payment.txid}:${delegateTo}`;
const signature = await tronWeb.trx.signMessageV2(message);
// Step 3: Claim the delegation
const result = await fetch(`${API}/delegate`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
tx_hash: payment.txid,
delegate_to: delegateTo,
signature,
}),
}).then(res => res.json());
// Done. Energy arrives in ~3 seconds.
console.log(result.status); // "delegated"
console.log(result.energy); // 65000
console.log(result.delegations[0].tx); // on-chain tx hash (verify on TronScan)
console.log(result.ref); // "nrg_d_42" (for support)
Explore
Magsimula dito
Pangkalahatang Paglalahad
Ano ang ginagawa ng TronEnergy, paano ito gumagana, at ang dalawang integration paths na available para sa iyo.
→
Reference
API Reference
Lahat ng endpoints, parameters, response formats, at error codes para sa signature-verified delegation API.
→
Integration guide
TronWeb Integration
Full Node.js integration sa TronWeb. End-to-end signing flow na may copy-paste examples.
→
How-to guide
Mag-rent ng Tron Energy
Step-by-step para sa end users. Magpadala ng TRX, makatanggap ng Energy, magpadala ng USDT. Tatlong hakbang, 30 segundo.
→
Platform status
99.97%
UPTIME
13K+
ARAW-ARAW
60+
MGA BANSA
~3s
AVG DELEGATION