public class DescribeFabricBlockResponse extends AbstractModel
header, skipSign| Constructor and Description |
|---|
DescribeFabricBlockResponse() |
DescribeFabricBlockResponse(DescribeFabricBlockResponse 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 |
|---|---|
String |
getBlockHash()
Get Block Hash.
|
Long |
getBlockHeight()
Get Block height.
|
String |
getCreateTimestamp()
Get Creation Timestamp
|
String |
getPreBlockHash()
Get Pre-Block Hash.
|
String |
getProposerOrg()
Get Proposal organization.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
Transaction[] |
getTransactionList()
Get Transaction list in the block.
|
Long |
getTxCount()
Get The number of transactions in a block.
|
void |
setBlockHash(String BlockHash)
Set Block Hash.
|
void |
setBlockHeight(Long BlockHeight)
Set Block height.
|
void |
setCreateTimestamp(String CreateTimestamp)
Set Creation Timestamp
|
void |
setPreBlockHash(String PreBlockHash)
Set Pre-Block Hash.
|
void |
setProposerOrg(String ProposerOrg)
Set Proposal organization.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setTransactionList(Transaction[] TransactionList)
Set Transaction list in the block.
|
void |
setTxCount(Long TxCount)
Set The number of transactions in a block.
|
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 DescribeFabricBlockResponse()
public DescribeFabricBlockResponse(DescribeFabricBlockResponse source)
public Long getBlockHeight()
public void setBlockHeight(Long BlockHeight)
BlockHeight - Block height.public String getBlockHash()
public void setBlockHash(String BlockHash)
BlockHash - Block Hash.public String getPreBlockHash()
public void setPreBlockHash(String PreBlockHash)
PreBlockHash - Pre-Block Hash.public Long getTxCount()
public void setTxCount(Long TxCount)
TxCount - The number of transactions in a block.public Transaction[] getTransactionList()
public void setTransactionList(Transaction[] TransactionList)
TransactionList - Transaction list in the block.public String getCreateTimestamp()
public void setCreateTimestamp(String CreateTimestamp)
CreateTimestamp - Creation Timestamppublic String getProposerOrg()
public void setProposerOrg(String ProposerOrg)
ProposerOrg - Proposal organization.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.