public class Index extends Object
| 构造器和说明 |
|---|
Index() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Hash256 |
accountRoot(AccountID accountID)
Create accountRoot from accountId.
|
static Hash256 |
bookEnd(Hash256 base)
Book end.
|
static Hash256 |
bookStart(Hash256 indexFromBookRange)
Book start.
|
static Hash256 |
bookStart(Issue pays,
Issue gets)
Book start.
|
static Hash256 |
directoryNode(Hash256 rootIndex,
UInt64 nodeIndex) |
static Hash256 |
ledgerHashes()
Get Ledger-hash.
|
static Hash256 |
ledgerHashes(long prev)
Get ledger-hash.
|
static Hash256 |
ownerDirectory(AccountID account)
Owner Directory
|
static Hash256 |
quality(Hash256 index,
UInt64 quality)
Quality.
|
static Hash256 |
rippleState(AccountID a1,
AccountID a2,
Currency currency)
Get rippleState.
|
static Hash256 |
rippleState(List<AccountID> accounts,
Currency currency)
rippleState
|
static Hash256 |
transactionID(byte[] blob)
Get transaction Id from blob.
|
public static Hash256 quality(Hash256 index, UInt64 quality)
index - Hash256 index.quality - quality.public static Hash256 rippleState(AccountID a1, AccountID a2, Currency currency)
a1 - Account address1.a2 - Account address2.currency - Currency.public static Hash256 rippleState(List<AccountID> accounts, Currency currency)
accounts - List of account address.currency - Currency value.public static Hash256 directoryNode(Hash256 rootIndex, UInt64 nodeIndex)
rootIndex - The RootIndex index for the directory nodenodeIndex - nullable LowNode, HighNode, OwnerNode, BookNode etc
defining a `page` number.public static Hash256 accountRoot(AccountID accountID)
accountID - Account address.public static Hash256 ownerDirectory(AccountID account)
account - Account address.public static Hash256 transactionID(byte[] blob)
blob - tx blob.public static Hash256 bookStart(Issue pays, Issue gets)
pays - Pays.gets - Gets.public static Hash256 bookStart(Hash256 indexFromBookRange)
indexFromBookRange - indexFromBookRangepublic static Hash256 ledgerHashes(long prev)
prev - Prev.public static Hash256 ledgerHashes()
Copyright © 2021. All rights reserved.