@stacks/blockchain-api-client 7.4.0-nakamoto.6 → 7.4.0-nakamoto.7
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/apis/AccountsApi.d.ts +1 -36
- package/lib/generated/apis/AccountsApi.js +0 -38
- package/lib/generated/apis/AccountsApi.js.map +1 -1
- package/lib/generated/apis/BlocksApi.d.ts +28 -1
- package/lib/generated/apis/BlocksApi.js +26 -0
- package/lib/generated/apis/BlocksApi.js.map +1 -1
- package/lib/generated/apis/NonFungibleTokensApi.d.ts +1 -57
- package/lib/generated/apis/NonFungibleTokensApi.js +0 -55
- package/lib/generated/apis/NonFungibleTokensApi.js.map +1 -1
- package/lib/generated/apis/index.d.ts +0 -1
- package/lib/generated/apis/index.js +0 -1
- package/lib/generated/apis/index.js.map +1 -1
- package/lib/generated/models/NakamotoBlock.d.ts +3 -3
- package/lib/generated/models/NakamotoBlock.js +2 -2
- package/lib/generated/models/NakamotoBlock.js.map +1 -1
- package/lib/generated/models/index.d.ts +0 -7
- package/lib/generated/models/index.js +0 -7
- package/lib/generated/models/index.js.map +1 -1
- package/lib/index.umd.js +103 -650
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/.openapi-generator/FILES +0 -8
- package/src/generated/apis/AccountsApi.ts +0 -79
- package/src/generated/apis/BlocksApi.ts +55 -0
- package/src/generated/apis/NonFungibleTokensApi.ts +0 -116
- package/src/generated/apis/index.ts +0 -1
- package/src/generated/models/NakamotoBlock.ts +5 -5
- package/src/generated/models/index.ts +0 -7
- package/lib/generated/apis/FungibleTokensApi.d.ts +0 -82
- package/lib/generated/apis/FungibleTokensApi.js +0 -80
- package/lib/generated/apis/FungibleTokensApi.js.map +0 -1
- package/lib/generated/models/AddressNftListResponse.d.ts +0 -46
- package/lib/generated/models/AddressNftListResponse.js +0 -49
- package/lib/generated/models/AddressNftListResponse.js.map +0 -1
- package/lib/generated/models/AddressNftListResponseValue.d.ts +0 -33
- package/lib/generated/models/AddressNftListResponseValue.js +0 -44
- package/lib/generated/models/AddressNftListResponseValue.js.map +0 -1
- package/lib/generated/models/FungibleTokenMetadata.d.ts +0 -75
- package/lib/generated/models/FungibleTokenMetadata.js +0 -58
- package/lib/generated/models/FungibleTokenMetadata.js.map +0 -1
- package/lib/generated/models/FungibleTokensMetadataList.d.ts +0 -46
- package/lib/generated/models/FungibleTokensMetadataList.js +0 -49
- package/lib/generated/models/FungibleTokensMetadataList.js.map +0 -1
- package/lib/generated/models/NftEvent.d.ts +0 -76
- package/lib/generated/models/NftEvent.js +0 -60
- package/lib/generated/models/NftEvent.js.map +0 -1
- package/lib/generated/models/NonFungibleTokenMetadata.d.ts +0 -63
- package/lib/generated/models/NonFungibleTokenMetadata.js +0 -54
- package/lib/generated/models/NonFungibleTokenMetadata.js.map +0 -1
- package/lib/generated/models/NonFungibleTokensMetadataList.d.ts +0 -46
- package/lib/generated/models/NonFungibleTokensMetadataList.js +0 -49
- package/lib/generated/models/NonFungibleTokensMetadataList.js.map +0 -1
- package/src/generated/apis/FungibleTokensApi.ts +0 -150
- package/src/generated/models/AddressNftListResponse.ts +0 -87
- package/src/generated/models/AddressNftListResponseValue.ts +0 -64
- package/src/generated/models/FungibleTokenMetadata.ts +0 -120
- package/src/generated/models/FungibleTokensMetadataList.ts +0 -87
- package/src/generated/models/NftEvent.ts +0 -127
- package/src/generated/models/NonFungibleTokenMetadata.ts +0 -104
- package/src/generated/models/NonFungibleTokensMetadataList.ts +0 -87
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacks/blockchain-api-client",
|
|
3
|
-
"version": "7.4.0-nakamoto.
|
|
3
|
+
"version": "7.4.0-nakamoto.7",
|
|
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",
|
|
@@ -3,7 +3,6 @@ apis/AccountsApi.ts
|
|
|
3
3
|
apis/BlocksApi.ts
|
|
4
4
|
apis/FaucetsApi.ts
|
|
5
5
|
apis/FeesApi.ts
|
|
6
|
-
apis/FungibleTokensApi.ts
|
|
7
6
|
apis/InfoApi.ts
|
|
8
7
|
apis/MicroblocksApi.ts
|
|
9
8
|
apis/NamesApi.ts
|
|
@@ -19,8 +18,6 @@ index.ts
|
|
|
19
18
|
models/AccountDataResponse.ts
|
|
20
19
|
models/AddressAssetsListResponse.ts
|
|
21
20
|
models/AddressBalanceResponse.ts
|
|
22
|
-
models/AddressNftListResponse.ts
|
|
23
|
-
models/AddressNftListResponseValue.ts
|
|
24
21
|
models/AddressNonces.ts
|
|
25
22
|
models/AddressStxInboundListResponse.ts
|
|
26
23
|
models/AddressTokenOfferingLocked.ts
|
|
@@ -55,8 +52,6 @@ models/CoreNodeInfoResponse.ts
|
|
|
55
52
|
models/CoreNodePoxResponse.ts
|
|
56
53
|
models/FeeRate.ts
|
|
57
54
|
models/FeeRateRequest.ts
|
|
58
|
-
models/FungibleTokenMetadata.ts
|
|
59
|
-
models/FungibleTokensMetadataList.ts
|
|
60
55
|
models/GetRawTransactionResult.ts
|
|
61
56
|
models/GetStxSupplyLegacyFormatResponse.ts
|
|
62
57
|
models/GetStxSupplyResponse.ts
|
|
@@ -79,12 +74,9 @@ models/NakamotoBlockListResponse.ts
|
|
|
79
74
|
models/NetworkBlockTimeResponse.ts
|
|
80
75
|
models/NetworkBlockTimesResponse.ts
|
|
81
76
|
models/NetworkIdentifier.ts
|
|
82
|
-
models/NftEvent.ts
|
|
83
77
|
models/NonFungibleTokenHistoryEventList.ts
|
|
84
78
|
models/NonFungibleTokenHoldingsList.ts
|
|
85
|
-
models/NonFungibleTokenMetadata.ts
|
|
86
79
|
models/NonFungibleTokenMintList.ts
|
|
87
|
-
models/NonFungibleTokensMetadataList.ts
|
|
88
80
|
models/OtherTransactionIdentifier.ts
|
|
89
81
|
models/PoolDelegation.ts
|
|
90
82
|
models/PoolDelegationsResponse.ts
|
|
@@ -24,9 +24,6 @@ import {
|
|
|
24
24
|
AddressBalanceResponse,
|
|
25
25
|
AddressBalanceResponseFromJSON,
|
|
26
26
|
AddressBalanceResponseToJSON,
|
|
27
|
-
AddressNftListResponse,
|
|
28
|
-
AddressNftListResponseFromJSON,
|
|
29
|
-
AddressNftListResponseToJSON,
|
|
30
27
|
AddressNonces,
|
|
31
28
|
AddressNoncesFromJSON,
|
|
32
29
|
AddressNoncesToJSON,
|
|
@@ -73,14 +70,6 @@ export interface GetAccountInfoRequest {
|
|
|
73
70
|
tip?: string;
|
|
74
71
|
}
|
|
75
72
|
|
|
76
|
-
export interface GetAccountNftRequest {
|
|
77
|
-
principal: string;
|
|
78
|
-
limit?: number;
|
|
79
|
-
offset?: number;
|
|
80
|
-
unanchored?: boolean;
|
|
81
|
-
untilBlock?: string;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
73
|
export interface GetAccountNoncesRequest {
|
|
85
74
|
principal: string;
|
|
86
75
|
blockHeight?: number;
|
|
@@ -200,26 +189,6 @@ export interface AccountsApiInterface {
|
|
|
200
189
|
*/
|
|
201
190
|
getAccountInfo(requestParameters: GetAccountInfoRequest, initOverrides?: RequestInit): Promise<AccountDataResponse>;
|
|
202
191
|
|
|
203
|
-
/**
|
|
204
|
-
* **NOTE:** This endpoint is deprecated in favor of [Non-Fungible Token holdings](#operation/get_nft_holdings). Retrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft.
|
|
205
|
-
* @summary Get nft events
|
|
206
|
-
* @param {string} principal Stacks address or a Contract identifier
|
|
207
|
-
* @param {number} [limit] number of items to return
|
|
208
|
-
* @param {number} [offset] number of items to skip
|
|
209
|
-
* @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
|
|
210
|
-
* @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.
|
|
211
|
-
* @param {*} [options] Override http request option.
|
|
212
|
-
* @throws {RequiredError}
|
|
213
|
-
* @memberof AccountsApiInterface
|
|
214
|
-
*/
|
|
215
|
-
getAccountNftRaw(requestParameters: GetAccountNftRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressNftListResponse>>;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* **NOTE:** This endpoint is deprecated in favor of [Non-Fungible Token holdings](#operation/get_nft_holdings). Retrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft.
|
|
219
|
-
* Get nft events
|
|
220
|
-
*/
|
|
221
|
-
getAccountNft(requestParameters: GetAccountNftRequest, initOverrides?: RequestInit): Promise<AddressNftListResponse>;
|
|
222
|
-
|
|
223
192
|
/**
|
|
224
193
|
* Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
|
|
225
194
|
* @summary Get the latest nonce used by an account
|
|
@@ -502,54 +471,6 @@ export class AccountsApi extends runtime.BaseAPI implements AccountsApiInterface
|
|
|
502
471
|
return await response.value();
|
|
503
472
|
}
|
|
504
473
|
|
|
505
|
-
/**
|
|
506
|
-
* **NOTE:** This endpoint is deprecated in favor of [Non-Fungible Token holdings](#operation/get_nft_holdings). Retrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft.
|
|
507
|
-
* Get nft events
|
|
508
|
-
*/
|
|
509
|
-
async getAccountNftRaw(requestParameters: GetAccountNftRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressNftListResponse>> {
|
|
510
|
-
if (requestParameters.principal === null || requestParameters.principal === undefined) {
|
|
511
|
-
throw new runtime.RequiredError('principal','Required parameter requestParameters.principal was null or undefined when calling getAccountNft.');
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
const queryParameters: any = {};
|
|
515
|
-
|
|
516
|
-
if (requestParameters.limit !== undefined) {
|
|
517
|
-
queryParameters['limit'] = requestParameters.limit;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
if (requestParameters.offset !== undefined) {
|
|
521
|
-
queryParameters['offset'] = requestParameters.offset;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
if (requestParameters.unanchored !== undefined) {
|
|
525
|
-
queryParameters['unanchored'] = requestParameters.unanchored;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
if (requestParameters.untilBlock !== undefined) {
|
|
529
|
-
queryParameters['until_block'] = requestParameters.untilBlock;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
533
|
-
|
|
534
|
-
const response = await this.request({
|
|
535
|
-
path: `/extended/v1/address/{principal}/nft_events`.replace(`{${"principal"}}`, encodeURIComponent(String(requestParameters.principal))),
|
|
536
|
-
method: 'GET',
|
|
537
|
-
headers: headerParameters,
|
|
538
|
-
query: queryParameters,
|
|
539
|
-
}, initOverrides);
|
|
540
|
-
|
|
541
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => AddressNftListResponseFromJSON(jsonValue));
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* **NOTE:** This endpoint is deprecated in favor of [Non-Fungible Token holdings](#operation/get_nft_holdings). Retrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft.
|
|
546
|
-
* Get nft events
|
|
547
|
-
*/
|
|
548
|
-
async getAccountNft(requestParameters: GetAccountNftRequest, initOverrides?: RequestInit): Promise<AddressNftListResponse> {
|
|
549
|
-
const response = await this.getAccountNftRaw(requestParameters, initOverrides);
|
|
550
|
-
return await response.value();
|
|
551
|
-
}
|
|
552
|
-
|
|
553
474
|
/**
|
|
554
475
|
* Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
|
|
555
476
|
* Get the latest nonce used by an account
|
|
@@ -33,6 +33,9 @@ import {
|
|
|
33
33
|
NakamotoBlockListResponse,
|
|
34
34
|
NakamotoBlockListResponseFromJSON,
|
|
35
35
|
NakamotoBlockListResponseToJSON,
|
|
36
|
+
TransactionResults,
|
|
37
|
+
TransactionResultsFromJSON,
|
|
38
|
+
TransactionResultsToJSON,
|
|
36
39
|
} from '../models';
|
|
37
40
|
|
|
38
41
|
export interface GetBlockRequest {
|
|
@@ -60,6 +63,10 @@ export interface GetBlockListRequest {
|
|
|
60
63
|
offset?: number;
|
|
61
64
|
}
|
|
62
65
|
|
|
66
|
+
export interface GetBlockTransactionsRequest {
|
|
67
|
+
heightOrHash: number | string;
|
|
68
|
+
}
|
|
69
|
+
|
|
63
70
|
export interface GetBlocksRequest {
|
|
64
71
|
limit?: number;
|
|
65
72
|
offset?: number;
|
|
@@ -180,6 +187,22 @@ export interface BlocksApiInterface {
|
|
|
180
187
|
*/
|
|
181
188
|
getBlockList(requestParameters: GetBlockListRequest, initOverrides?: RequestInit): Promise<BlockListResponse>;
|
|
182
189
|
|
|
190
|
+
/**
|
|
191
|
+
* Retrieves transactions confirmed in a single block
|
|
192
|
+
* @summary Get block transactions
|
|
193
|
+
* @param {number | string} heightOrHash filter by block height, hash, index block hash or the constant `latest` to filter for the most recent block
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
* @memberof BlocksApiInterface
|
|
197
|
+
*/
|
|
198
|
+
getBlockTransactionsRaw(requestParameters: GetBlockTransactionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<TransactionResults>>;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Retrieves transactions confirmed in a single block
|
|
202
|
+
* Get block transactions
|
|
203
|
+
*/
|
|
204
|
+
getBlockTransactions(requestParameters: GetBlockTransactionsRequest, initOverrides?: RequestInit): Promise<TransactionResults>;
|
|
205
|
+
|
|
183
206
|
/**
|
|
184
207
|
* Retrieves a list of recently mined blocks
|
|
185
208
|
* @summary Get blocks
|
|
@@ -435,6 +458,38 @@ export class BlocksApi extends runtime.BaseAPI implements BlocksApiInterface {
|
|
|
435
458
|
return await response.value();
|
|
436
459
|
}
|
|
437
460
|
|
|
461
|
+
/**
|
|
462
|
+
* Retrieves transactions confirmed in a single block
|
|
463
|
+
* Get block transactions
|
|
464
|
+
*/
|
|
465
|
+
async getBlockTransactionsRaw(requestParameters: GetBlockTransactionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<TransactionResults>> {
|
|
466
|
+
if (requestParameters.heightOrHash === null || requestParameters.heightOrHash === undefined) {
|
|
467
|
+
throw new runtime.RequiredError('heightOrHash','Required parameter requestParameters.heightOrHash was null or undefined when calling getBlockTransactions.');
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
const queryParameters: any = {};
|
|
471
|
+
|
|
472
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
473
|
+
|
|
474
|
+
const response = await this.request({
|
|
475
|
+
path: `/extended/v2/blocks/{height_or_hash}/transactions`.replace(`{${"height_or_hash"}}`, encodeURIComponent(String(requestParameters.heightOrHash))),
|
|
476
|
+
method: 'GET',
|
|
477
|
+
headers: headerParameters,
|
|
478
|
+
query: queryParameters,
|
|
479
|
+
}, initOverrides);
|
|
480
|
+
|
|
481
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => TransactionResultsFromJSON(jsonValue));
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Retrieves transactions confirmed in a single block
|
|
486
|
+
* Get block transactions
|
|
487
|
+
*/
|
|
488
|
+
async getBlockTransactions(requestParameters: GetBlockTransactionsRequest, initOverrides?: RequestInit): Promise<TransactionResults> {
|
|
489
|
+
const response = await this.getBlockTransactionsRaw(requestParameters, initOverrides);
|
|
490
|
+
return await response.value();
|
|
491
|
+
}
|
|
492
|
+
|
|
438
493
|
/**
|
|
439
494
|
* Retrieves a list of recently mined blocks
|
|
440
495
|
* Get blocks
|
|
@@ -21,21 +21,11 @@ import {
|
|
|
21
21
|
NonFungibleTokenHoldingsList,
|
|
22
22
|
NonFungibleTokenHoldingsListFromJSON,
|
|
23
23
|
NonFungibleTokenHoldingsListToJSON,
|
|
24
|
-
NonFungibleTokenMetadata,
|
|
25
|
-
NonFungibleTokenMetadataFromJSON,
|
|
26
|
-
NonFungibleTokenMetadataToJSON,
|
|
27
24
|
NonFungibleTokenMintList,
|
|
28
25
|
NonFungibleTokenMintListFromJSON,
|
|
29
26
|
NonFungibleTokenMintListToJSON,
|
|
30
|
-
NonFungibleTokensMetadataList,
|
|
31
|
-
NonFungibleTokensMetadataListFromJSON,
|
|
32
|
-
NonFungibleTokensMetadataListToJSON,
|
|
33
27
|
} from '../models';
|
|
34
28
|
|
|
35
|
-
export interface GetContractNftMetadataRequest {
|
|
36
|
-
contractId: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
29
|
export interface GetNftHistoryRequest {
|
|
40
30
|
assetIdentifier: string;
|
|
41
31
|
value: string;
|
|
@@ -54,11 +44,6 @@ export interface GetNftHoldingsRequest {
|
|
|
54
44
|
txMetadata?: boolean;
|
|
55
45
|
}
|
|
56
46
|
|
|
57
|
-
export interface GetNftMetadataListRequest {
|
|
58
|
-
limit?: number;
|
|
59
|
-
offset?: number;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
47
|
export interface GetNftMintsRequest {
|
|
63
48
|
assetIdentifier: string;
|
|
64
49
|
limit?: number;
|
|
@@ -74,22 +59,6 @@ export interface GetNftMintsRequest {
|
|
|
74
59
|
* @interface NonFungibleTokensApiInterface
|
|
75
60
|
*/
|
|
76
61
|
export interface NonFungibleTokensApiInterface {
|
|
77
|
-
/**
|
|
78
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
79
|
-
* @summary Non fungible tokens metadata for contract ID
|
|
80
|
-
* @param {string} contractId token\'s contract id
|
|
81
|
-
* @param {*} [options] Override http request option.
|
|
82
|
-
* @throws {RequiredError}
|
|
83
|
-
* @memberof NonFungibleTokensApiInterface
|
|
84
|
-
*/
|
|
85
|
-
getContractNftMetadataRaw(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<NonFungibleTokenMetadata>>;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
89
|
-
* Non fungible tokens metadata for contract ID
|
|
90
|
-
*/
|
|
91
|
-
getContractNftMetadata(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<NonFungibleTokenMetadata>;
|
|
92
|
-
|
|
93
62
|
/**
|
|
94
63
|
* Retrieves all events relevant to a Non-Fungible Token. Useful to determine the ownership history of a particular asset. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
95
64
|
* @summary Non-Fungible Token history
|
|
@@ -132,23 +101,6 @@ export interface NonFungibleTokensApiInterface {
|
|
|
132
101
|
*/
|
|
133
102
|
getNftHoldings(requestParameters: GetNftHoldingsRequest, initOverrides?: RequestInit): Promise<NonFungibleTokenHoldingsList>;
|
|
134
103
|
|
|
135
|
-
/**
|
|
136
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves a list of non fungible tokens with their metadata. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
137
|
-
* @summary Non fungible tokens metadata list
|
|
138
|
-
* @param {number} [limit] max number of tokens to fetch
|
|
139
|
-
* @param {number} [offset] index of first tokens to fetch
|
|
140
|
-
* @param {*} [options] Override http request option.
|
|
141
|
-
* @throws {RequiredError}
|
|
142
|
-
* @memberof NonFungibleTokensApiInterface
|
|
143
|
-
*/
|
|
144
|
-
getNftMetadataListRaw(requestParameters: GetNftMetadataListRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<NonFungibleTokensMetadataList>>;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves a list of non fungible tokens with their metadata. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
148
|
-
* Non fungible tokens metadata list
|
|
149
|
-
*/
|
|
150
|
-
getNftMetadataList(requestParameters: GetNftMetadataListRequest, initOverrides?: RequestInit): Promise<NonFungibleTokensMetadataList>;
|
|
151
|
-
|
|
152
104
|
/**
|
|
153
105
|
* Retrieves all mint events for a Non-Fungible Token asset class. Useful to determine which NFTs of a particular collection have been claimed. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
154
106
|
* @summary Non-Fungible Token mints
|
|
@@ -176,38 +128,6 @@ export interface NonFungibleTokensApiInterface {
|
|
|
176
128
|
*/
|
|
177
129
|
export class NonFungibleTokensApi extends runtime.BaseAPI implements NonFungibleTokensApiInterface {
|
|
178
130
|
|
|
179
|
-
/**
|
|
180
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
181
|
-
* Non fungible tokens metadata for contract ID
|
|
182
|
-
*/
|
|
183
|
-
async getContractNftMetadataRaw(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<NonFungibleTokenMetadata>> {
|
|
184
|
-
if (requestParameters.contractId === null || requestParameters.contractId === undefined) {
|
|
185
|
-
throw new runtime.RequiredError('contractId','Required parameter requestParameters.contractId was null or undefined when calling getContractNftMetadata.');
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
const queryParameters: any = {};
|
|
189
|
-
|
|
190
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
191
|
-
|
|
192
|
-
const response = await this.request({
|
|
193
|
-
path: `/extended/v1/tokens/{contractId}/nft/metadata`.replace(`{${"contractId"}}`, encodeURIComponent(String(requestParameters.contractId))),
|
|
194
|
-
method: 'GET',
|
|
195
|
-
headers: headerParameters,
|
|
196
|
-
query: queryParameters,
|
|
197
|
-
}, initOverrides);
|
|
198
|
-
|
|
199
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => NonFungibleTokenMetadataFromJSON(jsonValue));
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves metadata for non fungible tokens for a given contract id. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
204
|
-
* Non fungible tokens metadata for contract ID
|
|
205
|
-
*/
|
|
206
|
-
async getContractNftMetadata(requestParameters: GetContractNftMetadataRequest, initOverrides?: RequestInit): Promise<NonFungibleTokenMetadata> {
|
|
207
|
-
const response = await this.getContractNftMetadataRaw(requestParameters, initOverrides);
|
|
208
|
-
return await response.value();
|
|
209
|
-
}
|
|
210
|
-
|
|
211
131
|
/**
|
|
212
132
|
* Retrieves all events relevant to a Non-Fungible Token. Useful to determine the ownership history of a particular asset. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
213
133
|
* Non-Fungible Token history
|
|
@@ -324,42 +244,6 @@ export class NonFungibleTokensApi extends runtime.BaseAPI implements NonFungible
|
|
|
324
244
|
return await response.value();
|
|
325
245
|
}
|
|
326
246
|
|
|
327
|
-
/**
|
|
328
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves a list of non fungible tokens with their metadata. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
329
|
-
* Non fungible tokens metadata list
|
|
330
|
-
*/
|
|
331
|
-
async getNftMetadataListRaw(requestParameters: GetNftMetadataListRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<NonFungibleTokensMetadataList>> {
|
|
332
|
-
const queryParameters: any = {};
|
|
333
|
-
|
|
334
|
-
if (requestParameters.limit !== undefined) {
|
|
335
|
-
queryParameters['limit'] = requestParameters.limit;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
if (requestParameters.offset !== undefined) {
|
|
339
|
-
queryParameters['offset'] = requestParameters.offset;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
343
|
-
|
|
344
|
-
const response = await this.request({
|
|
345
|
-
path: `/extended/v1/tokens/nft/metadata`,
|
|
346
|
-
method: 'GET',
|
|
347
|
-
headers: headerParameters,
|
|
348
|
-
query: queryParameters,
|
|
349
|
-
}, initOverrides);
|
|
350
|
-
|
|
351
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => NonFungibleTokensMetadataListFromJSON(jsonValue));
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves a list of non fungible tokens with their metadata. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
356
|
-
* Non fungible tokens metadata list
|
|
357
|
-
*/
|
|
358
|
-
async getNftMetadataList(requestParameters: GetNftMetadataListRequest, initOverrides?: RequestInit): Promise<NonFungibleTokensMetadataList> {
|
|
359
|
-
const response = await this.getNftMetadataListRaw(requestParameters, initOverrides);
|
|
360
|
-
return await response.value();
|
|
361
|
-
}
|
|
362
|
-
|
|
363
247
|
/**
|
|
364
248
|
* Retrieves all mint events for a Non-Fungible Token asset class. Useful to determine which NFTs of a particular collection have been claimed. More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).
|
|
365
249
|
* Non-Fungible Token mints
|
|
@@ -86,11 +86,11 @@ export interface NakamotoBlock {
|
|
|
86
86
|
*/
|
|
87
87
|
miner_txid: string;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {
|
|
89
|
+
* Number of transactions included in the block
|
|
90
|
+
* @type {number}
|
|
91
91
|
* @memberof NakamotoBlock
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
tx_count: number;
|
|
94
94
|
/**
|
|
95
95
|
* Execution cost read count.
|
|
96
96
|
* @type {number}
|
|
@@ -144,7 +144,7 @@ export function NakamotoBlockFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
144
144
|
'burn_block_hash': json['burn_block_hash'],
|
|
145
145
|
'burn_block_height': json['burn_block_height'],
|
|
146
146
|
'miner_txid': json['miner_txid'],
|
|
147
|
-
'
|
|
147
|
+
'tx_count': json['tx_count'],
|
|
148
148
|
'execution_cost_read_count': json['execution_cost_read_count'],
|
|
149
149
|
'execution_cost_read_length': json['execution_cost_read_length'],
|
|
150
150
|
'execution_cost_runtime': json['execution_cost_runtime'],
|
|
@@ -173,7 +173,7 @@ export function NakamotoBlockToJSON(value?: NakamotoBlock | null): any {
|
|
|
173
173
|
'burn_block_hash': value.burn_block_hash,
|
|
174
174
|
'burn_block_height': value.burn_block_height,
|
|
175
175
|
'miner_txid': value.miner_txid,
|
|
176
|
-
'
|
|
176
|
+
'tx_count': value.tx_count,
|
|
177
177
|
'execution_cost_read_count': value.execution_cost_read_count,
|
|
178
178
|
'execution_cost_read_length': value.execution_cost_read_length,
|
|
179
179
|
'execution_cost_runtime': value.execution_cost_runtime,
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
export * from './AccountDataResponse';
|
|
4
4
|
export * from './AddressAssetsListResponse';
|
|
5
5
|
export * from './AddressBalanceResponse';
|
|
6
|
-
export * from './AddressNftListResponse';
|
|
7
|
-
export * from './AddressNftListResponseValue';
|
|
8
6
|
export * from './AddressNonces';
|
|
9
7
|
export * from './AddressStxInboundListResponse';
|
|
10
8
|
export * from './AddressTokenOfferingLocked';
|
|
@@ -39,8 +37,6 @@ export * from './CoreNodeInfoResponse';
|
|
|
39
37
|
export * from './CoreNodePoxResponse';
|
|
40
38
|
export * from './FeeRate';
|
|
41
39
|
export * from './FeeRateRequest';
|
|
42
|
-
export * from './FungibleTokenMetadata';
|
|
43
|
-
export * from './FungibleTokensMetadataList';
|
|
44
40
|
export * from './GetRawTransactionResult';
|
|
45
41
|
export * from './GetStxSupplyLegacyFormatResponse';
|
|
46
42
|
export * from './GetStxSupplyResponse';
|
|
@@ -63,12 +59,9 @@ export * from './NakamotoBlockListResponse';
|
|
|
63
59
|
export * from './NetworkBlockTimeResponse';
|
|
64
60
|
export * from './NetworkBlockTimesResponse';
|
|
65
61
|
export * from './NetworkIdentifier';
|
|
66
|
-
export * from './NftEvent';
|
|
67
62
|
export * from './NonFungibleTokenHistoryEventList';
|
|
68
63
|
export * from './NonFungibleTokenHoldingsList';
|
|
69
|
-
export * from './NonFungibleTokenMetadata';
|
|
70
64
|
export * from './NonFungibleTokenMintList';
|
|
71
|
-
export * from './NonFungibleTokensMetadataList';
|
|
72
65
|
export * from './OtherTransactionIdentifier';
|
|
73
66
|
export * from './PoolDelegation';
|
|
74
67
|
export * from './PoolDelegationsResponse';
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stacks Blockchain API
|
|
3
|
-
* Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: STACKS_API_VERSION
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import { FungibleTokenMetadata, FungibleTokensMetadataList } from '../models';
|
|
14
|
-
export interface GetContractFtMetadataRequest {
|
|
15
|
-
contractId: string;
|
|
16
|
-
}
|
|
17
|
-
export interface GetFtMetadataListRequest {
|
|
18
|
-
limit?: number;
|
|
19
|
-
offset?: number;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* FungibleTokensApi - interface
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
* @interface FungibleTokensApiInterface
|
|
26
|
-
*/
|
|
27
|
-
export interface FungibleTokensApiInterface {
|
|
28
|
-
/**
|
|
29
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
30
|
-
* @summary Fungible tokens metadata for contract id
|
|
31
|
-
* @param {string} contractId token\'s contract id
|
|
32
|
-
* @param {*} [options] Override http request option.
|
|
33
|
-
* @throws {RequiredError}
|
|
34
|
-
* @memberof FungibleTokensApiInterface
|
|
35
|
-
*/
|
|
36
|
-
getContractFtMetadataRaw(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokenMetadata>>;
|
|
37
|
-
/**
|
|
38
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
39
|
-
* Fungible tokens metadata for contract id
|
|
40
|
-
*/
|
|
41
|
-
getContractFtMetadata(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<FungibleTokenMetadata>;
|
|
42
|
-
/**
|
|
43
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
44
|
-
* @summary Fungible tokens metadata list
|
|
45
|
-
* @param {number} [limit] max number of tokens to fetch.
|
|
46
|
-
* @param {number} [offset] index of first tokens to fetch
|
|
47
|
-
* @param {*} [options] Override http request option.
|
|
48
|
-
* @throws {RequiredError}
|
|
49
|
-
* @memberof FungibleTokensApiInterface
|
|
50
|
-
*/
|
|
51
|
-
getFtMetadataListRaw(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokensMetadataList>>;
|
|
52
|
-
/**
|
|
53
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
54
|
-
* Fungible tokens metadata list
|
|
55
|
-
*/
|
|
56
|
-
getFtMetadataList(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<FungibleTokensMetadataList>;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
export declare class FungibleTokensApi extends runtime.BaseAPI implements FungibleTokensApiInterface {
|
|
62
|
-
/**
|
|
63
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
64
|
-
* Fungible tokens metadata for contract id
|
|
65
|
-
*/
|
|
66
|
-
getContractFtMetadataRaw(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokenMetadata>>;
|
|
67
|
-
/**
|
|
68
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
69
|
-
* Fungible tokens metadata for contract id
|
|
70
|
-
*/
|
|
71
|
-
getContractFtMetadata(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<FungibleTokenMetadata>;
|
|
72
|
-
/**
|
|
73
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
74
|
-
* Fungible tokens metadata list
|
|
75
|
-
*/
|
|
76
|
-
getFtMetadataListRaw(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokensMetadataList>>;
|
|
77
|
-
/**
|
|
78
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
79
|
-
* Fungible tokens metadata list
|
|
80
|
-
*/
|
|
81
|
-
getFtMetadataList(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<FungibleTokensMetadataList>;
|
|
82
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Stacks Blockchain API
|
|
6
|
-
* Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: STACKS_API_VERSION
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.FungibleTokensApi = void 0;
|
|
17
|
-
const runtime = require("../runtime");
|
|
18
|
-
const models_1 = require("../models");
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
class FungibleTokensApi extends runtime.BaseAPI {
|
|
23
|
-
/**
|
|
24
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
25
|
-
* Fungible tokens metadata for contract id
|
|
26
|
-
*/
|
|
27
|
-
async getContractFtMetadataRaw(requestParameters, initOverrides) {
|
|
28
|
-
if (requestParameters.contractId === null || requestParameters.contractId === undefined) {
|
|
29
|
-
throw new runtime.RequiredError('contractId', 'Required parameter requestParameters.contractId was null or undefined when calling getContractFtMetadata.');
|
|
30
|
-
}
|
|
31
|
-
const queryParameters = {};
|
|
32
|
-
const headerParameters = {};
|
|
33
|
-
const response = await this.request({
|
|
34
|
-
path: `/extended/v1/tokens/{contractId}/ft/metadata`.replace(`{${"contractId"}}`, encodeURIComponent(String(requestParameters.contractId))),
|
|
35
|
-
method: 'GET',
|
|
36
|
-
headers: headerParameters,
|
|
37
|
-
query: queryParameters,
|
|
38
|
-
}, initOverrides);
|
|
39
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.FungibleTokenMetadataFromJSON)(jsonValue));
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
43
|
-
* Fungible tokens metadata for contract id
|
|
44
|
-
*/
|
|
45
|
-
async getContractFtMetadata(requestParameters, initOverrides) {
|
|
46
|
-
const response = await this.getContractFtMetadataRaw(requestParameters, initOverrides);
|
|
47
|
-
return await response.value();
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
51
|
-
* Fungible tokens metadata list
|
|
52
|
-
*/
|
|
53
|
-
async getFtMetadataListRaw(requestParameters, initOverrides) {
|
|
54
|
-
const queryParameters = {};
|
|
55
|
-
if (requestParameters.limit !== undefined) {
|
|
56
|
-
queryParameters['limit'] = requestParameters.limit;
|
|
57
|
-
}
|
|
58
|
-
if (requestParameters.offset !== undefined) {
|
|
59
|
-
queryParameters['offset'] = requestParameters.offset;
|
|
60
|
-
}
|
|
61
|
-
const headerParameters = {};
|
|
62
|
-
const response = await this.request({
|
|
63
|
-
path: `/extended/v1/tokens/ft/metadata`,
|
|
64
|
-
method: 'GET',
|
|
65
|
-
headers: headerParameters,
|
|
66
|
-
query: queryParameters,
|
|
67
|
-
}, initOverrides);
|
|
68
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.FungibleTokensMetadataListFromJSON)(jsonValue));
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
72
|
-
* Fungible tokens metadata list
|
|
73
|
-
*/
|
|
74
|
-
async getFtMetadataList(requestParameters, initOverrides) {
|
|
75
|
-
const response = await this.getFtMetadataListRaw(requestParameters, initOverrides);
|
|
76
|
-
return await response.value();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
exports.FungibleTokensApi = FungibleTokensApi;
|
|
80
|
-
//# sourceMappingURL=FungibleTokensApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FungibleTokensApi.js","sourceRoot":"","sources":["../../../src/generated/apis/FungibleTokensApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,sCAAsC;AACtC,sCAOmB;AAqDnB;;GAEG;AACH,MAAa,iBAAkB,SAAQ,OAAO,CAAC,OAAO;IAElD;;;OAGG;IACH,KAAK,CAAC,wBAAwB,CAAC,iBAA+C,EAAE,aAA2B;QACvG,IAAI,iBAAiB,CAAC,UAAU,KAAK,IAAI,IAAI,iBAAiB,CAAC,UAAU,KAAK,SAAS,EAAE;YACrF,MAAM,IAAI,OAAO,CAAC,aAAa,CAAC,YAAY,EAAC,2GAA2G,CAAC,CAAC;SAC7J;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,8CAA8C,CAAC,OAAO,CAAC,IAAI,YAAY,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,CAAC;YAC3I,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,sCAA6B,EAAC,SAAS,CAAC,CAAC,CAAC;IAC1G,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,qBAAqB,CAAC,iBAA+C,EAAE,aAA2B;QACpG,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACvF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,oBAAoB,CAAC,iBAA2C,EAAE,aAA2B;QAC/F,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,IAAI,iBAAiB,CAAC,KAAK,KAAK,SAAS,EAAE;YACvC,eAAe,CAAC,OAAO,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC;SACtD;QAED,IAAI,iBAAiB,CAAC,MAAM,KAAK,SAAS,EAAE;YACxC,eAAe,CAAC,QAAQ,CAAC,GAAG,iBAAiB,CAAC,MAAM,CAAC;SACxD;QAED,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,iCAAiC;YACvC,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,2CAAkC,EAAC,SAAS,CAAC,CAAC,CAAC;IAC/G,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,iBAAiB,CAAC,iBAA2C,EAAE,aAA2B;QAC5F,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACnF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AAtED,8CAsEC"}
|