@stacks/blockchain-api-client 8.1.2 → 8.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generated/schema.d.ts +73 -0
- package/package.json +1 -1
- package/src/generated/schema.d.ts +73 -0
|
@@ -1309,6 +1309,26 @@ export interface paths {
|
|
|
1309
1309
|
patch?: never;
|
|
1310
1310
|
trace?: never;
|
|
1311
1311
|
};
|
|
1312
|
+
"/extended/v2/blocks/{height_or_hash}/signer-signatures": {
|
|
1313
|
+
parameters: {
|
|
1314
|
+
query?: never;
|
|
1315
|
+
header?: never;
|
|
1316
|
+
path?: never;
|
|
1317
|
+
cookie?: never;
|
|
1318
|
+
};
|
|
1319
|
+
/**
|
|
1320
|
+
* Get signer signatures for block
|
|
1321
|
+
* @description Retrieves the signer signatures (an array of signature byte strings) in a single block
|
|
1322
|
+
*/
|
|
1323
|
+
get: operations["get_signer_signatures_for_block"];
|
|
1324
|
+
put?: never;
|
|
1325
|
+
post?: never;
|
|
1326
|
+
delete?: never;
|
|
1327
|
+
options?: never;
|
|
1328
|
+
head?: never;
|
|
1329
|
+
patch?: never;
|
|
1330
|
+
trace?: never;
|
|
1331
|
+
};
|
|
1312
1332
|
"/extended/v2/burn-blocks/": {
|
|
1313
1333
|
parameters: {
|
|
1314
1334
|
query?: never;
|
|
@@ -17242,6 +17262,8 @@ export interface operations {
|
|
|
17242
17262
|
block_time: number;
|
|
17243
17263
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
17244
17264
|
block_time_iso: string;
|
|
17265
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
17266
|
+
tenure_height: number;
|
|
17245
17267
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
17246
17268
|
index_block_hash: string;
|
|
17247
17269
|
/** @description Hash of the parent block */
|
|
@@ -17318,6 +17340,8 @@ export interface operations {
|
|
|
17318
17340
|
block_time: number;
|
|
17319
17341
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
17320
17342
|
block_time_iso: string;
|
|
17343
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
17344
|
+
tenure_height: number;
|
|
17321
17345
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
17322
17346
|
index_block_hash: string;
|
|
17323
17347
|
/** @description Hash of the parent block */
|
|
@@ -17393,6 +17417,8 @@ export interface operations {
|
|
|
17393
17417
|
block_time: number;
|
|
17394
17418
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
17395
17419
|
block_time_iso: string;
|
|
17420
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
17421
|
+
tenure_height: number;
|
|
17396
17422
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
17397
17423
|
index_block_hash: string;
|
|
17398
17424
|
/** @description Hash of the parent block */
|
|
@@ -17468,6 +17494,8 @@ export interface operations {
|
|
|
17468
17494
|
block_time: number;
|
|
17469
17495
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
17470
17496
|
block_time_iso: string;
|
|
17497
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
17498
|
+
tenure_height: number;
|
|
17471
17499
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
17472
17500
|
index_block_hash: string;
|
|
17473
17501
|
/** @description Hash of the parent block */
|
|
@@ -17543,6 +17571,8 @@ export interface operations {
|
|
|
17543
17571
|
block_time: number;
|
|
17544
17572
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
17545
17573
|
block_time_iso: string;
|
|
17574
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
17575
|
+
tenure_height: number;
|
|
17546
17576
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
17547
17577
|
index_block_hash: string;
|
|
17548
17578
|
/** @description Hash of the parent block */
|
|
@@ -22988,6 +23018,8 @@ export interface operations {
|
|
|
22988
23018
|
block_time: number;
|
|
22989
23019
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
22990
23020
|
block_time_iso: string;
|
|
23021
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
23022
|
+
tenure_height: number;
|
|
22991
23023
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
22992
23024
|
index_block_hash: string;
|
|
22993
23025
|
/** @description Hash of the parent block */
|
|
@@ -27164,6 +27196,8 @@ export interface operations {
|
|
|
27164
27196
|
block_time: number;
|
|
27165
27197
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
27166
27198
|
block_time_iso: string;
|
|
27199
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
27200
|
+
tenure_height: number;
|
|
27167
27201
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
27168
27202
|
index_block_hash: string;
|
|
27169
27203
|
/** @description Hash of the parent block */
|
|
@@ -27255,6 +27289,8 @@ export interface operations {
|
|
|
27255
27289
|
block_time: number;
|
|
27256
27290
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
27257
27291
|
block_time_iso: string;
|
|
27292
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
27293
|
+
tenure_height: number;
|
|
27258
27294
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
27259
27295
|
index_block_hash: string;
|
|
27260
27296
|
/** @description Hash of the parent block */
|
|
@@ -28621,6 +28657,41 @@ export interface operations {
|
|
|
28621
28657
|
};
|
|
28622
28658
|
};
|
|
28623
28659
|
};
|
|
28660
|
+
get_signer_signatures_for_block: {
|
|
28661
|
+
parameters: {
|
|
28662
|
+
query?: {
|
|
28663
|
+
/** @description Results per page */
|
|
28664
|
+
limit?: number;
|
|
28665
|
+
/** @description Result offset */
|
|
28666
|
+
offset?: number;
|
|
28667
|
+
};
|
|
28668
|
+
header?: never;
|
|
28669
|
+
path: {
|
|
28670
|
+
height_or_hash: "latest" | string | number;
|
|
28671
|
+
};
|
|
28672
|
+
cookie?: never;
|
|
28673
|
+
};
|
|
28674
|
+
requestBody?: never;
|
|
28675
|
+
responses: {
|
|
28676
|
+
/** @description Default Response */
|
|
28677
|
+
200: {
|
|
28678
|
+
headers: {
|
|
28679
|
+
[name: string]: unknown;
|
|
28680
|
+
};
|
|
28681
|
+
content: {
|
|
28682
|
+
"application/json": {
|
|
28683
|
+
/** @example 20 */
|
|
28684
|
+
limit: number;
|
|
28685
|
+
/** @example 0 */
|
|
28686
|
+
offset: number;
|
|
28687
|
+
/** @example 1 */
|
|
28688
|
+
total: number;
|
|
28689
|
+
results: string[];
|
|
28690
|
+
};
|
|
28691
|
+
};
|
|
28692
|
+
};
|
|
28693
|
+
};
|
|
28694
|
+
};
|
|
28624
28695
|
get_burn_blocks: {
|
|
28625
28696
|
parameters: {
|
|
28626
28697
|
query?: {
|
|
@@ -28746,6 +28817,8 @@ export interface operations {
|
|
|
28746
28817
|
block_time: number;
|
|
28747
28818
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
28748
28819
|
block_time_iso: string;
|
|
28820
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
28821
|
+
tenure_height: number;
|
|
28749
28822
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
28750
28823
|
index_block_hash: string;
|
|
28751
28824
|
/** @description Hash of the parent block */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacks/blockchain-api-client",
|
|
3
|
-
"version": "8.1
|
|
3
|
+
"version": "8.2.0-beta.1",
|
|
4
4
|
"access": "public",
|
|
5
5
|
"description": "Client for the Stacks Blockchain API",
|
|
6
6
|
"homepage": "https://github.com/hirosystems/stacks-blockchain-api/tree/master/client#readme",
|
|
@@ -1309,6 +1309,26 @@ export interface paths {
|
|
|
1309
1309
|
patch?: never;
|
|
1310
1310
|
trace?: never;
|
|
1311
1311
|
};
|
|
1312
|
+
"/extended/v2/blocks/{height_or_hash}/signer-signatures": {
|
|
1313
|
+
parameters: {
|
|
1314
|
+
query?: never;
|
|
1315
|
+
header?: never;
|
|
1316
|
+
path?: never;
|
|
1317
|
+
cookie?: never;
|
|
1318
|
+
};
|
|
1319
|
+
/**
|
|
1320
|
+
* Get signer signatures for block
|
|
1321
|
+
* @description Retrieves the signer signatures (an array of signature byte strings) in a single block
|
|
1322
|
+
*/
|
|
1323
|
+
get: operations["get_signer_signatures_for_block"];
|
|
1324
|
+
put?: never;
|
|
1325
|
+
post?: never;
|
|
1326
|
+
delete?: never;
|
|
1327
|
+
options?: never;
|
|
1328
|
+
head?: never;
|
|
1329
|
+
patch?: never;
|
|
1330
|
+
trace?: never;
|
|
1331
|
+
};
|
|
1312
1332
|
"/extended/v2/burn-blocks/": {
|
|
1313
1333
|
parameters: {
|
|
1314
1334
|
query?: never;
|
|
@@ -17242,6 +17262,8 @@ export interface operations {
|
|
|
17242
17262
|
block_time: number;
|
|
17243
17263
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
17244
17264
|
block_time_iso: string;
|
|
17265
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
17266
|
+
tenure_height: number;
|
|
17245
17267
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
17246
17268
|
index_block_hash: string;
|
|
17247
17269
|
/** @description Hash of the parent block */
|
|
@@ -17318,6 +17340,8 @@ export interface operations {
|
|
|
17318
17340
|
block_time: number;
|
|
17319
17341
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
17320
17342
|
block_time_iso: string;
|
|
17343
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
17344
|
+
tenure_height: number;
|
|
17321
17345
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
17322
17346
|
index_block_hash: string;
|
|
17323
17347
|
/** @description Hash of the parent block */
|
|
@@ -17393,6 +17417,8 @@ export interface operations {
|
|
|
17393
17417
|
block_time: number;
|
|
17394
17418
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
17395
17419
|
block_time_iso: string;
|
|
17420
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
17421
|
+
tenure_height: number;
|
|
17396
17422
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
17397
17423
|
index_block_hash: string;
|
|
17398
17424
|
/** @description Hash of the parent block */
|
|
@@ -17468,6 +17494,8 @@ export interface operations {
|
|
|
17468
17494
|
block_time: number;
|
|
17469
17495
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
17470
17496
|
block_time_iso: string;
|
|
17497
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
17498
|
+
tenure_height: number;
|
|
17471
17499
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
17472
17500
|
index_block_hash: string;
|
|
17473
17501
|
/** @description Hash of the parent block */
|
|
@@ -17543,6 +17571,8 @@ export interface operations {
|
|
|
17543
17571
|
block_time: number;
|
|
17544
17572
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
17545
17573
|
block_time_iso: string;
|
|
17574
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
17575
|
+
tenure_height: number;
|
|
17546
17576
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
17547
17577
|
index_block_hash: string;
|
|
17548
17578
|
/** @description Hash of the parent block */
|
|
@@ -22988,6 +23018,8 @@ export interface operations {
|
|
|
22988
23018
|
block_time: number;
|
|
22989
23019
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
22990
23020
|
block_time_iso: string;
|
|
23021
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
23022
|
+
tenure_height: number;
|
|
22991
23023
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
22992
23024
|
index_block_hash: string;
|
|
22993
23025
|
/** @description Hash of the parent block */
|
|
@@ -27164,6 +27196,8 @@ export interface operations {
|
|
|
27164
27196
|
block_time: number;
|
|
27165
27197
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
27166
27198
|
block_time_iso: string;
|
|
27199
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
27200
|
+
tenure_height: number;
|
|
27167
27201
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
27168
27202
|
index_block_hash: string;
|
|
27169
27203
|
/** @description Hash of the parent block */
|
|
@@ -27255,6 +27289,8 @@ export interface operations {
|
|
|
27255
27289
|
block_time: number;
|
|
27256
27290
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
27257
27291
|
block_time_iso: string;
|
|
27292
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
27293
|
+
tenure_height: number;
|
|
27258
27294
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
27259
27295
|
index_block_hash: string;
|
|
27260
27296
|
/** @description Hash of the parent block */
|
|
@@ -28621,6 +28657,41 @@ export interface operations {
|
|
|
28621
28657
|
};
|
|
28622
28658
|
};
|
|
28623
28659
|
};
|
|
28660
|
+
get_signer_signatures_for_block: {
|
|
28661
|
+
parameters: {
|
|
28662
|
+
query?: {
|
|
28663
|
+
/** @description Results per page */
|
|
28664
|
+
limit?: number;
|
|
28665
|
+
/** @description Result offset */
|
|
28666
|
+
offset?: number;
|
|
28667
|
+
};
|
|
28668
|
+
header?: never;
|
|
28669
|
+
path: {
|
|
28670
|
+
height_or_hash: "latest" | string | number;
|
|
28671
|
+
};
|
|
28672
|
+
cookie?: never;
|
|
28673
|
+
};
|
|
28674
|
+
requestBody?: never;
|
|
28675
|
+
responses: {
|
|
28676
|
+
/** @description Default Response */
|
|
28677
|
+
200: {
|
|
28678
|
+
headers: {
|
|
28679
|
+
[name: string]: unknown;
|
|
28680
|
+
};
|
|
28681
|
+
content: {
|
|
28682
|
+
"application/json": {
|
|
28683
|
+
/** @example 20 */
|
|
28684
|
+
limit: number;
|
|
28685
|
+
/** @example 0 */
|
|
28686
|
+
offset: number;
|
|
28687
|
+
/** @example 1 */
|
|
28688
|
+
total: number;
|
|
28689
|
+
results: string[];
|
|
28690
|
+
};
|
|
28691
|
+
};
|
|
28692
|
+
};
|
|
28693
|
+
};
|
|
28694
|
+
};
|
|
28624
28695
|
get_burn_blocks: {
|
|
28625
28696
|
parameters: {
|
|
28626
28697
|
query?: {
|
|
@@ -28746,6 +28817,8 @@ export interface operations {
|
|
|
28746
28817
|
block_time: number;
|
|
28747
28818
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
28748
28819
|
block_time_iso: string;
|
|
28820
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
28821
|
+
tenure_height: number;
|
|
28749
28822
|
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
28750
28823
|
index_block_hash: string;
|
|
28751
28824
|
/** @description Hash of the parent block */
|