public abstract class AbstractTransactionRequest extends Request
groupId, hashTypeEnum| 构造器和说明 |
|---|
AbstractTransactionRequest(MessageType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkAnchorData(int anchor_type) |
void |
complete() |
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
HashTypeEnum |
getHashTypeEnum() |
BigInteger |
getLocalBlockNumber() |
Boolean |
getLocalTransaction() |
Transaction |
getTransaction() |
boolean |
isLocal() |
void |
setAnchorData(byte[] data) |
void |
setBlockNumber(BigInteger blockNumber) |
void |
setGrayscaleData() |
void |
setGroupId(BaseFixedSizeByteArray.Fixed20ByteArray groupId)
Sets group id.
|
void |
setHashTypeEnum(HashTypeEnum hashTypeEnum) |
void |
setLocal() |
void |
setLocal(BigInteger blockNumber) |
void |
setLocalTransaction() |
void |
setPreReleaseData() |
void |
setTransaction(Transaction transaction) |
void |
setTxExtensions(List<Extension> extensions) |
void |
setTxGas(BigInteger gas) |
void |
setTxPeriod(long period) |
void |
setTxTimeNonce(long ts,
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger nonce,
boolean force) |
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
getGroupId, getSequenceId, getTraceId, isSetGroupId, isValid, setSequenceId, setTraceIdgetMessageType, setMessageType, toStringpublic AbstractTransactionRequest(MessageType type)
public Transaction getTransaction()
public void setTransaction(Transaction transaction)
public void setBlockNumber(BigInteger blockNumber)
public BigInteger getLocalBlockNumber()
public Boolean getLocalTransaction()
public void setLocalTransaction()
public void complete()
public void setTxTimeNonce(long ts,
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger nonce,
boolean force)
public void setTxPeriod(long period)
public void setTxGas(BigInteger gas)
public void setLocal()
public boolean isLocal()
public void setLocal(BigInteger blockNumber)
public HashTypeEnum getHashTypeEnum()
public void setHashTypeEnum(HashTypeEnum hashTypeEnum)
setHashTypeEnum 在类中 Requestpublic byte[] toRlp()
public void fromRlp(RlpList list)
public void toJson(com.alibaba.fastjson.JSONObject jsonObject)
public void fromJson(com.alibaba.fastjson.JSONObject jsonObject)
public void setGroupId(BaseFixedSizeByteArray.Fixed20ByteArray groupId)
RequestsetGroupId 在类中 RequestgroupId - the group idpublic boolean checkAnchorData(int anchor_type)
public void setAnchorData(byte[] data)
public void setGrayscaleData()
public void setPreReleaseData()
Copyright © 2022. All rights reserved.