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 2, 2024

/pallets/{palletId}/errors REST API Endpoint

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
An array of documentation strings that describe the error or event
args
array
An array describing the arguments required by the error
Request
1
curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/pallets/Scheduler/errors' \
2
--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free