getBoxNames method

Future<List<BoxDescriptor>> getBoxNames(
  1. int applicationId, {
  2. int? perPage,
  3. CancelToken? cancelToken,
  4. ProgressCallback? onSendProgress,
  5. ProgressCallback? onReceiveProgress,
})

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.

Throws an AlgorandException if there is an HTTP error. Returns the block in the given round number.

Implementation

Future<List<BoxDescriptor>> getBoxNames(
  int applicationId, {
  int? perPage,
  CancelToken? cancelToken,
  ProgressCallback? onSendProgress,
  ProgressCallback? onReceiveProgress,
}) async {
  return _boxesApi.getBoxNamesByApplicationId(
    applicationId,
    limit: perPage,
    cancelToken: cancelToken,
    onSendProgress: onSendProgress,
    onReceiveProgress: onReceiveProgress,
  );
}