StatisticsApi

StatisticsApi

new StatisticsApi()

Version:
  • 1.0

Statistics service.

Methods

getAccountCountByAccountID(callback)

Number of Klaytn accounts and keys of a user Returns the number of all Klaytn accounts and keys for a certain KAS user.

Parameters:
Name Type Description
callback StatisticsApi~getAccountCountByAccountIDCallback

The callback function, accepting three arguments: error, data, response data is of type: AccountCountByAccountID

getAccountCountByKRN(callback)

Number of Klaytn accounts in a certain account repository of a user. Returns the number of Klaytn accounts for a certain account repository of a user.

Parameters:
Name Type Description
callback StatisticsApi~getAccountCountByKRNCallback

The callback function, accepting three arguments: error, data, response data is of type: AccountCountByKRN

Type Definitions

getAccountCountByAccountIDCallback(error, data, response)

Callback function to receive the result of the getAccountCountByAccountID operation.

Parameters:
Name Type Description
error String

Error message, if any.

data AccountCountByAccountID

The data returned by the service call.

response String

The complete HTTP response.

getAccountCountByKRNCallback(error, data, response)

Callback function to receive the result of the getAccountCountByKRN operation.

Parameters:
Name Type Description
error String

Error message, if any.

data AccountCountByKRN

The data returned by the service call.

response String

The complete HTTP response.

StatisticsApi

new StatisticsApi(apiClientopt)

Constructs a new StatisticsApi.

Parameters:
Name Type Attributes Description
apiClient ApiClient <optional>

Optional API client implementation to use, default to ApiClient#instance if unspecified.

Methods

getAccountCountByAccountID(callback)

Number of Klaytn accounts and keys of a user Returns the number of all Klaytn accounts and keys for a certain KAS user.

Parameters:
Name Type Description
callback StatisticsApi~getAccountCountByAccountIDCallback

The callback function, accepting three arguments: error, data, response data is of type: AccountCountByAccountID

getAccountCountByKRN(callback)

Number of Klaytn accounts in a certain account repository of a user. Returns the number of Klaytn accounts for a certain account repository of a user.

Parameters:
Name Type Description
callback StatisticsApi~getAccountCountByKRNCallback

The callback function, accepting three arguments: error, data, response data is of type: AccountCountByKRN

Type Definitions

getAccountCountByAccountIDCallback(error, data, response)

Callback function to receive the result of the getAccountCountByAccountID operation.

Parameters:
Name Type Description
error String

Error message, if any.

data AccountCountByAccountID

The data returned by the service call.

response String

The complete HTTP response.

getAccountCountByKRNCallback(error, data, response)

Callback function to receive the result of the getAccountCountByKRN operation.

Parameters:
Name Type Description
error String

Error message, if any.

data AccountCountByKRN

The data returned by the service call.

response String

The complete HTTP response.