JustLend sTRX Staking for AI Agents¶
Use this page when the user asks about staking TRX, receiving sTRX, unstaking, claiming rewards, or checking sTRX exchange rate and APY.
Concept¶
sTRX is JustLend's liquid staking token for TRX. A user stakes TRX and receives sTRX. The sTRX exchange rate grows over time as staking and energy-rental rewards accrue.
Important user-facing points:
- sTRX is a TRC20 token.
- 1 sTRX is not always equal to 1 TRX; use the current exchange rate.
- Unstaking through JustLend has an unbonding period before TRX can be claimed.
- A user may alternatively swap sTRX on a third-party DEX, but that introduces market price and liquidity risk.
Recommended MCP tools¶
Use the sTRX staking tool group in mcp_tools.md. Related routing pages are Quickstart, MCP Safety, and Source of Truth.
| Task | MCP tool | Notes |
|---|---|---|
| Dashboard / APY / exchange rate | get_strx_dashboard |
Read-only staking overview. |
| User staking account | get_strx_account, get_strx_balance |
Read-only wallet-specific status. |
| Withdrawal eligibility | check_strx_withdrawal_eligibility |
Read-only pending withdrawal / claim readiness. |
| Stake TRX | stake_trx_to_strx |
On-chain write; require HITL confirmation. |
| Unstake sTRX | unstake_strx |
On-chain write; explain unbonding period first. |
| Claim rewards / available TRX | claim_strx_rewards |
On-chain write; require HITL confirmation. |
Safe staking workflow¶
- Confirm network and wallet.
- Query TRX balance.
- Query current sTRX exchange rate and APY.
- Explain that staking converts TRX into sTRX, not a fixed 1:1 redeemable balance.
- Estimate energy/bandwidth and fees if available.
- Require explicit confirmation.
- Execute staking tool.
- Verify wallet and sTRX balance.
Safe unstaking workflow¶
- Query sTRX balance and current exchange rate.
- Explain the unbonding period and claim step.
- Estimate expected TRX claim amount using the current exchange rate.
- Require explicit confirmation.
- Execute unstake tool.
- Query withdrawal eligibility / pending withdrawals.
- Tell the user when to claim.
Chinese query mapping¶
- “质押 TRX” → stake TRX for sTRX.
- “sTRX 年化多少?” → query staking APY / exchange rate.
- “赎回 sTRX” → unstake sTRX; explain unbonding period.
- “什么时候能取回 TRX?” → check withdrawal eligibility.
Precision rules¶
- TRX uses 6 decimals on-chain in sun.
- sTRX is an 18-decimal TRC20 token.
- Use MCP tool outputs or BigInt/string math for conversions.
Source links¶
- MCP Tool Catalog lists parameters, side effects, and annotations.
- MCP Safety Policy defines confirmation rules for
stake_trx_to_strx,unstake_strx, andclaim_strx_rewards. - Common Questions includes bilingual routing examples for staking questions.