get_tron_staking
Read TRON staking state for a TRON address: view claimable rewards, frozen TRX, pending unfreezes, resource meters, and current vote allocation to prepare vote rebalancing or reward claims.
Instructions
Read TRON staking state for a base58 address: claimable voting rewards (WithdrawBalance-ready), frozen TRX under Stake 2.0 (bandwidth + energy), pending unfreezes with unlock timestamps, the live account-resource meter (resources) showing immediately-consumable bandwidth units (free + staked pools), energy units, and voting-power units, AND the per-SR vote allocation (votes[] — same shape as list_tron_witnesses(addr).userVotes, issue #271). The resource meter is what tx execution actually charges against — frozen TRX only determines the daily limit. The votes[] baseline is what callers building prepare_tron_vote rebalances need: VoteWitness REPLACES the entire allocation, so consolidating onto an existing SR or rebalancing freshly-unlocked TRON Power requires the current breakdown — this field provides it without forcing a chained list_tron_witnesses call. Read-only; pair with prepare_tron_claim_rewards to withdraw rewards or prepare_tron_vote to allocate voting power.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Base58 TRON mainnet address (prefix T) — the wallet to read staking state for. |