@stacks/blockchain-api-client 9.0.0-next.17 → 9.0.0-next.19
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 +168 -0
- package/package.json +1 -1
- package/src/generated/schema.d.ts +168 -0
|
@@ -1345,6 +1345,26 @@ export interface paths {
|
|
|
1345
1345
|
patch?: never;
|
|
1346
1346
|
trace?: never;
|
|
1347
1347
|
};
|
|
1348
|
+
"/extended/v2/burn-blocks/{height_or_hash}/pox-transactions": {
|
|
1349
|
+
parameters: {
|
|
1350
|
+
query?: never;
|
|
1351
|
+
header?: never;
|
|
1352
|
+
path?: never;
|
|
1353
|
+
cookie?: never;
|
|
1354
|
+
};
|
|
1355
|
+
/**
|
|
1356
|
+
* Get PoX transactions by burn block
|
|
1357
|
+
* @description Retrieves a list of PoX transactions confirmed by a specific burn block
|
|
1358
|
+
*/
|
|
1359
|
+
get: operations["get_burn_block_pox_transactions"];
|
|
1360
|
+
put?: never;
|
|
1361
|
+
post?: never;
|
|
1362
|
+
delete?: never;
|
|
1363
|
+
options?: never;
|
|
1364
|
+
head?: never;
|
|
1365
|
+
patch?: never;
|
|
1366
|
+
trace?: never;
|
|
1367
|
+
};
|
|
1348
1368
|
"/extended/v2/block-tenures/{tenure_height}/blocks": {
|
|
1349
1369
|
parameters: {
|
|
1350
1370
|
query?: never;
|
|
@@ -1607,6 +1627,26 @@ export interface paths {
|
|
|
1607
1627
|
patch?: never;
|
|
1608
1628
|
trace?: never;
|
|
1609
1629
|
};
|
|
1630
|
+
"/extended/v2/addresses/{burnchain_address}/pox-transactions": {
|
|
1631
|
+
parameters: {
|
|
1632
|
+
query?: never;
|
|
1633
|
+
header?: never;
|
|
1634
|
+
path?: never;
|
|
1635
|
+
cookie?: never;
|
|
1636
|
+
};
|
|
1637
|
+
/**
|
|
1638
|
+
* Get PoX transactions for a burnchain address
|
|
1639
|
+
* @description Retrieves a list of PoX transactions
|
|
1640
|
+
*/
|
|
1641
|
+
get: operations["get_burnchain_address_pox_transactions"];
|
|
1642
|
+
put?: never;
|
|
1643
|
+
post?: never;
|
|
1644
|
+
delete?: never;
|
|
1645
|
+
options?: never;
|
|
1646
|
+
head?: never;
|
|
1647
|
+
patch?: never;
|
|
1648
|
+
trace?: never;
|
|
1649
|
+
};
|
|
1610
1650
|
"/v1/names/{name}/zonefile/{zoneFileHash}": {
|
|
1611
1651
|
parameters: {
|
|
1612
1652
|
query?: never;
|
|
@@ -29185,6 +29225,68 @@ export interface operations {
|
|
|
29185
29225
|
};
|
|
29186
29226
|
};
|
|
29187
29227
|
};
|
|
29228
|
+
get_burn_block_pox_transactions: {
|
|
29229
|
+
parameters: {
|
|
29230
|
+
query?: {
|
|
29231
|
+
/** @description Results per page */
|
|
29232
|
+
limit?: number;
|
|
29233
|
+
/** @description Result offset */
|
|
29234
|
+
offset?: number;
|
|
29235
|
+
};
|
|
29236
|
+
header?: never;
|
|
29237
|
+
path: {
|
|
29238
|
+
height_or_hash: "latest" | string | number;
|
|
29239
|
+
};
|
|
29240
|
+
cookie?: never;
|
|
29241
|
+
};
|
|
29242
|
+
requestBody?: never;
|
|
29243
|
+
responses: {
|
|
29244
|
+
/** @description Default Response */
|
|
29245
|
+
200: {
|
|
29246
|
+
headers: {
|
|
29247
|
+
[name: string]: unknown;
|
|
29248
|
+
};
|
|
29249
|
+
content: {
|
|
29250
|
+
"application/json": {
|
|
29251
|
+
/** @example 20 */
|
|
29252
|
+
limit: number;
|
|
29253
|
+
/** @example 0 */
|
|
29254
|
+
offset: number;
|
|
29255
|
+
/** @example 1 */
|
|
29256
|
+
total: number;
|
|
29257
|
+
results: {
|
|
29258
|
+
/** @description Height of the burn block */
|
|
29259
|
+
burn_block_height: number;
|
|
29260
|
+
/** @description Hash of the burn block */
|
|
29261
|
+
burn_block_hash: string;
|
|
29262
|
+
/** @description Transaction ID */
|
|
29263
|
+
tx_id: string;
|
|
29264
|
+
/** @description Recipient address */
|
|
29265
|
+
recipient: string;
|
|
29266
|
+
/** @description UTXO index */
|
|
29267
|
+
utxo_idx: number;
|
|
29268
|
+
/** @description Amount */
|
|
29269
|
+
amount: string;
|
|
29270
|
+
}[];
|
|
29271
|
+
};
|
|
29272
|
+
};
|
|
29273
|
+
};
|
|
29274
|
+
/** @description Default Response */
|
|
29275
|
+
"4XX": {
|
|
29276
|
+
headers: {
|
|
29277
|
+
[name: string]: unknown;
|
|
29278
|
+
};
|
|
29279
|
+
content: {
|
|
29280
|
+
"application/json": {
|
|
29281
|
+
error: string;
|
|
29282
|
+
message?: string;
|
|
29283
|
+
} & {
|
|
29284
|
+
[key: string]: unknown;
|
|
29285
|
+
};
|
|
29286
|
+
};
|
|
29287
|
+
};
|
|
29288
|
+
};
|
|
29289
|
+
};
|
|
29188
29290
|
get_tenure_blocks: {
|
|
29189
29291
|
parameters: {
|
|
29190
29292
|
query?: {
|
|
@@ -31304,6 +31406,72 @@ export interface operations {
|
|
|
31304
31406
|
};
|
|
31305
31407
|
};
|
|
31306
31408
|
};
|
|
31409
|
+
get_burnchain_address_pox_transactions: {
|
|
31410
|
+
parameters: {
|
|
31411
|
+
query?: {
|
|
31412
|
+
/** @description Results per page */
|
|
31413
|
+
limit?: number;
|
|
31414
|
+
/** @description Result offset */
|
|
31415
|
+
offset?: number;
|
|
31416
|
+
};
|
|
31417
|
+
header?: never;
|
|
31418
|
+
path: {
|
|
31419
|
+
/**
|
|
31420
|
+
* @description Bitcoin Address
|
|
31421
|
+
* @example bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq
|
|
31422
|
+
*/
|
|
31423
|
+
burnchain_address: string;
|
|
31424
|
+
};
|
|
31425
|
+
cookie?: never;
|
|
31426
|
+
};
|
|
31427
|
+
requestBody?: never;
|
|
31428
|
+
responses: {
|
|
31429
|
+
/** @description Default Response */
|
|
31430
|
+
200: {
|
|
31431
|
+
headers: {
|
|
31432
|
+
[name: string]: unknown;
|
|
31433
|
+
};
|
|
31434
|
+
content: {
|
|
31435
|
+
"application/json": {
|
|
31436
|
+
/** @example 20 */
|
|
31437
|
+
limit: number;
|
|
31438
|
+
/** @example 0 */
|
|
31439
|
+
offset: number;
|
|
31440
|
+
/** @example 1 */
|
|
31441
|
+
total: number;
|
|
31442
|
+
results: {
|
|
31443
|
+
/** @description Height of the burn block */
|
|
31444
|
+
burn_block_height: number;
|
|
31445
|
+
/** @description Hash of the burn block */
|
|
31446
|
+
burn_block_hash: string;
|
|
31447
|
+
/** @description Transaction ID */
|
|
31448
|
+
tx_id: string;
|
|
31449
|
+
/** @description Recipient address */
|
|
31450
|
+
recipient: string;
|
|
31451
|
+
/** @description UTXO index */
|
|
31452
|
+
utxo_idx: number;
|
|
31453
|
+
/** @description Amount */
|
|
31454
|
+
amount: string;
|
|
31455
|
+
}[];
|
|
31456
|
+
};
|
|
31457
|
+
};
|
|
31458
|
+
};
|
|
31459
|
+
/** @description Default Response */
|
|
31460
|
+
"4XX": {
|
|
31461
|
+
headers: {
|
|
31462
|
+
[name: string]: unknown;
|
|
31463
|
+
};
|
|
31464
|
+
content: {
|
|
31465
|
+
"application/json": {
|
|
31466
|
+
error: string;
|
|
31467
|
+
message?: string;
|
|
31468
|
+
} & {
|
|
31469
|
+
[key: string]: unknown;
|
|
31470
|
+
};
|
|
31471
|
+
};
|
|
31472
|
+
};
|
|
31473
|
+
};
|
|
31474
|
+
};
|
|
31307
31475
|
get_historical_zone_file: {
|
|
31308
31476
|
parameters: {
|
|
31309
31477
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacks/blockchain-api-client",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.19",
|
|
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",
|
|
@@ -1345,6 +1345,26 @@ export interface paths {
|
|
|
1345
1345
|
patch?: never;
|
|
1346
1346
|
trace?: never;
|
|
1347
1347
|
};
|
|
1348
|
+
"/extended/v2/burn-blocks/{height_or_hash}/pox-transactions": {
|
|
1349
|
+
parameters: {
|
|
1350
|
+
query?: never;
|
|
1351
|
+
header?: never;
|
|
1352
|
+
path?: never;
|
|
1353
|
+
cookie?: never;
|
|
1354
|
+
};
|
|
1355
|
+
/**
|
|
1356
|
+
* Get PoX transactions by burn block
|
|
1357
|
+
* @description Retrieves a list of PoX transactions confirmed by a specific burn block
|
|
1358
|
+
*/
|
|
1359
|
+
get: operations["get_burn_block_pox_transactions"];
|
|
1360
|
+
put?: never;
|
|
1361
|
+
post?: never;
|
|
1362
|
+
delete?: never;
|
|
1363
|
+
options?: never;
|
|
1364
|
+
head?: never;
|
|
1365
|
+
patch?: never;
|
|
1366
|
+
trace?: never;
|
|
1367
|
+
};
|
|
1348
1368
|
"/extended/v2/block-tenures/{tenure_height}/blocks": {
|
|
1349
1369
|
parameters: {
|
|
1350
1370
|
query?: never;
|
|
@@ -1607,6 +1627,26 @@ export interface paths {
|
|
|
1607
1627
|
patch?: never;
|
|
1608
1628
|
trace?: never;
|
|
1609
1629
|
};
|
|
1630
|
+
"/extended/v2/addresses/{burnchain_address}/pox-transactions": {
|
|
1631
|
+
parameters: {
|
|
1632
|
+
query?: never;
|
|
1633
|
+
header?: never;
|
|
1634
|
+
path?: never;
|
|
1635
|
+
cookie?: never;
|
|
1636
|
+
};
|
|
1637
|
+
/**
|
|
1638
|
+
* Get PoX transactions for a burnchain address
|
|
1639
|
+
* @description Retrieves a list of PoX transactions
|
|
1640
|
+
*/
|
|
1641
|
+
get: operations["get_burnchain_address_pox_transactions"];
|
|
1642
|
+
put?: never;
|
|
1643
|
+
post?: never;
|
|
1644
|
+
delete?: never;
|
|
1645
|
+
options?: never;
|
|
1646
|
+
head?: never;
|
|
1647
|
+
patch?: never;
|
|
1648
|
+
trace?: never;
|
|
1649
|
+
};
|
|
1610
1650
|
"/v1/names/{name}/zonefile/{zoneFileHash}": {
|
|
1611
1651
|
parameters: {
|
|
1612
1652
|
query?: never;
|
|
@@ -29185,6 +29225,68 @@ export interface operations {
|
|
|
29185
29225
|
};
|
|
29186
29226
|
};
|
|
29187
29227
|
};
|
|
29228
|
+
get_burn_block_pox_transactions: {
|
|
29229
|
+
parameters: {
|
|
29230
|
+
query?: {
|
|
29231
|
+
/** @description Results per page */
|
|
29232
|
+
limit?: number;
|
|
29233
|
+
/** @description Result offset */
|
|
29234
|
+
offset?: number;
|
|
29235
|
+
};
|
|
29236
|
+
header?: never;
|
|
29237
|
+
path: {
|
|
29238
|
+
height_or_hash: "latest" | string | number;
|
|
29239
|
+
};
|
|
29240
|
+
cookie?: never;
|
|
29241
|
+
};
|
|
29242
|
+
requestBody?: never;
|
|
29243
|
+
responses: {
|
|
29244
|
+
/** @description Default Response */
|
|
29245
|
+
200: {
|
|
29246
|
+
headers: {
|
|
29247
|
+
[name: string]: unknown;
|
|
29248
|
+
};
|
|
29249
|
+
content: {
|
|
29250
|
+
"application/json": {
|
|
29251
|
+
/** @example 20 */
|
|
29252
|
+
limit: number;
|
|
29253
|
+
/** @example 0 */
|
|
29254
|
+
offset: number;
|
|
29255
|
+
/** @example 1 */
|
|
29256
|
+
total: number;
|
|
29257
|
+
results: {
|
|
29258
|
+
/** @description Height of the burn block */
|
|
29259
|
+
burn_block_height: number;
|
|
29260
|
+
/** @description Hash of the burn block */
|
|
29261
|
+
burn_block_hash: string;
|
|
29262
|
+
/** @description Transaction ID */
|
|
29263
|
+
tx_id: string;
|
|
29264
|
+
/** @description Recipient address */
|
|
29265
|
+
recipient: string;
|
|
29266
|
+
/** @description UTXO index */
|
|
29267
|
+
utxo_idx: number;
|
|
29268
|
+
/** @description Amount */
|
|
29269
|
+
amount: string;
|
|
29270
|
+
}[];
|
|
29271
|
+
};
|
|
29272
|
+
};
|
|
29273
|
+
};
|
|
29274
|
+
/** @description Default Response */
|
|
29275
|
+
"4XX": {
|
|
29276
|
+
headers: {
|
|
29277
|
+
[name: string]: unknown;
|
|
29278
|
+
};
|
|
29279
|
+
content: {
|
|
29280
|
+
"application/json": {
|
|
29281
|
+
error: string;
|
|
29282
|
+
message?: string;
|
|
29283
|
+
} & {
|
|
29284
|
+
[key: string]: unknown;
|
|
29285
|
+
};
|
|
29286
|
+
};
|
|
29287
|
+
};
|
|
29288
|
+
};
|
|
29289
|
+
};
|
|
29188
29290
|
get_tenure_blocks: {
|
|
29189
29291
|
parameters: {
|
|
29190
29292
|
query?: {
|
|
@@ -31304,6 +31406,72 @@ export interface operations {
|
|
|
31304
31406
|
};
|
|
31305
31407
|
};
|
|
31306
31408
|
};
|
|
31409
|
+
get_burnchain_address_pox_transactions: {
|
|
31410
|
+
parameters: {
|
|
31411
|
+
query?: {
|
|
31412
|
+
/** @description Results per page */
|
|
31413
|
+
limit?: number;
|
|
31414
|
+
/** @description Result offset */
|
|
31415
|
+
offset?: number;
|
|
31416
|
+
};
|
|
31417
|
+
header?: never;
|
|
31418
|
+
path: {
|
|
31419
|
+
/**
|
|
31420
|
+
* @description Bitcoin Address
|
|
31421
|
+
* @example bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq
|
|
31422
|
+
*/
|
|
31423
|
+
burnchain_address: string;
|
|
31424
|
+
};
|
|
31425
|
+
cookie?: never;
|
|
31426
|
+
};
|
|
31427
|
+
requestBody?: never;
|
|
31428
|
+
responses: {
|
|
31429
|
+
/** @description Default Response */
|
|
31430
|
+
200: {
|
|
31431
|
+
headers: {
|
|
31432
|
+
[name: string]: unknown;
|
|
31433
|
+
};
|
|
31434
|
+
content: {
|
|
31435
|
+
"application/json": {
|
|
31436
|
+
/** @example 20 */
|
|
31437
|
+
limit: number;
|
|
31438
|
+
/** @example 0 */
|
|
31439
|
+
offset: number;
|
|
31440
|
+
/** @example 1 */
|
|
31441
|
+
total: number;
|
|
31442
|
+
results: {
|
|
31443
|
+
/** @description Height of the burn block */
|
|
31444
|
+
burn_block_height: number;
|
|
31445
|
+
/** @description Hash of the burn block */
|
|
31446
|
+
burn_block_hash: string;
|
|
31447
|
+
/** @description Transaction ID */
|
|
31448
|
+
tx_id: string;
|
|
31449
|
+
/** @description Recipient address */
|
|
31450
|
+
recipient: string;
|
|
31451
|
+
/** @description UTXO index */
|
|
31452
|
+
utxo_idx: number;
|
|
31453
|
+
/** @description Amount */
|
|
31454
|
+
amount: string;
|
|
31455
|
+
}[];
|
|
31456
|
+
};
|
|
31457
|
+
};
|
|
31458
|
+
};
|
|
31459
|
+
/** @description Default Response */
|
|
31460
|
+
"4XX": {
|
|
31461
|
+
headers: {
|
|
31462
|
+
[name: string]: unknown;
|
|
31463
|
+
};
|
|
31464
|
+
content: {
|
|
31465
|
+
"application/json": {
|
|
31466
|
+
error: string;
|
|
31467
|
+
message?: string;
|
|
31468
|
+
} & {
|
|
31469
|
+
[key: string]: unknown;
|
|
31470
|
+
};
|
|
31471
|
+
};
|
|
31472
|
+
};
|
|
31473
|
+
};
|
|
31474
|
+
};
|
|
31307
31475
|
get_historical_zone_file: {
|
|
31308
31476
|
parameters: {
|
|
31309
31477
|
query?: {
|