Path Parameters
- palletIdstringREQUIRED
The name or index of the pallet to read constant metadata for
Query Parameters
- onlyIdsboolean
Only return the names (IDs) of the const items instead of every constant's metadata
- atstring
The block at which to retrieve a list of the pallet's constant items
Returns
- atobject
An object containing information about the state
- hashstring
The block's hash
- heightstring
The block's height
- palletstring
Specifies the pallet (or module) within the blockchain's runtime
- palletIndexstring
The index of the pallet within the runtime
- itemsarray
A list containing different configuration items within the specified pallet. Each item includes several fields:
- namestring
The name of the configuration item
- typestring
The type identifier for the configuration item
- valuestring
The value of the configuration item in a hex-encoded format
- docsarray
A list of strings providing documentation or description of the configuration item