HTTPClient object.
Optional
intDecoding: IntDecodingThe method to use for decoding integers from this request's response. See the setIntDecoding method for more details.
Execute the request, but do not process the response data in any way.
A promise which resolves to the raw response data, exactly as returned by the server.
Additional headers to send in the request. Optional.
Prepare a JSON response before returning it.
Use this method to change and restructure response
data as needed after receiving it from the do()
method.
Response body received
Configure how integers in this request's JSON response will be decoded.
The options are:
The method to use when parsing the response for this request. Must be one of "default", "safe", "mixed", or "bigint".
Creator for filter, as string
const creator = "XBYLS2E6YI6XXL5BWCAMOA4GTWHXWENZMX5UHXMRNWWUQ7BXCY5WC5TEPA";
const apps = await indexerClient
.searchForApplications()
.creator(creator)
.do();
Includes all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates
const apps = await indexerClient
.searchForApplications()
.includeAll(false)
.do();
const apps = await indexerClient
.searchForApplications()
.includeAll()
.do();
default true when called without passing a value
Application ID for filter, as int
const appId = 60553466;
const apps = await indexerClient
.searchForApplications()
.index(appId)
.do();
Alternatively, use indexerClient.lookupApplications(appId).do()
Limit results for pagination.
const maxResults = 20;
const apps = await indexerClient
.searchForApplications()
.limit(maxResults)
.do();
maximum number of results to return.
Specify the next page of results.
const maxResults = 20;
const appsPage1 = await indexerClient
.searchForApplications()
.limit(maxResults)
.do();
const appsPage2 = await indexerClient
.searchForApplications()
.limit(maxResults)
.nextToken(appsPage1["next-token"])
.do();
Generated using TypeDoc
Returns information about indexed applications.
Example
Response data schema details