Path Parameters
The name or index of the pallet to read dispatchable metadata for.
The id of the dispatchable item to query for
Query Parameters
Include the dispatchable items metadata (including documentation) if set to true.
Returns
An object containing information about the state
The block's hash
The block's height
The name of the pallet (or module) within the blockchain runtime
The index of the pallet within the runtime
The id of the dispatchable item to query for
The metadata object which contains the following fields:
The name of the dispatchable item
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:
The name of the field, describing what data it holds
A numeric identifier representing the type of the field
A string indicating the actual data type
An array of strings providing documentation for the field
A numeric string that represents the index or position of the function within the pallet
An array of documentation strings that describe the function
An array describing the arguments required by the function. Each argument includes:
The name of the argument
The argument's type
A string that names the type in a more descriptive or structured way