@stacks/blockchain-api-client 6.0.0-beta.6 → 6.0.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacks/blockchain-api-client",
3
- "version": "6.0.0-beta.6",
3
+ "version": "6.0.0-beta.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",
@@ -18,8 +18,6 @@ index.ts
18
18
  models/AccountDataResponse.ts
19
19
  models/AddressAssetsListResponse.ts
20
20
  models/AddressBalanceResponse.ts
21
- models/AddressNftListResponse.ts
22
- models/AddressNftListResponseValue.ts
23
21
  models/AddressNonces.ts
24
22
  models/AddressStxInboundListResponse.ts
25
23
  models/AddressTokenOfferingLocked.ts
@@ -73,7 +71,6 @@ models/MicroblockListResponse.ts
73
71
  models/NetworkBlockTimeResponse.ts
74
72
  models/NetworkBlockTimesResponse.ts
75
73
  models/NetworkIdentifier.ts
76
- models/NftEvent.ts
77
74
  models/NonFungibleTokenHistoryEventList.ts
78
75
  models/NonFungibleTokenHoldingsList.ts
79
76
  models/NonFungibleTokenMetadata.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
@@ -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';
@@ -58,7 +56,6 @@ export * from './MicroblockListResponse';
58
56
  export * from './NetworkBlockTimeResponse';
59
57
  export * from './NetworkBlockTimesResponse';
60
58
  export * from './NetworkIdentifier';
61
- export * from './NftEvent';
62
59
  export * from './NonFungibleTokenHistoryEventList';
63
60
  export * from './NonFungibleTokenHoldingsList';
64
61
  export * from './NonFungibleTokenMetadata';
@@ -1,46 +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 { NftEvent } from './';
13
- /**
14
- *
15
- * @export
16
- * @interface AddressNftListResponse
17
- */
18
- export interface AddressNftListResponse {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof AddressNftListResponse
23
- */
24
- limit: number;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof AddressNftListResponse
29
- */
30
- offset: number;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof AddressNftListResponse
35
- */
36
- total: number;
37
- /**
38
- *
39
- * @type {Array<NftEvent>}
40
- * @memberof AddressNftListResponse
41
- */
42
- nft_events: Array<NftEvent>;
43
- }
44
- export declare function AddressNftListResponseFromJSON(json: any): AddressNftListResponse;
45
- export declare function AddressNftListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressNftListResponse;
46
- export declare function AddressNftListResponseToJSON(value?: AddressNftListResponse | null): any;
@@ -1,49 +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.AddressNftListResponseToJSON = exports.AddressNftListResponseFromJSONTyped = exports.AddressNftListResponseFromJSON = void 0;
17
- const _1 = require("./");
18
- function AddressNftListResponseFromJSON(json) {
19
- return AddressNftListResponseFromJSONTyped(json, false);
20
- }
21
- exports.AddressNftListResponseFromJSON = AddressNftListResponseFromJSON;
22
- function AddressNftListResponseFromJSONTyped(json, ignoreDiscriminator) {
23
- if ((json === undefined) || (json === null)) {
24
- return json;
25
- }
26
- return {
27
- 'limit': json['limit'],
28
- 'offset': json['offset'],
29
- 'total': json['total'],
30
- 'nft_events': (json['nft_events'].map(_1.NftEventFromJSON)),
31
- };
32
- }
33
- exports.AddressNftListResponseFromJSONTyped = AddressNftListResponseFromJSONTyped;
34
- function AddressNftListResponseToJSON(value) {
35
- if (value === undefined) {
36
- return undefined;
37
- }
38
- if (value === null) {
39
- return null;
40
- }
41
- return {
42
- 'limit': value.limit,
43
- 'offset': value.offset,
44
- 'total': value.total,
45
- 'nft_events': (value.nft_events.map(_1.NftEventToJSON)),
46
- };
47
- }
48
- exports.AddressNftListResponseToJSON = AddressNftListResponseToJSON;
49
- //# sourceMappingURL=AddressNftListResponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AddressNftListResponse.js","sourceRoot":"","sources":["../../../src/generated/models/AddressNftListResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,yBAKY;AAkCZ,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAFD,wEAEC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,YAAY,EAAE,CAAE,IAAI,CAAC,YAAY,CAAgB,CAAC,GAAG,CAAC,mBAAgB,CAAC,CAAC;KAC3E,CAAC;AACN,CAAC;AAXD,kFAWC;AAED,SAAgB,4BAA4B,CAAC,KAAqC;IAC9E,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,YAAY,EAAE,CAAE,KAAK,CAAC,UAAyB,CAAC,GAAG,CAAC,iBAAc,CAAC,CAAC;KACvE,CAAC;AACN,CAAC;AAdD,oEAcC"}
@@ -1,33 +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
- /**
13
- * Identifier of the NFT
14
- * @export
15
- * @interface AddressNftListResponseValue
16
- */
17
- export interface AddressNftListResponseValue {
18
- /**
19
- * Hex string representing the identifier of the NFT
20
- * @type {string}
21
- * @memberof AddressNftListResponseValue
22
- */
23
- hex: string;
24
- /**
25
- * Readable string of the NFT identifier
26
- * @type {string}
27
- * @memberof AddressNftListResponseValue
28
- */
29
- repr: string;
30
- }
31
- export declare function AddressNftListResponseValueFromJSON(json: any): AddressNftListResponseValue;
32
- export declare function AddressNftListResponseValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressNftListResponseValue;
33
- export declare function AddressNftListResponseValueToJSON(value?: AddressNftListResponseValue | null): any;
@@ -1,44 +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.AddressNftListResponseValueToJSON = exports.AddressNftListResponseValueFromJSONTyped = exports.AddressNftListResponseValueFromJSON = void 0;
17
- function AddressNftListResponseValueFromJSON(json) {
18
- return AddressNftListResponseValueFromJSONTyped(json, false);
19
- }
20
- exports.AddressNftListResponseValueFromJSON = AddressNftListResponseValueFromJSON;
21
- function AddressNftListResponseValueFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- return {
26
- 'hex': json['hex'],
27
- 'repr': json['repr'],
28
- };
29
- }
30
- exports.AddressNftListResponseValueFromJSONTyped = AddressNftListResponseValueFromJSONTyped;
31
- function AddressNftListResponseValueToJSON(value) {
32
- if (value === undefined) {
33
- return undefined;
34
- }
35
- if (value === null) {
36
- return null;
37
- }
38
- return {
39
- 'hex': value.hex,
40
- 'repr': value.repr,
41
- };
42
- }
43
- exports.AddressNftListResponseValueToJSON = AddressNftListResponseValueToJSON;
44
- //# sourceMappingURL=AddressNftListResponseValue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AddressNftListResponseValue.js","sourceRoot":"","sources":["../../../src/generated/models/AddressNftListResponseValue.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuBH,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAFD,kFAEC;AAED,SAAgB,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AATD,4FASC;AAED,SAAgB,iCAAiC,CAAC,KAA0C;IACxF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,KAAK,EAAE,KAAK,CAAC,GAAG;QAChB,MAAM,EAAE,KAAK,CAAC,IAAI;KACrB,CAAC;AACN,CAAC;AAZD,8EAYC"}
@@ -1,76 +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 { AddressNftListResponseValue } from './';
13
- /**
14
- *
15
- * @export
16
- * @interface NftEvent
17
- */
18
- export interface NftEvent {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof NftEvent
23
- */
24
- sender?: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof NftEvent
29
- */
30
- recipient?: string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof NftEvent
35
- */
36
- asset_identifier: string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof NftEvent
41
- */
42
- asset_event_type: string;
43
- /**
44
- *
45
- * @type {AddressNftListResponseValue}
46
- * @memberof NftEvent
47
- */
48
- value: AddressNftListResponseValue;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof NftEvent
53
- */
54
- tx_id: string;
55
- /**
56
- *
57
- * @type {number}
58
- * @memberof NftEvent
59
- */
60
- tx_index: number;
61
- /**
62
- *
63
- * @type {number}
64
- * @memberof NftEvent
65
- */
66
- block_height: number;
67
- /**
68
- *
69
- * @type {number}
70
- * @memberof NftEvent
71
- */
72
- event_index: number;
73
- }
74
- export declare function NftEventFromJSON(json: any): NftEvent;
75
- export declare function NftEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): NftEvent;
76
- export declare function NftEventToJSON(value?: NftEvent | null): any;
@@ -1,60 +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.NftEventToJSON = exports.NftEventFromJSONTyped = exports.NftEventFromJSON = void 0;
17
- const runtime_1 = require("../runtime");
18
- const _1 = require("./");
19
- function NftEventFromJSON(json) {
20
- return NftEventFromJSONTyped(json, false);
21
- }
22
- exports.NftEventFromJSON = NftEventFromJSON;
23
- function NftEventFromJSONTyped(json, ignoreDiscriminator) {
24
- if ((json === undefined) || (json === null)) {
25
- return json;
26
- }
27
- return {
28
- 'sender': !(0, runtime_1.exists)(json, 'sender') ? undefined : json['sender'],
29
- 'recipient': !(0, runtime_1.exists)(json, 'recipient') ? undefined : json['recipient'],
30
- 'asset_identifier': json['asset_identifier'],
31
- 'asset_event_type': json['asset_event_type'],
32
- 'value': (0, _1.AddressNftListResponseValueFromJSON)(json['value']),
33
- 'tx_id': json['tx_id'],
34
- 'tx_index': json['tx_index'],
35
- 'block_height': json['block_height'],
36
- 'event_index': json['event_index'],
37
- };
38
- }
39
- exports.NftEventFromJSONTyped = NftEventFromJSONTyped;
40
- function NftEventToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return {
48
- 'sender': value.sender,
49
- 'recipient': value.recipient,
50
- 'asset_identifier': value.asset_identifier,
51
- 'asset_event_type': value.asset_event_type,
52
- 'value': (0, _1.AddressNftListResponseValueToJSON)(value.value),
53
- 'tx_id': value.tx_id,
54
- 'tx_index': value.tx_index,
55
- 'block_height': value.block_height,
56
- 'event_index': value.event_index,
57
- };
58
- }
59
- exports.NftEventToJSON = NftEventToJSON;
60
- //# sourceMappingURL=NftEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NftEvent.js","sourceRoot":"","sources":["../../../src/generated/models/NftEvent.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAC/C,yBAKY;AAgEZ,SAAgB,gBAAgB,CAAC,IAAS;IACtC,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAFD,4CAEC;AAED,SAAgB,qBAAqB,CAAC,IAAS,EAAE,mBAA4B;IACzE,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC9D,WAAW,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACvE,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC;QAC5C,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC;QAC5C,OAAO,EAAE,IAAA,sCAAmC,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC;QACpC,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;KACrC,CAAC;AACN,CAAC;AAhBD,sDAgBC;AAED,SAAgB,cAAc,CAAC,KAAuB;IAClD,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,kBAAkB,EAAE,KAAK,CAAC,gBAAgB;QAC1C,kBAAkB,EAAE,KAAK,CAAC,gBAAgB;QAC1C,OAAO,EAAE,IAAA,oCAAiC,EAAC,KAAK,CAAC,KAAK,CAAC;QACvD,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,cAAc,EAAE,KAAK,CAAC,YAAY;QAClC,aAAa,EAAE,KAAK,CAAC,WAAW;KACnC,CAAC;AACN,CAAC;AAnBD,wCAmBC"}
@@ -1,87 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Stacks Blockchain API
5
- * 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>
6
- *
7
- * The version of the OpenAPI document: STACKS_API_VERSION
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { exists, mapValues } from '../runtime';
16
- import {
17
- NftEvent,
18
- NftEventFromJSON,
19
- NftEventFromJSONTyped,
20
- NftEventToJSON,
21
- } from './';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface AddressNftListResponse
27
- */
28
- export interface AddressNftListResponse {
29
- /**
30
- *
31
- * @type {number}
32
- * @memberof AddressNftListResponse
33
- */
34
- limit: number;
35
- /**
36
- *
37
- * @type {number}
38
- * @memberof AddressNftListResponse
39
- */
40
- offset: number;
41
- /**
42
- *
43
- * @type {number}
44
- * @memberof AddressNftListResponse
45
- */
46
- total: number;
47
- /**
48
- *
49
- * @type {Array<NftEvent>}
50
- * @memberof AddressNftListResponse
51
- */
52
- nft_events: Array<NftEvent>;
53
- }
54
-
55
- export function AddressNftListResponseFromJSON(json: any): AddressNftListResponse {
56
- return AddressNftListResponseFromJSONTyped(json, false);
57
- }
58
-
59
- export function AddressNftListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressNftListResponse {
60
- if ((json === undefined) || (json === null)) {
61
- return json;
62
- }
63
- return {
64
-
65
- 'limit': json['limit'],
66
- 'offset': json['offset'],
67
- 'total': json['total'],
68
- 'nft_events': ((json['nft_events'] as Array<any>).map(NftEventFromJSON)),
69
- };
70
- }
71
-
72
- export function AddressNftListResponseToJSON(value?: AddressNftListResponse | null): any {
73
- if (value === undefined) {
74
- return undefined;
75
- }
76
- if (value === null) {
77
- return null;
78
- }
79
- return {
80
-
81
- 'limit': value.limit,
82
- 'offset': value.offset,
83
- 'total': value.total,
84
- 'nft_events': ((value.nft_events as Array<any>).map(NftEventToJSON)),
85
- };
86
- }
87
-
@@ -1,64 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Stacks Blockchain API
5
- * 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>
6
- *
7
- * The version of the OpenAPI document: STACKS_API_VERSION
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { exists, mapValues } from '../runtime';
16
- /**
17
- * Identifier of the NFT
18
- * @export
19
- * @interface AddressNftListResponseValue
20
- */
21
- export interface AddressNftListResponseValue {
22
- /**
23
- * Hex string representing the identifier of the NFT
24
- * @type {string}
25
- * @memberof AddressNftListResponseValue
26
- */
27
- hex: string;
28
- /**
29
- * Readable string of the NFT identifier
30
- * @type {string}
31
- * @memberof AddressNftListResponseValue
32
- */
33
- repr: string;
34
- }
35
-
36
- export function AddressNftListResponseValueFromJSON(json: any): AddressNftListResponseValue {
37
- return AddressNftListResponseValueFromJSONTyped(json, false);
38
- }
39
-
40
- export function AddressNftListResponseValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressNftListResponseValue {
41
- if ((json === undefined) || (json === null)) {
42
- return json;
43
- }
44
- return {
45
-
46
- 'hex': json['hex'],
47
- 'repr': json['repr'],
48
- };
49
- }
50
-
51
- export function AddressNftListResponseValueToJSON(value?: AddressNftListResponseValue | null): any {
52
- if (value === undefined) {
53
- return undefined;
54
- }
55
- if (value === null) {
56
- return null;
57
- }
58
- return {
59
-
60
- 'hex': value.hex,
61
- 'repr': value.repr,
62
- };
63
- }
64
-