@stacks/blockchain-api-client 9.0.0 → 9.0.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.
@@ -527,7 +527,8 @@ export interface paths {
527
527
  };
528
528
  /**
529
529
  * Get recent microblocks
530
- * @description Retrieves a list of microblocks.
530
+ * @deprecated
531
+ * @description Retrieves a list of microblocks. **This endpoint is deprecated.** Microblocks were removed in the Stacks Nakamoto upgrade and are no longer produced.
531
532
  *
532
533
  * If you need to actively monitor new microblocks, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.
533
534
  */
@@ -549,7 +550,8 @@ export interface paths {
549
550
  };
550
551
  /**
551
552
  * Get microblock
552
- * @description Retrieves a specific microblock by `hash`
553
+ * @deprecated
554
+ * @description Retrieves a specific microblock by `hash`. **This endpoint is deprecated.** Microblocks were removed in the Stacks Nakamoto upgrade and are no longer produced.
553
555
  */
554
556
  get: operations["get_microblock_by_hash"];
555
557
  put?: never;
@@ -569,7 +571,8 @@ export interface paths {
569
571
  };
570
572
  /**
571
573
  * Get the list of current transactions that belong to unanchored microblocks
572
- * @description Retrieves transactions that have been streamed in microblocks but not yet accepted or rejected in an anchor block
574
+ * @deprecated
575
+ * @description Retrieves transactions that have been streamed in microblocks but not yet accepted or rejected in an anchor block. **This endpoint is deprecated.** Microblocks were removed in the Stacks Nakamoto upgrade and are no longer produced.
573
576
  */
574
577
  get: operations["get_unanchored_txs"];
575
578
  put?: never;
@@ -1139,7 +1142,7 @@ export interface paths {
1139
1142
  get?: never;
1140
1143
  put?: never;
1141
1144
  /**
1142
- * Add regtest BTC tokens to address
1145
+ * Get BTC regtest tokens
1143
1146
  * @description Add 0.01 BTC token to the specified regtest BTC address.
1144
1147
  *
1145
1148
  * The endpoint returns the transaction ID, which you can use to view the transaction in a regtest Bitcoin block
@@ -1161,7 +1164,11 @@ export interface paths {
1161
1164
  path?: never;
1162
1165
  cookie?: never;
1163
1166
  };
1164
- /** Get BTC balance for address */
1167
+ /**
1168
+ * Get BTC balance for address
1169
+ * @deprecated
1170
+ * @description Get the BTC balance for an address. **This endpoint is deprecated.**
1171
+ */
1165
1172
  get: operations["get_btc_balance"];
1166
1173
  put?: never;
1167
1174
  post?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacks/blockchain-api-client",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "access": "public",
5
5
  "description": "Client for the Stacks Blockchain API",
6
6
  "homepage": "https://github.com/stx-labs/stacks-blockchain-api/tree/master/client#readme",
@@ -527,7 +527,8 @@ export interface paths {
527
527
  };
528
528
  /**
529
529
  * Get recent microblocks
530
- * @description Retrieves a list of microblocks.
530
+ * @deprecated
531
+ * @description Retrieves a list of microblocks. **This endpoint is deprecated.** Microblocks were removed in the Stacks Nakamoto upgrade and are no longer produced.
531
532
  *
532
533
  * If you need to actively monitor new microblocks, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.
533
534
  */
@@ -549,7 +550,8 @@ export interface paths {
549
550
  };
550
551
  /**
551
552
  * Get microblock
552
- * @description Retrieves a specific microblock by `hash`
553
+ * @deprecated
554
+ * @description Retrieves a specific microblock by `hash`. **This endpoint is deprecated.** Microblocks were removed in the Stacks Nakamoto upgrade and are no longer produced.
553
555
  */
554
556
  get: operations["get_microblock_by_hash"];
555
557
  put?: never;
@@ -569,7 +571,8 @@ export interface paths {
569
571
  };
570
572
  /**
571
573
  * Get the list of current transactions that belong to unanchored microblocks
572
- * @description Retrieves transactions that have been streamed in microblocks but not yet accepted or rejected in an anchor block
574
+ * @deprecated
575
+ * @description Retrieves transactions that have been streamed in microblocks but not yet accepted or rejected in an anchor block. **This endpoint is deprecated.** Microblocks were removed in the Stacks Nakamoto upgrade and are no longer produced.
573
576
  */
574
577
  get: operations["get_unanchored_txs"];
575
578
  put?: never;
@@ -1139,7 +1142,7 @@ export interface paths {
1139
1142
  get?: never;
1140
1143
  put?: never;
1141
1144
  /**
1142
- * Add regtest BTC tokens to address
1145
+ * Get BTC regtest tokens
1143
1146
  * @description Add 0.01 BTC token to the specified regtest BTC address.
1144
1147
  *
1145
1148
  * The endpoint returns the transaction ID, which you can use to view the transaction in a regtest Bitcoin block
@@ -1161,7 +1164,11 @@ export interface paths {
1161
1164
  path?: never;
1162
1165
  cookie?: never;
1163
1166
  };
1164
- /** Get BTC balance for address */
1167
+ /**
1168
+ * Get BTC balance for address
1169
+ * @deprecated
1170
+ * @description Get the BTC balance for an address. **This endpoint is deprecated.**
1171
+ */
1165
1172
  get: operations["get_btc_balance"];
1166
1173
  put?: never;
1167
1174
  post?: never;