public class ChainMakerTransactionResult extends AbstractModel
header, skipSign
Constructor and Description |
---|
ChainMakerTransactionResult() |
ChainMakerTransactionResult(ChainMakerTransactionResult source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getBlockHeight()
Get 区块高度
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getCode()
Get 交易结果码
|
String |
getCodeMessage()
Get 交易结果码含义
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getContractEvent()
Get 合约执行结果
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getGasUsed()
Get Gas使用量
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMessage()
Get 合约返回信息
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getTimestamp()
Get 交易时间,单位是秒
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getTxId()
Get 交易ID
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setBlockHeight(Long BlockHeight)
Set 区块高度
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCode(Long Code)
Set 交易结果码
|
void |
setCodeMessage(String CodeMessage)
Set 交易结果码含义
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setContractEvent(String ContractEvent)
Set 合约执行结果
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setGasUsed(Long GasUsed)
Set Gas使用量
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMessage(String Message)
Set 合约返回信息
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTimestamp(Long Timestamp)
Set 交易时间,单位是秒
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTxId(String TxId)
Set 交易ID
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ChainMakerTransactionResult()
public ChainMakerTransactionResult(ChainMakerTransactionResult source)
public Long getCode()
public void setCode(Long Code)
Code
- 交易结果码public String getCodeMessage()
public void setCodeMessage(String CodeMessage)
CodeMessage
- 交易结果码含义
注意:此字段可能返回 null,表示取不到有效值。public String getTxId()
public void setTxId(String TxId)
TxId
- 交易ID
注意:此字段可能返回 null,表示取不到有效值。public Long getGasUsed()
public void setGasUsed(Long GasUsed)
GasUsed
- Gas使用量
注意:此字段可能返回 null,表示取不到有效值。public Long getBlockHeight()
public void setBlockHeight(Long BlockHeight)
BlockHeight
- 区块高度
注意:此字段可能返回 null,表示取不到有效值。public String getContractEvent()
public void setContractEvent(String ContractEvent)
ContractEvent
- 合约执行结果
注意:此字段可能返回 null,表示取不到有效值。public String getMessage()
public void setMessage(String Message)
Message
- 合约返回信息
注意:此字段可能返回 null,表示取不到有效值。public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp
- 交易时间,单位是秒
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.