public class Block extends AbstractModel
Constructor and Description |
---|
Block() |
Modifier and Type | Method and Description |
---|---|
Integer |
getBlockId()
Get 区块ID,与区块编号一致
|
Integer |
getBlockNum()
Get 区块编号
|
String |
getDataHash()
Get 区块Hash数值
|
String |
getPreHash()
Get 前一个区块Hash(未使用),与区块Hash数值一致
|
Integer |
getTxCount()
Get 区块内的交易数量
|
void |
setBlockId(Integer BlockId)
Set 区块ID,与区块编号一致
|
void |
setBlockNum(Integer BlockNum)
Set 区块编号
|
void |
setDataHash(String DataHash)
Set 区块Hash数值
|
void |
setPreHash(String PreHash)
Set 前一个区块Hash(未使用),与区块Hash数值一致
|
void |
setTxCount(Integer TxCount)
Set 区块内的交易数量
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Integer getBlockNum()
public void setBlockNum(Integer BlockNum)
BlockNum
- 区块编号public String getDataHash()
public void setDataHash(String DataHash)
DataHash
- 区块Hash数值public Integer getBlockId()
public void setBlockId(Integer BlockId)
BlockId
- 区块ID,与区块编号一致public String getPreHash()
public void setPreHash(String PreHash)
PreHash
- 前一个区块Hash(未使用),与区块Hash数值一致public Integer getTxCount()
public void setTxCount(Integer TxCount)
TxCount
- 区块内的交易数量Copyright © 2020. All rights reserved.