Skip to main content

/pallets/{palletId}/events/{eventItemId} REST API Endpoint

Get the value of an event item.

Updated on
Sep 02, 2024

Path Parameters

palletId
string
REQUIRED

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

eventItemId
string
REQUIRED

The id of the event item to query for

Query Parameters

at
string

Block at which to query the event item at

metadata
boolean

Include the event 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 (module) in the blockchain runtime that the events are associated

palletIndex
string

The index of the pallet in the runtime's list of pallets

eventItem
string

The name of the specific event item being referenced

metadata
object

The metadata object which contains the following fields:

name
string

The name of the event

fields
array

An array of specific attributes or data elements within the event

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

A brief description or documentation for the event

index
string

The event's position or identifier within the pallet's event list

docs
string | array

A brief description or documentation for the event

args
string | array

An array representing the types of arguments passed to this event

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