Skip to content

One extrinsic

GET
/extrinsics/{extrinsic_id}/

One extrinsic by its {block}-{idx} key or by its hash, in the shape of an /extrinsics/ row. When two blocks carry the same hash, the earliest inclusion is served.

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

  • None
extrinsic_id
required
string

Composite key {block}-{idx} (e.g. 8361560-14), or the extrinsic hash.

The extrinsic, in the shape of an /extrinsics/ row.

Media typeapplication/json

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
call_args

Raw decoded arguments. Absent on batches and on rows with no decoded call data.

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
proxy_type

Proxied calls: the wrapper’s force_proxy_type restriction, when it carried one.

string

Example

{
"category": "staking"
}

RESOURCE_NOT_FOUND. Carries Cache-Control: public, max-age=15, short because a new block or extrinsic is indexed up to a minute late.

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

ExampleRESOURCENOTFOUND

RESOURCE_NOT_FOUND

{
"error": true,
"code": "RESOURCE_NOT_FOUND",
"message": "Not found",
"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.