Skip to main content

/pallets/{palletId}/errors REST API Endpoint

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

Updated on
Sep 02, 2024

Path Parameters

palletId
string
REQUIRED

The name or index of the pallet to read error metadata for

Query Parameters

onlyIds
boolean

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

at
string

Block at which to retrieve a list of the pallet's error items

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's runtime

palletIndex
string

The index of the pallet in the runtime

items
array

Each object in the items array represents a different error or event associated with the pallet

name
string

The name of the error in the pallet

fields
array

An array that would contain details about the fields associated with the error

index
string

The index or identifier of the error within the pallet

docs
string | array

An array of documentation strings that describe the error or event

args
array

An array describing the arguments required by the error

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