Transfers, filtered
https://api.bittensor.ai/api/v2/transfers- Status
- Stable
- Auth
- API key or OAuth access token
- Scope
data:read- Rate limit
plan
Transfers between accounts, one row each: TAO (asset=tao: a balance transfer, amount_rao) and alpha (asset=alpha: stake moved to another coldkey, alpha_rao of netuid, with the chain's tao_equivalent_rao and, when it crossed subnets, destination_netuid).
Full description
Transfers between accounts, one row each: TAO (asset=tao: a balance transfer, amount_rao) and alpha (asset=alpha: stake moved to another coldkey, alpha_rao of netuid, with the chain's tao_equivalent_rao and, when it crossed subnets, destination_netuid). Each row has its event id, block, time, extrinsic and call, and the sender and recipient (SS58), each with its account_kind (what it is from its bytes: custody, protocol or account). Transfers to or from module accounts are left out: they are the pool and basket mechanics behind staking, not transfers between holders. Filters: account (either side), from, to, asset, netuid (alpha only; it implies asset=alpha), min_amount, heights and times. sort=amount ranks them largest first within the window instead (TAO, or alpha of one subnet; the whale list; never cached as settled). Newest first (order=desc, the default) or oldest first (asc); with no range, the newest transfers inside coverage (no hidden window). from_height / to_height are inclusive heights, from_time / to_time a half-open time window. Cursor paging only, no total. A request scans at most 20,000 candidates, so a selective filter can give a short or empty page with a non-null next_cursor (meta.page.scan_limited): keep paging until next_cursor is null. Coverage: meta.coverage.from_height is the transfer index's floor (complete_from_genesis true once it reaches genesis): transfers below it are not served, never silently missing. Alpha amounts are sized in a window, meta.alpha_sized_from_height..meta.alpha_sized_through_height (all history to the newest transfer, except while history is being recomputed under a new method version): inside it alpha_rao is final, the alpha the recipient was credited (the chain's StakeAdded paired with the transfer event); outside it alpha_rao is null. A null alpha_rao means not sized, never zero: a few historical rows inside the window stay null on purpose, pending an independent check of their source. tao_equivalent_rao is given either way, and an alpha min_amount cannot match an unsized row: such a row is left out of the page. meta.alpha_unsized_in_range counts the alpha rows with alpha_rao null within the page's range and filters (min_amount aside), so a row the minimum left out is counted too: > 0 means this page may omit or blank alpha rows whose amount isn't sized yet; treat the result as incomplete (always 0 on a TAO-only page). A page bounded below the head (by to_height / to_time, or a cursor page) is cached as settled unless it reaches, or continues into, the floor, holds an alpha row outside the window or with alpha_rao null, or counts alpha_unsized_in_range above 0 (with an alpha min_amount, also unless its whole span is known to lie inside the window). Errors are application/problem+json: INVALID_ADDRESS, INVALID_ASSET, INVALID_NETUID, INVALID_AMOUNT, INVALID_FILTER (netuid with asset=tao; min_amount without asset=tao or an alpha netuid; sort=amount without them, with module_accounts other than exclude or with order=asc), INVALID_SORT, INVALID_HEIGHT, INVALID_TIME, INVALID_RANGE, INVALID_ORDER, INVALID_LIMIT, INVALID_CURSOR, NOT_READY (503, nothing indexed yet), UNKNOWN_PARAMETER, SOURCE_TIMEOUT (503), SOURCE_NOT_READY (503).
Query parameters
- accountquery· string
Only transfers this account sent or received: SS58, or 0x + 64 hex.
- fromquery· string
Only transfers this account sent: SS58, or 0x + 64 hex.
- toquery· string
Only transfers this account received: SS58, or 0x + 64 hex.
- assetquery· enum · one of tao, alpha
taooralpha; omitted: both (anetuidimpliesalpha). Anything else is a 400INVALID_ASSET.- netuidquery· integer · 0 to 65535
Only alpha transfers out of this subnet (it implies
asset=alpha; withasset=taoa 400INVALID_FILTER).- min_amountquery· string
Only transfers of at least this amount, a positive integer in the asset's base unit: rao with
asset=tao(1 TAO = 10^9 rao), alpha rao ofnetuidwith an alphanetuid(alpha of different subnets is not comparable, so an alpha minimum needs a subnet). With neither, a 400INVALID_FILTER; not a positive integer, a 400INVALID_AMOUNT.- from_heightquery· integer · 0 to 2147483647
Only rows at or above this height (inclusive).
- to_heightquery· integer · 0 to 2147483647
Only rows at or below this height (inclusive).
- from_timequery· string (date-time)
Only rows at or after this time (RFC 3339).
- Format: date and time, ISO 8601 in UTC
- to_timequery· string (date-time)
Only rows before this time (RFC 3339; exclusive).
- Format: date and time, ISO 8601 in UTC
- orderquery· enum · one of desc, asc · default desc
desc(newest first, the default) orasc(oldest first).- limitquery· integer · default 25 · 1 to 1000
Page size, 1..1000 (default 25).
- cursorquery· string · up to 200 characters
meta.page.next_cursorof 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 400INVALID_CURSOR.- includequery· string
namesadds the top-levelincluded.names: every distinct account on the page (accounts indataat 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 400INVALID_INCLUDE.- module_accountsquery· enum · one of exclude, include, only · default exclude
TAO transfers with a module account on a side (a pool, a basket, a pallet account: mostly stake mechanics):
exclude(the default),includebeside the others, oronlythose. Echoed inmeta.module_accounts. With anaccount(orfrom/to) filter they are read through that account's index (fast); without one they are read at request time, so a page can stop at the scan budget (meta.page.scan_limited, withnext_cursorcontinuing: a short page is not the end).- sortquery· string
amount: largest first within the window (the whale list; keyset on amount, then height and event index;meta.page.sortechoes it). Needsasset=tao, orasset=alphawithnetuid(alpha of different subnets is not comparable), withmodule_accounts=excludeandorderleft atdesc: otherwise a 400INVALID_FILTER. Omitted: newest / oldest first byorder. Anything else is a 400INVALID_SORT.
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.
Rows in order by (height, event index). Can be shorter than limit, even empty, with a non-null meta.page.next_cursor (meta.page.scan_limited).
- idstring · unit id
The transfer's event id,
{height}-{event index}: unique and stable.- Format: block and index, such as 4200000-3
- heightinteger · unit block
The block it happened in.
- timestring (date-time)
The block's Timestamp.set (RFC 3339 UTC, milliseconds). Never null (block 0 has no transfer).
- Format: date and time, ISO 8601 in UTC
- extrinsic_idstring · unit id · can be null
The extrinsic that made it (
{height}-{index}); null when no extrinsic did.- Format: block and index, such as 4200000-3
- call_idstring · unit id · can be null
The call inside that extrinsic that made it (a batch child or a proxied call has its own id,
{height}-{index}.{child}...); null when no call is attributed.- Pattern:
^[0-9]+-[0-9]+(\.[0-9]+)*$ - assetenum
taooralpha: which amount member is set.- One of:
tao,alpha - netuidinteger · unit id · can be null
Alpha: the subnet the alpha left. Null on TAO rows.
- destination_netuidinteger · unit id · can be null
Alpha: the subnet the alpha arrived on when the transfer crossed subnets; null when it stayed on
netuid, and on TAO rows.- amount_raostring · unit rao (÷1e9) · can be null
TAO: the amount, rao (decimal string). Null on alpha rows.
- Format: whole number, as a string · on chain: u64
- alpha_raostring · unit alpha_rao (÷1e9) · can be null
Alpha: the alpha the recipient was credited on the destination subnet (
destination_netuid, elsenetuid), alpha rao (decimal string), from the chain'sStakeAddedpaired with the transfer event. Null on TAO rows; on an alpha row, null means not sized (never zero): outsidemeta.alpha_sized_from_height..meta.alpha_sized_through_height, or a historical row left unsized on purpose pending an independent check of its source (55 rows in 5,068,907..5,944,150 on 2026-10-02).tao_equivalent_raois given either way.- Format: whole number, as a string · on chain: u64
- tao_equivalent_raostring · unit rao (÷1e9) · can be null
Alpha: the TAO equivalent the chain's transfer event reported, rao. Null on TAO rows.
- Format: whole number, as a string · on chain: u64
- fromstring
The sender, SS58 (prefix 42).
- Format: SS58 address
- tostring
The recipient, SS58 (prefix 42).
- Format: SS58 address
- from_account_kindobject
What the sender is, from its bytes:
custody(e.g. a subnet pool account paying out),protocolor a plainaccount.4 fields in from_account_kind
- kindstring
custody: a module account that holds other accounts' funds (the subnet pool accounts, the basket escrow, crowdloan funds, the limit-order intermediary), so its balance is not its own: leave it out of rankings of holders.protocol: any other module account.account: no module-account prefix; it may still be a multisig, a pure proxy or an EVM-mapped account (those cannot be told apart from the bytes). New values may be added; show an unknown value as is (or generically).- pallet_idstring · can be null
The module account's PalletId, the 8 bytes after the
modlprefix as text (e.g.subtensr,bt/cloan). Null whenkindisaccount.- subobject · can be null
The sub-account the bytes after the PalletId decode to. Null for a plain
account, for a PalletId's base account, and for sub-account bytes that do not decode.2 fields in sub
- typestring
How the sub-account bytes decode:
netuid(a subnet pool account's subnet, u16),index(a numbered sub-account such as a crowdloan fund's id, u32) ortag(8 printable bytes, e.g.beta/escfor the basket escrow). New values may be added; show an unknown value as is (or generically).- valueone of several
The decoded sub-account: an integer for
netuidandindex, a string fortag.
- namestring · can be null
A readable name for the module account from a registry of known PalletIds (e.g.
subnet pool account,basket escrow). Null when the registry does not know the account; never guessed.
- to_account_kindobject
What the recipient is, from its bytes:
custody,protocolor a plainaccount.4 fields in to_account_kind
- kindstring
custody: a module account that holds other accounts' funds (the subnet pool accounts, the basket escrow, crowdloan funds, the limit-order intermediary), so its balance is not its own: leave it out of rankings of holders.protocol: any other module account.account: no module-account prefix; it may still be a multisig, a pure proxy or an EVM-mapped account (those cannot be told apart from the bytes). New values may be added; show an unknown value as is (or generically).- pallet_idstring · can be null
The module account's PalletId, the 8 bytes after the
modlprefix as text (e.g.subtensr,bt/cloan). Null whenkindisaccount.- subobject · can be null
The sub-account the bytes after the PalletId decode to. Null for a plain
account, for a PalletId's base account, and for sub-account bytes that do not decode.2 fields in sub
- typestring
How the sub-account bytes decode:
netuid(a subnet pool account's subnet, u16),index(a numbered sub-account such as a crowdloan fund's id, u32) ortag(8 printable bytes, e.g.beta/escfor the basket escrow). New values may be added; show an unknown value as is (or generically).- valueone of several
The decoded sub-account: an integer for
netuidandindex, a string fortag.
- namestring · can be null
A readable name for the module account from a registry of known PalletIds (e.g.
subnet pool account,basket escrow). Null when the registry does not know the account; never guessed.
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), slowpublic, max-age=300, stale-while-revalidate=600(state that moves in minutes or days) or tippublic, 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). Neverimmutable.no-storeon 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-revalidateandstale-if-error;no-storewithX-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, withX-BTAI-Stale-As-Of,Age(its seconds since then) andWarning: 110 - "Response is Stale", andCache-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.
- AMBIGUOUS_CREDENTIALS
- BAD_GATEWAY
- BILLING_UNAVAILABLE
- BUDGET_EXCEEDED
- CONCURRENCY_LIMIT
- INSUFFICIENT_PERMISSIONS
- INTERNAL_ERROR
- INVALID_ADDRESS
- INVALID_AMOUNT
- INVALID_ASSET
- INVALID_CURSOR
- INVALID_FILTER
- INVALID_HEIGHT
- INVALID_INCLUDE
- INVALID_LIMIT
- INVALID_MODULE_ACCOUNTS
- INVALID_NETUID
- INVALID_ORDER
- INVALID_RANGE
- INVALID_SORT
- INVALID_TIME
- NOT_READY
- PAYMENT_REQUIRED
- PLAN_REQUIRED
- RATE_LIMITED
- REPEATED_PARAMETER
- SERVICE_UNAVAILABLE
- SOURCE_BUSY
- SOURCE_NOT_READY
- SOURCE_TIMEOUT
- UNAUTHORIZED
- UNKNOWN_PARAMETER
- VALIDATION_ERROR
From the API's published specification, version 1.165.0.