public class Transaction extends Object
| 构造器和说明 |
|---|
Transaction() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBlockHash() |
BlockMetadata |
getBlockMetadata() |
String |
getBlockNumber() |
String |
getEventRootHash() |
List<Event> |
getEvents() |
String |
getGasUsed() |
String |
getStateRootHash() |
String |
getStatus() |
long |
getTimestamp() |
String |
getTransactionHash() |
int |
getTransactionIndex() |
TransactionType |
getTransactionType() |
UserTransaction |
getUserTransaction() |
void |
setBlockHash(String blockHash) |
void |
setBlockMetadata(BlockMetadata blockMetadata) |
void |
setBlockNumber(String blockNumber) |
void |
setEventRootHash(String eventRootHash) |
void |
setEvents(List<Event> events) |
void |
setGasUsed(String gasUsed) |
void |
setStateRootHash(String stateRootHash) |
void |
setStatus(String status) |
void |
setTimestamp(long timestamp) |
void |
setTransactionHash(String transactionHash) |
void |
setTransactionIndex(int transactionIndex) |
void |
setTransactionType(TransactionType transactionType) |
void |
setUserTransaction(UserTransaction userTransaction) |
String |
toString() |
public TransactionType getTransactionType()
public void setTransactionType(TransactionType transactionType)
public String getStateRootHash()
public void setStateRootHash(String stateRootHash)
public String getEventRootHash()
public void setEventRootHash(String eventRootHash)
public String getGasUsed()
public void setGasUsed(String gasUsed)
public String getStatus()
public void setStatus(String status)
public long getTimestamp()
public void setTimestamp(long timestamp)
public String getBlockHash()
public void setBlockHash(String blockHash)
public String getBlockNumber()
public void setBlockNumber(String blockNumber)
public String getTransactionHash()
public void setTransactionHash(String transactionHash)
public int getTransactionIndex()
public void setTransactionIndex(int transactionIndex)
public BlockMetadata getBlockMetadata()
public void setBlockMetadata(BlockMetadata blockMetadata)
public UserTransaction getUserTransaction()
public void setUserTransaction(UserTransaction userTransaction)
Copyright © 2021. All rights reserved.