Skip to main content

/pallets/{palletId}/events REST API Endpoint

Get a list of events for a pallet.

Updated on
Sep 2, 2024

/pallets/{palletId}/events REST API Endpoint

Path Parameters

palletId
string
REQUIRED
The name or index of the pallet to read event metadata for

Query Parameters

onlyIds
boolean
Only return the names (IDs) of the event items instead of every event's metadata.
at
string
Block at which to retrieve a list of the pallet's event 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 (module) in the blockchain runtime that the events are associated
palletIndex
string
The index of the pallet in the runtime's list of pallets
items
array
An array of events associated with the pallet. Each event object in the array contains details about a specific event that occurred.
name
string
The name of the event
fields
array
An array of fields which contains the following fields:
name
string
The label or identifier of the data element within the event
type
string
The internal numeric identifier for the data type of the field
typeName
string
A more readable name describing the data type of the field
docs
array
The documentation or comments explaining the field
index
string
The event's position or identifier within the pallet's event list
docs
array
A brief description or documentation for the event
args
array
An array representing the types of arguments passed to this event
Request
1
curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/pallets/Scheduler/events?onlyIds=false' \
2
--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free