Class AccountInformation
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.algod.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 Summary
Constructors Constructor Description AccountInformation(Client client, Address address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountInformationexclude(List<Enums.Exclude> exclude)Exclude additional items from the account.Response<Account>execute()Execute the query.Response<Account>execute(String[] headers, String[] values)Execute the query with custom headers, there must be an equal number of keys and values or else an error will be generated.protected QueryDatagetRequestString()-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
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.
-
getRequestString
protected QueryData getRequestString()
- Specified by:
getRequestStringin classQuery
-
-