Skip to content

Gamma mints and spends of one coldkey's deposits, one subnet's, one hotkey's or one service's

GET
/v1/gamma/

The gamma minted into deposits, with TAO, with stake or from a subnet’s emission share, and the gamma spent from them, newest first by block and event. account keeps one coldkey’s deposits, hotkey the deposits one hotkey keys, service the spends at one service, netuid one subnet’s, and none of them serves the whole network; search keeps the coldkeys whose address or identity name holds it. changes=true adds what the coldkeys did to those deposits besides: moves between two of them, closures and daily spend caps. kind gives the direction, so gamma is unsigned. Page-number pagination.

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

  • None
account
string

Coldkey SS58 address: its deposits only. 400 when it contains a NUL byte.

changes
boolean

true adds the kinds move, close and cap. Default: mints and spends alone.

hotkey
string

SS58 address of a deposit’s hotkey, its API key: the deposits it keys only. 400 when it contains a NUL byte.

netuid
integer

One subnet’s gamma only. 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].

search
string

Case-insensitive part of the coldkey’s SS58 address or identity name.

service
string

SS58 address of a service’s hotkey: the spends at it only. 400 when it contains a NUL byte.

One page of mints and spends, newest first.

Media typeapplication/json

Gamma mints and spends, newest first, of one coldkey’s deposits, one subnet’s, or both.

object
results
required

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

Array<object>

One mint into a gamma deposit, one spend from it or, with changes, one thing its coldkey did to it: kind carries the direction, so gamma is unsigned.

object
block
required
integer
event_idx
required

Index of the event in its block, which with block orders this list.

integer
extrinsic_idx
required

Index of the extrinsic in its block, so {block}-{extrinsic_idx} names it on /extrinsics/{extrinsic_id}/. Null on an emission mint, which no extrinsic carries.

integer
nullable
timestamp
required

Block time.

string format: date-time
nullable
kind
required

One of: mint (alpha bought with TAO from the coldkey’s balance and burned), mint_with_stake (alpha the coldkey staked, burned), emission_mint (a subnet’s gamma share of its emission, converted at an epoch), spend (gamma spent from the deposit, which the chain destroyed: by the deposit’s spender up to runtime 492, by its hotkey at a service since 493). With changes=true also move (gamma moved to another deposit of the same coldkey), close (an empty deposit closed) and cap (the deposit’s daily spend cap set or removed). A value never changes meaning.

string
netuid
required

The subnet of the gamma and of its deposit.

integer
source_netuid
required

On an emission mint, the subnet whose emission paid for it. Null otherwise.

integer
nullable
coldkey
required

The coldkey that owns the deposit.

string
hotkey
required

The deposit’s hotkey, the API key that signs the requests the deposit pays for. On a move, the deposit the gamma left.

string
gamma
required

In units of 10⁻⁹ gamma, unsigned: what the row minted, spent or moved, 0 on a close and on a cap, which move none. A mint credits one gamma for each US dollar the burned alpha is worth.

integer
tao_rao
required

In rao. The TAO a mint took from the coldkey’s balance; null on every other kind.

integer
nullable
alpha_rao
required

In alpha rao. The alpha a mint burned; null on a spend.

integer
nullable
value_rao
required

In rao. The TAO value of the burned alpha, which the mint priced; null on a spend.

integer
nullable
spender
required

On a spend up to runtime 492, the account that signed it, the deposit’s spender. Null on a mint and on a spend since 493, which hotkey signs.

string
nullable
service
required

On a spend since runtime 493, the hotkey of the service the gamma was spent at, one the subnet lists. Null on a mint and on an earlier spend.

string
nullable
reference
required

On a spend up to runtime 492, the entry’s 32 bytes as 0x-hex, all zero when the spender gave none. Null on a mint and on a spend since 493.

string
nullable
destination
required

On a move, the hotkey of the deposit the gamma went to. Null on every other kind.

string
nullable
daily_spend_cap
required

On a cap, the deposit’s new daily spend cap in units of 10⁻⁹ gamma: 0 pauses the deposit and null removes the cap. Null on every other kind.

integer
nullable
netuids
required

With account, hotkey or service, every subnet those deposits have a row on, ascending and whatever netuid asks: the choices of a subnet filter. Null without one of them.

Array<integer>
nullable
other_spenders
required

Whether a spend names a spender other than the deposit’s own coldkey, under account and netuid whatever search and the page.

boolean
spent_at_services
required

Whether a spend names its service, as every spend since runtime 493 does, under account and netuid whatever search and the page.

boolean
keys_deposits
required

With account, whether that address is itself the hotkey of a deposit with a row here, which hotkey lists. Null without account.

boolean
nullable
gamma_moved
required

Whether a move is listed under the filters, whatever search and the page, so whether a row names a destination. False without changes.

boolean
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, whether or not the pages can reach them all.

integer
reachable_count
required

Rows the pages can reach: total_pages times page_size, capped at total_count. Below total_count only when the set runs deeper than the offset cap; read the rest through the cursor where the route offers one.

integer
total_pages
required

Clamped to the deepest page the API will serve (offset <= 10000).

integer
has_next
required

Whether a next page exists within the deepest page served.

boolean
has_previous
required

True past page 1.

boolean
next_cursor

Where the list offers a cursor form (/v2/subnets/{netuid}/?delegators=true, /v2/validators/{hotkey}/): the after= that reads the page after this one, null on the last page, and valid only under the sort, direction and grouping that issued it (a 400 otherwise). Absent on lists with no cursor form.

string
nullable

Example generated

{
"results": [
{
"block": 1,
"event_idx": 1,
"extrinsic_idx": 1,
"timestamp": "2026-04-15T12:00:00Z",
"kind": "example",
"netuid": 1,
"source_netuid": 1,
"coldkey": "example",
"hotkey": "example",
"gamma": 1,
"tao_rao": 1,
"alpha_rao": 1,
"value_rao": 1,
"spender": "example",
"service": "example",
"reference": "example",
"destination": "example",
"daily_spend_cap": 1
}
],
"netuids": [
1
],
"other_spenders": true,
"spent_at_services": true,
"keys_deposits": true,
"gamma_moved": true,
"pagination": {
"page": 1,
"page_size": 1,
"total_count": 1,
"reachable_count": 1,
"total_pages": 1,
"has_next": true,
"has_previous": true,
"next_cursor": "example"
}
}

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": "netuid must be an integer",
"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.