@hirosystems/token-metadata-api-client 1.3.0 → 2.0.0
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/README.md +10 -5
- package/lib/generated/schema.d.ts +692 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +23 -0
- package/lib/index.js.map +1 -0
- package/lib/index.umd.js +613 -0
- package/lib/index.umd.js.map +1 -0
- package/package.json +15 -34
- package/api.ts +0 -1079
- package/configuration.ts +0 -65
- package/custom.d.ts +0 -2
- package/dist/api.d.ts +0 -821
- package/dist/api.js +0 -600
- package/dist/configuration.d.ts +0 -55
- package/dist/configuration.js +0 -27
- package/dist/index.d.ts +0 -13
- package/dist/index.js +0 -26
- package/index.ts +0 -15
package/dist/api.d.ts
DELETED
|
@@ -1,821 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Token Metadata API
|
|
3
|
-
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: v0.4.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This file is auto generated by the swagger code generator program.
|
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the file manually.
|
|
11
|
-
*/
|
|
12
|
-
/// <reference path="../custom.d.ts" />
|
|
13
|
-
import { Configuration } from "./configuration";
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export declare const COLLECTION_FORMATS: {
|
|
19
|
-
csv: string;
|
|
20
|
-
ssv: string;
|
|
21
|
-
tsv: string;
|
|
22
|
-
pipes: string;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface FetchAPI
|
|
28
|
-
*/
|
|
29
|
-
export interface FetchAPI {
|
|
30
|
-
(url: string, init?: any): Promise<Response>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @export
|
|
35
|
-
* @interface FetchArgs
|
|
36
|
-
*/
|
|
37
|
-
export interface FetchArgs {
|
|
38
|
-
url: string;
|
|
39
|
-
options: any;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
* @class BaseAPI
|
|
45
|
-
*/
|
|
46
|
-
export declare class BaseAPI {
|
|
47
|
-
protected basePath: string;
|
|
48
|
-
protected fetch: FetchAPI;
|
|
49
|
-
protected configuration: Configuration;
|
|
50
|
-
constructor(configuration?: Configuration, basePath?: string, fetch?: FetchAPI);
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @export
|
|
55
|
-
* @class RequiredError
|
|
56
|
-
* @extends {Error}
|
|
57
|
-
*/
|
|
58
|
-
export declare class RequiredError extends Error {
|
|
59
|
-
field: string;
|
|
60
|
-
name: string;
|
|
61
|
-
constructor(field: string, msg?: string);
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @export
|
|
66
|
-
* @interface ApiJobCount
|
|
67
|
-
*/
|
|
68
|
-
export interface ApiJobCount {
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {number}
|
|
72
|
-
* @memberof ApiJobCount
|
|
73
|
-
*/
|
|
74
|
-
pending?: number;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @type {number}
|
|
78
|
-
* @memberof ApiJobCount
|
|
79
|
-
*/
|
|
80
|
-
queued?: number;
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @type {number}
|
|
84
|
-
* @memberof ApiJobCount
|
|
85
|
-
*/
|
|
86
|
-
done?: number;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {number}
|
|
90
|
-
* @memberof ApiJobCount
|
|
91
|
-
*/
|
|
92
|
-
failed?: number;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @export
|
|
97
|
-
* @interface ApiStatusResponse
|
|
98
|
-
*/
|
|
99
|
-
export interface ApiStatusResponse {
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {string}
|
|
103
|
-
* @memberof ApiStatusResponse
|
|
104
|
-
*/
|
|
105
|
-
server_version: string;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {string}
|
|
109
|
-
* @memberof ApiStatusResponse
|
|
110
|
-
*/
|
|
111
|
-
status: string;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {ApiTokenCount}
|
|
115
|
-
* @memberof ApiStatusResponse
|
|
116
|
-
*/
|
|
117
|
-
tokens?: ApiTokenCount;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @type {ApiTokenContractCount}
|
|
121
|
-
* @memberof ApiStatusResponse
|
|
122
|
-
*/
|
|
123
|
-
token_contracts?: ApiTokenContractCount;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {ApiJobCount}
|
|
127
|
-
* @memberof ApiStatusResponse
|
|
128
|
-
*/
|
|
129
|
-
job_queue?: ApiJobCount;
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
*
|
|
133
|
-
* @export
|
|
134
|
-
* @interface ApiTokenContractCount
|
|
135
|
-
*/
|
|
136
|
-
export interface ApiTokenContractCount {
|
|
137
|
-
/**
|
|
138
|
-
*
|
|
139
|
-
* @type {number}
|
|
140
|
-
* @memberof ApiTokenContractCount
|
|
141
|
-
*/
|
|
142
|
-
sip_009?: number;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* @type {number}
|
|
146
|
-
* @memberof ApiTokenContractCount
|
|
147
|
-
*/
|
|
148
|
-
sip_010?: number;
|
|
149
|
-
/**
|
|
150
|
-
*
|
|
151
|
-
* @type {number}
|
|
152
|
-
* @memberof ApiTokenContractCount
|
|
153
|
-
*/
|
|
154
|
-
sip_013?: number;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
*
|
|
158
|
-
* @export
|
|
159
|
-
* @interface ApiTokenCount
|
|
160
|
-
*/
|
|
161
|
-
export interface ApiTokenCount {
|
|
162
|
-
/**
|
|
163
|
-
*
|
|
164
|
-
* @type {number}
|
|
165
|
-
* @memberof ApiTokenCount
|
|
166
|
-
*/
|
|
167
|
-
ft?: number;
|
|
168
|
-
/**
|
|
169
|
-
*
|
|
170
|
-
* @type {number}
|
|
171
|
-
* @memberof ApiTokenCount
|
|
172
|
-
*/
|
|
173
|
-
nft?: number;
|
|
174
|
-
/**
|
|
175
|
-
*
|
|
176
|
-
* @type {number}
|
|
177
|
-
* @memberof ApiTokenCount
|
|
178
|
-
*/
|
|
179
|
-
sft?: number;
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
*
|
|
183
|
-
* @export
|
|
184
|
-
* @interface ErrorResponse
|
|
185
|
-
*/
|
|
186
|
-
export interface ErrorResponse {
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
*
|
|
190
|
-
* @export
|
|
191
|
-
* @interface FtBasicMetadataResponse
|
|
192
|
-
*/
|
|
193
|
-
export interface FtBasicMetadataResponse {
|
|
194
|
-
/**
|
|
195
|
-
*
|
|
196
|
-
* @type {string}
|
|
197
|
-
* @memberof FtBasicMetadataResponse
|
|
198
|
-
*/
|
|
199
|
-
name?: string;
|
|
200
|
-
/**
|
|
201
|
-
*
|
|
202
|
-
* @type {string}
|
|
203
|
-
* @memberof FtBasicMetadataResponse
|
|
204
|
-
*/
|
|
205
|
-
symbol?: string;
|
|
206
|
-
/**
|
|
207
|
-
*
|
|
208
|
-
* @type {number}
|
|
209
|
-
* @memberof FtBasicMetadataResponse
|
|
210
|
-
*/
|
|
211
|
-
decimals?: number;
|
|
212
|
-
/**
|
|
213
|
-
*
|
|
214
|
-
* @type {string}
|
|
215
|
-
* @memberof FtBasicMetadataResponse
|
|
216
|
-
*/
|
|
217
|
-
total_supply?: string;
|
|
218
|
-
/**
|
|
219
|
-
*
|
|
220
|
-
* @type {string}
|
|
221
|
-
* @memberof FtBasicMetadataResponse
|
|
222
|
-
*/
|
|
223
|
-
token_uri?: string;
|
|
224
|
-
/**
|
|
225
|
-
*
|
|
226
|
-
* @type {string}
|
|
227
|
-
* @memberof FtBasicMetadataResponse
|
|
228
|
-
*/
|
|
229
|
-
description?: string;
|
|
230
|
-
/**
|
|
231
|
-
*
|
|
232
|
-
* @type {string}
|
|
233
|
-
* @memberof FtBasicMetadataResponse
|
|
234
|
-
*/
|
|
235
|
-
image_uri?: string;
|
|
236
|
-
/**
|
|
237
|
-
*
|
|
238
|
-
* @type {string}
|
|
239
|
-
* @memberof FtBasicMetadataResponse
|
|
240
|
-
*/
|
|
241
|
-
image_thumbnail_uri?: string;
|
|
242
|
-
/**
|
|
243
|
-
*
|
|
244
|
-
* @type {string}
|
|
245
|
-
* @memberof FtBasicMetadataResponse
|
|
246
|
-
*/
|
|
247
|
-
image_canonical_uri?: string;
|
|
248
|
-
/**
|
|
249
|
-
*
|
|
250
|
-
* @type {string}
|
|
251
|
-
* @memberof FtBasicMetadataResponse
|
|
252
|
-
*/
|
|
253
|
-
tx_id: string;
|
|
254
|
-
/**
|
|
255
|
-
*
|
|
256
|
-
* @type {string}
|
|
257
|
-
* @memberof FtBasicMetadataResponse
|
|
258
|
-
*/
|
|
259
|
-
sender_address: string;
|
|
260
|
-
/**
|
|
261
|
-
*
|
|
262
|
-
* @type {string}
|
|
263
|
-
* @memberof FtBasicMetadataResponse
|
|
264
|
-
*/
|
|
265
|
-
contract_principal: string;
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
*
|
|
269
|
-
* @export
|
|
270
|
-
* @interface FtMetadataResponse
|
|
271
|
-
*/
|
|
272
|
-
export interface FtMetadataResponse {
|
|
273
|
-
/**
|
|
274
|
-
*
|
|
275
|
-
* @type {string}
|
|
276
|
-
* @memberof FtMetadataResponse
|
|
277
|
-
*/
|
|
278
|
-
name?: string;
|
|
279
|
-
/**
|
|
280
|
-
*
|
|
281
|
-
* @type {string}
|
|
282
|
-
* @memberof FtMetadataResponse
|
|
283
|
-
*/
|
|
284
|
-
symbol?: string;
|
|
285
|
-
/**
|
|
286
|
-
*
|
|
287
|
-
* @type {number}
|
|
288
|
-
* @memberof FtMetadataResponse
|
|
289
|
-
*/
|
|
290
|
-
decimals?: number;
|
|
291
|
-
/**
|
|
292
|
-
*
|
|
293
|
-
* @type {string}
|
|
294
|
-
* @memberof FtMetadataResponse
|
|
295
|
-
*/
|
|
296
|
-
total_supply?: string;
|
|
297
|
-
/**
|
|
298
|
-
*
|
|
299
|
-
* @type {string}
|
|
300
|
-
* @memberof FtMetadataResponse
|
|
301
|
-
*/
|
|
302
|
-
token_uri?: string;
|
|
303
|
-
/**
|
|
304
|
-
*
|
|
305
|
-
* @type {string}
|
|
306
|
-
* @memberof FtMetadataResponse
|
|
307
|
-
*/
|
|
308
|
-
description?: string;
|
|
309
|
-
/**
|
|
310
|
-
*
|
|
311
|
-
* @type {string}
|
|
312
|
-
* @memberof FtMetadataResponse
|
|
313
|
-
*/
|
|
314
|
-
image_uri?: string;
|
|
315
|
-
/**
|
|
316
|
-
*
|
|
317
|
-
* @type {string}
|
|
318
|
-
* @memberof FtMetadataResponse
|
|
319
|
-
*/
|
|
320
|
-
image_thumbnail_uri?: string;
|
|
321
|
-
/**
|
|
322
|
-
*
|
|
323
|
-
* @type {string}
|
|
324
|
-
* @memberof FtMetadataResponse
|
|
325
|
-
*/
|
|
326
|
-
image_canonical_uri?: string;
|
|
327
|
-
/**
|
|
328
|
-
*
|
|
329
|
-
* @type {string}
|
|
330
|
-
* @memberof FtMetadataResponse
|
|
331
|
-
*/
|
|
332
|
-
tx_id: string;
|
|
333
|
-
/**
|
|
334
|
-
*
|
|
335
|
-
* @type {string}
|
|
336
|
-
* @memberof FtMetadataResponse
|
|
337
|
-
*/
|
|
338
|
-
sender_address: string;
|
|
339
|
-
/**
|
|
340
|
-
*
|
|
341
|
-
* @type {Metadata}
|
|
342
|
-
* @memberof FtMetadataResponse
|
|
343
|
-
*/
|
|
344
|
-
metadata?: Metadata;
|
|
345
|
-
}
|
|
346
|
-
/**
|
|
347
|
-
*
|
|
348
|
-
* @export
|
|
349
|
-
* @interface Metadata
|
|
350
|
-
*/
|
|
351
|
-
export interface Metadata {
|
|
352
|
-
/**
|
|
353
|
-
*
|
|
354
|
-
* @type {number}
|
|
355
|
-
* @memberof Metadata
|
|
356
|
-
*/
|
|
357
|
-
sip: number;
|
|
358
|
-
/**
|
|
359
|
-
*
|
|
360
|
-
* @type {string}
|
|
361
|
-
* @memberof Metadata
|
|
362
|
-
*/
|
|
363
|
-
name?: string;
|
|
364
|
-
/**
|
|
365
|
-
*
|
|
366
|
-
* @type {string}
|
|
367
|
-
* @memberof Metadata
|
|
368
|
-
*/
|
|
369
|
-
description?: string;
|
|
370
|
-
/**
|
|
371
|
-
*
|
|
372
|
-
* @type {string}
|
|
373
|
-
* @memberof Metadata
|
|
374
|
-
*/
|
|
375
|
-
image?: string;
|
|
376
|
-
/**
|
|
377
|
-
*
|
|
378
|
-
* @type {string}
|
|
379
|
-
* @memberof Metadata
|
|
380
|
-
*/
|
|
381
|
-
cached_image?: string;
|
|
382
|
-
/**
|
|
383
|
-
*
|
|
384
|
-
* @type {string}
|
|
385
|
-
* @memberof Metadata
|
|
386
|
-
*/
|
|
387
|
-
cached_thumbnail_image?: string;
|
|
388
|
-
/**
|
|
389
|
-
*
|
|
390
|
-
* @type {Array<MetadataAttribute>}
|
|
391
|
-
* @memberof Metadata
|
|
392
|
-
*/
|
|
393
|
-
attributes?: Array<MetadataAttribute>;
|
|
394
|
-
/**
|
|
395
|
-
*
|
|
396
|
-
* @type {{ [key: string]: any; }}
|
|
397
|
-
* @memberof Metadata
|
|
398
|
-
*/
|
|
399
|
-
properties?: {
|
|
400
|
-
[key: string]: any;
|
|
401
|
-
};
|
|
402
|
-
/**
|
|
403
|
-
*
|
|
404
|
-
* @type {MetadataLocalization}
|
|
405
|
-
* @memberof Metadata
|
|
406
|
-
*/
|
|
407
|
-
localization?: MetadataLocalization;
|
|
408
|
-
}
|
|
409
|
-
/**
|
|
410
|
-
*
|
|
411
|
-
* @export
|
|
412
|
-
* @interface MetadataAttribute
|
|
413
|
-
*/
|
|
414
|
-
export interface MetadataAttribute {
|
|
415
|
-
/**
|
|
416
|
-
*
|
|
417
|
-
* @type {string}
|
|
418
|
-
* @memberof MetadataAttribute
|
|
419
|
-
*/
|
|
420
|
-
trait_type: string;
|
|
421
|
-
/**
|
|
422
|
-
*
|
|
423
|
-
* @type {string}
|
|
424
|
-
* @memberof MetadataAttribute
|
|
425
|
-
*/
|
|
426
|
-
display_type?: string;
|
|
427
|
-
/**
|
|
428
|
-
*
|
|
429
|
-
* @type {any}
|
|
430
|
-
* @memberof MetadataAttribute
|
|
431
|
-
*/
|
|
432
|
-
value: any;
|
|
433
|
-
}
|
|
434
|
-
/**
|
|
435
|
-
*
|
|
436
|
-
* @export
|
|
437
|
-
* @interface MetadataLocalization
|
|
438
|
-
*/
|
|
439
|
-
export interface MetadataLocalization {
|
|
440
|
-
/**
|
|
441
|
-
*
|
|
442
|
-
* @type {string}
|
|
443
|
-
* @memberof MetadataLocalization
|
|
444
|
-
*/
|
|
445
|
-
uri: string;
|
|
446
|
-
/**
|
|
447
|
-
*
|
|
448
|
-
* @type {string}
|
|
449
|
-
* @memberof MetadataLocalization
|
|
450
|
-
*/
|
|
451
|
-
_default: string;
|
|
452
|
-
/**
|
|
453
|
-
*
|
|
454
|
-
* @type {Array<string>}
|
|
455
|
-
* @memberof MetadataLocalization
|
|
456
|
-
*/
|
|
457
|
-
locales: Array<string>;
|
|
458
|
-
}
|
|
459
|
-
/**
|
|
460
|
-
*
|
|
461
|
-
* @export
|
|
462
|
-
* @interface NftMetadataResponse
|
|
463
|
-
*/
|
|
464
|
-
export interface NftMetadataResponse {
|
|
465
|
-
/**
|
|
466
|
-
*
|
|
467
|
-
* @type {string}
|
|
468
|
-
* @memberof NftMetadataResponse
|
|
469
|
-
*/
|
|
470
|
-
token_uri?: string;
|
|
471
|
-
/**
|
|
472
|
-
*
|
|
473
|
-
* @type {Metadata}
|
|
474
|
-
* @memberof NftMetadataResponse
|
|
475
|
-
*/
|
|
476
|
-
metadata?: Metadata;
|
|
477
|
-
}
|
|
478
|
-
/**
|
|
479
|
-
*
|
|
480
|
-
* @export
|
|
481
|
-
* @interface NotFoundErrorResponse
|
|
482
|
-
*/
|
|
483
|
-
export interface NotFoundErrorResponse {
|
|
484
|
-
}
|
|
485
|
-
/**
|
|
486
|
-
*
|
|
487
|
-
* @export
|
|
488
|
-
* @interface Order
|
|
489
|
-
*/
|
|
490
|
-
export declare enum Order {
|
|
491
|
-
asc = "asc",
|
|
492
|
-
desc = "desc"
|
|
493
|
-
}
|
|
494
|
-
/**
|
|
495
|
-
*
|
|
496
|
-
* @export
|
|
497
|
-
* @interface OrderBy
|
|
498
|
-
*/
|
|
499
|
-
export declare enum OrderBy {
|
|
500
|
-
name = "name",
|
|
501
|
-
symbol = "symbol"
|
|
502
|
-
}
|
|
503
|
-
/**
|
|
504
|
-
*
|
|
505
|
-
* @export
|
|
506
|
-
* @interface PaginatedFtBasicMetadataResponse
|
|
507
|
-
*/
|
|
508
|
-
export interface PaginatedFtBasicMetadataResponse {
|
|
509
|
-
/**
|
|
510
|
-
*
|
|
511
|
-
* @type {number}
|
|
512
|
-
* @memberof PaginatedFtBasicMetadataResponse
|
|
513
|
-
*/
|
|
514
|
-
limit: number;
|
|
515
|
-
/**
|
|
516
|
-
*
|
|
517
|
-
* @type {number}
|
|
518
|
-
* @memberof PaginatedFtBasicMetadataResponse
|
|
519
|
-
*/
|
|
520
|
-
offset: number;
|
|
521
|
-
/**
|
|
522
|
-
*
|
|
523
|
-
* @type {number}
|
|
524
|
-
* @memberof PaginatedFtBasicMetadataResponse
|
|
525
|
-
*/
|
|
526
|
-
total: number;
|
|
527
|
-
/**
|
|
528
|
-
*
|
|
529
|
-
* @type {Array<FtBasicMetadataResponse>}
|
|
530
|
-
* @memberof PaginatedFtBasicMetadataResponse
|
|
531
|
-
*/
|
|
532
|
-
results: Array<FtBasicMetadataResponse>;
|
|
533
|
-
}
|
|
534
|
-
/**
|
|
535
|
-
*
|
|
536
|
-
* @export
|
|
537
|
-
* @interface SftMetadataResponse
|
|
538
|
-
*/
|
|
539
|
-
export interface SftMetadataResponse {
|
|
540
|
-
/**
|
|
541
|
-
*
|
|
542
|
-
* @type {string}
|
|
543
|
-
* @memberof SftMetadataResponse
|
|
544
|
-
*/
|
|
545
|
-
token_uri?: string;
|
|
546
|
-
/**
|
|
547
|
-
*
|
|
548
|
-
* @type {number}
|
|
549
|
-
* @memberof SftMetadataResponse
|
|
550
|
-
*/
|
|
551
|
-
decimals?: number;
|
|
552
|
-
/**
|
|
553
|
-
*
|
|
554
|
-
* @type {string}
|
|
555
|
-
* @memberof SftMetadataResponse
|
|
556
|
-
*/
|
|
557
|
-
total_supply?: string;
|
|
558
|
-
/**
|
|
559
|
-
*
|
|
560
|
-
* @type {Metadata}
|
|
561
|
-
* @memberof SftMetadataResponse
|
|
562
|
-
*/
|
|
563
|
-
metadata?: Metadata;
|
|
564
|
-
}
|
|
565
|
-
/**
|
|
566
|
-
* StatusApi - fetch parameter creator
|
|
567
|
-
* @export
|
|
568
|
-
*/
|
|
569
|
-
export declare const StatusApiFetchParamCreator: (configuration?: Configuration) => {
|
|
570
|
-
/**
|
|
571
|
-
* Displays the status of the API and its current workload
|
|
572
|
-
* @summary API Status
|
|
573
|
-
* @param {*} [options] Override http request option.
|
|
574
|
-
* @throws {RequiredError}
|
|
575
|
-
*/
|
|
576
|
-
getApiStatus(options?: any): FetchArgs;
|
|
577
|
-
};
|
|
578
|
-
/**
|
|
579
|
-
* StatusApi - functional programming interface
|
|
580
|
-
* @export
|
|
581
|
-
*/
|
|
582
|
-
export declare const StatusApiFp: (configuration?: Configuration) => {
|
|
583
|
-
/**
|
|
584
|
-
* Displays the status of the API and its current workload
|
|
585
|
-
* @summary API Status
|
|
586
|
-
* @param {*} [options] Override http request option.
|
|
587
|
-
* @throws {RequiredError}
|
|
588
|
-
*/
|
|
589
|
-
getApiStatus(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ApiStatusResponse>;
|
|
590
|
-
};
|
|
591
|
-
/**
|
|
592
|
-
* StatusApi - factory interface
|
|
593
|
-
* @export
|
|
594
|
-
*/
|
|
595
|
-
export declare const StatusApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
|
|
596
|
-
/**
|
|
597
|
-
* Displays the status of the API and its current workload
|
|
598
|
-
* @summary API Status
|
|
599
|
-
* @param {*} [options] Override http request option.
|
|
600
|
-
* @throws {RequiredError}
|
|
601
|
-
*/
|
|
602
|
-
getApiStatus(options?: any): Promise<ApiStatusResponse>;
|
|
603
|
-
};
|
|
604
|
-
/**
|
|
605
|
-
* StatusApi - object-oriented interface
|
|
606
|
-
* @export
|
|
607
|
-
* @class StatusApi
|
|
608
|
-
* @extends {BaseAPI}
|
|
609
|
-
*/
|
|
610
|
-
export declare class StatusApi extends BaseAPI {
|
|
611
|
-
/**
|
|
612
|
-
* Displays the status of the API and its current workload
|
|
613
|
-
* @summary API Status
|
|
614
|
-
* @param {*} [options] Override http request option.
|
|
615
|
-
* @throws {RequiredError}
|
|
616
|
-
* @memberof StatusApi
|
|
617
|
-
*/
|
|
618
|
-
getApiStatus(options?: any): Promise<ApiStatusResponse>;
|
|
619
|
-
}
|
|
620
|
-
/**
|
|
621
|
-
* TokensApi - fetch parameter creator
|
|
622
|
-
* @export
|
|
623
|
-
*/
|
|
624
|
-
export declare const TokensApiFetchParamCreator: (configuration?: Configuration) => {
|
|
625
|
-
/**
|
|
626
|
-
* Retrieves metadata for a SIP-010 Fungible Token
|
|
627
|
-
* @summary Fungible Token Metadata
|
|
628
|
-
* @param {string} principal Principal for the contract which owns the SIP-010 token
|
|
629
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
630
|
-
* @param {*} [options] Override http request option.
|
|
631
|
-
* @throws {RequiredError}
|
|
632
|
-
*/
|
|
633
|
-
getFtMetadata(principal: string, locale?: string, options?: any): FetchArgs;
|
|
634
|
-
/**
|
|
635
|
-
* Retrieves a list of Fungible Tokens
|
|
636
|
-
* @summary Fungible Tokens
|
|
637
|
-
* @param {string} [name]
|
|
638
|
-
* @param {string} [symbol]
|
|
639
|
-
* @param {string} [address] Stacks Address
|
|
640
|
-
* @param {number} [offset] Result offset
|
|
641
|
-
* @param {number} [limit] Results per page
|
|
642
|
-
* @param {OrderBy} [order_by] Parameter to order results by
|
|
643
|
-
* @param {Order} [order] Results order
|
|
644
|
-
* @param {*} [options] Override http request option.
|
|
645
|
-
* @throws {RequiredError}
|
|
646
|
-
*/
|
|
647
|
-
getFungibleTokens(name?: string, symbol?: string, address?: string, offset?: number, limit?: number, order_by?: OrderBy, order?: Order, options?: any): FetchArgs;
|
|
648
|
-
/**
|
|
649
|
-
* Retrieves metadata for a SIP-009 Non-Fungible Token
|
|
650
|
-
* @summary Non-Fungible Token Metadata
|
|
651
|
-
* @param {string} principal SIP-009 compliant smart contract principal
|
|
652
|
-
* @param {number} token_id Token ID to retrieve
|
|
653
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
654
|
-
* @param {*} [options] Override http request option.
|
|
655
|
-
* @throws {RequiredError}
|
|
656
|
-
*/
|
|
657
|
-
getNftMetadata(principal: string, token_id: number, locale?: string, options?: any): FetchArgs;
|
|
658
|
-
/**
|
|
659
|
-
* Retrieves metadata for a SIP-013 Semi-Fungible Token
|
|
660
|
-
* @summary Semi-Fungible Token Metadata
|
|
661
|
-
* @param {string} principal SIP-013 compliant smart contract principal
|
|
662
|
-
* @param {number} token_id Token ID to retrieve
|
|
663
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
664
|
-
* @param {*} [options] Override http request option.
|
|
665
|
-
* @throws {RequiredError}
|
|
666
|
-
*/
|
|
667
|
-
getSftMetadata(principal: string, token_id: number, locale?: string, options?: any): FetchArgs;
|
|
668
|
-
};
|
|
669
|
-
/**
|
|
670
|
-
* TokensApi - functional programming interface
|
|
671
|
-
* @export
|
|
672
|
-
*/
|
|
673
|
-
export declare const TokensApiFp: (configuration?: Configuration) => {
|
|
674
|
-
/**
|
|
675
|
-
* Retrieves metadata for a SIP-010 Fungible Token
|
|
676
|
-
* @summary Fungible Token Metadata
|
|
677
|
-
* @param {string} principal Principal for the contract which owns the SIP-010 token
|
|
678
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
679
|
-
* @param {*} [options] Override http request option.
|
|
680
|
-
* @throws {RequiredError}
|
|
681
|
-
*/
|
|
682
|
-
getFtMetadata(principal: string, locale?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<FtMetadataResponse>;
|
|
683
|
-
/**
|
|
684
|
-
* Retrieves a list of Fungible Tokens
|
|
685
|
-
* @summary Fungible Tokens
|
|
686
|
-
* @param {string} [name]
|
|
687
|
-
* @param {string} [symbol]
|
|
688
|
-
* @param {string} [address] Stacks Address
|
|
689
|
-
* @param {number} [offset] Result offset
|
|
690
|
-
* @param {number} [limit] Results per page
|
|
691
|
-
* @param {OrderBy} [order_by] Parameter to order results by
|
|
692
|
-
* @param {Order} [order] Results order
|
|
693
|
-
* @param {*} [options] Override http request option.
|
|
694
|
-
* @throws {RequiredError}
|
|
695
|
-
*/
|
|
696
|
-
getFungibleTokens(name?: string, symbol?: string, address?: string, offset?: number, limit?: number, order_by?: OrderBy, order?: Order, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<PaginatedFtBasicMetadataResponse>;
|
|
697
|
-
/**
|
|
698
|
-
* Retrieves metadata for a SIP-009 Non-Fungible Token
|
|
699
|
-
* @summary Non-Fungible Token Metadata
|
|
700
|
-
* @param {string} principal SIP-009 compliant smart contract principal
|
|
701
|
-
* @param {number} token_id Token ID to retrieve
|
|
702
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
703
|
-
* @param {*} [options] Override http request option.
|
|
704
|
-
* @throws {RequiredError}
|
|
705
|
-
*/
|
|
706
|
-
getNftMetadata(principal: string, token_id: number, locale?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<NftMetadataResponse>;
|
|
707
|
-
/**
|
|
708
|
-
* Retrieves metadata for a SIP-013 Semi-Fungible Token
|
|
709
|
-
* @summary Semi-Fungible Token Metadata
|
|
710
|
-
* @param {string} principal SIP-013 compliant smart contract principal
|
|
711
|
-
* @param {number} token_id Token ID to retrieve
|
|
712
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
713
|
-
* @param {*} [options] Override http request option.
|
|
714
|
-
* @throws {RequiredError}
|
|
715
|
-
*/
|
|
716
|
-
getSftMetadata(principal: string, token_id: number, locale?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<SftMetadataResponse>;
|
|
717
|
-
};
|
|
718
|
-
/**
|
|
719
|
-
* TokensApi - factory interface
|
|
720
|
-
* @export
|
|
721
|
-
*/
|
|
722
|
-
export declare const TokensApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
|
|
723
|
-
/**
|
|
724
|
-
* Retrieves metadata for a SIP-010 Fungible Token
|
|
725
|
-
* @summary Fungible Token Metadata
|
|
726
|
-
* @param {string} principal Principal for the contract which owns the SIP-010 token
|
|
727
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
728
|
-
* @param {*} [options] Override http request option.
|
|
729
|
-
* @throws {RequiredError}
|
|
730
|
-
*/
|
|
731
|
-
getFtMetadata(principal: string, locale?: string, options?: any): Promise<FtMetadataResponse>;
|
|
732
|
-
/**
|
|
733
|
-
* Retrieves a list of Fungible Tokens
|
|
734
|
-
* @summary Fungible Tokens
|
|
735
|
-
* @param {string} [name]
|
|
736
|
-
* @param {string} [symbol]
|
|
737
|
-
* @param {string} [address] Stacks Address
|
|
738
|
-
* @param {number} [offset] Result offset
|
|
739
|
-
* @param {number} [limit] Results per page
|
|
740
|
-
* @param {OrderBy} [order_by] Parameter to order results by
|
|
741
|
-
* @param {Order} [order] Results order
|
|
742
|
-
* @param {*} [options] Override http request option.
|
|
743
|
-
* @throws {RequiredError}
|
|
744
|
-
*/
|
|
745
|
-
getFungibleTokens(name?: string, symbol?: string, address?: string, offset?: number, limit?: number, order_by?: OrderBy, order?: Order, options?: any): Promise<PaginatedFtBasicMetadataResponse>;
|
|
746
|
-
/**
|
|
747
|
-
* Retrieves metadata for a SIP-009 Non-Fungible Token
|
|
748
|
-
* @summary Non-Fungible Token Metadata
|
|
749
|
-
* @param {string} principal SIP-009 compliant smart contract principal
|
|
750
|
-
* @param {number} token_id Token ID to retrieve
|
|
751
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
752
|
-
* @param {*} [options] Override http request option.
|
|
753
|
-
* @throws {RequiredError}
|
|
754
|
-
*/
|
|
755
|
-
getNftMetadata(principal: string, token_id: number, locale?: string, options?: any): Promise<NftMetadataResponse>;
|
|
756
|
-
/**
|
|
757
|
-
* Retrieves metadata for a SIP-013 Semi-Fungible Token
|
|
758
|
-
* @summary Semi-Fungible Token Metadata
|
|
759
|
-
* @param {string} principal SIP-013 compliant smart contract principal
|
|
760
|
-
* @param {number} token_id Token ID to retrieve
|
|
761
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
762
|
-
* @param {*} [options] Override http request option.
|
|
763
|
-
* @throws {RequiredError}
|
|
764
|
-
*/
|
|
765
|
-
getSftMetadata(principal: string, token_id: number, locale?: string, options?: any): Promise<SftMetadataResponse>;
|
|
766
|
-
};
|
|
767
|
-
/**
|
|
768
|
-
* TokensApi - object-oriented interface
|
|
769
|
-
* @export
|
|
770
|
-
* @class TokensApi
|
|
771
|
-
* @extends {BaseAPI}
|
|
772
|
-
*/
|
|
773
|
-
export declare class TokensApi extends BaseAPI {
|
|
774
|
-
/**
|
|
775
|
-
* Retrieves metadata for a SIP-010 Fungible Token
|
|
776
|
-
* @summary Fungible Token Metadata
|
|
777
|
-
* @param {string} principal Principal for the contract which owns the SIP-010 token
|
|
778
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
779
|
-
* @param {*} [options] Override http request option.
|
|
780
|
-
* @throws {RequiredError}
|
|
781
|
-
* @memberof TokensApi
|
|
782
|
-
*/
|
|
783
|
-
getFtMetadata(principal: string, locale?: string, options?: any): Promise<FtMetadataResponse>;
|
|
784
|
-
/**
|
|
785
|
-
* Retrieves a list of Fungible Tokens
|
|
786
|
-
* @summary Fungible Tokens
|
|
787
|
-
* @param {string} [name]
|
|
788
|
-
* @param {string} [symbol]
|
|
789
|
-
* @param {string} [address] Stacks Address
|
|
790
|
-
* @param {number} [offset] Result offset
|
|
791
|
-
* @param {number} [limit] Results per page
|
|
792
|
-
* @param {OrderBy} [order_by] Parameter to order results by
|
|
793
|
-
* @param {Order} [order] Results order
|
|
794
|
-
* @param {*} [options] Override http request option.
|
|
795
|
-
* @throws {RequiredError}
|
|
796
|
-
* @memberof TokensApi
|
|
797
|
-
*/
|
|
798
|
-
getFungibleTokens(name?: string, symbol?: string, address?: string, offset?: number, limit?: number, order_by?: OrderBy, order?: Order, options?: any): Promise<PaginatedFtBasicMetadataResponse>;
|
|
799
|
-
/**
|
|
800
|
-
* Retrieves metadata for a SIP-009 Non-Fungible Token
|
|
801
|
-
* @summary Non-Fungible Token Metadata
|
|
802
|
-
* @param {string} principal SIP-009 compliant smart contract principal
|
|
803
|
-
* @param {number} token_id Token ID to retrieve
|
|
804
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
805
|
-
* @param {*} [options] Override http request option.
|
|
806
|
-
* @throws {RequiredError}
|
|
807
|
-
* @memberof TokensApi
|
|
808
|
-
*/
|
|
809
|
-
getNftMetadata(principal: string, token_id: number, locale?: string, options?: any): Promise<NftMetadataResponse>;
|
|
810
|
-
/**
|
|
811
|
-
* Retrieves metadata for a SIP-013 Semi-Fungible Token
|
|
812
|
-
* @summary Semi-Fungible Token Metadata
|
|
813
|
-
* @param {string} principal SIP-013 compliant smart contract principal
|
|
814
|
-
* @param {number} token_id Token ID to retrieve
|
|
815
|
-
* @param {string} [locale] Metadata localization to retrieve
|
|
816
|
-
* @param {*} [options] Override http request option.
|
|
817
|
-
* @throws {RequiredError}
|
|
818
|
-
* @memberof TokensApi
|
|
819
|
-
*/
|
|
820
|
-
getSftMetadata(principal: string, token_id: number, locale?: string, options?: any): Promise<SftMetadataResponse>;
|
|
821
|
-
}
|