Query resource list

Returns a list of user resources

Request
path Parameters
account-id
required
string

KAS account ID to query resource lists

query Parameters
from-timestamp
string

Timestamp (in sec.) at the start of the query

to-timestamp
string

Timestamp (in sec.) at the end of the query

size
string

Maximum size of the account query

resource-type
string

Resource type

service-id
string

Service name

cursor
string

Last cursor record

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200

OK

get/v1/resource/account/{account-id}
Request samples
curl -i -X GET \
  'https://resource-api.klaytnapi.com/v1/resource/account/{account-id}?from-timestamp=string&to-timestamp=string&size=string&resource-type=string&service-id=string&cursor=string' \
  -H 'x-chain-id: string'
Response samples
application/json
{
  • "cursor": "",
  • "items": [
    ]
}