Skip to content
TAO$188.21
BTC0.002927
MCap$2.22B
Vol$86.25M

API reference / Blocks

A block's calls

GET/api/v2/blocks/{block}/calls
Status
Stable
Auth
API key or OAuth access token
Scope
data:read
Rate limit
plan

Every call of the block's extrinsics: by extrinsic index, each extrinsic's call tree in preorder (a call, then its children), with depth, parent, origin, status (executed, reverted, not_executed), outcome, error and event count; no args (GET /api/v2/calls/{id} has them). Pages through meta.page.next_cursor only (no index range); meta.page.total is exact. A page of a block at or below meta.at is final and cached as settled. Accounts at the top level of a row (signer, wrapped.real, origin.account, tx_fee.payer, gas_fee.payer) are SS58; gas_fee.from stays the EVM sender's H160 hex. args are named fields as the data source renders them (accounts in them already SS58), versioned by meta.data_version's args/... part. Errors are application/problem+json: INVALID_BLOCK, INVALID_LIMIT, INVALID_CURSOR, BLOCK_NOT_FOUND (404), BLOCK_OUT_OF_COVERAGE (404), BLOCK_NOT_YET_INDEXED (404, extension member head_height), UNKNOWN_PARAMETER, SOURCE_TIMEOUT (503), SOURCE_NOT_READY (503).

Path parameters

blockpath, required· string

A decimal block height, or the block hash as 0x + 64 hex (any case).

Query parameters

limitquery· integer · default 25 · 1 to 1000

Page size, 1..1000 (default 25).

cursorquery· string · up to 200 characters

meta.page.next_cursor of the previous page, passed back unchanged with the same other parameters. It is opaque and bound to them: a cursor used with different parameters, or altered, is a 400 INVALID_CURSOR.

includequery· string

names adds the top-level included.names: every distinct account on the page (accounts in data at any depth, event args included) keyed by its SS58 address, each {identity: {name} | null, label: {text, source, confidence, verified, inferred, as_of} | null}; the on-chain identity and the off-chain label are kept apart, and a label is never a chain fact. A missing key means 'not looked up', null means 'none'. At most 500 accounts (included.names_truncated). Still one call (the data source sideloads them in the same statement); an answer with names is cached as a head answer (names follow the head). Anything else is a 400 INVALID_INCLUDE.

Response

data is a list of objects with these fields. Amounts are integer strings in their base unit, and null means unknown, never zero (see Units and formats). meta.at names the block the answer was read at.

The block's calls by extrinsic index, each extrinsic's tree in preorder.

idstring · unit id

The call's id: the extrinsic id for its own call (9190000-5), then .{child} per level (9190000-5.0.1), so a call id starts with its extrinsic id.

Pattern: ^[0-9]+-[0-9]+(\.[0-9]+)*$
extrinsic_idstring · unit id

The extrinsic ({height}-{index}).

Format: block and index, such as 4200000-3
heightinteger · unit block

The block it is in.

timestring (date-time) · can be null

The block's Timestamp.set (RFC 3339 UTC, milliseconds). Null for block 0 only.

Format: date and time, ISO 8601 in UTC
depthinteger · unit count

Level in the tree: 0 for the extrinsic's own call.

parent_idstring · unit id · can be null

The call that dispatched it; null for the extrinsic's own call.

Pattern: ^[0-9]+-[0-9]+(\.[0-9]+)*$
callobject

The call's kind.

2 fields in call
palletstring

The pallet, as in the runtime metadata (e.g. SubtensorModule).

namestring

The call, as in the runtime metadata (snake_case, e.g. add_stake).

originobject · can be null

The origin it was dispatched with; null when none is recorded (inherents, and calls that were never dispatched or were rolled back).

3 fields in origin
kindstring

signed (an account: the signer, or the proxied account inside Proxy.proxy), root (e.g. inside Sudo.sudo), none (unsigned) or other (any other origin: raw carries it). New values may be added; show an unknown value as is (or generically).

accountstring · can be null

For signed: the account, SS58 (the source's 32-byte hex, rendered). Null for the other kinds.

Format: SS58 address
rawobject · can be null

Only for kind other: the stored origin as decoded JSON (an object). Absent otherwise.

statusstring

executed (it ran; see success), reverted (it ran but an enclosing failure rolled it back, e.g. in a failed batch_all) or not_executed (never dispatched: a batch stopped before it, or a proxy check failed). New values may be added; show an unknown value as is (or generically).

successboolean

True when it executed and succeeded; false otherwise.

errorobject · can be null

Why it failed, when it executed and failed itself; null otherwise.

5 fields in error
kindstring

The DispatchError variant in snake_case: module (a pallet's error: pallet, name, docs), bad_origin, token, arithmetic, cannot_lookup, ... (an open set), or other when the error could not be decoded (raw then carries it).

palletstring · can be null

The pallet that raised a module error; null for other kinds.

namestring · can be null

The pallet error's name (e.g. SlippageTooHigh); null for other kinds or when not decoded.

docsstring · can be null

The error's documentation from the runtime metadata; null when there is none.

rawobject · can be null

Only when the error could not be decoded (kind other, or a module error without a name): the stored error value as decoded JSON (an object). Absent otherwise.

event_countinteger · unit count

Events this call emitted (its call_id). Pre- and post-dispatch events (the fee withdraw, refund, TransactionFeePaid, ExtrinsicSuccess / ExtrinsicFailed) belong to no call and are not counted (from block 7,089,968; below it the event dictionary's attribution).

is_wrapperboolean

True when the call dispatched inner calls (it has child rows: a batch, proxy, sudo, ...).

deferred_bystring · can be null

Why a not_executed call did not run when it was not refused but kept for later: multisig = a Multisig.as_multi that was not the final approval stored it, waiting for the remaining approvals (it runs in the extrinsic carrying the last one). The call did not run here; deferred_by says why. Null on every other call (and on an answer read before the source served it). Only multisig is defined. New values may be added; show an unknown value as is (or generically).

runtime_codeobject · can be null

The runtime upgrade this row carries: on a System.set_code / set_code_without_checks call row, its code; on an extrinsic row, the code of a set_code call anywhere in its call tree (e.g. under Sudo.sudo). The code itself is never served (its args are withheld above 16 KiB, see args_truncated). Null on every other row, and on an answer read before the source served it.

4 fields in runtime_code
code_hashstring

blake2_256 of the runtime code bytes the call carried (the blob stored at :code; the hash node tooling reports for a runtime), 0x + 64 lower-case hex.

Format: 32-byte hex: 0x and 64 hex digits
code_bytesinteger · unit count

The runtime code's size in bytes (the wasm blob, not its hex).

spec_version_afterinteger · unit id · can be null

The runtime spec that executed the next block (the upgrade's result). Null when the call did not succeed (no upgrade happened).

download_urlstring · can be null

Where to download this code: our published copy (the file GET /api/v2/runtimes/{spec_version}/code links, matched by code_hash; static storage, no API key). Null when it is not published: not yet (the publishing job runs after an upgrade), or never (a failed upgrade's code never ran on chain).

multisig_operationobject · can be null

The multisig operation this row's Multisig.* call acted on (an extrinsic row: its top-level call), with its role. Null on every other row, and on an answer read before the source served it.

4 fields in multisig_operation
accountobject

The multisig account (derived from the call's signatories).

2 fields in account
ss58string

The account, SS58 (prefix 42).

Format: SS58 address
hexstring

The same 32-byte account id, 0x + 64 lower-case hex (the public key).

Format: 32-byte hex: 0x and 64 hex digits
timepointobject · can be null

The operation's timepoint (the extrinsic that opened it). Null only on a failed_attempt that named none (or none that can name an extrinsic).

2 fields in timepoint
heightinteger · unit block

Its block.

indexinteger · unit id

Its extrinsic index in the block.

call_hashstring · can be null

The operation's call hash, 0x + 64 lower-case hex. Null only on a failed_attempt whose args carry none.

Format: 32-byte hex: 0x and 64 hex digits
rolestring

What this call did: created (NewMultisig), approved (MultisigApproval), executed (MultisigExecuted: the final approval dispatched the call; an as_multi_threshold_1 too), cancelled (MultisigCancelled) or failed_attempt (no Multisig event: the call failed or was rolled back; the account derived from its signatories, timepoint and call hash from its own args where it carries them). A closed set. New values may be added; show an unknown value as is (or generically).

intended_originobject · can be null

The origin the call ran with, or would have run with: origin when it was dispatched; for a reverted or not_executed call, its batch's origin through Utility.batch / batch_all / force_batch wrappers (null under any other wrapper, where the origin it would have had is not known). GET /calls?origin= matches this member. Null also on an answer read before the source served it.

3 fields in intended_origin
kindstring

signed (an account), root (e.g. inside Sudo.sudo), none (unsigned) or other (any other origin: raw carries it). New values may be added; show an unknown value as is (or generically).

accountobject · can be null

For signed: the account, as {ss58, hex}. Null for the other kinds.

2 fields in account
ss58string

The account, SS58 (prefix 42).

Format: SS58 address
hexstring

The same 32-byte account id, 0x + 64 lower-case hex (the public key).

Format: 32-byte hex: 0x and 64 hex digits
rawobject · can be null

Only for kind other: the stored origin as decoded JSON (an object). Absent otherwise.

extrinsic_hashstring · can be null

The hash of the call's extrinsic, 0x + 64 lower-case hex. Null only on an answer read before the source served it.

Format: 32-byte hex: 0x and 64 hex digits
block_hashstring · can be null

The hash of the call's block, 0x + 64 lower-case hex. Null only on an answer read before the source served it (the call detail has always served it).

Format: 32-byte hex: 0x and 64 hex digits

Response headers

10 headers: ETag, Cache-Control, CDN-Cache-Control, X-BTAI-Stale, X-BTAI-Stale-As-Of, RateLimit-Policy, RateLimit, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
ETag

Strong validator of this answer. Send it back as If-None-Match: an unchanged answer is a 304 Not Modified without a body. A settled answer's validator leaves the chain head out, so it stays valid as the head moves.

Cache-Control

One of three classes: settled public, max-age=3600, stale-while-revalidate=86400 (pinned to a block that cannot move), slow public, max-age=300, stale-while-revalidate=600 (state that moves in minutes or days) or tip public, max-age=6, stale-while-revalidate=12 (follows the chain head); the label routes are cached until the next nightly copy (public, max-age=<seconds>, stale-while-revalidate=60). Never immutable. no-store on an earlier answer served because the data source failed (X-BTAI-Stale).

CDN-Cache-Control

The same class for shared caches (RFC 9213; browsers ignore it): settled 24 h, slow 300 s, tip 6 s, each with stale-while-revalidate and stale-if-error; no-store with X-BTAI-Stale.

X-BTAI-Stale

Present only when the data source failed to answer (it timed out or was unavailable) and an earlier answer to the same request is served instead of a 503 (stale if error, RFC 5861). Then if-error, with X-BTAI-Stale-As-Of, Age (its seconds since then) and Warning: 110 - "Response is Stale", and Cache-Control: no-store: the answer is never kept as fresh, and a later request reads again. Prices and quotes are never served this way.

X-BTAI-Stale-As-Of

With X-BTAI-Stale: when the earlier answer served was produced, an RFC 3339 UTC time (2026-10-21T12:00:00Z).

RateLimit-Policy

The tier's request quota of the current window (IETF draft), e.g. "tier";q=600.

RateLimit

Requests left in the current window and the seconds until it resets (IETF draft), e.g. "tier";r=597;t=42.

X-RateLimit-Limit

The tier's request quota of the current window.

X-RateLimit-Remaining

Requests left in the current window.

X-RateLimit-Reset

When the current window resets, Unix seconds.

Status codes

200 · 304 · 400 · 401 · 402 · 403 · 404 · 429 · 500 · 502 · 503

304 Not Modified: the If-None-Match validator still matches; no body.

Error codes

The codes this endpoint can return. Each links to what it means and what to do.

From the API's published specification, version 1.165.0.