POSTFreezeBalanceV2
Tron Mainnet
https://tron-mainnet.nodit.io/wallet/freezebalancev2In Stake 2.0, stake an amount of TRX to obtain bandwidth or energy, and obtain equivalent TRON Power(TP) according to the staked amount
Request Body
Transaction initiator address. (Format: Base58 or Hex)
TRX stake amount, the unit is sun
TRX stake type, 'BANDWIDTH' or 'ENERGY'
Optional. Permission ID used for multi-signature account operations. Defaults to the owner permission (0) if unspecified.
Optional. Set to true to format addresses in Base58; set to false for hex format. (Default: false)
Responses
Transaction initiator address. (Format: Base58 or Hex)
Type of resource. (Enum: BANDWIDTH, ENERGY)
Amount of TRX to stake. (Unit: sun, in Stake 2.0)