/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
1curl --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