getBoxNames method

Future<BoxNamesResponse> getBoxNames(
  1. int applicationId, {
  2. int? max,
  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<BoxNamesResponse> getBoxNames(
  int applicationId, {
  int? max,
  CancelToken? cancelToken,
  ProgressCallback? onSendProgress,
  ProgressCallback? onReceiveProgress,
}) async {
  return _boxesApi.getBoxNamesByApplicationId(
    applicationId,
    max: max,
    cancelToken: cancelToken,
    onSendProgress: onSendProgress,
    onReceiveProgress: onReceiveProgress,
  );
}