Documentation / API reference / RPC Live
Live: Get Pallet Consts By ID
Last reviewed 2026-09-18
Returns metadata for one runtime constant identified by its pallet and constant ID.
Try it
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
pallet_id | path | string | Yes | |
id | path | string | Yes |
Responses
200 — Response
| Field | Type | Required |
|---|---|---|
errorItem | string, nullable | |
metadata | object, nullable | |
metadata.docs | array | Yes |
metadata.docs[] | string | Yes |
metadata.name | string | Yes |
metadata.type | string | Yes |
metadata.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.