searchForApplicationBoxes - Algorand

Given an application ID, returns the box names of that application sorted lexicographically.

Endpoint

httpGET /v2/applications/{application-id}/boxes

Path Parameters

ParameterTypeRequiredDescription
application-idintegerYes—

Query Parameters

ParameterTypeRequiredDescription
limitintegerOptionalMaximum number of results to return. There could be additional pages even if the limit is not reached.
nextstringOptionalThe next page of results. Use the next token provided by the previous results.
includearrayOptionalInclude additional items in the response. Use values to include box values. Multiple values can be comma-separated.

Example

bashexport ALGO_INDEXER=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${ALGO_INDEXER}v2/applications/REPLACE_APPLICATION-ID/boxes"

Response

Returns application/json. Top-level fields:

FieldTypeDescription
application-idinteger[appidx] application index.
boxesarray—
next-tokenstringUsed for pagination, when making another request provide this token with the next parameter.
roundintegerThe round for which this information is relevant.

Error Handling

ErrorMessageDescription
400Bad requestA parameter was missing or malformed
404Not foundThe requested resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect