public class TransactionReceiptResponse extends Response
| 构造器和说明 |
|---|
TransactionReceiptResponse() |
TransactionReceiptResponse(MessageType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
BigInteger |
getBlockNumber() |
TransactionReceipt |
getTransactionReceipt()
Getter method for property transactionReceipt.
|
Hash |
getTxHash() |
int |
getTxIndex()
Getter method for property txIndex.
|
boolean |
isLocalTransaction() |
void |
setBlockNumber(BigInteger blockNumber) |
void |
setLocalTransaction() |
void |
setTransactionReceipt(TransactionReceipt transactionReceipt) |
void |
setTxHash(Hash txHash) |
void |
setTxIndex(int txIndex)
Setter method for property txIndex.
|
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
getErrorCode, getExceptionMessage, getGroupId, getSequenceId, getTraceId, isSuccess, setErrorCode, setExceptionMessage, setGroupId, setSequenceId, setTraceIdgetMessageType, setMessageType, toStringpublic TransactionReceiptResponse()
public TransactionReceiptResponse(MessageType type)
public Hash getTxHash()
public void setTxHash(Hash txHash)
public TransactionReceipt getTransactionReceipt()
public void setTransactionReceipt(TransactionReceipt transactionReceipt)
public BigInteger getBlockNumber()
public void setBlockNumber(BigInteger blockNumber)
public int getTxIndex()
public void setTxIndex(int txIndex)
txIndex - value to be assigned to property txIndexpublic boolean isLocalTransaction()
public void setLocalTransaction()
public byte[] toRlp()
public void fromRlp(RlpList list)
public void toJson(com.alibaba.fastjson.JSONObject jsonObject)
Copyright © 2022. All rights reserved.