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

API reference / Calls

One call

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

One call: the list row (extrinsic, block time, depth, parent, kind, origin, status, outcome, error, event count) plus its named args, its number of direct children and the block hash.

Full description

One call: the list row (extrinsic, block time, depth, parent, kind, origin, status, outcome, error, event count) plus its named args, its number of direct children and the block hash. One call per page view: include adds extrinsic (the call's extrinsic, as GET /extrinsics/{id} serves it without sections) and events (the events this call emitted, oldest first, the first child_limit), each with its meta in meta.sections.<name> (events: truncated and page.next_cursor, which continues GET /events?call=<id>&limit=<child_limit>). meta.settled is meta.at.finalized. A call at or below meta.at is final and cached as settled, sections included. Ids: an extrinsic or an event is {height}-{index}, a call {height}-{extrinsic index} then .{child} per level (9190000-5.0.1); leading zeros are dropped. Anything else is a 400 INVALID_ID. Earlier id forms are accepted too: zero-padded (0009190000-000005), and on /calls/{id} the call ids {height}-{extrinsic}-{n} (an executed call; n counts the extrinsic's executed calls in postorder, not a position:0009190005-000006-000001 is 9190005-6.1) and {height}-{extrinsic}-s{path} (a never-dispatched call: 0009155314-000010-s000000.000003 is 9155314-10.0.3). The answer is the canonical id's, and a Content-Location header names the canonical URL whenever the path's id was not in canonical form (no redirect). 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_ID, INVALID_INCLUDE, INVALID_CHILD_LIMIT, CALL_NOT_FOUND (404), CALL_OUT_OF_COVERAGE (404), CALL_NOT_YET_INDEXED (404, extension member head_height), UNKNOWN_PARAMETER, SOURCE_TIMEOUT (503), SOURCE_NOT_READY (503).

Path parameters

idpath, required· string

The call id, {height}-{ext} then .{child} per level (e.g. 9190000-5.0).

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
extrinsicdata.extrinsic: the call's extrinsic (the GET /extrinsics/{id} object, no sections); meta.sections.extrinsicone objectsmall
eventsdata.events: the call's own events, oldest first (GET /events?call=<id> rows); meta.sections.eventschild_limitsmall

Both together: ~0.12 s (measured on the data source).

child_limitquery· integer · default 1000 · 1 to 1000

Rows per included section, 1..1000 (default 1000, 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 call.

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

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

Format: 32-byte hex: 0x and 64 hex digits
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. Null also when args_truncated is true.

args_truncatedboolean

True when the args are larger than 16 KiB (16384 bytes) of JSON: args is then null and args_bytes gives their size. Only runtime upgrades (System.set_code and every wrapper around it: Sudo.sudo, Proxy.proxy, Multisig.as_multi) and very large batches get that big; a batch's children are rows of their own (/extrinsics/{id}/calls). The full args are not served by this API (read the block from a chain node). False otherwise.

args_bytesinteger · unit count · can be null

When args_truncated is true: the args' size in bytes of JSON (above 16384). Null when the args are served (and on an extrinsic's call rows read before the source stated the size).

child_countinteger · unit count

Calls it dispatched directly (one level below it).

extrinsicvalue · optional

Only with include=extrinsic (absent otherwise): the call's extrinsic, as GET /extrinsics/{extrinsic_id} serves it without sections; meta.sections.extrinsic holds its version.

eventsarray of objects · optional

Only with include=events (absent otherwise): the events this call emitted (call_id = this call), oldest first, the first child_limit; meta.sections.events holds that page's meta (truncated and page.next_cursor, which continues GET /events?call=<id>&limit=<child_limit>&cursor=...).

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

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.