Extrinsic counts per category
Ce contenu n’est pas encore disponible dans votre langue.
How many extrinsics of one account or one subnet fall in each category, with the list’s outcome and value filters.
Rate limit: 300 requests per minute per IP (scope explore).
Authorizations
Section intitulée « Authorizations »- None
Parameters
Section intitulée « Parameters »Query Parameters
Section intitulée « Query Parameters »Signer or target SS58 address. Either this or netuid is required; 400 without both.
Comma-separated subset of add, remove, swap, burn. 400 on any other token, or without a scope.
Upper bound on the extrinsic’s rao value. Same validation.
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.
Filter to one subnet. 0 is root, a real subnet. 400 when not an integer.
Keep only succeeded or only failed. Any other value is ignored.
Responses
Section intitulée « Responses »A count for every category, zero included.
A bare object, no envelope: every category is present, zero-filled.
object
Stake added, removed, moved, swapped, burned or recycled, and fund purchases and rebalances; transfer_stake too, except on /v2/.
TAO transfers (Balances.transfer*); on /v2/, transfer_stake too.
Ethereum calls.
Every other call. A batch counts where its sub-calls place it, as its row’s category says.
The sum of the four categories.
Example generated
{ "staking": 1, "transfers": 1, "evm": 1, "other": 1, "total": 1}A parameter failed its check, which message names. code is usually VALIDATION_ERROR.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
VALIDATION_ERROR
{ "error": true, "code": "VALIDATION_ERROR", "message": "account or netuid parameter is required", "detail": null}Rate limit exceeded (300/minute, per IP). Retry-After carries the seconds to wait.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
RATE_LIMITED
{ "error": true, "code": "RATE_LIMITED", "message": "Request was throttled", "detail": { "retry_after": 12 }}Seconds before the next request is accepted.
QUERY_TIMEOUT: the query exceeded its budget. detail carries budget_ms, elapsed_ms, path and query.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
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" }}