public class TronBlock extends Object
| Constructor and Description | 
|---|
| TronBlock(GrpcAPI.BlockExtention blockEx) | 
| TronBlock(HashIdentifier id,
         Protocol.Block block) | 
| Modifier and Type | Method and Description | 
|---|---|
| Date | getDate() | 
| HashIdentifier | getId() | 
| byte[] | getMerkleTreeRoot() | 
| long | getNumber() | 
| HashIdentifier | getParentHash() | 
| List<TronTransaction> | getTransactions() | 
| int | getVersion() | 
| TronAddress | getWitnessAddress() | 
| long | getWitnessId() | 
| byte[] | getWitnessSignature() | 
| void | print(String indent)Prints the object in stdout. | 
| void | print(String indent,
     TronClient client)Prints the object in stdout. | 
| com.google.gson.JsonObject | toJson() | 
public TronBlock(HashIdentifier id, Protocol.Block block)
public TronBlock(GrpcAPI.BlockExtention blockEx)
public int getVersion()
public long getNumber()
public HashIdentifier getParentHash()
public Date getDate()
public byte[] getMerkleTreeRoot()
public List<TronTransaction> getTransactions()
public long getWitnessId()
public TronAddress getWitnessAddress()
public byte[] getWitnessSignature()
public com.google.gson.JsonObject toJson()
public void print(String indent)
indent - The indent to use.public void print(String indent, TronClient client)
indent - The indent to use.client - The client to interpret the contractspublic HashIdentifier getId()
Copyright © 2020. All rights reserved.