Interface: AuthQueryExtensionMethods
@shareledgerjs/client.auth.AuthQueryExtensionMethods
Methods
account
▸ account(address): Promise<null | Any>
Returns an account if it exists and null otherwise.
The account is a protobuf Any in order to be able to support many different
account types in one API. The caller needs to switch over the expected and supported
typeUrl and decode the value using its own type decoder.
Parameters
| Name | Type |
|---|---|
address | string |
Returns
Promise<null | Any>