Class LookupAccountByID
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.indexer.LookupAccountByID
-
public class LookupAccountByID extends Query
Lookup account information. /v2/accounts/{account-id}
-
-
Constructor Summary
Constructors Constructor Description LookupAccountByID(Client client, Address accountId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LookupAccountByIDexclude(List<Enums.Exclude> exclude)Exclude additional items such as asset holdings, application local data stored for this account, asset parameters created by this account, and application parameters created by this account.Response<AccountResponse>execute()Execute the query.Response<AccountResponse>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()LookupAccountByIDincludeAll(Boolean includeAll)Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.LookupAccountByIDround(Long round)Include results for the specified round.-
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 LookupAccountByID exclude(List<Enums.Exclude> exclude)
Exclude additional items such as asset holdings, application local data stored for this account, asset parameters created by this account, and application parameters created by this account.
-
includeAll
public LookupAccountByID includeAll(Boolean includeAll)
Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
-
round
public LookupAccountByID round(Long round)
Include results for the specified round.
-
execute
public Response<AccountResponse> execute() throws Exception
Execute the query.
-
execute
public Response<AccountResponse> 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
-
-