Get state value

Reads one key from the state chain's key-value state. Exact-key lookup — use the `prefix` query parameter on the list endpoint to scan.

GET
/statechain/kv/{key}

Path Parameters

key*string

State key, e.g. sys.tokenomics.

Lengthlength <= 128

Response Body

application/json

application/json

curl -X GET "https://ldn.core.test.network/statechain/kv/sys.tokenomics"
{
  "key": "string",
  "value": null
}
{
  "error": "invalid signature"
}