public class TransactionInfo extends MychainObject
| 构造器和说明 |
|---|
TransactionInfo() |
TransactionInfo(Transaction transaction,
TransactionReceipt transactionReceipt,
BigInteger blockNumber,
int txIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
BigInteger |
getBlockNumber() |
Transaction |
getTransaction() |
TransactionReceipt |
getTransactionReceipt() |
int |
getTxIndex() |
void |
setBlockNumber(BigInteger blockNumber) |
void |
setTransaction(Transaction transaction) |
void |
setTransactionReceipt(TransactionReceipt transactionReceipt) |
void |
setTxIndex(int txIndex) |
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
toStringpublic TransactionInfo(Transaction transaction, TransactionReceipt transactionReceipt, BigInteger blockNumber, int txIndex)
public TransactionInfo()
public Transaction getTransaction()
public void setTransaction(Transaction transaction)
public TransactionReceipt getTransactionReceipt()
public void setTransactionReceipt(TransactionReceipt transactionReceipt)
public BigInteger getBlockNumber()
public void setBlockNumber(BigInteger blockNumber)
public int getTxIndex()
public void setTxIndex(int txIndex)
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.