One event
One event by its {block}-{idx} key: an /events/ row plus tao_price_usd, the TAO price at its block’s time. 404 when the canonical chain holds no such event.
Rate limit: 300 requests per minute per IP (scope explore).
Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Composite key {block}-{idx}, e.g. 8361560-14.
Responses
Section titled “Responses”The event, an /events/ row plus the TAO price at its block’s time.
One event on /events/{event_id}/: its /events/ row plus the TAO price at its block’s time.
object
Index of the event in its block, so {block}-{idx} names it on /events/{event_id}/.
Index of the extrinsic that emitted it, so {block}-{extrinsic_idx} names it on /extrinsics/{extrinsic_id}/; null outside an extrinsic.
Pallet, e.g. SubtensorModule.
Event name, e.g. StakeAdded.
ApplyExtrinsic({idx}), or null outside an extrinsic.
The event attributes as a JSON-ENCODED STRING, not an object. Parse it client-side.
TAO in USD at the block time: the hour holding it, else the closest hour before, and before the hourly series starts (February 2024) the day’s close. Null without a price.
Example generated
{ "block": 1, "idx": 1, "extrinsic_idx": 1, "section": "example", "method": "example", "phase": "example", "data": "example", "tao_price_usd": 1}A parameter failed its check, which message names. code is usually VALIDATION_ERROR.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
VALIDATION_ERROR
{ "error": true, "code": "VALIDATION_ERROR", "message": "event id must be '{block}-{idx}'", "detail": null}RESOURCE_NOT_FOUND. Carries Cache-Control: public, max-age=15, short because a new block or extrinsic is indexed up to a minute late.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
RESOURCE_NOT_FOUND
{ "error": true, "code": "RESOURCE_NOT_FOUND", "message": "Not found", "detail": null}Rate limit exceeded (300/minute, per IP). Retry-After carries the seconds to wait.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
RATE_LIMITED
{ "error": true, "code": "RATE_LIMITED", "message": "Request was throttled", "detail": { "retry_after": 12 }}Headers
Section titled “Headers”Seconds before the next request is accepted.