/pallets/{palletId}/errors/{errorItemId} REST API Endpoint
Path Parameters
palletId
string
REQUIRED
The name or index of the pallet to read error metadata for.
errorItemId
string
REQUIRED
The id of the error item to query for.
Query Parameters
at
string
Block at which to query the error item at.
metadata
boolean
Include the error items metadata (including documentation) if set to true.
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
errorItem
string
The id of the error item
metadata
object
The metadata object which contains the following fields:
name
string
The name of the error
fields
array
An array meant to list any fields associated with the error
index
string
The index or identifier of the error within the pallet
docs
array
An array containing documentation strings that describe the error
args
array
The arguments required by the error
Request
1curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/pallets/Scheduler/errors/FailedToSchedule?metadata=true' \2--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free