post https://api.shasta.trongrid.io/wallet/freezebalancev2
In Stake2.0, stake an amount of TRX to obtain bandwidth or energy, and obtain equivalent TRON Power(TP) according to the staked amount
Returns
Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is FreezeBalanceV2Contract, the fields contained in raw_data.contract[0].parameter.value in the transaction are as follows:
| Field | Type | Description |
|---|---|---|
| owner_address | string | Account address |
| string | string | Resource type |
| frozen_balance | int64 | stake amount, unit is sun |