@stacks/blockchain-api-client 9.0.0-next.1 → 9.0.0-next.11
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 +50 -72
- package/package.json +1 -1
- package/src/generated/schema.d.ts +50 -72
|
@@ -178,9 +178,7 @@ export interface paths {
|
|
|
178
178
|
/**
|
|
179
179
|
* Transactions by block hash
|
|
180
180
|
* @deprecated
|
|
181
|
-
* @description **
|
|
182
|
-
*
|
|
183
|
-
* Retrieves a list of all transactions within a block for a given block hash.
|
|
181
|
+
* @description Retrieves a list of all transactions within a block for a given block hash. **This endpoint is deprecated in favor of `get_transactions_by_block`.**
|
|
184
182
|
*/
|
|
185
183
|
get: operations["get_transactions_by_block_hash"];
|
|
186
184
|
put?: never;
|
|
@@ -201,9 +199,7 @@ export interface paths {
|
|
|
201
199
|
/**
|
|
202
200
|
* Transactions by block height
|
|
203
201
|
* @deprecated
|
|
204
|
-
* @description **
|
|
205
|
-
*
|
|
206
|
-
* Retrieves all transactions within a block at a given height
|
|
202
|
+
* @description Retrieves all transactions within a block at a given height. **This endpoint is deprecated in favor of `get_transactions_by_block`.**
|
|
207
203
|
*/
|
|
208
204
|
get: operations["get_transactions_by_block_height"];
|
|
209
205
|
put?: never;
|
|
@@ -223,7 +219,7 @@ export interface paths {
|
|
|
223
219
|
};
|
|
224
220
|
/**
|
|
225
221
|
* Get total and unlocked STX supply
|
|
226
|
-
* @description Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/
|
|
222
|
+
* @description Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/block-production/stacking).
|
|
227
223
|
*/
|
|
228
224
|
get: operations["get_stx_supply"];
|
|
229
225
|
put?: never;
|
|
@@ -244,7 +240,7 @@ export interface paths {
|
|
|
244
240
|
/**
|
|
245
241
|
* Get total STX supply in plain text format
|
|
246
242
|
* @deprecated
|
|
247
|
-
* @description Retrieves the total circulating STX token supply as plain text.
|
|
243
|
+
* @description Retrieves the total circulating STX token supply as plain text. **This endpoint is deprecated in favor of `get_stx_supply`.**
|
|
248
244
|
*/
|
|
249
245
|
get: operations["get_stx_supply_total_supply_plain"];
|
|
250
246
|
put?: never;
|
|
@@ -265,7 +261,7 @@ export interface paths {
|
|
|
265
261
|
/**
|
|
266
262
|
* Get circulating STX supply in plain text format
|
|
267
263
|
* @deprecated
|
|
268
|
-
* @description Retrieves the STX tokens currently in circulation that have been unlocked as plain text.
|
|
264
|
+
* @description Retrieves the STX tokens currently in circulation that have been unlocked as plain text. **This endpoint is deprecated in favor of `get_stx_supply`.**
|
|
269
265
|
*/
|
|
270
266
|
get: operations["get_stx_supply_circulating_plain"];
|
|
271
267
|
put?: never;
|
|
@@ -286,7 +282,7 @@ export interface paths {
|
|
|
286
282
|
/**
|
|
287
283
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
288
284
|
* @deprecated
|
|
289
|
-
* @description Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
285
|
+
* @description Retrieves total supply of STX tokens including those currently in circulation that have been unlocked. **This endpoint is deprecated in favor of `get_stx_supply`.**
|
|
290
286
|
*/
|
|
291
287
|
get: operations["get_total_stx_supply_legacy_format"];
|
|
292
288
|
put?: never;
|
|
@@ -349,7 +345,7 @@ export interface paths {
|
|
|
349
345
|
* @description Retrieves the list of Non-Fungible Tokens owned by the given principal (STX address or Smart Contract ID).
|
|
350
346
|
* Results can be filtered by one or more asset identifiers and can include metadata about the transaction that made the principal own each token.
|
|
351
347
|
*
|
|
352
|
-
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/
|
|
348
|
+
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/build/create-tokens/creating-a-nft).
|
|
353
349
|
*/
|
|
354
350
|
get: operations["get_nft_holdings"];
|
|
355
351
|
put?: never;
|
|
@@ -371,7 +367,7 @@ export interface paths {
|
|
|
371
367
|
* Non-Fungible Token history
|
|
372
368
|
* @description Retrieves all events relevant to a Non-Fungible Token. Useful to determine the ownership history of a particular asset.
|
|
373
369
|
*
|
|
374
|
-
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/
|
|
370
|
+
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/build/create-tokens/creating-a-nft).
|
|
375
371
|
*/
|
|
376
372
|
get: operations["get_nft_history"];
|
|
377
373
|
put?: never;
|
|
@@ -393,7 +389,7 @@ export interface paths {
|
|
|
393
389
|
* Non-Fungible Token mints
|
|
394
390
|
* @description Retrieves all mint events for a Non-Fungible Token asset class. Useful to determine which NFTs of a particular collection have been claimed.
|
|
395
391
|
*
|
|
396
|
-
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/
|
|
392
|
+
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/build/create-tokens/creating-a-nft).
|
|
397
393
|
*/
|
|
398
394
|
get: operations["get_nft_mints"];
|
|
399
395
|
put?: never;
|
|
@@ -579,11 +575,7 @@ export interface paths {
|
|
|
579
575
|
/**
|
|
580
576
|
* Get recent blocks
|
|
581
577
|
* @deprecated
|
|
582
|
-
* @description **
|
|
583
|
-
*
|
|
584
|
-
* Retrieves a list of recently mined blocks
|
|
585
|
-
*
|
|
586
|
-
* If you need to actively monitor new blocks, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.
|
|
578
|
+
* @description Retrieves a list of recently mined blocks. **This endpoint is deprecated in favor of `get_blocks`.**
|
|
587
579
|
*/
|
|
588
580
|
get: operations["get_block_list"];
|
|
589
581
|
put?: never;
|
|
@@ -604,9 +596,7 @@ export interface paths {
|
|
|
604
596
|
/**
|
|
605
597
|
* Get block by height
|
|
606
598
|
* @deprecated
|
|
607
|
-
* @description **
|
|
608
|
-
*
|
|
609
|
-
* Retrieves block details of a specific block at a given block height
|
|
599
|
+
* @description Retrieves block details of a specific block at a given block height. **This endpoint is deprecated in favor of `get_block`.**
|
|
610
600
|
*/
|
|
611
601
|
get: operations["get_block_by_height"];
|
|
612
602
|
put?: never;
|
|
@@ -627,9 +617,7 @@ export interface paths {
|
|
|
627
617
|
/**
|
|
628
618
|
* Get block by burnchain height
|
|
629
619
|
* @deprecated
|
|
630
|
-
* @description **
|
|
631
|
-
*
|
|
632
|
-
* Retrieves block details of a specific block for a given burn chain height
|
|
620
|
+
* @description Retrieves block details of a specific block for a given burn chain height. **This endpoint is deprecated in favor of `get_blocks_by_burn_block`.**
|
|
633
621
|
*/
|
|
634
622
|
get: operations["get_block_by_burn_block_height"];
|
|
635
623
|
put?: never;
|
|
@@ -650,9 +638,7 @@ export interface paths {
|
|
|
650
638
|
/**
|
|
651
639
|
* Get block by hash
|
|
652
640
|
* @deprecated
|
|
653
|
-
* @description **
|
|
654
|
-
*
|
|
655
|
-
* Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block ('get_block_list' API) to get your block details.
|
|
641
|
+
* @description Retrieves block details of a specific block for a given chain height. **This endpoint is deprecated in favor of `get_block`.**
|
|
656
642
|
*/
|
|
657
643
|
get: operations["get_block_by_hash"];
|
|
658
644
|
put?: never;
|
|
@@ -673,9 +659,7 @@ export interface paths {
|
|
|
673
659
|
/**
|
|
674
660
|
* Get block by burnchain block hash
|
|
675
661
|
* @deprecated
|
|
676
|
-
* @description **
|
|
677
|
-
*
|
|
678
|
-
* Retrieves block details of a specific block for a given burnchain block hash
|
|
662
|
+
* @description Retrieves block details of a specific block for a given burnchain block hash. **This endpoint is deprecated in favor of `get_blocks_by_burn_block`.**
|
|
679
663
|
*/
|
|
680
664
|
get: operations["get_block_by_burn_block_hash"];
|
|
681
665
|
put?: never;
|
|
@@ -796,9 +780,7 @@ export interface paths {
|
|
|
796
780
|
/**
|
|
797
781
|
* Get account STX balance
|
|
798
782
|
* @deprecated
|
|
799
|
-
* @description **
|
|
800
|
-
*
|
|
801
|
-
* Retrieves STX token balance for a given Address or Contract Identifier.
|
|
783
|
+
* @description Retrieves STX token balance for a given Address or Contract Identifier. **This endpoint is deprecated in favor of `get_principal_stx_balance`.**
|
|
802
784
|
*/
|
|
803
785
|
get: operations["get_account_stx_balance"];
|
|
804
786
|
put?: never;
|
|
@@ -819,9 +801,7 @@ export interface paths {
|
|
|
819
801
|
/**
|
|
820
802
|
* Get account balances
|
|
821
803
|
* @deprecated
|
|
822
|
-
* @description
|
|
823
|
-
*
|
|
824
|
-
* Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.
|
|
804
|
+
* @description Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account. **This endpoint is deprecated in favor of `get_principal_ft_balances`.**
|
|
825
805
|
*/
|
|
826
806
|
get: operations["get_account_balance"];
|
|
827
807
|
put?: never;
|
|
@@ -842,11 +822,7 @@ export interface paths {
|
|
|
842
822
|
/**
|
|
843
823
|
* Get account transactions
|
|
844
824
|
* @deprecated
|
|
845
|
-
* @description **
|
|
846
|
-
*
|
|
847
|
-
* Retrieves a list of all Transactions for a given Address or Contract Identifier. More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types).
|
|
848
|
-
*
|
|
849
|
-
* If you need to actively monitor new transactions for an address or contract id, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.
|
|
825
|
+
* @description Retrieves a list of all Transactions for a given Address or Contract Identifier. **This endpoint is deprecated in favor of `get_address_transactions`.**
|
|
850
826
|
*/
|
|
851
827
|
get: operations["get_account_transactions"];
|
|
852
828
|
put?: never;
|
|
@@ -867,9 +843,7 @@ export interface paths {
|
|
|
867
843
|
/**
|
|
868
844
|
* Get account transaction information for specific transaction
|
|
869
845
|
* @deprecated
|
|
870
|
-
* @description **
|
|
871
|
-
*
|
|
872
|
-
* Retrieves transaction details for a given Transaction Id `tx_id`, for a given account or contract Identifier.
|
|
846
|
+
* @description Retrieves transaction details for a given Transaction Id, for a given account or contract Identifier. **This endpoint is deprecated in favor of `get_address_transaction_events`.**
|
|
873
847
|
*/
|
|
874
848
|
get: operations["get_single_transaction_with_transfers"];
|
|
875
849
|
put?: never;
|
|
@@ -890,7 +864,7 @@ export interface paths {
|
|
|
890
864
|
/**
|
|
891
865
|
* Get account transactions including STX transfers for each transaction.
|
|
892
866
|
* @deprecated
|
|
893
|
-
* @description Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.
|
|
867
|
+
* @description Retrieve all transactions for an account or contract identifier including STX transfers for each transaction. **This endpoint is deprecated in favor of `get_address_transactions`.**
|
|
894
868
|
*/
|
|
895
869
|
get: operations["get_account_transactions_with_transfers"];
|
|
896
870
|
put?: never;
|
|
@@ -910,7 +884,8 @@ export interface paths {
|
|
|
910
884
|
};
|
|
911
885
|
/**
|
|
912
886
|
* Get account assets
|
|
913
|
-
* @
|
|
887
|
+
* @deprecated
|
|
888
|
+
* @description Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints. **This endpoint is deprecated in favor of `get_address_transaction_events`.**
|
|
914
889
|
*/
|
|
915
890
|
get: operations["get_account_assets"];
|
|
916
891
|
put?: never;
|
|
@@ -930,8 +905,8 @@ export interface paths {
|
|
|
930
905
|
};
|
|
931
906
|
/**
|
|
932
907
|
* Get inbound STX transfers
|
|
933
|
-
* @
|
|
934
|
-
*
|
|
908
|
+
* @deprecated
|
|
909
|
+
* @description Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract. **This endpoint is deprecated in favor of `get_address_transactions`.**
|
|
935
910
|
*/
|
|
936
911
|
get: operations["get_account_inbound"];
|
|
937
912
|
put?: never;
|
|
@@ -1541,7 +1516,7 @@ export interface paths {
|
|
|
1541
1516
|
* Get address transactions
|
|
1542
1517
|
* @description Retrieves a paginated list of confirmed transactions sent or received by a STX address or Smart Contract ID, alongside the total amount of STX sent or received and the number of STX, FT and NFT transfers contained within each transaction.
|
|
1543
1518
|
*
|
|
1544
|
-
* More information on Transaction types can be found [here](https://docs.stacks.co/
|
|
1519
|
+
* More information on Transaction types can be found [here](https://docs.stacks.co/transactions/how-transactions-work#types).
|
|
1545
1520
|
*/
|
|
1546
1521
|
get: operations["get_address_transactions"];
|
|
1547
1522
|
put?: never;
|
|
@@ -3267,7 +3242,7 @@ export interface operations {
|
|
|
3267
3242
|
/** @description The number of blocks produced in the previous tenure. */
|
|
3268
3243
|
previous_tenure_blocks: number;
|
|
3269
3244
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
3270
|
-
cause: "block_found" | "extended";
|
|
3245
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
3271
3246
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
3272
3247
|
pubkey_hash: string;
|
|
3273
3248
|
};
|
|
@@ -4623,7 +4598,7 @@ export interface operations {
|
|
|
4623
4598
|
/** @description The number of blocks produced in the previous tenure. */
|
|
4624
4599
|
previous_tenure_blocks: number;
|
|
4625
4600
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
4626
|
-
cause: "block_found" | "extended";
|
|
4601
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
4627
4602
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
4628
4603
|
pubkey_hash: string;
|
|
4629
4604
|
};
|
|
@@ -5237,7 +5212,7 @@ export interface operations {
|
|
|
5237
5212
|
/** @description The number of blocks produced in the previous tenure. */
|
|
5238
5213
|
previous_tenure_blocks: number;
|
|
5239
5214
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
5240
|
-
cause: "block_found" | "extended";
|
|
5215
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
5241
5216
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
5242
5217
|
pubkey_hash: string;
|
|
5243
5218
|
};
|
|
@@ -5931,7 +5906,7 @@ export interface operations {
|
|
|
5931
5906
|
/** @description The number of blocks produced in the previous tenure. */
|
|
5932
5907
|
previous_tenure_blocks: number;
|
|
5933
5908
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
5934
|
-
cause: "block_found" | "extended";
|
|
5909
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
5935
5910
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
5936
5911
|
pubkey_hash: string;
|
|
5937
5912
|
};
|
|
@@ -7479,7 +7454,7 @@ export interface operations {
|
|
|
7479
7454
|
/** @description The number of blocks produced in the previous tenure. */
|
|
7480
7455
|
previous_tenure_blocks: number;
|
|
7481
7456
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
7482
|
-
cause: "block_found" | "extended";
|
|
7457
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
7483
7458
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
7484
7459
|
pubkey_hash: string;
|
|
7485
7460
|
};
|
|
@@ -8093,7 +8068,7 @@ export interface operations {
|
|
|
8093
8068
|
/** @description The number of blocks produced in the previous tenure. */
|
|
8094
8069
|
previous_tenure_blocks: number;
|
|
8095
8070
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
8096
|
-
cause: "block_found" | "extended";
|
|
8071
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
8097
8072
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
8098
8073
|
pubkey_hash: string;
|
|
8099
8074
|
};
|
|
@@ -9494,7 +9469,7 @@ export interface operations {
|
|
|
9494
9469
|
/** @description The number of blocks produced in the previous tenure. */
|
|
9495
9470
|
previous_tenure_blocks: number;
|
|
9496
9471
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
9497
|
-
cause: "block_found" | "extended";
|
|
9472
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
9498
9473
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
9499
9474
|
pubkey_hash: string;
|
|
9500
9475
|
};
|
|
@@ -10853,7 +10828,7 @@ export interface operations {
|
|
|
10853
10828
|
/** @description The number of blocks produced in the previous tenure. */
|
|
10854
10829
|
previous_tenure_blocks: number;
|
|
10855
10830
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
10856
|
-
cause: "block_found" | "extended";
|
|
10831
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
10857
10832
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
10858
10833
|
pubkey_hash: string;
|
|
10859
10834
|
};
|
|
@@ -12498,7 +12473,7 @@ export interface operations {
|
|
|
12498
12473
|
/** @description The number of blocks produced in the previous tenure. */
|
|
12499
12474
|
previous_tenure_blocks: number;
|
|
12500
12475
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
12501
|
-
cause: "block_found" | "extended";
|
|
12476
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
12502
12477
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
12503
12478
|
pubkey_hash: string;
|
|
12504
12479
|
};
|
|
@@ -13878,7 +13853,7 @@ export interface operations {
|
|
|
13878
13853
|
/** @description The number of blocks produced in the previous tenure. */
|
|
13879
13854
|
previous_tenure_blocks: number;
|
|
13880
13855
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
13881
|
-
cause: "block_found" | "extended";
|
|
13856
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
13882
13857
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
13883
13858
|
pubkey_hash: string;
|
|
13884
13859
|
};
|
|
@@ -15263,7 +15238,7 @@ export interface operations {
|
|
|
15263
15238
|
/** @description The number of blocks produced in the previous tenure. */
|
|
15264
15239
|
previous_tenure_blocks: number;
|
|
15265
15240
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
15266
|
-
cause: "block_found" | "extended";
|
|
15241
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
15267
15242
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
15268
15243
|
pubkey_hash: string;
|
|
15269
15244
|
};
|
|
@@ -17077,7 +17052,7 @@ export interface operations {
|
|
|
17077
17052
|
/** @description The number of blocks produced in the previous tenure. */
|
|
17078
17053
|
previous_tenure_blocks: number;
|
|
17079
17054
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
17080
|
-
cause: "block_found" | "extended";
|
|
17055
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
17081
17056
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
17082
17057
|
pubkey_hash: string;
|
|
17083
17058
|
};
|
|
@@ -19372,7 +19347,7 @@ export interface operations {
|
|
|
19372
19347
|
/** @description The number of blocks produced in the previous tenure. */
|
|
19373
19348
|
previous_tenure_blocks: number;
|
|
19374
19349
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
19375
|
-
cause: "block_found" | "extended";
|
|
19350
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
19376
19351
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
19377
19352
|
pubkey_hash: string;
|
|
19378
19353
|
};
|
|
@@ -20719,7 +20694,7 @@ export interface operations {
|
|
|
20719
20694
|
/** @description The number of blocks produced in the previous tenure. */
|
|
20720
20695
|
previous_tenure_blocks: number;
|
|
20721
20696
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
20722
|
-
cause: "block_found" | "extended";
|
|
20697
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
20723
20698
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
20724
20699
|
pubkey_hash: string;
|
|
20725
20700
|
};
|
|
@@ -22117,7 +22092,7 @@ export interface operations {
|
|
|
22117
22092
|
/** @description The number of blocks produced in the previous tenure. */
|
|
22118
22093
|
previous_tenure_blocks: number;
|
|
22119
22094
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
22120
|
-
cause: "block_found" | "extended";
|
|
22095
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
22121
22096
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
22122
22097
|
pubkey_hash: string;
|
|
22123
22098
|
};
|
|
@@ -23019,7 +22994,7 @@ export interface operations {
|
|
|
23019
22994
|
/** @description The number of blocks produced in the previous tenure. */
|
|
23020
22995
|
previous_tenure_blocks: number;
|
|
23021
22996
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
23022
|
-
cause: "block_found" | "extended";
|
|
22997
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
23023
22998
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
23024
22999
|
pubkey_hash: string;
|
|
23025
23000
|
};
|
|
@@ -24555,7 +24530,7 @@ export interface operations {
|
|
|
24555
24530
|
/** @description The number of blocks produced in the previous tenure. */
|
|
24556
24531
|
previous_tenure_blocks: number;
|
|
24557
24532
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
24558
|
-
cause: "block_found" | "extended";
|
|
24533
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
24559
24534
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
24560
24535
|
pubkey_hash: string;
|
|
24561
24536
|
};
|
|
@@ -25169,7 +25144,7 @@ export interface operations {
|
|
|
25169
25144
|
/** @description The number of blocks produced in the previous tenure. */
|
|
25170
25145
|
previous_tenure_blocks: number;
|
|
25171
25146
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
25172
|
-
cause: "block_found" | "extended";
|
|
25147
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
25173
25148
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
25174
25149
|
pubkey_hash: string;
|
|
25175
25150
|
};
|
|
@@ -25792,7 +25767,7 @@ export interface operations {
|
|
|
25792
25767
|
/** @description The number of blocks produced in the previous tenure. */
|
|
25793
25768
|
previous_tenure_blocks: number;
|
|
25794
25769
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
25795
|
-
cause: "block_found" | "extended";
|
|
25770
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
25796
25771
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
25797
25772
|
pubkey_hash: string;
|
|
25798
25773
|
};
|
|
@@ -27109,7 +27084,7 @@ export interface operations {
|
|
|
27109
27084
|
/** @description The number of blocks produced in the previous tenure. */
|
|
27110
27085
|
previous_tenure_blocks: number;
|
|
27111
27086
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
27112
|
-
cause: "block_found" | "extended";
|
|
27087
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
27113
27088
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
27114
27089
|
pubkey_hash: string;
|
|
27115
27090
|
};
|
|
@@ -28934,7 +28909,7 @@ export interface operations {
|
|
|
28934
28909
|
/** @description The number of blocks produced in the previous tenure. */
|
|
28935
28910
|
previous_tenure_blocks: number;
|
|
28936
28911
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
28937
|
-
cause: "block_found" | "extended";
|
|
28912
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
28938
28913
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
28939
28914
|
pubkey_hash: string;
|
|
28940
28915
|
};
|
|
@@ -29727,6 +29702,9 @@ export interface operations {
|
|
|
29727
29702
|
offset: number;
|
|
29728
29703
|
/** @example 1 */
|
|
29729
29704
|
total: number;
|
|
29705
|
+
next_cursor: string | null;
|
|
29706
|
+
prev_cursor: string | null;
|
|
29707
|
+
cursor: string | null;
|
|
29730
29708
|
results: {
|
|
29731
29709
|
tx: {
|
|
29732
29710
|
/** @description Transaction ID */
|
|
@@ -31028,7 +31006,7 @@ export interface operations {
|
|
|
31028
31006
|
/** @description The number of blocks produced in the previous tenure. */
|
|
31029
31007
|
previous_tenure_blocks: number;
|
|
31030
31008
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
31031
|
-
cause: "block_found" | "extended";
|
|
31009
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
31032
31010
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
31033
31011
|
pubkey_hash: string;
|
|
31034
31012
|
};
|
|
@@ -31292,7 +31270,7 @@ export interface operations {
|
|
|
31292
31270
|
header?: never;
|
|
31293
31271
|
path: {
|
|
31294
31272
|
principal: string;
|
|
31295
|
-
/** @description fungible token identifier */
|
|
31273
|
+
/** @description fungible token identifier, e.g. `SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token::sbtc-token` */
|
|
31296
31274
|
token: string;
|
|
31297
31275
|
};
|
|
31298
31276
|
cookie?: never;
|
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.11",
|
|
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",
|
|
@@ -178,9 +178,7 @@ export interface paths {
|
|
|
178
178
|
/**
|
|
179
179
|
* Transactions by block hash
|
|
180
180
|
* @deprecated
|
|
181
|
-
* @description **
|
|
182
|
-
*
|
|
183
|
-
* Retrieves a list of all transactions within a block for a given block hash.
|
|
181
|
+
* @description Retrieves a list of all transactions within a block for a given block hash. **This endpoint is deprecated in favor of `get_transactions_by_block`.**
|
|
184
182
|
*/
|
|
185
183
|
get: operations["get_transactions_by_block_hash"];
|
|
186
184
|
put?: never;
|
|
@@ -201,9 +199,7 @@ export interface paths {
|
|
|
201
199
|
/**
|
|
202
200
|
* Transactions by block height
|
|
203
201
|
* @deprecated
|
|
204
|
-
* @description **
|
|
205
|
-
*
|
|
206
|
-
* Retrieves all transactions within a block at a given height
|
|
202
|
+
* @description Retrieves all transactions within a block at a given height. **This endpoint is deprecated in favor of `get_transactions_by_block`.**
|
|
207
203
|
*/
|
|
208
204
|
get: operations["get_transactions_by_block_height"];
|
|
209
205
|
put?: never;
|
|
@@ -223,7 +219,7 @@ export interface paths {
|
|
|
223
219
|
};
|
|
224
220
|
/**
|
|
225
221
|
* Get total and unlocked STX supply
|
|
226
|
-
* @description Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/
|
|
222
|
+
* @description Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/block-production/stacking).
|
|
227
223
|
*/
|
|
228
224
|
get: operations["get_stx_supply"];
|
|
229
225
|
put?: never;
|
|
@@ -244,7 +240,7 @@ export interface paths {
|
|
|
244
240
|
/**
|
|
245
241
|
* Get total STX supply in plain text format
|
|
246
242
|
* @deprecated
|
|
247
|
-
* @description Retrieves the total circulating STX token supply as plain text.
|
|
243
|
+
* @description Retrieves the total circulating STX token supply as plain text. **This endpoint is deprecated in favor of `get_stx_supply`.**
|
|
248
244
|
*/
|
|
249
245
|
get: operations["get_stx_supply_total_supply_plain"];
|
|
250
246
|
put?: never;
|
|
@@ -265,7 +261,7 @@ export interface paths {
|
|
|
265
261
|
/**
|
|
266
262
|
* Get circulating STX supply in plain text format
|
|
267
263
|
* @deprecated
|
|
268
|
-
* @description Retrieves the STX tokens currently in circulation that have been unlocked as plain text.
|
|
264
|
+
* @description Retrieves the STX tokens currently in circulation that have been unlocked as plain text. **This endpoint is deprecated in favor of `get_stx_supply`.**
|
|
269
265
|
*/
|
|
270
266
|
get: operations["get_stx_supply_circulating_plain"];
|
|
271
267
|
put?: never;
|
|
@@ -286,7 +282,7 @@ export interface paths {
|
|
|
286
282
|
/**
|
|
287
283
|
* Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
|
|
288
284
|
* @deprecated
|
|
289
|
-
* @description Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
|
|
285
|
+
* @description Retrieves total supply of STX tokens including those currently in circulation that have been unlocked. **This endpoint is deprecated in favor of `get_stx_supply`.**
|
|
290
286
|
*/
|
|
291
287
|
get: operations["get_total_stx_supply_legacy_format"];
|
|
292
288
|
put?: never;
|
|
@@ -349,7 +345,7 @@ export interface paths {
|
|
|
349
345
|
* @description Retrieves the list of Non-Fungible Tokens owned by the given principal (STX address or Smart Contract ID).
|
|
350
346
|
* Results can be filtered by one or more asset identifiers and can include metadata about the transaction that made the principal own each token.
|
|
351
347
|
*
|
|
352
|
-
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/
|
|
348
|
+
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/build/create-tokens/creating-a-nft).
|
|
353
349
|
*/
|
|
354
350
|
get: operations["get_nft_holdings"];
|
|
355
351
|
put?: never;
|
|
@@ -371,7 +367,7 @@ export interface paths {
|
|
|
371
367
|
* Non-Fungible Token history
|
|
372
368
|
* @description Retrieves all events relevant to a Non-Fungible Token. Useful to determine the ownership history of a particular asset.
|
|
373
369
|
*
|
|
374
|
-
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/
|
|
370
|
+
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/build/create-tokens/creating-a-nft).
|
|
375
371
|
*/
|
|
376
372
|
get: operations["get_nft_history"];
|
|
377
373
|
put?: never;
|
|
@@ -393,7 +389,7 @@ export interface paths {
|
|
|
393
389
|
* Non-Fungible Token mints
|
|
394
390
|
* @description Retrieves all mint events for a Non-Fungible Token asset class. Useful to determine which NFTs of a particular collection have been claimed.
|
|
395
391
|
*
|
|
396
|
-
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/
|
|
392
|
+
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/build/create-tokens/creating-a-nft).
|
|
397
393
|
*/
|
|
398
394
|
get: operations["get_nft_mints"];
|
|
399
395
|
put?: never;
|
|
@@ -579,11 +575,7 @@ export interface paths {
|
|
|
579
575
|
/**
|
|
580
576
|
* Get recent blocks
|
|
581
577
|
* @deprecated
|
|
582
|
-
* @description **
|
|
583
|
-
*
|
|
584
|
-
* Retrieves a list of recently mined blocks
|
|
585
|
-
*
|
|
586
|
-
* If you need to actively monitor new blocks, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.
|
|
578
|
+
* @description Retrieves a list of recently mined blocks. **This endpoint is deprecated in favor of `get_blocks`.**
|
|
587
579
|
*/
|
|
588
580
|
get: operations["get_block_list"];
|
|
589
581
|
put?: never;
|
|
@@ -604,9 +596,7 @@ export interface paths {
|
|
|
604
596
|
/**
|
|
605
597
|
* Get block by height
|
|
606
598
|
* @deprecated
|
|
607
|
-
* @description **
|
|
608
|
-
*
|
|
609
|
-
* Retrieves block details of a specific block at a given block height
|
|
599
|
+
* @description Retrieves block details of a specific block at a given block height. **This endpoint is deprecated in favor of `get_block`.**
|
|
610
600
|
*/
|
|
611
601
|
get: operations["get_block_by_height"];
|
|
612
602
|
put?: never;
|
|
@@ -627,9 +617,7 @@ export interface paths {
|
|
|
627
617
|
/**
|
|
628
618
|
* Get block by burnchain height
|
|
629
619
|
* @deprecated
|
|
630
|
-
* @description **
|
|
631
|
-
*
|
|
632
|
-
* Retrieves block details of a specific block for a given burn chain height
|
|
620
|
+
* @description Retrieves block details of a specific block for a given burn chain height. **This endpoint is deprecated in favor of `get_blocks_by_burn_block`.**
|
|
633
621
|
*/
|
|
634
622
|
get: operations["get_block_by_burn_block_height"];
|
|
635
623
|
put?: never;
|
|
@@ -650,9 +638,7 @@ export interface paths {
|
|
|
650
638
|
/**
|
|
651
639
|
* Get block by hash
|
|
652
640
|
* @deprecated
|
|
653
|
-
* @description **
|
|
654
|
-
*
|
|
655
|
-
* Retrieves block details of a specific block for a given chain height. You can use the hash from your latest block ('get_block_list' API) to get your block details.
|
|
641
|
+
* @description Retrieves block details of a specific block for a given chain height. **This endpoint is deprecated in favor of `get_block`.**
|
|
656
642
|
*/
|
|
657
643
|
get: operations["get_block_by_hash"];
|
|
658
644
|
put?: never;
|
|
@@ -673,9 +659,7 @@ export interface paths {
|
|
|
673
659
|
/**
|
|
674
660
|
* Get block by burnchain block hash
|
|
675
661
|
* @deprecated
|
|
676
|
-
* @description **
|
|
677
|
-
*
|
|
678
|
-
* Retrieves block details of a specific block for a given burnchain block hash
|
|
662
|
+
* @description Retrieves block details of a specific block for a given burnchain block hash. **This endpoint is deprecated in favor of `get_blocks_by_burn_block`.**
|
|
679
663
|
*/
|
|
680
664
|
get: operations["get_block_by_burn_block_hash"];
|
|
681
665
|
put?: never;
|
|
@@ -796,9 +780,7 @@ export interface paths {
|
|
|
796
780
|
/**
|
|
797
781
|
* Get account STX balance
|
|
798
782
|
* @deprecated
|
|
799
|
-
* @description **
|
|
800
|
-
*
|
|
801
|
-
* Retrieves STX token balance for a given Address or Contract Identifier.
|
|
783
|
+
* @description Retrieves STX token balance for a given Address or Contract Identifier. **This endpoint is deprecated in favor of `get_principal_stx_balance`.**
|
|
802
784
|
*/
|
|
803
785
|
get: operations["get_account_stx_balance"];
|
|
804
786
|
put?: never;
|
|
@@ -819,9 +801,7 @@ export interface paths {
|
|
|
819
801
|
/**
|
|
820
802
|
* Get account balances
|
|
821
803
|
* @deprecated
|
|
822
|
-
* @description
|
|
823
|
-
*
|
|
824
|
-
* Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.
|
|
804
|
+
* @description Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account. **This endpoint is deprecated in favor of `get_principal_ft_balances`.**
|
|
825
805
|
*/
|
|
826
806
|
get: operations["get_account_balance"];
|
|
827
807
|
put?: never;
|
|
@@ -842,11 +822,7 @@ export interface paths {
|
|
|
842
822
|
/**
|
|
843
823
|
* Get account transactions
|
|
844
824
|
* @deprecated
|
|
845
|
-
* @description **
|
|
846
|
-
*
|
|
847
|
-
* Retrieves a list of all Transactions for a given Address or Contract Identifier. More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types).
|
|
848
|
-
*
|
|
849
|
-
* If you need to actively monitor new transactions for an address or contract id, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.
|
|
825
|
+
* @description Retrieves a list of all Transactions for a given Address or Contract Identifier. **This endpoint is deprecated in favor of `get_address_transactions`.**
|
|
850
826
|
*/
|
|
851
827
|
get: operations["get_account_transactions"];
|
|
852
828
|
put?: never;
|
|
@@ -867,9 +843,7 @@ export interface paths {
|
|
|
867
843
|
/**
|
|
868
844
|
* Get account transaction information for specific transaction
|
|
869
845
|
* @deprecated
|
|
870
|
-
* @description **
|
|
871
|
-
*
|
|
872
|
-
* Retrieves transaction details for a given Transaction Id `tx_id`, for a given account or contract Identifier.
|
|
846
|
+
* @description Retrieves transaction details for a given Transaction Id, for a given account or contract Identifier. **This endpoint is deprecated in favor of `get_address_transaction_events`.**
|
|
873
847
|
*/
|
|
874
848
|
get: operations["get_single_transaction_with_transfers"];
|
|
875
849
|
put?: never;
|
|
@@ -890,7 +864,7 @@ export interface paths {
|
|
|
890
864
|
/**
|
|
891
865
|
* Get account transactions including STX transfers for each transaction.
|
|
892
866
|
* @deprecated
|
|
893
|
-
* @description Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.
|
|
867
|
+
* @description Retrieve all transactions for an account or contract identifier including STX transfers for each transaction. **This endpoint is deprecated in favor of `get_address_transactions`.**
|
|
894
868
|
*/
|
|
895
869
|
get: operations["get_account_transactions_with_transfers"];
|
|
896
870
|
put?: never;
|
|
@@ -910,7 +884,8 @@ export interface paths {
|
|
|
910
884
|
};
|
|
911
885
|
/**
|
|
912
886
|
* Get account assets
|
|
913
|
-
* @
|
|
887
|
+
* @deprecated
|
|
888
|
+
* @description Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints. **This endpoint is deprecated in favor of `get_address_transaction_events`.**
|
|
914
889
|
*/
|
|
915
890
|
get: operations["get_account_assets"];
|
|
916
891
|
put?: never;
|
|
@@ -930,8 +905,8 @@ export interface paths {
|
|
|
930
905
|
};
|
|
931
906
|
/**
|
|
932
907
|
* Get inbound STX transfers
|
|
933
|
-
* @
|
|
934
|
-
*
|
|
908
|
+
* @deprecated
|
|
909
|
+
* @description Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract. **This endpoint is deprecated in favor of `get_address_transactions`.**
|
|
935
910
|
*/
|
|
936
911
|
get: operations["get_account_inbound"];
|
|
937
912
|
put?: never;
|
|
@@ -1541,7 +1516,7 @@ export interface paths {
|
|
|
1541
1516
|
* Get address transactions
|
|
1542
1517
|
* @description Retrieves a paginated list of confirmed transactions sent or received by a STX address or Smart Contract ID, alongside the total amount of STX sent or received and the number of STX, FT and NFT transfers contained within each transaction.
|
|
1543
1518
|
*
|
|
1544
|
-
* More information on Transaction types can be found [here](https://docs.stacks.co/
|
|
1519
|
+
* More information on Transaction types can be found [here](https://docs.stacks.co/transactions/how-transactions-work#types).
|
|
1545
1520
|
*/
|
|
1546
1521
|
get: operations["get_address_transactions"];
|
|
1547
1522
|
put?: never;
|
|
@@ -3267,7 +3242,7 @@ export interface operations {
|
|
|
3267
3242
|
/** @description The number of blocks produced in the previous tenure. */
|
|
3268
3243
|
previous_tenure_blocks: number;
|
|
3269
3244
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
3270
|
-
cause: "block_found" | "extended";
|
|
3245
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
3271
3246
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
3272
3247
|
pubkey_hash: string;
|
|
3273
3248
|
};
|
|
@@ -4623,7 +4598,7 @@ export interface operations {
|
|
|
4623
4598
|
/** @description The number of blocks produced in the previous tenure. */
|
|
4624
4599
|
previous_tenure_blocks: number;
|
|
4625
4600
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
4626
|
-
cause: "block_found" | "extended";
|
|
4601
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
4627
4602
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
4628
4603
|
pubkey_hash: string;
|
|
4629
4604
|
};
|
|
@@ -5237,7 +5212,7 @@ export interface operations {
|
|
|
5237
5212
|
/** @description The number of blocks produced in the previous tenure. */
|
|
5238
5213
|
previous_tenure_blocks: number;
|
|
5239
5214
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
5240
|
-
cause: "block_found" | "extended";
|
|
5215
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
5241
5216
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
5242
5217
|
pubkey_hash: string;
|
|
5243
5218
|
};
|
|
@@ -5931,7 +5906,7 @@ export interface operations {
|
|
|
5931
5906
|
/** @description The number of blocks produced in the previous tenure. */
|
|
5932
5907
|
previous_tenure_blocks: number;
|
|
5933
5908
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
5934
|
-
cause: "block_found" | "extended";
|
|
5909
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
5935
5910
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
5936
5911
|
pubkey_hash: string;
|
|
5937
5912
|
};
|
|
@@ -7479,7 +7454,7 @@ export interface operations {
|
|
|
7479
7454
|
/** @description The number of blocks produced in the previous tenure. */
|
|
7480
7455
|
previous_tenure_blocks: number;
|
|
7481
7456
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
7482
|
-
cause: "block_found" | "extended";
|
|
7457
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
7483
7458
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
7484
7459
|
pubkey_hash: string;
|
|
7485
7460
|
};
|
|
@@ -8093,7 +8068,7 @@ export interface operations {
|
|
|
8093
8068
|
/** @description The number of blocks produced in the previous tenure. */
|
|
8094
8069
|
previous_tenure_blocks: number;
|
|
8095
8070
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
8096
|
-
cause: "block_found" | "extended";
|
|
8071
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
8097
8072
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
8098
8073
|
pubkey_hash: string;
|
|
8099
8074
|
};
|
|
@@ -9494,7 +9469,7 @@ export interface operations {
|
|
|
9494
9469
|
/** @description The number of blocks produced in the previous tenure. */
|
|
9495
9470
|
previous_tenure_blocks: number;
|
|
9496
9471
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
9497
|
-
cause: "block_found" | "extended";
|
|
9472
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
9498
9473
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
9499
9474
|
pubkey_hash: string;
|
|
9500
9475
|
};
|
|
@@ -10853,7 +10828,7 @@ export interface operations {
|
|
|
10853
10828
|
/** @description The number of blocks produced in the previous tenure. */
|
|
10854
10829
|
previous_tenure_blocks: number;
|
|
10855
10830
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
10856
|
-
cause: "block_found" | "extended";
|
|
10831
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
10857
10832
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
10858
10833
|
pubkey_hash: string;
|
|
10859
10834
|
};
|
|
@@ -12498,7 +12473,7 @@ export interface operations {
|
|
|
12498
12473
|
/** @description The number of blocks produced in the previous tenure. */
|
|
12499
12474
|
previous_tenure_blocks: number;
|
|
12500
12475
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
12501
|
-
cause: "block_found" | "extended";
|
|
12476
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
12502
12477
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
12503
12478
|
pubkey_hash: string;
|
|
12504
12479
|
};
|
|
@@ -13878,7 +13853,7 @@ export interface operations {
|
|
|
13878
13853
|
/** @description The number of blocks produced in the previous tenure. */
|
|
13879
13854
|
previous_tenure_blocks: number;
|
|
13880
13855
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
13881
|
-
cause: "block_found" | "extended";
|
|
13856
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
13882
13857
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
13883
13858
|
pubkey_hash: string;
|
|
13884
13859
|
};
|
|
@@ -15263,7 +15238,7 @@ export interface operations {
|
|
|
15263
15238
|
/** @description The number of blocks produced in the previous tenure. */
|
|
15264
15239
|
previous_tenure_blocks: number;
|
|
15265
15240
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
15266
|
-
cause: "block_found" | "extended";
|
|
15241
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
15267
15242
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
15268
15243
|
pubkey_hash: string;
|
|
15269
15244
|
};
|
|
@@ -17077,7 +17052,7 @@ export interface operations {
|
|
|
17077
17052
|
/** @description The number of blocks produced in the previous tenure. */
|
|
17078
17053
|
previous_tenure_blocks: number;
|
|
17079
17054
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
17080
|
-
cause: "block_found" | "extended";
|
|
17055
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
17081
17056
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
17082
17057
|
pubkey_hash: string;
|
|
17083
17058
|
};
|
|
@@ -19372,7 +19347,7 @@ export interface operations {
|
|
|
19372
19347
|
/** @description The number of blocks produced in the previous tenure. */
|
|
19373
19348
|
previous_tenure_blocks: number;
|
|
19374
19349
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
19375
|
-
cause: "block_found" | "extended";
|
|
19350
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
19376
19351
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
19377
19352
|
pubkey_hash: string;
|
|
19378
19353
|
};
|
|
@@ -20719,7 +20694,7 @@ export interface operations {
|
|
|
20719
20694
|
/** @description The number of blocks produced in the previous tenure. */
|
|
20720
20695
|
previous_tenure_blocks: number;
|
|
20721
20696
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
20722
|
-
cause: "block_found" | "extended";
|
|
20697
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
20723
20698
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
20724
20699
|
pubkey_hash: string;
|
|
20725
20700
|
};
|
|
@@ -22117,7 +22092,7 @@ export interface operations {
|
|
|
22117
22092
|
/** @description The number of blocks produced in the previous tenure. */
|
|
22118
22093
|
previous_tenure_blocks: number;
|
|
22119
22094
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
22120
|
-
cause: "block_found" | "extended";
|
|
22095
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
22121
22096
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
22122
22097
|
pubkey_hash: string;
|
|
22123
22098
|
};
|
|
@@ -23019,7 +22994,7 @@ export interface operations {
|
|
|
23019
22994
|
/** @description The number of blocks produced in the previous tenure. */
|
|
23020
22995
|
previous_tenure_blocks: number;
|
|
23021
22996
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
23022
|
-
cause: "block_found" | "extended";
|
|
22997
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
23023
22998
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
23024
22999
|
pubkey_hash: string;
|
|
23025
23000
|
};
|
|
@@ -24555,7 +24530,7 @@ export interface operations {
|
|
|
24555
24530
|
/** @description The number of blocks produced in the previous tenure. */
|
|
24556
24531
|
previous_tenure_blocks: number;
|
|
24557
24532
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
24558
|
-
cause: "block_found" | "extended";
|
|
24533
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
24559
24534
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
24560
24535
|
pubkey_hash: string;
|
|
24561
24536
|
};
|
|
@@ -25169,7 +25144,7 @@ export interface operations {
|
|
|
25169
25144
|
/** @description The number of blocks produced in the previous tenure. */
|
|
25170
25145
|
previous_tenure_blocks: number;
|
|
25171
25146
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
25172
|
-
cause: "block_found" | "extended";
|
|
25147
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
25173
25148
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
25174
25149
|
pubkey_hash: string;
|
|
25175
25150
|
};
|
|
@@ -25792,7 +25767,7 @@ export interface operations {
|
|
|
25792
25767
|
/** @description The number of blocks produced in the previous tenure. */
|
|
25793
25768
|
previous_tenure_blocks: number;
|
|
25794
25769
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
25795
|
-
cause: "block_found" | "extended";
|
|
25770
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
25796
25771
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
25797
25772
|
pubkey_hash: string;
|
|
25798
25773
|
};
|
|
@@ -27109,7 +27084,7 @@ export interface operations {
|
|
|
27109
27084
|
/** @description The number of blocks produced in the previous tenure. */
|
|
27110
27085
|
previous_tenure_blocks: number;
|
|
27111
27086
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
27112
|
-
cause: "block_found" | "extended";
|
|
27087
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
27113
27088
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
27114
27089
|
pubkey_hash: string;
|
|
27115
27090
|
};
|
|
@@ -28934,7 +28909,7 @@ export interface operations {
|
|
|
28934
28909
|
/** @description The number of blocks produced in the previous tenure. */
|
|
28935
28910
|
previous_tenure_blocks: number;
|
|
28936
28911
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
28937
|
-
cause: "block_found" | "extended";
|
|
28912
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
28938
28913
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
28939
28914
|
pubkey_hash: string;
|
|
28940
28915
|
};
|
|
@@ -29727,6 +29702,9 @@ export interface operations {
|
|
|
29727
29702
|
offset: number;
|
|
29728
29703
|
/** @example 1 */
|
|
29729
29704
|
total: number;
|
|
29705
|
+
next_cursor: string | null;
|
|
29706
|
+
prev_cursor: string | null;
|
|
29707
|
+
cursor: string | null;
|
|
29730
29708
|
results: {
|
|
29731
29709
|
tx: {
|
|
29732
29710
|
/** @description Transaction ID */
|
|
@@ -31028,7 +31006,7 @@ export interface operations {
|
|
|
31028
31006
|
/** @description The number of blocks produced in the previous tenure. */
|
|
31029
31007
|
previous_tenure_blocks: number;
|
|
31030
31008
|
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
31031
|
-
cause: "block_found" | "extended";
|
|
31009
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
31032
31010
|
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
31033
31011
|
pubkey_hash: string;
|
|
31034
31012
|
};
|
|
@@ -31292,7 +31270,7 @@ export interface operations {
|
|
|
31292
31270
|
header?: never;
|
|
31293
31271
|
path: {
|
|
31294
31272
|
principal: string;
|
|
31295
|
-
/** @description fungible token identifier */
|
|
31273
|
+
/** @description fungible token identifier, e.g. `SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token::sbtc-token` */
|
|
31296
31274
|
token: string;
|
|
31297
31275
|
};
|
|
31298
31276
|
cookie?: never;
|