Class AccountInformation


  • public class AccountInformation
    extends Query
    Given a specific account public key, this call returns the account's status, balance and spendable amounts /v2/accounts/{address}
    • Constructor Detail

      • AccountInformation

        public AccountInformation​(Client client,
                                  Address address)
        Parameters:
        address - An account public key.
    • Method Detail

      • exclude

        public AccountInformation exclude​(List<Enums.Exclude> exclude)
        Exclude additional items from the account. Use `all` to exclude asset holdings, application local state, created asset parameters, and created application parameters. Use `created-apps-params` to exclude only the parameters of created applications (returns only application IDs). Use `created-assets-params` to exclude only the parameters of created assets (returns only asset IDs). Multiple values can be comma-separated (e.g., `created-apps-params,created-assets-params`). Note: `all` and `none` cannot be combined with other values. Defaults to `none`.
      • execute

        public Response<Account> execute​(String[] headers,
                                         String[] values)
                                  throws Exception
        Execute the query with custom headers, there must be an equal number of keys and values or else an error will be generated.
        Specified by:
        execute in class Query
        Parameters:
        headers - an array of header keys
        values - an array of header values
        Returns:
        the query response object.
        Throws:
        Exception