public class AccountID extends Hash160
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AccountID.Translator |
static class |
AccountID.UnknownAlias |
Hash.HashTranslator<T extends Hash>| 限定符和类型 | 字段和说明 |
|---|---|
static AccountIDField |
Account |
String |
address |
static Map<String,AccountID> |
aliases |
static AccountIDField |
ContractAddress |
static AccountIDField |
Destination |
static AccountIDField |
Issuer |
static AccountID |
NEUTRAL |
static AccountIDField |
OriginalAddress |
static AccountIDField |
Owner |
static AccountIDField |
RegularKey |
static AccountIDField |
Target |
static AccountID.Translator |
translate |
static AccountIDField |
User |
static AccountID |
XRP_ISSUER |
NameInDB, TakerGetsCurrency, TakerGetsIssuer, TakerPaysCurrency, TakerPaysIssuer| 构造器和说明 |
|---|
AccountID(byte[] bytes)
Constructor.
|
AccountID(byte[] bytes,
String address)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AccountIDField |
accountField(Field f)
accountField
|
static AccountID |
accountForAlias(String value)
accountForAlias
|
static AccountID |
addAliasFromPassPhrase(String n,
String n2)
addAliasFromPassPhrase
|
static AccountID |
fromAddress(String address)
fromAddress
|
static AccountID |
fromAddressBytes(byte[] bytes)
Create from Address bytes.
|
static AccountID |
fromBytes(byte[] bytes)
From bytes.
|
static AccountID |
fromInteger(Integer n)
Get AccountID from integer.
|
static AccountID |
fromKeyPair(IKeyPair kp)
From keypair.
|
static AccountID |
fromPassPhrase(String phrase)
From passphrase.
|
static AccountID |
fromSeedBytes(byte[] seed)
From Seed byte array.
|
static AccountID |
fromSeedString(String seed)
fromSeedString
|
static AccountID |
fromString(String value)
Static from* constructors
|
int |
hashCode() |
boolean |
isNativeIssuer()
isNativeIssuer.
|
Issue |
issue(Currency c)
Issue.
|
Issue |
issue(String code)
Isue.
|
Hash256 |
lineIndex(Issue issue)
line-index.
|
byte[] |
toBytes() |
void |
toBytesSink(BytesSink to) |
String |
toHex() |
Object |
toJSON() |
String |
toString() |
Type |
type() |
hash160Fieldbytes, compareBytes, compareStartingAt, compareTo, equals, get, slice, slicepublic static AccountID NEUTRAL
public static AccountID XRP_ISSUER
public final String address
public static AccountID.Translator translate
public static AccountIDField Account
public static AccountIDField Owner
public static AccountIDField Destination
public static AccountIDField Issuer
public static AccountIDField Target
public static AccountIDField RegularKey
public static AccountIDField User
public static AccountIDField OriginalAddress
public static AccountIDField ContractAddress
public AccountID(byte[] bytes)
bytes - byte array.public AccountID(byte[] bytes,
String address)
bytes - byte array.address - Address.public static AccountID fromString(String value)
value - Address.public static AccountID fromAddress(String address)
address - Account address.public static AccountID fromKeyPair(IKeyPair kp)
kp - keypair.public static AccountID fromPassPhrase(String phrase)
phrase - Passphrase.public static AccountID fromSeedString(String seed)
seed - Seed.public static AccountID fromSeedBytes(byte[] seed)
seed - Seed byte array.public static AccountID fromInteger(Integer n)
n - Integer value.public static AccountID fromBytes(byte[] bytes)
bytes - byte array.public static AccountID fromAddressBytes(byte[] bytes)
bytes - address bytes.public boolean isNativeIssuer()
public Object toJSON()
toJSON 在接口中 SerializedTypetoJSON 在类中 Hash160public byte[] toBytes()
toBytes 在接口中 SerializedTypetoBytes 在类中 Hash160public String toHex()
toHex 在接口中 SerializedTypetoHex 在类中 Hash160public void toBytesSink(BytesSink to)
toBytesSink 在接口中 SerializedTypetoBytesSink 在类中 Hash160public Type type()
type 在接口中 SerializedTypetype 在类中 Hash160public static AccountID addAliasFromPassPhrase(String n, String n2)
n - nn2 - Phrase.public static AccountID accountForAlias(String value)
value - value.public static AccountIDField accountField(Field f)
f - f.Copyright © 2021. All rights reserved.