Retrieve a list of all Kaia accounts.
size
is optional. (Min = 1, Max = 1000, Default = 100)size=100
) when size=0
size=1000
) when given a value higher than the maximum value.The request is successful.
The request is not valid.
curl -i -X GET \ -u <username>:<password> \ 'https://wallet-api.klaytnapi.com/v2/account?size=100&cursor=string&to-timestamp=0&from-timestamp=0&status=enabled' \ -H 'x-chain-id: string'
{- "cursor": "",
- "items": [
- {
- "address": "0x1aAB1dF401B091aF8cd2362391b3Dafcd1AD476a",
- "chainId": 1001,
- "createdAt": 1604737502,
- "keyId": "krn:1001:wallet:6698d79e-78ee-439a-815d-f293ec6ae736:account-pool:default:0xb1e3530cde9eef3e4646a1732d9cbaac13199064741f94bcc906aff6291d9b6c",
- "krn": "krn:1001:wallet:6698d79e-78ee-439a-815d-f293ec6ae736:account-pool:default",
- "publicKey": "0x045f3f7078d61a403c336a778bde98fbb75da342af8afc751eb53bd7db116379a1f8d40f819da4330457a3684ac0fb40064e2b04c698995b5be09510b51e456122",
- "updatedAt": 1604737502
}
]
}