public class QueryBlockHeaderByTimestampRequest extends Request
groupId, hashTypeEnum| 构造器和说明 |
|---|
QueryBlockHeaderByTimestampRequest() |
QueryBlockHeaderByTimestampRequest(BaseFixedSizeByteArray.Fixed20ByteArray myChainId) |
QueryBlockHeaderByTimestampRequest(long timestamp) |
QueryBlockHeaderByTimestampRequest(long timestamp,
BaseFixedSizeByteArray.Fixed20ByteArray myChainId) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
long |
getTimestamp() |
boolean |
isValid() |
void |
setTimestamp(long timestamp) |
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
getGroupId, getSequenceId, getTraceId, isSetGroupId, setGroupId, setHashTypeEnum, setSequenceId, setTraceIdgetMessageType, setMessageType, toStringpublic QueryBlockHeaderByTimestampRequest(BaseFixedSizeByteArray.Fixed20ByteArray myChainId)
public QueryBlockHeaderByTimestampRequest()
public QueryBlockHeaderByTimestampRequest(long timestamp,
BaseFixedSizeByteArray.Fixed20ByteArray myChainId)
public QueryBlockHeaderByTimestampRequest(long timestamp)
public long getTimestamp()
public void setTimestamp(long timestamp)
public byte[] toRlp()
public void fromRlp(RlpList list)
public void toJson(com.alibaba.fastjson.JSONObject jsonObject)
Copyright © 2022. All rights reserved.