Skip to content

OTC lockup claims

GET /api/otc/lockup/claim/v1

Returns claim events — the on-chain moments where a buyer extracted their alpha from a lockup escrow account after the unlock_block. Each row records the escrow account, the alpha amount claimed, and the extrinsic that performed the claim. Pair with /api/otc/lockup/purchase/v1 to reconstruct full lockup lifecycles.

NameInTypeRequiredDescription
buyerquerystringFilter by buyer coldkey (SS58).
netuidqueryintegerSubnet id.
escrow_accountquerystringFilter by escrow account address (SS58).
unlock_block_startqueryintegerEarliest unlock block on the original purchase (inclusive).
unlock_block_endqueryintegerLatest unlock block (inclusive).
block_startqueryintegerEarliest claim block (inclusive).
block_endqueryintegerLatest claim block (inclusive).
timestamp_startqueryintegerEarliest claim timestamp (seconds, inclusive).
timestamp_endqueryintegerLatest claim timestamp (seconds, inclusive).
pagequeryinteger1-based page number.
limitqueryintegerPage size (max 200).
orderquerySort order, e.g. block_number_desc.

200 — Lockup claims retrieved successfully

Section titled “200 — Lockup claims retrieved successfully”

Media: application/json

Schema
{
"type": "object",
"required": [
"pagination",
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"extrinsic_id",
"buyer",
"netuid",
"amount_claimed",
"unlock_block",
"escrow_account",
"block_number",
"timestamp"
],
"properties": {
"amount_claimed": {
"type": "string"
},
"block_number": {
"type": "integer",
"format": "int32"
},
"buyer": {
"type": "object",
"required": [
"ss58",
"hex"
],
"properties": {
"hex": {
"type": "string",
"description": "The hex format of the hot key"
},
"ss58": {
"type": "string",
"description": "The SS58 format of the hot key"
}
}
},
"escrow_account": {
"type": "string"
},
"extrinsic_id": {
"type": "string"
},
"id": {
"type": "string"
},
"netuid": {
"type": "integer",
"format": "int32"
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"unlock_block": {
"type": "integer",
"format": "int32"
}
}
}
},
"pagination": {
"type": "object",
"required": [
"current_page",
"per_page",
"total_items",
"total_pages"
],
"properties": {
"current_page": {
"type": "integer",
"format": "int32"
},
"next_page": {
"type": "integer",
"format": "int32",
"nullable": true
},
"per_page": {
"type": "integer",
"format": "int32"
},
"prev_page": {
"type": "integer",
"format": "int32",
"nullable": true
},
"total_items": {
"type": "integer",
"format": "int32"
},
"total_pages": {
"type": "integer",
"format": "int32"
}
}
}
}
}

Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).

All Taostats API requests require an Authorization header containing your API key. See Getting Started.