public class TransactionReceipt extends MychainObject
| 构造器和说明 |
|---|
TransactionReceipt() |
TransactionReceipt(long result,
BigInteger gasUsed,
List<LogEntry> logs,
byte[] output) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
BloomFilter |
generateBloom() |
BigInteger |
getGasUsed()
Gets gas used.
|
List<LogEntry> |
getLogs()
Gets logs.
|
byte[] |
getOutput()
Get output byte [ ].
|
long |
getResult()
Gets result.
|
void |
setGasUsed(BigInteger gasUsed)
Sets gas used.
|
void |
setLogs(List<LogEntry> logs)
Sets logs.
|
void |
setOutput(byte[] output)
Sets output.
|
void |
setResult(long result)
Sets result.
|
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
toStringpublic TransactionReceipt(long result,
BigInteger gasUsed,
List<LogEntry> logs,
byte[] output)
public TransactionReceipt()
public long getResult()
public void setResult(long result)
result - the resultpublic BigInteger getGasUsed()
public void setGasUsed(BigInteger gasUsed)
gasUsed - the gas usedpublic byte[] getOutput()
public void setOutput(byte[] output)
output - the outputpublic BloomFilter generateBloom()
public byte[] toRlp()
toRlp 在类中 MychainObjectpublic void fromRlp(RlpList list)
fromRlp 在类中 MychainObjectlist - the rlp bytespublic void toJson(com.alibaba.fastjson.JSONObject jsonObject)
toJson 在类中 MychainObjectjsonObject - the json objectpublic void fromJson(com.alibaba.fastjson.JSONObject jsonObject)
fromJson 在类中 MychainObjectjsonObject - the json objectCopyright © 2022. All rights reserved.