Documentation / API reference / RPC Live
Live: Get Pallet Consts
Last reviewed 2026-09-18
Returns the runtime constants defined by a pallet, with their metadata and block context.
Try it
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
pallet_id | path | string | Yes |
Responses
200 — Response
| Field | Type | Required |
|---|---|---|
at | object | Yes |
at.hash | string | Yes |
at.height | string | Yes |
items | array | Yes |
items[].docs | array | Yes |
items[].docs[] | string | Yes |
items[].name | string | Yes |
items[].type | string | Yes |
items[].value | string | Yes |
pallet | string | Yes |
palletIndex | string | Yes |
Example response
json
{}Every request needs an Authorization header holding your API key — see Getting started with the Taostats API.