public final class AccountQuery extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AccountQuery.Type |
Modifier and Type | Method and Description |
---|---|
static AccountQuery |
from(AccountAddress address)
Create an
AccountQuery given the provided AccountAddress |
static AccountQuery |
from(AccountIndex index)
Create an
AccountQuery given the provided AccountIndex |
static AccountQuery |
from(CredentialRegistrationId credentialRegistrationId)
Create an
AccountQuery given the provided CredentialRegistrationId |
AccountAddress |
getAddress() |
com.google.protobuf.ByteString |
getByteString() |
AccountIndex |
getIndex() |
CredentialRegistrationId |
getRegistrationId() |
AccountQuery.Type |
getType() |
String |
toString() |
public com.google.protobuf.ByteString getByteString()
public static AccountQuery from(AccountAddress address)
AccountQuery
given the provided AccountAddress
address
- The account addresspublic static AccountQuery from(AccountIndex index)
AccountQuery
given the provided AccountIndex
index
- the account index, baker id, delegator id etc.public static AccountQuery from(CredentialRegistrationId credentialRegistrationId)
AccountQuery
given the provided CredentialRegistrationId
credentialRegistrationId
- the credential registration id.public AccountQuery.Type getType()
public AccountAddress getAddress()
public AccountIndex getIndex()
public CredentialRegistrationId getRegistrationId()
Copyright © 2025. All rights reserved.