public class TronAccount extends Object
Modifier and Type | Class and Description |
---|---|
class |
TronAccount.FrozenBalance
Represents a frozen balance.
|
static class |
TronAccount.Type
Account type
|
Constructor and Description |
---|
TronAccount(Protocol.Account account) |
Modifier and Type | Method and Description |
---|---|
TronAddress |
getAddress() |
TronCurrency |
getAllowance() |
String |
getAssetName() |
Map<String,Long> |
getAssets() |
TronCurrency |
getBalance() |
Date |
getCreationDate() |
long |
getEnergyUsage() |
long |
getFreeNetUsage() |
List<TronAccount.FrozenBalance> |
getFrozenBalance() |
TronAccount.FrozenBalance |
getFrozenBalanceForEnergy() |
Date |
getLatestAllowanceWithdrawTime() |
Date |
getLatestConsumptionDate() |
Date |
getLatestEnergyConsumptionDate() |
Date |
getLatestExchangeStorageDate() |
Date |
getLatestFreeConsumptionDate() |
Date |
getLatestOperationDate() |
String |
getName() |
long |
getNetUsage() |
long |
getStorageLimit() |
long |
getStorageUsage() |
TronAccount.Type |
getType() |
boolean |
isCommittee() |
boolean |
isWitness() |
void |
print()
Prints the object in stdout.
|
com.google.gson.JsonObject |
toJson() |
public TronAccount(Protocol.Account account)
public TronAddress getAddress()
public String getName()
public TronAccount.Type getType()
public TronCurrency getBalance()
public Date getCreationDate()
public long getNetUsage()
public long getFreeNetUsage()
public Date getLatestOperationDate()
public Date getLatestConsumptionDate()
public Date getLatestFreeConsumptionDate()
public TronCurrency getAllowance()
public Date getLatestAllowanceWithdrawTime()
public boolean isWitness()
public boolean isCommittee()
public long getEnergyUsage()
public Date getLatestEnergyConsumptionDate()
public long getStorageLimit()
public long getStorageUsage()
public Date getLatestExchangeStorageDate()
public List<TronAccount.FrozenBalance> getFrozenBalance()
public TronAccount.FrozenBalance getFrozenBalanceForEnergy()
public String getAssetName()
public com.google.gson.JsonObject toJson()
public void print()
Copyright © 2020. All rights reserved.