BTB Finance for agents

Protocols / Liquid Staking

JustLend sTRX

Liquid staking for TRX on TRON. Deposit TRX to receive sTRX, whose value rises with staking rewards from governance voting and Energy rental. Withdrawals go through a 14-day unfreezing period.

On-chainMIXED1 contractsWebsite · Docs

get_protocol({ "protocol": "justlend-strx" })

Risks an agent should know

What an agent can do

stake-trxStake TRX for sTRX
call sTRX.deposit() with TRX as call value; sTRX is credited to the caller
request-unstakeStart unstaking sTRX to TRX
sTRX.withdraw(sTRXAmount) or sTRX.withdrawExact(trxAmountInSun); the TRX unlocks after the 14-day unfreezing period
claim-unstaked-trxReceive TRX from finished unfreezing rounds
read claimable(); if it is above zero, call claim() or claimAll()
check-positionRead the TRX value of a position
viewBalanceOfUnderlying(address) gives the TRX value; exchangeRate() gives the current rate

Contracts

tron

ContractAddressKey functionsTry
sTRX (StakedTRX proxy)
staking · proxy
TU3kjFuhtEo42tsCBtfYUAZxoqQ4yuSLQ5
source
writedeposit()
writewithdraw(uint256)
writewithdrawExact(uint256)
writeclaim()
writeclaimAll()
readclaimable()
readexchangeRate()
readtotalUnderlying()
+2 more via get_protocol

Notes

The sTRX proxy address and its functions come from JustLend's official staked TRX docs. DefiLlama lists a different address (TCFLL5dx5ZJdKnWuesXxi1VPwjLVmWZZy9) that does not appear on the official page, so it is not used. The EnergyRental proxy (TU2MJ5Veik1LRAgjeSzEdvmDYx7mefJZvd) is not included because its functions were not documented on the page. Tron addresses are base58, so eth_getCode does not apply. The sTRX address was checked with TronGrid getcontract.

Sources

Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.