Skip to content

One account's extrinsics before Finney, newest first

GET
/v1/pre-finney/extrinsics/

The extrinsics of Nakamoto, Bittensor’s chain until March 2023, that name the account: what it signed, the transfers it received, the stakes on its hotkey, newest block first. Finney’s genesis carried balances and stake over, never these blocks. Each one’s outcome comes from its block’s events: success, the error that stopped it, the fee_rao its signer paid and the moved_rao a transfer moved, null on a set_weights. set_weights are listed only with call=set_weights. Page-number pagination, to the last page except for set_weights.

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

  • None
account
required
string

SS58 address, the same on every chain. 400 when missing or containing a NUL byte.

call
string

Keep one call. set_weights lists the hotkey’s, which no other filter reaches.

category
string
Allowed values: other staking transfers

Keep one family. 400 on any other value.

chain
string
Allowed values: kusanagi nakamoto

The chain before Finney. 400 on any other value. Default nakamoto.

from_block
integer

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

module
string

Keep one pallet, the outer one for a call the sudo key wrapped.

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, 200].

to_block
integer

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

One page of the account’s extrinsics, newest first.

Media typeapplication/json

One page of an account’s extrinsics before Finney, newest first, with the chain’s coverage.

object
chain
required

The chain queried.

  • kusanagi - kusanagi
  • nakamoto - nakamoto
string
Allowed values: kusanagi nakamoto
coverage
required

The blocks held for the chain; null when none is loaded.

object
first_block
required

The first block held, 0 for the genesis.

integer
last_block
required

The last block held: the chain’s head when its last snapshot was taken.

integer
start
required

Time of the first block that carries one; the genesis carries none.

string format: date-time
nullable
end
required

Time of last_block, the end of the history served.

string format: date-time
nullable
results
required

This page’s rows, newest block first.

Array<object>

One extrinsic of a chain before Finney, told from the queried account’s side.

object
chain
required

The chain it was included in.

  • kusanagi - kusanagi
  • nakamoto - nakamoto
string
Allowed values: kusanagi nakamoto
block
required

Its block on that chain, a number unrelated to Finney’s.

integer
idx
required

Its index in the block.

integer
hash
required

The extrinsic hash, blake2-256 of its bytes, as 0x-prefixed hex.

string
timestamp
required

Block time.

string format: date-time
module
required

Its pallet, Sudo for a call the sudo key wrapped.

string
call
required

Its call.

string
inner_module
required

The pallet a Sudo call dispatched, through any nested wrapper; else null.

string
nullable
inner_call
required

The call a Sudo call dispatched; else null.

string
nullable
category
required

Its family, staking, transfers or other, as Finney’s extrinsics count them.

string
role
required

The queried account’s place in it: its signer, the transfer’s recipient, the stake’s or the registration’s hotkey, the registration’s coldkey, or sudo_target, an account the sudo key acted on.

  • signer - signer
  • recipient - recipient
  • hotkey - hotkey
  • coldkey - coldkey
  • sudo_target - sudo_target
string
Allowed values: signer recipient hotkey coldkey sudo_target
signer
required

Who signed it. Null on an unsigned extrinsic.

string
nullable
nonce
required

The signer’s nonce. Null where the extrinsic carried no signed extensions.

integer
nullable
tip_rao
required

In rao. The tip offered on top of the fee. Null where the extrinsic carried no signed extensions.

nullable
One of:
integer
params
required

The call’s arguments normalised as on Finney’s extrinsics, amount_rao being what the call asked to move. 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
call_args
required

The decoded arguments, an uploaded runtime replaced by its size and blake2-256. Null on set_weights, whose vectors are not kept.

Array<object>
nullable
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
success
required

Whether it went through, a Sudo call’s dispatched result included, off its block’s events. Null on a set_weights.

boolean
nullable
error
required

What stopped it, Pallet.Error or a dispatch error such as BadOrigin; null when it went through.

string
nullable
fee_rao
required

In rao. The fee its signer paid, zero for a call that charges none. Null on a set_weights.

nullable
One of:
integer
moved_rao
required

In rao. What a transfer moved, or the free balance a set_balance set, off the events; null for any other call.

nullable
One of:
integer
kind
required

balance_restored on the sudo key’s transfers that sent back the balances the April 2022 upgrade read as zero; else null.

  • balance_restored - balance_restored
nullable
One of:
  • balance_restored - balance_restored
string
Allowed values: balance_restored
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

{
"chain": "kusanagi",
"results": [
{
"chain": "kusanagi",
"role": "signer",
"kind": "balance_restored"
}
]
}

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.