Path Parameters
- palletIdstringREQUIRED
Name or index of the pallet to read dispatchable metadata for
Query Parameters
- onlyIdsboolean
Only return the names (IDs) of the dispatchable items instead of every dispatchable's metadata.
Returns
- atobject
An object containing information about the state
- hashstring
The block's hash
- heightstring
The block's height
- palletstring
The name of the pallet (or module) within the blockchain runtime
- palletIndexstring
The index of the pallet within the runtime
- itemsarray
Each object in the items array represents a different function or method within the pallet
- namestring
The name of the function or method in the pallet
- fieldsarray
An array of field definitions for the method, where each field represents an input parameter or data structure used in the function. Each field includes:
- namestring
The name of the field, describing what data it holds
- typestring
A numeric identifier representing the type of the field
- typeNamestring
A string indicating the actual data type
- docsarray
An array of strings providing documentation for the field
- indexstring
A numeric string that represents the index or position of the function within the pallet
- docsarray
An array of documentation strings that describe the function
- argsarray
An array describing the arguments required by the function. Each argument includes:
- namestring
The name of the argument
- typestring
The argument's type
- typeNamestring
A string that names the type in a more descriptive or structured way