Freeze balance using FreezeBalanceV2
Freezes TRX tokens in an account to gain ENERGY resources using the newer FreezeBalanceV2 mechanism. This version omits the frozen_duration parameter and is considered an improved alternative to /freezebalance.
Request
This endpoint expects an object.
owner_address
Base58 address of the account to freeze TRX from.
frozen_balance
Amount to freeze, in SUN (1 TRX = 1,000,000 SUN).
resource
Type of resource to gain from freezing.
Allowed values:
visible
Indicates if the address is base58 (true) or hex (false).
Response
Unsigned transaction object for FreezeBalanceV2 operation.
visible
txID
raw_data
raw_data_hex
Hex-encoded raw transaction.