EVM TAO holders: EVM addresses ranked by the native TAO they hold
https://api.bittensor.ai/api/v2/evm/tao/holders- Status
- Beta
- Auth
- API key or OAuth access token
- Scope
data:read- Rate limit
plan
Beta. An EVM address's native TAO sits in its Substrate mirror account (blake2_256("evm:" ++ h160)): every H160 seen in an EVM transaction has one. One row per EVM address: free, reserved and staked TAO (the stake at spot value on staked_as_of_day) and their total, largest total first (ties by address), with rank (the 1-based position in the filtered list). An unavailable stake leg counts 0 and total_is_lower_bound is true. holding_kind says what holds the TAO (bridge_escrow, wrapper_reserve, contract, account; chain data only; null until the data source's bridge feed has run, and then the holding_kind filter matches nothing). Filter by holding_kind and is_contract. Keyset-paged through meta.page.next_cursor. Balances are current to meta.as_of_height; meta.at is the source's head. Cached as the head. Errors are application/problem+json: INVALID_KIND (holding_kind), INVALID_BOOLEAN (is_contract), INVALID_LIMIT, INVALID_CURSOR, UNKNOWN_PARAMETER; SOURCE_TIMEOUT (503), SOURCE_NOT_READY (503: this deployment's data source is not configured, or does not serve the EVM TAO views yet), SERVICE_UNAVAILABLE (503).
Beta: this route may change with one release's notice in the v2 changelog; additive changes need none (x-stability: beta).
Query parameters
- holding_kindquery· enum · one of bridge_escrow, wrapper_reserve, contract, account
Only this holding kind. Anything else is a 400
INVALID_KIND.- is_contractquery· enum · one of true, false
Only contracts (
true) or only externally owned addresses (false).trueorfalse(lower-case; anything else is a 400INVALID_BOOLEAN).- limitquery· integer · default 25 · 1 to 100
Rows per page, 1..100 (default 25). Anything else is a 400
INVALID_LIMIT.- cursorquery· string · up to 400 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.
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.
One row per EVM address, largest total_tao_rao first; [] when none match.
- rankinteger · unit count
1-based position in this list (with its filters), largest
total_tao_raofirst; ties by address, descending.- h160string
The EVM address, 0x + 40 lower-case hex.
- Format: EVM address: 0x and 40 hex digits
- accountobject
Its Substrate mirror account (blake2_256("evm:" ++ h160)), which holds the native TAO.
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
- free_tao_raostring · unit rao (÷1e9)
System.Account
data.freeof the mirror account, in rao.eth_getBalanceshows this minus the 500 rao existential deposit.- Format: whole number, as a string · on chain: u64
- reserved_tao_raostring · unit rao (÷1e9)
System.Account
data.reservedof the mirror account, in rao.- Format: whole number, as a string · on chain: u64
- staked_tao_raostring · unit rao (÷1e9) · can be null
The mirror account's stake at spot value on
staked_as_of_day, in rao (0 without a position). Null when not available: seestaked_tao_rao_unavailable_reason.- Format: whole number, as a string · on chain: u64
- total_tao_raostring · unit rao (÷1e9)
free + reserved + staked, in rao: the list's sort key. An unavailable stake leg counts 0 and
total_is_lower_boundis true.- Format: whole number, as a string · on chain: u64
- total_is_lower_boundboolean
True when the stake leg is unavailable and counted as 0: the real total is at least
total_tao_rao.- staked_as_of_daystring (date) · can be null
The UTC day the stake is valued on (the stake history's newest closed day). Null until loaded.
- Format: date, YYYY-MM-DD
- holding_kindstring · can be null
What holds this TAO, from chain data only (never labels), first match wins:
bridge_escrow(a LayerZero OFT / native OFT adapter with a current peer: TAO locked against tokens on another chain),wrapper_reserve(an ERC-20 wrapper with Deposit / Withdrawal events: the TAO backing its tokens),contract(any other contract) oraccount(an externally owned address). Null while the data source's bridge feed has not run (not classified yet). New values may be added; show an unknown value as is (or generically).- is_contractboolean
The address holds contract code now.
- is_verifiedboolean
Sourcify has the contract's verified source.
- is_tokenboolean
A token contract (any standard).
- verified_namestring · can be null
The verified contract's name (Sourcify; the contract author's own string: render it as text, never as markup). Null when not verified.
- token_standardstring · can be null
The token standard when a token contract (the first by name if it emits two); else null. Known values:
erc20,erc721,erc1155. New values may be added; show an unknown value as is (or generically).- is_wrapperboolean
An ERC-20 with WETH9-style Deposit / Withdrawal events (a TAO wrapper).
- as_of_heightinteger · unit block · can be null
The block the balances are current to (the same on every row:
meta.as_of_height). A row repaired from current state can be newer (changed_heightabove it). Null while the dataset states no head:meta.atis the source's head.- changed_heightinteger · unit block · can be null
The block of the last balance write counted for this account; null: never written.
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_BOOLEAN
- INVALID_CURSOR
- INVALID_KIND
- INVALID_LIMIT
- PAYMENT_REQUIRED
- PLAN_LIMIT_EXCEEDED
- 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.