FreezeBalance

Stake an amount of TRX to obtain bandwidth OR Energy and TRON Power (voting rights) . Optionally, user can stake TRX to grant Energy or Bandwidth to others. Balance amount in the denomination of sun.

Body params:

  • owner_address - Owner address, default hexString

  • frozen_balance - TRX stake amount, the unit is sun

  • frozen_duration - TRX stake duration, only be specified as 3 days

  • resource - TRX stake type, 'BANDWIDTH' or 'ENERGY'

  • receiver_address - Optional,the address that will receive the resource, default hexString

  • permission_id - Optional, for multi-signature use

  • visible - Optional. Defaults to false. Whether addresses are in base58check format.

Request

curl --request POST \
     --url https://tron.api.watchdata.io/wallet/freezebalance \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "owner_address": "4100776428620856AE1D71562812B734E356B68551",
     "frozen_balance": 10000000,
     "frozen_duration": 3,
     "resource": "ENERGY"
}
'

Response

Last updated