Class SearchForApplications
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.indexer.SearchForApplications
-
public class SearchForApplications extends Query
Search for applications /v2/applications
-
-
Constructor Summary
Constructors Constructor Description SearchForApplications(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchForApplicationsapplicationId(Long applicationId)Application IDSearchForApplicationscreator(String creator)Filter just applications with the given creator address.Response<ApplicationsResponse>execute()Execute the query.Response<ApplicationsResponse>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()SearchForApplicationsincludeAll(Boolean includeAll)Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.SearchForApplicationslimit(Long limit)Maximum number of results to return.SearchForApplicationsnext(String next)The next page of results.-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
Constructor Detail
-
SearchForApplications
public SearchForApplications(Client client)
-
-
Method Detail
-
applicationId
public SearchForApplications applicationId(Long applicationId)
Application ID
-
creator
public SearchForApplications creator(String creator)
Filter just applications with the given creator address.
-
includeAll
public SearchForApplications includeAll(Boolean includeAll)
Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
-
limit
public SearchForApplications limit(Long limit)
Maximum number of results to return. There could be additional pages even if the limit is not reached.
-
next
public SearchForApplications next(String next)
The next page of results. Use the next token provided by the previous results.
-
execute
public Response<ApplicationsResponse> execute() throws Exception
Execute the query.
-
execute
public Response<ApplicationsResponse> 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
-
-