🔍 Deep Dive · JustLend DAO

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.

📜 Type: On-chain contract, not an order book
⏱️ Max duration: 30 days
💰 Prepayment parts: 3
⚖️ Liquidation: Automatic & permissionless
1 · Mechanism

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.

Liquidity sourceIndividual sellers
🏦

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.

Liquidity sourceProtocol-wide staked TRX pool
Why this matters for you: on an order-book provider, price and availability depend on who happens to be selling right now. On JustLend, price is a formula reacting to overall protocol utilization, and the "seller" is effectively the whole pool of TRX stakers in JustLend's lending market — which is also why part of your rental cost flows back to them as yield instead of to a single counterparty.
2 · Pricing model

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.

Component 1

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.

🔒
Component 2

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.

🚨
Component 3

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.

Prepayment formula
Prepay = Energy Fee + Security Deposit + Liquidation Penalty
Energy Fee = amount × unit price × duration
Security Deposit ≈ amount × 1-day price
Liquidation Penalty = max(delegated TRX × 0.008%, 20 TRX)

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.

Sub-hour caveat: the shorter your rental window, the more the Security Deposit and rate can swing with market conditions in the minutes around your order. For anything under ~3 hours, return the Energy the moment your transaction confirms — waiting increases the odds of an unfavourable rate update before you close the order.
3 · Workflow

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.

1

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.

2

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.

3

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.

4 · Order lifecycle

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.

The practical takeaway: a one-off rental costs you the least when you return it the moment your transaction confirms. A recurring, daily-use rental is usually cheaper to size for 30 days than to manage manually — the 24-hour Energy regeneration means you don't need to over-rent, just size it to your real daily volume.
5 · Comparison

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.

AspectOrder-book providersJustLend Energy Rental
How liquidity worksIndividual sellers post fixed listings; can sell outAlways available, backed by protocol-wide staked TRX
Price discoverySeller-set or platform quote, updated periodicallyOn-chain rate model reacting to real-time utilization
PrepaymentSingle quoted price for the periodEnergy Fee + Security Deposit + Liquidation Penalty
Early return refundProvider-dependent; often no refundPro-rata refund enforced by the contract
Rent for another addressRarely supportedNative one-to-many delegation
Max durationVaries by provider, often longerCapped at 30 days per order
What happens if you forget to returnOrder simply expiresAnyone can liquidate you and claim the penalty reward
CounterpartyA specific seller's walletAn immutable, audited smart contract
When JustLend tends to make sense: you want guaranteed availability without hunting for the cheapest live listing, you want the option to rent for a different wallet, or you're comfortable managing the return step yourself to capture the refund. Compare its live rate against the rest of the market anytime on our buy page.

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.

FAQ

Common questions about JustLend Energy Rental

Is JustLend Energy Rental the same as staking my own TRX?
No. Staking (freezing) your own TRX gives you Energy directly, generated at ~9.21 Energy per TRX per day, for as long as you keep it frozen — it's a permanent commitment of your own capital. Renting through JustLend is a temporary lease: you pay a prepayment for a fixed window and get most of it back on return, without ever freezing any TRX yourself.
Why does the prepayment look bigger than the price I actually pay?
Because it's not just a price — it's a deposit plus a price. The Energy Fee is the actual rental cost; the Security Deposit and Liquidation Penalty are refundable collateral the contract holds to guarantee it can enforce refunds and, if needed, liquidation without any human involved. Return the order correctly and only the genuinely-used portion of the Energy Fee is kept — the rest comes back to your wallet in the same transaction.
What happens if I don't return the rental before it expires?
The order becomes eligible for liquidation. Anyone — not just JustLend — can call the contract's public liquidate function, claim the Liquidation Penalty as a reward, and close your position. Any deposit left over after that is still returned to you, but you lose the penalty and no longer control exactly when the order closes. Setting a calendar reminder or returning immediately after your last transaction avoids this entirely.
Can I rent Energy for someone else's wallet?
Yes — this is one of the features order-book providers rarely offer. Set the Receiving Address field to any regular TRON wallet when placing the order, and the delegated Energy goes there while you remain the payer and the one who manages the return. The only restriction is that the receiving address cannot be a smart contract.
Does the price stay fixed for my whole rental duration?
Not exactly. The rate is set at the moment you place the order, but because it's derived from a live on-chain rate model rather than a fixed seller quote, both the final Energy amount and duration can shift slightly with market conditions — this effect is more noticeable on very short (sub-3-hour) rentals than on daily or 30-day orders.
How much Energy do I actually need for a USDT transfer?
Roughly 65,000 Energy if the recipient's wallet already holds USDT, and closer to 131,000 Energy if it's their first time receiving it — the extra covers initializing that wallet's storage slot on-chain. Sizing your JustLend order below the real requirement means the shortfall gets burned in TRX anyway, so it's worth checking the exact figure on our calculator page before renting.
Is JustLend Energy Rental safe to use?
The EnergyRental contract is immutable and has been live on TRON mainnet with public audits available from JustLend DAO. Your funds sit in a smart contract rather than with an individual seller, which removes counterparty risk of the "seller disappears with your deposit" kind — the trade-off is that you're now trusting contract code and the underlying JustLend lending market instead of a person. As with any DeFi protocol, only commit funds sized to what you're comfortable exposing to smart contract risk.