wallet-cli supports two generations of the TRON staking mechanism. New usage should prefer Stake 2.0.
The original model, driven by freezeBalance / unfreezeBalance:
- Freezing specifies a
frozen_duration, currently only allowed to be 3 days. - After the freezing time expires, funds can be unfrozen; when the unfreezing operation occurs, bandwidth is not cleared.
- Resource delegation is expressed through the optional
receiverAddressparameter of the same freeze/unfreeze commands.
The current model, driven by freezeBalanceV2 / unfreezeBalanceV2, with resource delegation and an explicit unbonding/withdrawal flow:
freezeBalanceV2stakes TRX for BANDWIDTH, ENERGY, or TRON_POWER.delegateResource/unDelegateResourcedelegate resources to another account (optionally locked for 3 days).unfreezeBalanceV2begins unbonding;withdrawExpireUnfreezewithdraws the amount once it has expired;cancelAllUnfreezeV2cancels pending unfreezes.- Dedicated v2 query commands report delegation state and available/withdrawable amounts.
See commands/stake-v2.
- concepts/resources — what shares, bandwidth, and energy are