Skip to content

Every τ and α movement of one coldkey, whatever wrapped it

GET
/v1/account-ledger/

Every movement of TAO or alpha that changed what one coldkey holds, newest first by block and event: buys, sells, swaps, moves and transfers of alpha, burns, gamma mints paid in TAO, and TAO transfers. A row reads the same whether the movement was signed directly, batched or proxied; kind gives its direction, so alpha_rao and tao_rao are unsigned. Rewards are left out unless include_rewards=true, and netuid also leaves out TAO transfers. Page-number pagination.

Rate limit: 300 requests per minute per IP (scope explore).

Stable: the operation and its fields leave only after 180 days of notice.

  • None
account
required
string

Coldkey SS58 address. 400 when missing or containing a NUL byte.

include_rewards
boolean

true adds alpha_reward, the auto-staked incentive, left out by default because it outnumbers every other kind by far.

kinds
string

Comma-separated subset of the kind taxonomy (see the row schema). An unknown value is a 400, never a silently unfiltered list.

min_value_rao
integer

Keep only movements whose τ leg is at least this many rao (τ × 1e9). Compared on the MAGNITUDE, so it reads the same on a buy and on a sell. Same parameter name as /trades/ and /extrinsics/.

netuid
integer

Filter to one subnet, 0 being root; TAO transfers, which belong to none, drop out. 400 when not an integer.

page
integer

1-based page number. Defaults to 1; an unparseable value falls back to it.

page_size
integer

Rows per page. Default 25, clamped to [1, 100].

success
boolean

true drops movements whose extrinsic the chain rejected; any other value keeps everything, rejected legs being real history.

One page of movements, newest first.

Media typeapplication/json

Every movement of TAO or alpha that changed what a coldkey holds, newest first.

object
results
required

This page’s movements, newest first by block and event.

Array<object>

One movement of TAO or alpha, seen from the queried coldkey: kind carries the direction, so the amounts are unsigned.

object
block
required
integer
event_idx
required

Index of the event in its block, which with block orders this ledger. A refund for a dissolved subnet, which no event carries, reads 1,000,000 or more.

integer
extrinsic_idx
required

Index of the extrinsic in its block, so {block}-{extrinsic_idx} names it on /extrinsics/{extrinsic_id}/. Null without one.

integer
nullable
timestamp
required

Block time.

string format: date-time
nullable
kind
required

One of: alpha_buy, alpha_sell, alpha_swap_in, alpha_swap_out, alpha_move_in, alpha_move_out, alpha_transfer_in, alpha_transfer_out, alpha_reward, alpha_burn, alpha_recycle, gamma_mint (TAO paid for gamma, the alpha it bought burned at once), tao_transfer_in, tao_transfer_out. A value never changes meaning; a new kind of movement gets a new value.

string
netuid
required

Null on a TAO transfer, which belongs to no subnet.

integer
nullable
dest_netuid
required

The other subnet of a cross-subnet swap, move or transfer: the origin on an incoming row, the destination on an outgoing one.

integer
nullable
alpha_rao
required

In alpha rao, unsigned. Null on a TAO transfer.

integer
nullable
tao_rao
required

In rao, unsigned. The TAO paid or received, or the alpha’s spot value when no pool was used. Null when there is none, as on a reward or a burn.

integer
nullable
unit_price_rao
required

In rao per whole alpha: tao_rao times 10⁹ over alpha_rao, rounded down. Null when either is missing or zero.

integer
nullable
counterparty
required

The other coldkey on a transfer. Null on a swap or move, where the alpha stays with this coldkey.

string
nullable
hotkey
required

The hotkey the alpha sits on, or the key of the deposit a gamma mint credits. Null on a TAO transfer.

string
nullable
success
required

Whether the extrinsic that carried this movement succeeded; null when none did, as on a reward or a dissolution refund.

boolean
nullable
tao_price_usd
required

TAO in USD at the block time: the hour holding it, else the closest hour before, and before the hourly series starts (February 2024) the day’s close. Null without a price.

number format: double
nullable
pagination
required

Where this page sits in the list, and whether another follows.

object
page
required

The page served, counting from 1.

integer
page_size
required

Rows per page, the requested size within the route’s bounds.

integer
total_count
required

Exact number of matching rows, or null when kinds selects part of one chain operation, such as alpha_buy alone, which no cheap count separates. A whole family of kinds, all the alpha ones or all the transfer ones, always counts.

integer
nullable
total_pages
required

Null whenever total_count is; clamped to the deepest page the API serves.

integer
nullable
has_next
required

Whether a next page exists within the deepest page served.

boolean
has_previous
required

True past page 1.

boolean

Examples

ExampleAccountLedger

A TAO transfer and an alpha sell

{
"results": [
{
"block": 9118348,
"event_idx": 224,
"extrinsic_idx": 15,
"timestamp": "2026-09-21T20:30:36+00:00",
"kind": "tao_transfer_out",
"netuid": null,
"dest_netuid": null,
"alpha_rao": null,
"tao_rao": 104519511161,
"unit_price_rao": null,
"counterparty": "5EqScuKjJSepEGh7gYPrPKL4TzDmBc7sPNxEFUn4A8Mv4erp",
"hotkey": null,
"success": true,
"tao_price_usd": 297.41
},
{
"block": 9118345,
"event_idx": 138,
"extrinsic_idx": 3,
"timestamp": "2026-09-21T20:30:00+00:00",
"kind": "alpha_sell",
"netuid": 64,
"dest_netuid": null,
"alpha_rao": 598331200304,
"tao_rao": 40924325419,
"unit_price_rao": 68397445,
"counterparty": null,
"hotkey": "5CszMVts9ueMUSKdAwLFSLT7u4oyxN7fUBpo8Z3ETw1ggMUV",
"success": true,
"tao_price_usd": 297.41
}
],
"pagination": {
"page": 1,
"page_size": 2,
"total_count": 184,
"total_pages": 92,
"has_next": true,
"has_previous": false
}
}

A parameter failed its check, which message names. code is usually VALIDATION_ERROR.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleVALIDATIONERROR

VALIDATION_ERROR

{
"error": true,
"code": "VALIDATION_ERROR",
"message": "account is required",
"detail": null
}

Rate limit exceeded (300/minute, per IP). Retry-After carries the seconds to wait.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleRATELIMITED

RATE_LIMITED

{
"error": true,
"code": "RATE_LIMITED",
"message": "Request was throttled",
"detail": {
"retry_after": 12
}
}
Retry-After
integer

Seconds before the next request is accepted.