public class TransactionResult extends Object implements Comparable<TransactionResult>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TransactionResult.Source |
| 限定符和类型 | 字段和说明 |
|---|---|
EngineResult |
engineResult |
Hash256 |
hash |
Hash256 |
ledgerHash
已过时。
|
UInt32 |
ledgerIndex |
org.json.JSONObject |
message
已过时。
|
TransactionMeta |
meta |
Transaction |
txn |
boolean |
validated
已过时。
|
| 构造器和说明 |
|---|
TransactionResult(org.json.JSONObject json,
TransactionResult.Source resultMessageSource) |
TransactionResult(long ledgerIndex,
Hash256 hash,
Transaction txn,
TransactionMeta meta) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(TransactionResult o2) |
TransactionResult |
copy() |
AccountID |
createdAccount() |
static TransactionResult |
fromJSON(org.json.JSONObject json) |
AccountID |
initiatingAccount() |
boolean |
isPayment() |
Map<AccountID,STObject> |
modifiedRoots() |
org.json.JSONObject |
toJSON() |
org.json.JSONObject |
toJSONBinary() |
String |
toString() |
TransactionType |
transactionType() |
public EngineResult engineResult
public UInt32 ledgerIndex
public Hash256 hash
@Deprecated public Hash256 ledgerHash
@Deprecated public boolean validated
public Transaction txn
public TransactionMeta meta
@Deprecated public org.json.JSONObject message
public TransactionResult(long ledgerIndex,
Hash256 hash,
Transaction txn,
TransactionMeta meta)
public TransactionResult(org.json.JSONObject json,
TransactionResult.Source resultMessageSource)
public boolean isPayment()
public TransactionType transactionType()
public AccountID createdAccount()
public AccountID initiatingAccount()
public int compareTo(TransactionResult o2)
compareTo 在接口中 Comparable<TransactionResult>public static TransactionResult fromJSON(org.json.JSONObject json)
public org.json.JSONObject toJSON()
public TransactionResult copy()
public org.json.JSONObject toJSONBinary()
Copyright © 2021. All rights reserved.