Docs

childstate_getKeys - JSON-RPC Method

List child storage keys with a given prefix on Bittensor.

Description

Read from child tries (nested storage) including listing keys and fetching values. Useful for pallets that isolate state in child trees.

Returns child storage keys for a given child storage root and key prefix.

Code Examples

Notes

  • Replace 0xCHILD_STORAGE_KEY with the actual child trie root for the pallet or contract you are querying.
  • Public Bittensor endpoints do not expose a stable example child trie, so you need a chain-specific child storage key before this call will return data.