TronRequestFreezeBalanceV2 class
In Stake2.0, stake an amount of TRX to obtain bandwidth or energy, and obtain equivalent TRON Power(TP) according to the staked amount. developers.tron.network.
- Inheritance
 - 
    
- Object
 - BaseServiceRequest<
Transaction, Map< String, dynamic> , TronRequestDetails> - TronRequest<
Transaction, Map< String, dynamic> > - TronRequestFreezeBalanceV2
 
 
Constructors
- TronRequestFreezeBalanceV2({required TronAddress ownerAddress, required BigInt frozenBalance, String? resource, int? permissionId, bool visible = true})
 - TronRequestFreezeBalanceV2.fromContract(FreezeBalanceV2Contract contract, {int? permissionId, bool visible = true})
 - 
          
            factory
 
Properties
- frozenBalance → BigInt
 - 
  TRX stake amount, the unit is sun
  final
 - hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - method → TronHTTPMethods
 - 
  method for the request.
  no setteroverride
 - ownerAddress → TronAddress
 - 
  Owner address
  final
 - permissionId → int?
 - 
  for multi-signature use
  final
 - requestType → RequestServiceType
 - 
  
  no setterinherited
 - resource → String?
 - 
  TRX stake type, 'BANDWIDTH' or 'ENERGY'
  final
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 - visible → bool
 - 
  Indicates whether the address is visible.
  final
 
Methods
- 
  buildRequest(
int requestID) → TronRequestDetails  - 
  Converts the request parameters to TronRequestDetails with a unique identifier.
  inherited
 - 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  onResonse(
Map< String, dynamic> result) → Transaction - 
  
  override
 - 
  toJson(
) → Map< String, dynamic>  - 
  Converts the request parameters to a JSON format.
  override
 - 
  toString(
) → String  - 
  A string representation of this object.
  override
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  inherited