The Rental Model
How TronSave's order-book marketplace matches TRON Energy buyers with providers — price tiers, order fills, on-chain delegation, and duration.
TronSave is a two‑sided marketplace with an order book that matches buyers (who need Energy/Bandwidth) with providers (who have spare staked resources).
Key roles
Buyer — places an order to rent resources for a
receiveraddress and adurationSec.Provider (seller) — delegates Energy from their staked TRX and earns APY.
Order book — the live set of supply/demand that determines the market price.
The price tiers
When buying, you set a unitPrice (in SUN per resource unit) — either a fixed number or one of three tiers:
SLOW
The lowest price at which the order can be set. Cheapest, may take longer / fill less.
MEDIUM
⭐ Default. The lowest price for the maximum market fill. If the market can't fill at all, MEDIUM = SLOW + 10.
FAST
Prioritizes immediate fill. If the market is 100% ready, FAST = MEDIUM; if <100% ready, FAST = MEDIUM + 10; if 0%, FAST = SLOW + 20.
number
A fixed price in SUN for full control (e.g. 80).
How an order fills
Depending on supply and your order options, an order can be:
Fully filled — 100% matched and delegated.
Partially filled — only possible with
allowPartialFill: true.Pending — waiting for a provider to match (e.g., a Pending Order).
The status is reported as fulfilledPercent (0 = pending, 1–99 = partial, 100 = complete).
Delegation & duration
Matched resources are delegated on‑chain from provider to the buyer's receiver for durationSec. When the duration ends, the delegation is reclaimed unless the order is extended.
Next steps
Last updated