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 accounts 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 AccountInformation
exclude(Enums.Exclude exclude)
When set to `all` will exclude asset holdings, application local state, created asset parameters, any created application parameters.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 QueryData
getRequestString()
-
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(Enums.Exclude exclude)
When set to `all` will exclude asset holdings, application local state, created asset parameters, any created application parameters. 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:
getRequestString
in classQuery
-
-