Retrieve a list of keys

Returns a list of keys

Request
Security:
query Parameters
krn
required
string

KAS resource name

cursor
string

Last cursor record

size
string

Maximum query size

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200

OK

get/v2/key
Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://wallet-api.klaytnapi.com/v2/key?krn=string&cursor=string&size=string' \
  -H 'x-chain-id: string'
Response samples
application/json
{
  • "cursor": "eyJBZGRyZXNzIjoia3JuOjEwMDE6d2FsbGV0OmxvY2FsOmFjY291bnQtcG9vbDpkZWZhdWx0OjB4MWJhNzZjZjc5MzZiNGU3YWY3ZTNiYjllODFjOTliMjgxOThmZDU3ZWQ4NTg2MWE2ODJjZmY0ZDkyMWFkNjQ0MiIsIlR5cGUiOiJLZXkiLCJrZXlfcG9vbCI6ImtybjoxMDAxOndhbGxldDpsb2NhbDphY2NvdW50LXBvb2w6ZGVmYXVsdCJ9",
  • "items": [
    ]
}