public class Transaction extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Transaction() | 
| Transaction(Transaction 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 交易所在区块高度 | 
| String | getChaincodeName()Get 合约名称 | 
| String | getCreateTime()Get 交易创建时间 | 
| String | getSender()Get 交易发送者 | 
| String | getTxId()Get 交易ID | 
| Long | getTxIndex()Get 交易在区块中的序号 | 
| void | setBlockHeight(Long BlockHeight)Set 交易所在区块高度 | 
| void | setChaincodeName(String ChaincodeName)Set 合约名称 | 
| void | setCreateTime(String CreateTime)Set 交易创建时间 | 
| void | setSender(String Sender)Set 交易发送者 | 
| void | setTxId(String TxId)Set 交易ID | 
| void | setTxIndex(Long TxIndex)Set 交易在区块中的序号 | 
| 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, toJsonStringpublic Transaction()
public Transaction(Transaction source)
public String getTxId()
public void setTxId(String TxId)
TxId - 交易IDpublic String getChaincodeName()
public void setChaincodeName(String ChaincodeName)
ChaincodeName - 合约名称public String getSender()
public void setSender(String Sender)
Sender - 交易发送者public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - 交易创建时间public Long getBlockHeight()
public void setBlockHeight(Long BlockHeight)
BlockHeight - 交易所在区块高度public Long getTxIndex()
public void setTxIndex(Long TxIndex)
TxIndex - 交易在区块中的序号Copyright © 2025. All rights reserved.