List all KV entries

The state chain's key-value state as a map, optionally narrowed to a key prefix and paged in sorted key order.

GET
/statechain/kv

Query Parameters

prefix?string

Return only keys starting with this string. Omit for the whole state.

offset?integer

Index of the first key to return, in sorted key order.

Default0
Range0 <= value
limit?integer

Maximum entries to return. Values above 1000 are clamped to 1000; a missing, zero, negative or unparseable value falls back to 100.

Default100
Range1 <= value <= 1000

Response Body

application/json

curl -X GET "https://ldn.core.test.network/statechain/kv?prefix=sys."
{}