Skip to content

Extrinsics, newest first

GET
/extrinsics/

Extrinsics, newest block first, filtered by account, signer, target, block or block range, subnet, category, pallet (module), call, outcome and TAO value. Page-number pagination, whose total_count can be an estimate on a large set (total_count_approximate).

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

  • None
account
string

Signer or target SS58 address.

action
string

Comma-separated subset of add, remove, swap, burn. 400 on any other token, or without a scope.

block
integer

Only this block. 400 when not an integer.

call
string

Call name. An unknown call returns an empty page, not a 404. A call too frequent to page from its index alone needs a scope (account, signer, target, netuid or block) and answers 400 without one.

category
string
Allowed values: evm other staking transfers

Extrinsic family. An unknown value is ignored, never a 400.

exclude_batches
string
Allowed values: true

Drop Utility.batch* wrappers. Anything but true keeps them.

from_block
integer

Lower bound on the block number. 400 when not an integer.

max_value_rao
integer

Upper bound on the extrinsic’s rao value. Same validation.

min_value_rao
integer

Lower bound on the extrinsic’s rao value. 400 when negative, not an integer, or above max_value_rao, and, like action, without a scope: an account, signer, target, netuid, block, or a from_block/to_block range of 90 days at most.

module
string

Pallet name. On an account or netuid slice, a pallet too frequent to resolve from its index alone needs a block scope (block, or from_block and to_block) and answers 400 without one.

netuid
integer

Filter to one subnet. 0 is root, a real subnet. 400 when not an integer.

ordering
string
Allowed values: -block -timestamp block timestamp

400 on any other value. Block ids are monotonic in time, so timestamp is an alias of block. Default -block.

page
integer

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

page_size
integer

Rows per page. Default 50, clamped to [1, 1000].

signer
string

Signer SS58 address.

success
string
Allowed values: false true

Keep only succeeded or only failed. Any other value is ignored.

target
string

Target SS58 address.

to_block
integer

Upper bound on the block number. 400 when not an integer.

One page of extrinsics; total_count_approximate flags an estimated total.

Media typeapplication/json
object
results
required

This page’s rows, in the order the operation states.

Array<object>

One extrinsic, v1 shape. The optional keys are decided by the call, not by the caller.

object
block
required
integer
idx
required

Index of the extrinsic in its block, so {block}-{idx} names it on /extrinsics/{extrinsic_id}/.

integer
hash
required

The extrinsic hash, as 0x-prefixed hex, which /extrinsics/{extrinsic_id}/ also accepts. Null when not recorded.

string
nullable
timestamp
required

Block time. Null when not known.

string format: date-time
nullable
is_final
required

False while its block is the chain’s best head, not yet finalized, usually for 18 to 30 seconds.

boolean
module
required

The INNER module for a proxied call, not Proxy.

string
call
required

The INNER call for a proxied call.

string
category
required

V1 counts transfer_stake under staking; v2 counts it under transfers.

  • staking - staking
  • transfers - transfers
  • evm - evm
  • other - other
string
Allowed values: staking transfers evm other
signer
required

The account the call acts for: its signer, or on a proxied call the account it was submitted for, the submitter being proxy_signer. Null on an unsigned inherent.

string
nullable
success
required

False on System.ExtrinsicFailed, or when a proxy’s wrapped call failed. A batch or force_batch can succeed with failed sub-calls: see sub_calls[].success.

boolean
fee_rao
required

In rao. The fee the extrinsic paid, as its fee events report it. Null when none was charged, as on an inherent.

integer
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
params
required

The call’s arguments, normalised per call family, integers past 2^53 as decimal strings. Null on a batch, whose sub_calls carry them, and where no normalised shape applies.

object
from

Sender SS58.

string
nullable
to

Recipient SS58, or a hex address for Ethereum.transact.

string
nullable
hotkey
string
nullable
coldkey

claim_root*: the claimant, whose root stake the payout joins.

string
nullable
destination

TAO transfers: the recipient.

string
nullable
destination_coldkey
string
nullable
origin_hotkey
string
nullable
destination_hotkey
string
nullable
hotkeys

claim_root only: the hotkeys the claim swept.

Array<string>
hotkey_count

claim_root*: how many validator funds the claim redeemed, the length of hotkeys.

integer
nullable
netuid
integer
nullable
origin_netuid
integer
nullable
destination_netuid
integer
nullable
subnet_count

unstake_all only: how many subnets the call drained.

integer
nullable
amount_rao

In rao: alpha on remove_stake*, move_stake*, swap_stake*, transfer_stake*, burn_alpha, recycle_alpha and swap_basket (TAO from netuid 0), TAO on any other call. Past 2^53, a decimal string.

nullable
One of:
integer
whole_position

move_stake*, swap_stake*, transfer_stake* (runtime 469+): the call moved the whole position, so amount_rao is the α its legs took (null when refused), never the chain’s sentinel.

boolean
alpha_amount

In alpha rao. add_liquidity and remove_liquidity: the alpha side, amount_rao holding the TAO side.

nullable
One of:
integer
limit_price

The signed price limit: rao per alpha on a stake add or removal, origin over destination price times 10⁹ on a move or swap, the burn cap in rao on register_limit.

nullable
One of:
integer
allow_partial

With limit_price: true fills what the limit allows, false is fill or kill. Null on a move or swap without a limit.

boolean
nullable
position_id

add_liquidity and remove_liquidity: the liquidity position, as the pool’s event numbers it.

integer
nullable
fee_tao

In rao. remove_liquidity: the TAO fees the position had earned.

nullable
One of:
integer
fee_alpha

In alpha rao. remove_liquidity: the alpha fees the position had earned.

nullable
One of:
integer
min_amount_out

swap_basket: the floor the caller set on the destination side.

nullable
One of:
integer
alpha_sold_rao

swap_basket: origin α sold (τ from netuid 0, the fund’s cash slot).

nullable
One of:
integer
tao_mid_rao

swap_basket: τ between the two legs.

nullable
One of:
integer
alpha_bought_rao

swap_basket: destination α credited (τ into netuid 0).

nullable
One of:
integer
legs

swap_basket_many: each leg’s origin_netuid, destination_netuid, amount_rao, min_amount_out, amounts past 2^53 as decimal strings.

Array<object>
object
key
additional properties
legs_done

swap_basket_many: each leg’s alpha_sold_rao, tao_mid_rao, alpha_bought_rao, in order, past 2^53 as decimal strings.

Array<object>
object
key
additional properties
value_rao

stake_into_basket: what the deposit added to the fund’s realizable NAV.

nullable
One of:
integer
shares

stake_into_basket: fund shares received.

nullable
One of:
integer
dust_rows

claim_root*, runtime 468+: fund rows the claim left unsold as dust.

integer
dust_forfeited_rao

claim_root*: what the claimant’s slices of those rows were worth; they stay in the fund.

One of:
integer
received_amount_rao

Staking calls whose events carry a received amount.

integer
unit_price_rao

Single-pool staking calls.

integer
nullable
origin_unit_price_rao

move/swap/transfer_stake only.

integer
nullable
destination_unit_price_rao

move/swap/transfer_stake only.

integer
nullable
is_proxy

Present, and always true, on a proxied call.

boolean
proxy_signer

Proxied calls: who submitted it.

string
delegate_for

Proxied calls: whom it was submitted for.

string
sub_calls_count

Utility.batch* only.

integer
sub_calls_summary

Utility.batch* only: the calls folded by (module, call).

Array<object>
object
module
required

Pallet of the folded sub-calls, e.g. SubtensorModule.

string
call
required

Their call name, e.g. add_stake.

string
count
required

Sub-calls with this module and call. The list runs from the most frequent.

integer
sub_calls

Utility.batch* only. The wrapper’s own params is null.

Array<object>
object
idx
required

Position of the sub-call in the batch, from 0.

integer
module
required

Its pallet, e.g. SubtensorModule. A proxied sub-call reads Proxy.

string
call
required

Its call name, e.g. add_stake.

string
params
required

Its arguments, normalised like the extrinsic’s params. Null where no normalised shape applies.

object
from

Sender SS58.

string
nullable
to

Recipient SS58, or a hex address for Ethereum.transact.

string
nullable
hotkey
string
nullable
coldkey

claim_root*: the claimant, whose root stake the payout joins.

string
nullable
destination

TAO transfers: the recipient.

string
nullable
destination_coldkey
string
nullable
origin_hotkey
string
nullable
destination_hotkey
string
nullable
hotkeys

claim_root only: the hotkeys the claim swept.

Array<string>
hotkey_count

claim_root*: how many validator funds the claim redeemed, the length of hotkeys.

integer
nullable
netuid
integer
nullable
origin_netuid
integer
nullable
destination_netuid
integer
nullable
subnet_count

unstake_all only: how many subnets the call drained.

integer
nullable
amount_rao

In rao: alpha on remove_stake*, move_stake*, swap_stake*, transfer_stake*, burn_alpha, recycle_alpha and swap_basket (TAO from netuid 0), TAO on any other call. Past 2^53, a decimal string.

nullable
One of:
integer
whole_position

move_stake*, swap_stake*, transfer_stake* (runtime 469+): the call moved the whole position, so amount_rao is the α its legs took (null when refused), never the chain’s sentinel.

boolean
alpha_amount

In alpha rao. add_liquidity and remove_liquidity: the alpha side, amount_rao holding the TAO side.

nullable
One of:
integer
limit_price

The signed price limit: rao per alpha on a stake add or removal, origin over destination price times 10⁹ on a move or swap, the burn cap in rao on register_limit.

nullable
One of:
integer
allow_partial

With limit_price: true fills what the limit allows, false is fill or kill. Null on a move or swap without a limit.

boolean
nullable
position_id

add_liquidity and remove_liquidity: the liquidity position, as the pool’s event numbers it.

integer
nullable
fee_tao

In rao. remove_liquidity: the TAO fees the position had earned.

nullable
One of:
integer
fee_alpha

In alpha rao. remove_liquidity: the alpha fees the position had earned.

nullable
One of:
integer
min_amount_out

swap_basket: the floor the caller set on the destination side.

nullable
One of:
integer
alpha_sold_rao

swap_basket: origin α sold (τ from netuid 0, the fund’s cash slot).

nullable
One of:
integer
tao_mid_rao

swap_basket: τ between the two legs.

nullable
One of:
integer
alpha_bought_rao

swap_basket: destination α credited (τ into netuid 0).

nullable
One of:
integer
legs

swap_basket_many: each leg’s origin_netuid, destination_netuid, amount_rao, min_amount_out, amounts past 2^53 as decimal strings.

Array<object>
object
key
additional properties
legs_done

swap_basket_many: each leg’s alpha_sold_rao, tao_mid_rao, alpha_bought_rao, in order, past 2^53 as decimal strings.

Array<object>
object
key
additional properties
value_rao

stake_into_basket: what the deposit added to the fund’s realizable NAV.

nullable
One of:
integer
shares

stake_into_basket: fund shares received.

nullable
One of:
integer
dust_rows

claim_root*, runtime 468+: fund rows the claim left unsold as dust.

integer
dust_forfeited_rao

claim_root*: what the claimant’s slices of those rows were worth; they stay in the fund.

One of:
integer
success
required

True when Utility.ItemCompleted closed it, false on ItemFailed or the BatchInterrupted it caused. Null after an interruption, and in a batch_all that rolled back.

boolean
nullable
call_args

The sub-call’s own decoded arguments. Detail route only, like the top-level call_args.

Array<object>
object
name
required

The argument’s name in the runtime metadata, e.g. netuid.

string
type
required

Its type name in the runtime metadata, e.g. NetUid or u64.

string
value
required

Integers past 2^53 are decimal strings, so they survive a JSON parser’s float64 intact.

nullable
events_count

Only from /blocks/{block}/extrinsics/.

integer
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
total_count_approximate
required

True when total_count is an estimate rather than an exact count.

boolean

Example

{
"results": [
{
"category": "staking"
}
]
}

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": "page too deep: max page is 401 for page_size=25",
"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.

QUERY_TIMEOUT: the query exceeded its budget. detail carries budget_ms, elapsed_ms, path and query.

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

ExampleQUERYTIMEOUT

QUERY_TIMEOUT

{
"error": true,
"code": "QUERY_TIMEOUT",
"message": "query exceeded the 12000 ms budget; retry, or narrow the requested range",
"detail": {
"budget_ms": 12000,
"elapsed_ms": 12004,
"path": "/trades/summary/",
"query": "coldkey=5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY&resolution=day"
}
}