public interface TronEventHandler
| Modifier and Type | Method and Description | 
|---|---|
| void | handleBlock(TronClient client,
           TronBlock block)Handles a block. | 
| void | handleTransaction(TronClient client,
                 TronTransaction tx,
                 TronTransactionInformation info)Handles a transaction. | 
void handleBlock(TronClient client, TronBlock block)
client - The client that got the block.block - The block.void handleTransaction(TronClient client, TronTransaction tx, TronTransactionInformation info)
client - The client that received the transaction.tx - The transaction.info - The transaction information.Copyright © 2020. All rights reserved.