Freeze balance for resource allocation
Freezes TRX tokens in an account to gain bandwidth or energy resources. Frozen tokens will be locked for a specified duration.
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).
frozen_duration
Duration to freeze the tokens, in days.
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 freeze operation.
txID
raw_data
raw_data_hex