How JustLend's Energy Rental
Actually Works
Most Energy providers on this list are order books: someone posts a batch of delegated Energy, you buy a slice of it. JustLend doesn't work that way. It runs a single, permanent smart contract that mints rental orders on demand, escrows a three-part prepayment, and can liquidate you automatically if you overstay. Here's the mechanism, step by step.
An escrow contract, not a marketplace listing
Providers like TronBid, Feee.io or Tronify work as a two-sided book: sellers stake TRX and post an offer with a fixed quantity, price and duration; buyers pick an offer and take what's left of it until it's sold out or expires. JustLend skips the listing step entirely. Its EnergyRental smart contract sits permanently on TRON mainnet at a single, immutable address, and every rental is created by calling that contract directly — there's no "offer" to run out of, because the underlying liquidity comes from the pool of TRX already staked inside JustLend's lending markets rather than from an individual seller's inventory.
That single design choice explains almost every practical difference you'll notice: pricing, refunds, what happens if you forget to return the Energy, and even who can rent for whom.
Traditional providers
A seller freezes TRX, delegates the resulting Energy to the platform, and posts it as a listing with a fixed size. Once buyers exhaust it, the listing is gone until the seller re-lists. Price is whatever the seller (or the platform's algorithm) sets.
JustLend Energy Rental
You call rentResource() directly on the contract. It always accepts new orders — capacity is bounded by the protocol's staked TRX, not by one person's listing — and price moves with a rate model rather than a seller's manual quote.
Every order prepays three separate things, not one price
Order-book providers quote a single number: SUN per unit for the period you're buying. JustLend instead requires an upfront payment made of three components, and understanding each one explains why the amount you send is higher than the "sticker price" — and why most of it comes back to you.
Energy Fee
The actual rental cost for your chosen duration. Return early and the unused portion is refunded pro-rata — you only pay for the time you really used.
Security Deposit
Roughly one day's worth of Energy Fee, held because used Energy needs a full 24 hours to regenerate before it can be returned. Refunded in full if you return before the Energy is consumed; partially deducted otherwise.
Liquidation Penalty
A small reserve (minimum 20 TRX) that funds a reward for whoever liquidates your order if you let it expire unreturned. Fully refunded on a normal, on-time return.
Because the contract has to hold this reserve on-chain (rather than trust a seller's off-chain balance), it can enforce the entire lifecycle — refunds, partial refunds, forced liquidation — automatically and without a human in the loop. That's the trade: a slightly heavier upfront payment in exchange for guaranteed, code-enforced refund behaviour instead of a provider's discretion.
The three ways your Security Deposit gets docked
The Security Deposit isn't all-or-nothing — JustLend's own documentation spells out exactly three scenarios where part of it is kept:
- Energy not fully recovered when you end the rental: deduction = Rental Amount × Unit Price × 0.75, scaled by the share of Energy still unused at that moment.
- You return late — after expiration but before liquidation: the deposit is docked in proportion to how far past expiration you are.
- You get liquidated: the Liquidation Penalty is deducted outright from the deposit and paid to whoever triggers the liquidation.
Return on time with the Energy fully regenerated, and none of these apply — the full deposit and penalty come back, which is the outcome most single-transaction users should aim for.
Placing an order: three parameters, one transaction
Where a marketplace listing is something you passively buy into, a JustLend order is something you actively configure. You choose exactly what you need across three fields before the contract accepts your prepayment.
Rental Amount — how much Energy
Set in Energy units on the dApp, but the contract itself works in delegated TRX under the hood — the amount is converted using the live staking ratio (~9.21 Energy per staked TRX per day). Size it to the transaction you're actually running: about 65,000 Energy for a USDT transfer to a wallet that already holds USDT, and closer to 131,000 Energy when the recipient has never held it before, since initializing that storage slot roughly doubles the cost.
Rental Duration — hourly or daily, up to 30 days
Single transaction coming up in the next few minutes? Rent by the hour and return immediately after. Regular daily activity? A 30-day order sized to your typical daily usage is usually simpler than re-renting every day, since consumed Energy fully regenerates every 24 hours and can be reused inside the same order.
Receiving Address — yourself, or someone else
Leave it blank to delegate to your own connected wallet, or fill it in to rent Energy for another account — a one-to-many pattern most order-book providers don't offer at all. The only hard restriction: the receiving address must be a regular wallet, never a smart contract.
Once all three are set, a single on-chain transaction pays the prepayment and opens the order. From that point, both duration and the exact Energy amount can shift slightly with real-time market pricing — the contract locks in your parameters, not a guaranteed fixed rate for the full window.
What happens after you rent: three possible endings
Because the whole order lives inside a smart contract rather than a seller's back office, closing it out is also a contract call — and there are exactly three ways it can end.
✅ You return it on time
Either you (the payer) or the receiving address can trigger the return. The unused Energy Fee is refunded pro-rata, and the Security Deposit and Liquidation Penalty come back in full if the Energy wasn't fully consumed.
⏳ You extend instead
Need more time or more Energy on the same order? Call the rental function again with an added amount or an extended window — no need to close and reopen a fresh order.
⚠️ You never return it
If the order runs out its full duration without being returned, anyone can call the public liquidate() function. The Liquidation Penalty is deducted from your deposit and paid out to whoever triggers it as a reward; whatever's left of the deposit still comes back to you — but you lose that penalty and give up control of exactly when the position closes.
JustLend vs. the order-book providers, side by side
None of this makes JustLend strictly "better" — it's a different trade-off. Here's how the mechanics actually compare, feature by feature, against a typical listing-based provider on this site.
| Aspect | Order-book providers | JustLend Energy Rental |
|---|---|---|
| How liquidity works | Individual sellers post fixed listings; can sell out | Always available, backed by protocol-wide staked TRX |
| Price discovery | Seller-set or platform quote, updated periodically | On-chain rate model reacting to real-time utilization |
| Prepayment | Single quoted price for the period | Energy Fee + Security Deposit + Liquidation Penalty |
| Early return refund | Provider-dependent; often no refund | Pro-rata refund enforced by the contract |
| Rent for another address | Rarely supported | Native one-to-many delegation |
| Max duration | Varies by provider, often longer | Capped at 30 days per order |
| What happens if you forget to return | Order simply expires | Anyone can liquidate you and claim the penalty reward |
| Counterparty | A specific seller's wallet | An immutable, audited smart contract |
See how JustLend's live rate compares right now
We track JustLend alongside 18+ other Energy providers so you always know which one is actually cheapest before you commit.