Skip to content

The set_weights one hotkey signed before Finney, per UTC day

GET
/v1/pre-finney/weights/

Every UTC day on which the hotkey signed at least one set_weights on Nakamoto, with how many and the blocks of the first and the last, oldest first. Each one is listed by the extrinsics route with call=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.

chain
string
Allowed values: kusanagi nakamoto

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

The hotkey’s set_weights, per UTC day.

Media typeapplication/json

The set_weights one hotkey signed, per UTC day.

object
account
required

The hotkey queried.

string
chain
required

The chain queried.

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

All of them, zero when none.

integer
first_block
required

The block of the first; null when none.

integer
nullable
last_block
required

The block of the last; null when none.

integer
nullable
days
required

One row per UTC day with at least one, oldest first.

Array<object>
object
date
required

The UTC day.

string format: date
count
required

The set_weights the hotkey signed that day.

integer
first_block
required

The block of the first.

integer
last_block
required

The block of the last.

integer

Example

{
"chain": "kusanagi"
}

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.