Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Tron.php and TransactoinBuilder.php #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 19, 2021

  1. Update Tron.php

    $receiver_address was added to the parameters of freezeBalance and unfreezeBalance.  The Tron developers documentation has a section where it explains how to freeze and unfreeze TRX. 
    
    The section of FreezeBalance describes that you can freeze an amount of TRX. Will give bandwidth OR Energy and TRON Power (voting rights) to the owner of the frozen tokens. Optionally, can freeze TRX to grant Energy or Bandwidth to other users. Balance amount in the denomination of Sun.  The parameter for receiver_address is the address that will receive the resource.
    
    The section of UnfreezeBalance describes TRX that has passed the minimum freeze duration. Unfreezing will remove bandwidth and TRON Power. Returns unfrozen TRX transaction. The parameter for receiver_address is the address that will lose the resource.
    LuisLACT10 authored Aug 19, 2021
    Configuration menu
    Copy the full SHA
    c91ffa0 View commit details
    Browse the repository at this point in the history
  2. Update TransactionBuilder.php

    $receiver_address was added to the parameters of freezeBalance and unfreezeBalance.  The Tron developers documentation has a section where it explains how to freeze and unfreeze TRX. 
    
    The section of FreezeBalance describes that you can freeze an amount of TRX. Will give bandwidth OR Energy and TRON Power (voting rights) to the owner of the frozen tokens. Optionally, can freeze TRX to grant Energy or Bandwidth to other users. Balance amount in the denomination of Sun.  The parameter for receiver_address is the address that will receive the resource.
    
    The section of UnfreezeBalance describes TRX that has passed the minimum freeze duration. Unfreezing will remove bandwidth and TRON Power. Returns unfrozen TRX transaction. The parameter for receiver_address is the address that will lose the resource.
    LuisLACT10 authored Aug 19, 2021
    Configuration menu
    Copy the full SHA
    e094947 View commit details
    Browse the repository at this point in the history