Keys

Get KeyValueStore Keys

post

Allows to iterate over key value store keys.

Body
all ofoptionalExample: {"key_value_store_address":"<key-value-store-address>"}

defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.

Responses
curl -L \
  --request POST \
  --url 'https://xrd-gateway.nownodes.io/state/key-value-store/keys' \
  --header 'Content-Type: application/json' \
  --data '{
    "key_value_store_address": "<key-value-store-address>"
  }'
{
  "ledger_state": {
    "network": "<network-name>",
    "state_version": 1,
    "proposer_round_timestamp": "text",
    "epoch": 1,
    "round": 1
  },
  "total_count": 1,
  "next_cursor": "text",
  "items": [
    {
      "key": {
        "raw_hex": "text",
        "programmatic_json": {
          "kind": "Bool",
          "type_name": "text",
          "field_name": "text"
        }
      },
      "last_updated_at_state_version": 1
    }
  ],
  "key_value_store_address": "text"
}