Skip to content

Application Boxes

GET /v2/applications/{applicationId}/boxes?max={max}

Get all box names for a given application.

Given an application ID, return all Box names. No particular ordering is guaranteed. Request fails when client or server-side configured limits prevent returning all Box names.

Properties

NameTypeDescription
applicationId*stringAn application identifier
maxnumberMax number of box names to return.
If max is not set, or max == 0, returns all box-names.

* indicates required property

Packages

Node.js

Install

Terminal window
npm install algosdk --save

Usage

import { Algodv2 } from "algosdk";
const data = {applicationId: 62368684}
const client = new Algodv2( "", "https://testnet-api.algonode.cloud", 443 );
const result = await client.getApplicationBoxes(data.applicationId).do();

React

Install

Terminal window
npm install @awesome-algorand/react-query @txnlab/use-wallet-react @tanstack/react-query algosdk --save

Usage

import { useApplicationBoxes } from '@awesome-algorand/react-query';
export function ApplicationBoxesViewer() {
const data = {applicationId: 62368684}
const query = useApplicationBoxes(data);
}

Svelte [WIP]

Coming Soon!

Solid [WIP]

Coming Soon!

Vue [WIP]

Coming Soon!

Angular [WIP]

Coming Soon!