Number of Kaia accounts in a certain account pool of a user.

Returns the number of Kaia accounts for a certain account repository of a user.

Request
Security:
header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200

The request is successful.

get/v2/stat/count/krn
Request samples
curl -i -X GET \
  -u <username>:<password> \
  https://wallet-api.klaytnapi.com/v2/stat/count/krn \
  -H 'x-chain-id: string'
Response samples
application/json
{
  • "accountId": "68ec0e4b-0f61-4e6f-ae35-be865ab23187",
  • "count": 4,
  • "krn": "krn:1001:wallet:68ec0e4b-0f61-4e6f-ae35-be865ab23187:account-pool:default"
}