StatisticsApi

StatisticsApi

new StatisticsApi()

Version:
  • 1.0

Statistics service.

Methods

getAccountCountByAccountID(xChainId, callback)

GetAccountCountByAccountID Show the number of Klaytn account and key which KAS account owned

Parameters:
Name Type Description
xChainId String

Klaytn chain network ID (1001 or 8217)

callback StatisticsApi~getAccountCountByAccountIDCallback

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

getAccountCountByKRN(xChainId, opts, callback)

GetAccountCountByKRN Show the number of Klaytn account which KAS account owned from certain account pool

Parameters:
Name Type Description
xChainId String

Klaytn chain network ID (1001 or 8217)

opts Object

Optional parameters

Properties
Name Type Description
xKrn String

Account pool name

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(xChainId, callback)

GetAccountCountByAccountID Show the number of Klaytn account and key which KAS account owned

Parameters:
Name Type Description
xChainId String

Klaytn chain network ID (1001 or 8217)

callback StatisticsApi~getAccountCountByAccountIDCallback

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

getAccountCountByKRN(xChainId, opts, callback)

GetAccountCountByKRN Show the number of Klaytn account which KAS account owned from certain account pool

Parameters:
Name Type Description
xChainId String

Klaytn chain network ID (1001 or 8217)

opts Object

Optional parameters

Properties
Name Type Description
xKrn String

Account pool name

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.