Skip to content
TAO$188.36
BTC0.002929
MCap$2.22B
Vol$86.25M

API reference / Blocks

One block by height or hash

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

One block by height or hash: the header (hash, parent hash, state and extrinsics roots, time, author key), the extrinsic and event counts, the runtime that executed it, and the header digest decoded into {kind, engine, data} items in header order.

Full description

One block by height or hash: the header (hash, parent hash, state and extrinsics roots, time, author key), the extrinsic and event counts, the runtime that executed it, and the header digest decoded into {kind, engine, data} items in header order. Hashes and roots are 0x lower-case hex. The block's extrinsics and events are in their own routes. author_key is the block's Aura authority key (from the pre-runtime digest), SS58: not a validator, coldkey or hotkey (Subtensor has no session mapping), so it never matches a staking account. Each miss is its own 404, so one call tells them apart: BLOCK_NOT_FOUND (a hash not indexed, or a height below the coverage floor once coverage is complete), BLOCK_OUT_OF_COVERAGE (a height below meta.coverage.from_height while earlier history is still being prepared) and BLOCK_NOT_YET_INDEXED (a height above the indexed head; the problem carries the extension member head_height, the indexed head, to poll on). One call per page view: include adds the block's extrinsics, events and / or calls (the first child_limit rows of each, in the child routes' row shape), each with its page meta in meta.sections.<name> (truncated when more rows exist; page.next_cursor then continues the child route called with limit = child_limit). A section that fails fails the whole call. meta.settled is meta.at.finalized. A block at or below the head is final and cached as settled, sections included. Errors are application/problem+json: INVALID_BLOCK, INVALID_INCLUDE, INVALID_CHILD_LIMIT, BLOCK_NOT_FOUND (404), BLOCK_OUT_OF_COVERAGE (404), BLOCK_NOT_YET_INDEXED (404, 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). Anything else is a 400 INVALID_BLOCK.

Query parameters

includequery· string

Sections to add, a comma list (or the parameter repeated); each is absent without it. Anything else is a 400 INVALID_INCLUDE.

includeaddscapmeasured cost
extrinsicsdata.extrinsics: the block's extrinsics by index (GET /blocks/{block}/extrinsics rows)child_limitsmall
eventsdata.events: the block's events by index (GET /blocks/{block}/events rows)child_limitsmall
callsdata.calls: the block's calls, each extrinsic's tree in preorder (GET /blocks/{block}/calls rows)child_limitsmall

All three together: ~0.1 s (measured). 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).

child_limitquery· integer · default 100 · 1 to 1000

Rows per included section, 1..1000 (default 100, the data source's own); anything else is a 400 INVALID_CHILD_LIMIT. A section is its child route's first page with limit = child_limit, so its meta.sections.<name>.page.next_cursor is valid on that route called with the same id and limit = child_limit (a cursor is bound to its limit). Ignored without include.

Response

data is an object 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.

heightinteger · unit block

Block number.

hashstring

Block hash, 0x + 64 lower-case hex.

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

The parent block's hash, 0x + 64 lower-case hex.

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

The header's state root, 0x + 64 lower-case hex.

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

The header's extrinsics root, 0x + 64 lower-case hex.

Format: 32-byte hex: 0x and 64 hex digits
timestring (date-time) · can be null

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

Format: date and time, ISO 8601 in UTC
author_keystring · can be null

The block's author as its Aura authority key: the key in the block's pre-runtime digest (the slot's author), SS58 (prefix 42; the source's 0x + 64 hex, rendered). It is not a validator, coldkey or hotkey: Subtensor has no Session pallet mapping authority keys to accounts, so this key is the authority's own and never matches a staking account. Null for block 0 only (genesis has no pre-runtime digest).

Format: SS58 address
extrinsic_countinteger · unit count

Extrinsics in the block, inherents included. Never null.

event_countinteger · unit count

Events the block emitted. Never null.

evm_tx_countinteger · unit count · can be null · beta

Ethereum transactions in the block (the EVM index's per-block count): 0 below the EVM's first block (4,345,557); null when not known: above the EVM index's head (not indexed yet, never 0), and on an older data version's answer. Above 0, the block's Ethereum transactions are GET /evm/blocks/{height}?include=transactions.

runtimeobject

The runtime that executed the block. The block that enacts an upgrade (its digest has runtime_environment_updated) still runs the old spec; the next block runs the new one.

5 fields in runtime
spec_versioninteger · unit id

The runtime spec that executed the block.

spec_namestring · can be null

The runtime's spec_name (node-subtensor). Null when the runtime is not decoded yet.

impl_namestring · can be null

The runtime's impl_name. Null when the runtime is not decoded yet.

impl_versioninteger · unit id · can be null

The runtime's impl_version. Null when not decoded yet.

transaction_versioninteger · unit id · can be null

The runtime's transaction_version. Null when not decoded yet.

digestarray of objects

The header's digest items, decoded, in header order.

3 fields in digest (each item)
kindstring

The digest item's variant: pre_runtime (the Aura slot, which names the author), consensus (e.g. Frontier's fron log carrying the EVM block hash), seal (the author's signature), runtime_environment_updated (the block that enacted a runtime upgrade; no engine, no data) or other. New values may be added; show an unknown value as is (or generically).

enginestring · can be null

The 4-character consensus engine id (aura, fron, ...) for pre_runtime, consensus and seal; null for the kinds without one.

datastring · can be null

The item's payload, 0x + lower-case hex. Null for runtime_environment_updated.

Format: hex: 0x and hex digits
extrinsicsarray of objects · optional

Only with include=extrinsics (absent otherwise): the block's first child_limit extrinsics by index, as GET /blocks/{block}/extrinsics?limit=<child_limit> answers them; meta.sections.extrinsics.truncated says whether there are more, and its page.next_cursor continues that request.

15 fields in extrinsics (each item)
idstring · unit id

The extrinsic's id, {height}-{index} (the canonical id; the hash is a lookup alias only).

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

The block it is in.

indexinteger · unit id

Its index in the block (0-based; inherents first).

hashstring

The extrinsic hash, 0x + 64 lower-case hex. Not unique: an identical extrinsic can recur.

Format: 32-byte hex: 0x and 64 hex digits
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
callobject

The extrinsic's own (top-level) call.

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).

signerstring · can be null

The signing account, SS58 (the source's 0x hex, rendered). Null for inherents and unsigned extrinsics.

Format: SS58 address
successboolean

Whether the extrinsic's call succeeded (System.ExtrinsicSuccess).

tx_feeobject · can be null

The Substrate transaction fee the chain states for this extrinsic: payer, asset, amount_rao (in the paid asset, the tip excluded), tip_rao, and for an alpha fee tao_equivalent_rao. The whole fee in TAO terms is amount_rao + tip_rao (tao) or tao_equivalent_rao + tip_rao (alpha). Null when none was charged: inherents, unsigned extrinsics and Ethereum.transact (which pays EVM gas only, in gas_fee).

9 fields in tx_fee
payerstring

The account that paid, SS58 (the source's 0x hex, rendered): the account the chain's fee event names (TransactionFeePaid.who). Not always the signer: a proxy setup can charge the real account, and for weights / commitments / serve_axon it is the signing hotkey's owning coldkey (SubtensorModule.Owner), with a fee of 0. Group fees by payer, never by signer.

Format: SS58 address
assetstring

What the fee was paid in: tao, or alpha of netuid (TransactionFeePaidWithAlpha: the fee extension sold the payer's alpha to pay it). It names amount_rao's denomination. New values may be added; show an unknown value as is (or generically).

netuidinteger · unit id · can be null

When asset is alpha: the subnet whose alpha paid. Null for tao.

amount_raostring · unit rao (÷1e9)

The fee in the paid asset's base unit (decimal string), the tip excluded: rao when asset is tao, alpha rao of netuid when asset is alpha (a mixed-denomination field: x-unit keeps rao as the 1e9 scale and asset names the denomination; never add an alpha amount to TAO). In TAO: TransactionFeePaid.actualFee - tip; in alpha: TransactionFeePaidWithAlpha.alphaFee. The whole fee in TAO terms is amount_rao + tip_rao for tao, tao_equivalent_rao + tip_rao for alpha.

Format: whole number, as a string · on chain: u64
tip_raostring · unit rao (÷1e9)

The tip, rao (TAO, decimal string): TransactionFeePaid.tip, paid on top of amount_rao.

Format: whole number, as a string · on chain: u64
tao_equivalent_raostring · unit rao (÷1e9) · can be null

When asset is alpha: the TAO the alpha sale realized to pay the fee, rao (TransactionFeePaidWithAlpha.taoAmount); always present on an alpha fee. Null for tao. The fee's cost in TAO terms is tao_equivalent_rao + tip_rao, but no TAO left the payer for it: never add it to amount_rao (alpha) or sum it with stated TAO movements (transfers, balances) as if TAO had moved.

Format: whole number, as a string · on chain: u64
amount_usdstring · unit usd · 6 decimals · can be null

The fee in USD (6 decimals): the TAO it cost (amount_rao for tao; for alpha its tao_equivalent_rao) at the TAO/USD price of the block's own minute. Derived (usd_source), never stated by the chain. Null when no price exists for that minute: unknown, never 0.

Format: decimal number, as a string
tip_usdstring · unit usd · 6 decimals · can be null

tip_rao in USD at the same price (6 decimals). Null when no price exists (unknown, never 0).

Format: decimal number, as a string
usd_sourcestring

Where the USD amounts come from (an opaque identifier): derived (the chain's fee amount times the market TAO/USD of the block's minute), never a chain statement. Show them as approximate; sum the _rao amounts, not these, for exact totals. New values may be added; show an unknown value as is (or generically).

gas_feeobject · can be null

The EVM gas the chain settled for this extrinsic, always TAO: payer, from (the H160 sender), amount_rao (the base fee only). Present on Ethereum.transact and EVM.call / EVM.create; null on every other extrinsic.

3 fields in gas_fee
payerstring

The account that paid the gas, SS58 (the source's 0x hex, rendered): the account mapped from from. Not necessarily the tx_fee payer (a signed EVM.call charges its signer the Substrate fee and the mapped account the gas). Group fees by payer.

Format: SS58 address
fromstring

The H160 sender, 0x + 40 lower-case hex, as the EVM transaction or call names it (not rendered; payer is the account it maps to).

Format: EVM address: 0x and 40 hex digits
amount_raostring · unit rao (÷1e9)

The gas paid, always TAO, rao (decimal string): the Balances withdraw minus the refund on the payer, i.e. the gas at the base fee only, never gas_used x effective_gas_price (a legacy transaction priced above the base fee did not pay that price).

Format: whole number, as a string · on chain: u64
event_countinteger · unit count

Events the extrinsic emitted (phase extrinsic).

wrappedobject · can be null

For a wrapper call (Utility.batch / batch_all / force_batch / as_derivative / dispatch_as / dispatch_as_fallible / with_weight / if_else, Proxy.proxy / proxy_announced, every Sudo call, Multisig.as_multi / as_multi_threshold_1): what it dispatched, counted by kind, and the proxied account. Null for every other call.

3 fields in wrapped
countinteger · unit count

Direct inner calls (one level below the extrinsic's call).

callsarray of objects

The direct inner calls by kind, in the order each kind first appears.

realstring · can be null

For Proxy.proxy / proxy_announced: the proxied (real) account the call acted for, SS58 (the source's 32-byte hex, rendered). Null for every other wrapper, and when the proxy named the real account by another MultiAddress form than an account id (an index, a 20-byte or raw address).

Format: SS58 address
evm_tx_hashstring · can be null

For Ethereum.transact: the EVM transaction's hash, 0x + 64 lower-case hex (what an EVM explorer and wallets show; not the extrinsic hash). Null on every other call, and on a transact the EVM never ran (rejected before dispatch, e.g. CallFiltered: there is no EVM transaction).

Format: 32-byte hex: 0x and 64 hex digits
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).

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).

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).

eventsarray of objects · optional

Only with include=events (absent otherwise): the block's first child_limit events by index, as GET /blocks/{block}/events?limit=<child_limit> answers them (meta.sections.events as for extrinsics).

12 fields in events (each item)
idstring · unit id

The event's id, {height}-{index} (index = its position in the block's System.Events).

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

The block it was emitted in.

indexinteger · unit id

Its index in the block's System.Events (0-based).

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
phasestring

When it was emitted: initialization (block hooks before the extrinsics, e.g. emission), extrinsic (while applying an extrinsic) or finalization (block hooks after them; none after block 9,155,260). New values may be added; show an unknown value as is (or generically).

extrinsic_idstring · unit id · can be null

The extrinsic it was emitted under ({height}-{index}); null in the initialization and finalization phases.

Format: block and index, such as 4200000-3
dispatch_phasestring · can be null

Where in applying its extrinsic the event was emitted, from the chain's per-event trace: pre_dispatch (before the call ran: the fee withdraw), dispatch (by the call or the calls it dispatched) or post_dispatch (after it: the fee refund, TransactionFeePaid, System.ExtrinsicSuccess / ExtrinsicFailed). Null outside the extrinsic phase, and below block 7,089,968 (before the trace covers). New values may be added; show an unknown value as is (or generically).

call_idstring · unit id · can be null

The call that emitted it (a call id). Null outside a dispatched call: the block phases, and the extrinsic's pre- and post-dispatch events (dispatch_phase pre_dispatch / post_dispatch: the fee withdraw, the refund, TransactionFeePaid, ExtrinsicSuccess / ExtrinsicFailed), which no call emits, so per-call event lists and counts never include them. Below block 7,089,968 (dispatch_phase null) the attribution is the event dictionary's, which puts a wrapper's pre-dispatch events on its first child.

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

The event's kind.

2 fields in event
palletstring

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

namestring

The event, as in the runtime metadata (PascalCase, e.g. StakeAdded).

argsobject · can be null

The arguments as named fields, served exactly as the data source renders them (never re-rendered here). Names: the block's runtime metadata names each field (snake_case); unnamed tuple fields take their names from a reviewed list of override names (each entry traced to the subtensor source), else the snake_case of the field's type name (_2, _3 when repeated), else arg0, arg1. A field typed NetUidStorageIndex is always netuid_index (= mechanism × 4096 + netuid), never a netuid. Values: accounts (AccountId32 by metadata type) are SS58; amounts are decimal strings in their base unit; enums are {__kind, value}; hashes and bytes are 0x hex; a nested call (batch, proxy, sudo) is {pallet, name, args}. The naming rule and the override names are versioned in meta.data_version (args/<rule>.<overrides>), so a renamed field is a new version. Free-form: the members depend on the kind and the runtime, so this schema does not list them. Null only when the source stored no arguments.

error_palletstring · can be null

The DispatchError this event carries, decoded with the block's runtime: for a module error the pallet that raised it (e.g. Swap), as an extrinsic's error.pallet. Carried by System.ExtrinsicFailed, Utility.BatchInterrupted / ItemFailed, and the Err results of Proxy.ProxyExecuted, Multisig.MultisigExecuted, Sudo.Sudid / SudoAsDone, Utility.DispatchedAs and Scheduler.Dispatched. Null on every other event, on an Ok result, for a non-module error (BadOrigin, Token, ...) and when the error could not be decoded.

error_namestring · can be null

The DispatchError's name, as an extrinsic's error.name: a module error's (e.g. PriceLimitExceeded, HotKeyAlreadyRegisteredInSubNet), or the inner variant of a Token / Arithmetic / Transactional error (error_pallet then null). Null when the event carries no DispatchError, or it has no name (BadOrigin, an undecoded error).

callsarray of objects · optional

Only with include=calls (absent otherwise): the block's first child_limit calls (by extrinsic, each tree in preorder), as GET /blocks/{block}/calls?limit=<child_limit> answers them (meta.sections.calls as for extrinsics).

19 fields in calls (each item)
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).

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).

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.

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.