Skip to main content

/pallets/{palletId}/dispatchables REST API Endpoint

Returns a list of dispatchable item metadata for distpachable items of the specified palletId.

Updated on
Sep 02, 2024

Path Parameters

palletId
string
REQUIRED

Name or index of the pallet to read dispatchable metadata for

Query Parameters

onlyIds
boolean

Only return the names (IDs) of the dispatchable items instead of every dispatchable's metadata.

Returns

at
object

An object containing information about the state

hash
string

The block's hash

height
string

The block's height

pallet
string

The name of the pallet (or module) within the blockchain runtime

palletIndex
string

The index of the pallet within the runtime

items
array

Each object in the items array represents a different function or method within the pallet

name
string

The name of the function or method in the pallet

fields
array

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:

name
string

The name of the field, describing what data it holds

type
string

A numeric identifier representing the type of the field

typeName
string

A string indicating the actual data type

docs
array

An array of strings providing documentation for the field

index
string

A numeric string that represents the index or position of the function within the pallet

docs
array

An array of documentation strings that describe the function

args
array

An array describing the arguments required by the function. Each argument includes:

name
string

The name of the argument

type
string

The argument's type

typeName
string

A string that names the type in a more descriptive or structured way

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free