public class TronTransactionInformation.Log extends Object
Constructor and Description |
---|
Log(Protocol.TransactionInfo.Log log) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkEvent(String eventSignature)
Checks if the log matches an event.
|
TronAddress |
getAddress() |
byte[] |
getData() |
List<Object> |
getIndexedFields(List<String> types)
Gets all the indexed fields
|
List<Object> |
getNotIndexedFields(List<String> types)
Gets all the not-indexed fields.
|
List<byte[]> |
getTopics() |
void |
print(String indent) |
public Log(Protocol.TransactionInfo.Log log)
public TronAddress getAddress()
public byte[] getData()
public List<byte[]> getTopics()
public boolean checkEvent(String eventSignature)
eventSignature
- The event signaturepublic List<Object> getIndexedFields(List<String> types) throws InvalidCallDataException
types
- The list of types.InvalidCallDataException
- If the data is invalid.public List<Object> getNotIndexedFields(List<String> types) throws InvalidCallDataException
types
- the list of types.InvalidCallDataException
- If the data is invalid.public void print(String indent)
Copyright © 2020. All rights reserved.