Package org.starcoin.bean
Class Transaction
java.lang.Object
org.starcoin.bean.Transaction
public class Transaction extends Object
-
Constructor Summary
Constructors Constructor Description Transaction() -
Method Summary
Modifier and Type Method Description StringgetBlockHash()BlockMetadatagetBlockMetadata()StringgetBlockNumber()StringgetEventRootHash()List<Event>getEvents()StringgetGasUsed()StringgetStateRootHash()StringgetStatus()longgetTimestamp()StringgetTransactionHash()intgetTransactionIndex()TransactionTypegetTransactionType()UserTransactiongetUserTransaction()voidsetBlockHash(String blockHash)voidsetBlockMetadata(BlockMetadata blockMetadata)voidsetBlockNumber(String blockNumber)voidsetEventRootHash(String eventRootHash)voidsetEvents(List<Event> events)voidsetGasUsed(String gasUsed)voidsetStateRootHash(String stateRootHash)voidsetStatus(String status)voidsetTimestamp(long timestamp)voidsetTransactionHash(String transactionHash)voidsetTransactionIndex(int transactionIndex)voidsetTransactionType(TransactionType transactionType)voidsetUserTransaction(UserTransaction userTransaction)StringtoString()
-
Constructor Details
-
Transaction
public Transaction()
-
-
Method Details
-
getTransactionType
-
setTransactionType
-
getStateRootHash
-
setStateRootHash
-
getEventRootHash
-
setEventRootHash
-
getGasUsed
-
setGasUsed
-
getStatus
-
setStatus
-
getTimestamp
public long getTimestamp() -
setTimestamp
public void setTimestamp(long timestamp) -
getBlockHash
-
setBlockHash
-
getBlockNumber
-
setBlockNumber
-
getTransactionHash
-
setTransactionHash
-
getTransactionIndex
public int getTransactionIndex() -
setTransactionIndex
public void setTransactionIndex(int transactionIndex) -
getBlockMetadata
-
setBlockMetadata
-
getEvents
-
setEvents
-
getUserTransaction
-
setUserTransaction
-
toString
-