@zoralabs/coins-sdk 0.0.2-sdkalpha.4 → 0.0.2-sdkalpha.5
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/CHANGELOG.md +6 -0
- package/README.md +157 -115
- package/dist/api/explore.d.ts +6 -6
- package/dist/api/explore.d.ts.map +1 -1
- package/dist/api/queries.d.ts +2 -2
- package/dist/api/queries.d.ts.map +1 -1
- package/dist/client/sdk.gen.d.ts +3 -3
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/types.gen.d.ts +12 -21
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/index.cjs +27 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -18
- package/dist/index.js.map +1 -1
- package/dist/utils/validateClientNetwork.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/explore.ts +6 -6
- package/src/api/queries.ts +6 -4
- package/src/client/sdk.gen.ts +6 -6
- package/src/client/types.gen.ts +5 -15
- package/src/index.ts +3 -0
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -18,16 +18,23 @@ All the SDK functions are accessible from the main export (for example: `import
|
|
|
18
18
|
- [updateCoinURI](#3-updatecoinuri-updates-the-uri-for-an-existing-coin)
|
|
19
19
|
|
|
20
20
|
### Queries
|
|
21
|
-
- [
|
|
22
|
-
- [
|
|
23
|
-
- [Cursor Pagination](#cursor-pagination)
|
|
21
|
+
- [On chain queries](#onchain-queries)
|
|
22
|
+
- [getOnchainCoinDetails](#1-getonchaincoindetails-gets-details-for-the-given-coin-from-the-blockchain)
|
|
24
23
|
- [API Queries](#3-api-queries)
|
|
25
|
-
- [
|
|
26
|
-
- [
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
- [API Key](#2-api-key)
|
|
25
|
+
- [Cursor Pagination](#cursor-pagination)
|
|
26
|
+
- Queries
|
|
27
|
+
- [getCoin](#getcoin-get-details-for-a-specific-coin)
|
|
28
|
+
- [getCoins](#getcoins-get-details-for-multiple-coins)
|
|
29
|
+
- [getCoinComments](#getcoincomments-get-comments-for-a-coin)
|
|
30
|
+
- [getProfile](#getprofile-get-profile-information)
|
|
31
|
+
- [getProfileOwned](#getprofileowned-get-coins-owned-by-a-profile)
|
|
32
|
+
- [getCoinsTopGainers](#getcoinstopgainers)
|
|
33
|
+
- [getCoinsTopVolume24h](#getcoinstopvolume24h)
|
|
34
|
+
- [getCoinsMostValuable](#getcoinsmostvaluable)
|
|
35
|
+
- [getCoinsNew](#getcoinsnew)
|
|
36
|
+
- [getCoinsLastTraded](#getcoinslasttraded)
|
|
37
|
+
- [getCoinsLastTradedUnique](#getcoinslasttradedunique)
|
|
31
38
|
|
|
32
39
|
## Onchain Actions
|
|
33
40
|
|
|
@@ -204,7 +211,7 @@ It is strongly recommended to use the other API queries to fetch this informatio
|
|
|
204
211
|
**Example:**
|
|
205
212
|
```typescript
|
|
206
213
|
// First page
|
|
207
|
-
const firstPage = await
|
|
214
|
+
const firstPage = await getCoinsTopGainers({
|
|
208
215
|
count: 10
|
|
209
216
|
});
|
|
210
217
|
|
|
@@ -213,7 +220,7 @@ It is strongly recommended to use the other API queries to fetch this informatio
|
|
|
213
220
|
|
|
214
221
|
// Fetch next page using the cursor
|
|
215
222
|
if (nextCursor) {
|
|
216
|
-
const nextPage = await
|
|
223
|
+
const nextPage = await getCoinsTopGainers({
|
|
217
224
|
count: 10,
|
|
218
225
|
after: nextCursor
|
|
219
226
|
});
|
|
@@ -228,7 +235,7 @@ It is strongly recommended to use the other API queries to fetch this informatio
|
|
|
228
235
|
let cursor: string | undefined;
|
|
229
236
|
|
|
230
237
|
while (hasNextPage) {
|
|
231
|
-
const response = await
|
|
238
|
+
const response = await getCoinsTopGainers({
|
|
232
239
|
count: 10,
|
|
233
240
|
after: cursor
|
|
234
241
|
});
|
|
@@ -251,6 +258,8 @@ It is strongly recommended to use the other API queries to fetch this informatio
|
|
|
251
258
|
- All explore queries
|
|
252
259
|
- `getCoinComments`
|
|
253
260
|
- `getProfileOwned`
|
|
261
|
+
|
|
262
|
+
## All API Queries
|
|
254
263
|
|
|
255
264
|
#### `getCoin`: Get details for a specific coin
|
|
256
265
|
**Parameters:**
|
|
@@ -437,106 +446,139 @@ It is strongly recommended to use the other API queries to fetch this informatio
|
|
|
437
446
|
}
|
|
438
447
|
```
|
|
439
448
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
449
|
+
#### `getCoinsTopGainers`: Get top gaining coins
|
|
450
|
+
**Parameters:**
|
|
451
|
+
- `count`: (Optional) Number of items to return, type: `number`
|
|
452
|
+
- `after`: (Optional) Pagination cursor, type: `string`
|
|
453
|
+
|
|
454
|
+
**Request Type:**
|
|
455
|
+
```typescript
|
|
456
|
+
type Options<T extends boolean = false> = {
|
|
457
|
+
query?: {
|
|
458
|
+
count?: number;
|
|
459
|
+
after?: string;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
**Return Type:**
|
|
465
|
+
```typescript
|
|
466
|
+
{
|
|
467
|
+
exploreList?: {
|
|
468
|
+
edges?: Array<{
|
|
469
|
+
node?: {
|
|
470
|
+
id?: string;
|
|
471
|
+
name?: string;
|
|
472
|
+
description?: string;
|
|
473
|
+
address?: string;
|
|
474
|
+
symbol?: string;
|
|
475
|
+
totalSupply?: string;
|
|
476
|
+
totalVolume?: string;
|
|
477
|
+
volume24h?: string;
|
|
478
|
+
createdAt?: string;
|
|
479
|
+
creatorAddress?: string;
|
|
480
|
+
creatorEarnings?: Array<{...}>;
|
|
481
|
+
marketCap?: string;
|
|
482
|
+
marketCapDelta24h?: string;
|
|
483
|
+
chainId?: number;
|
|
484
|
+
creatorProfile?: string;
|
|
485
|
+
handle?: string;
|
|
486
|
+
avatar?: {...};
|
|
487
|
+
media?: {...};
|
|
488
|
+
transfers?: { count?: number };
|
|
489
|
+
uniqueHolders?: number;
|
|
490
|
+
};
|
|
491
|
+
cursor?: string;
|
|
492
|
+
}>;
|
|
493
|
+
pageInfo?: {
|
|
494
|
+
endCursor?: string;
|
|
495
|
+
hasNextPage?: boolean;
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
}
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
#### `getCoinsTopVolume24h`: Get coins with highest 24h volume
|
|
502
|
+
**Parameters:**
|
|
503
|
+
- `count`: (Optional) Number of items to return, type: `number`
|
|
504
|
+
- `after`: (Optional) Pagination cursor, type: `string`
|
|
505
|
+
|
|
506
|
+
**Request Type:**
|
|
507
|
+
```typescript
|
|
508
|
+
type Options<T extends boolean = false> = {
|
|
509
|
+
query?: {
|
|
510
|
+
count?: number;
|
|
511
|
+
after?: string;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
```
|
|
515
|
+
|
|
516
|
+
**Return Type:** Same as `getCoinsTopGainers`
|
|
517
|
+
|
|
518
|
+
#### `getCoinsMostValuable`: Get most valuable coins
|
|
519
|
+
**Parameters:**
|
|
520
|
+
- `count`: (Optional) Number of items to return, type: `number`
|
|
521
|
+
- `after`: (Optional) Pagination cursor, type: `string`
|
|
522
|
+
|
|
523
|
+
**Request Type:**
|
|
524
|
+
```typescript
|
|
525
|
+
type Options<T extends boolean = false> = {
|
|
526
|
+
query?: {
|
|
527
|
+
count?: number;
|
|
528
|
+
after?: string;
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
**Return Type:** Same as `getCoinsTopGainers`
|
|
534
|
+
|
|
535
|
+
#### `getCoinsNew`: Get newly created coins
|
|
536
|
+
**Parameters:**
|
|
537
|
+
- `count`: (Optional) Number of items to return, type: `number`
|
|
538
|
+
- `after`: (Optional) Pagination cursor, type: `string`
|
|
539
|
+
|
|
540
|
+
**Request Type:**
|
|
541
|
+
```typescript
|
|
542
|
+
type Options<T extends boolean = false> = {
|
|
543
|
+
query?: {
|
|
544
|
+
count?: number;
|
|
545
|
+
after?: string;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
**Return Type:** Same as `getCoinsTopGainers`
|
|
551
|
+
|
|
552
|
+
#### `getCoinsLastTraded`: Get recently traded coins
|
|
553
|
+
**Parameters:**
|
|
554
|
+
- `count`: (Optional) Number of items to return, type: `number`
|
|
555
|
+
- `after`: (Optional) Pagination cursor, type: `string`
|
|
556
|
+
|
|
557
|
+
**Request Type:**
|
|
558
|
+
```typescript
|
|
559
|
+
type Options<T extends boolean = false> = {
|
|
560
|
+
query?: {
|
|
561
|
+
count?: number;
|
|
562
|
+
after?: string;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
**Return Type:** Same as `getCoinsTopGainers`
|
|
568
|
+
|
|
569
|
+
#### `getCoinsLastTradedUnique`: Get recently traded unique coins
|
|
570
|
+
**Parameters:**
|
|
571
|
+
- `count`: (Optional) Number of items to return, type: `number`
|
|
572
|
+
- `after`: (Optional) Pagination cursor, type: `string`
|
|
573
|
+
|
|
574
|
+
**Request Type:**
|
|
575
|
+
```typescript
|
|
576
|
+
type Options<T extends boolean = false> = {
|
|
577
|
+
query?: {
|
|
578
|
+
count?: number;
|
|
579
|
+
after?: string;
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
```
|
|
583
|
+
|
|
584
|
+
**Return Type:** Same as `getCoinsTopGainers`
|
package/dist/api/explore.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ type QueryInnerType = {
|
|
|
8
8
|
query: Omit<GetExploreData["query"], "listType">;
|
|
9
9
|
} & Omit<GetExploreData, "query">;
|
|
10
10
|
/** Get top gaining coins */
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const getCoinsTopGainers: <T extends boolean = false>(options?: Options<QueryInnerType, T>) => import("@hey-api/client-fetch").RequestResult<{
|
|
12
12
|
exploreList?: {
|
|
13
13
|
edges?: Array<{
|
|
14
14
|
node?: {
|
|
@@ -64,7 +64,7 @@ export declare const getExploreTopGainers: <T extends boolean = false>(options?:
|
|
|
64
64
|
};
|
|
65
65
|
}, unknown, T>;
|
|
66
66
|
/** Get coins with highest 24h volume */
|
|
67
|
-
export declare const
|
|
67
|
+
export declare const getCoinsTopVolume24h: <T extends boolean = false>(options?: Options<QueryInnerType, T>) => import("@hey-api/client-fetch").RequestResult<{
|
|
68
68
|
exploreList?: {
|
|
69
69
|
edges?: Array<{
|
|
70
70
|
node?: {
|
|
@@ -120,7 +120,7 @@ export declare const getExploreTopVolume24h: <T extends boolean = false>(options
|
|
|
120
120
|
};
|
|
121
121
|
}, unknown, T>;
|
|
122
122
|
/** Get most valuable coins */
|
|
123
|
-
export declare const
|
|
123
|
+
export declare const getCoinsMostValuable: <T extends boolean = false>(options?: Options<QueryInnerType, T>) => import("@hey-api/client-fetch").RequestResult<{
|
|
124
124
|
exploreList?: {
|
|
125
125
|
edges?: Array<{
|
|
126
126
|
node?: {
|
|
@@ -176,7 +176,7 @@ export declare const getExploreMostValuable: <T extends boolean = false>(options
|
|
|
176
176
|
};
|
|
177
177
|
}, unknown, T>;
|
|
178
178
|
/** Get newly created coins */
|
|
179
|
-
export declare const
|
|
179
|
+
export declare const getCoinsNew: <T extends boolean = false>(options?: Options<QueryInnerType, T>) => import("@hey-api/client-fetch").RequestResult<{
|
|
180
180
|
exploreList?: {
|
|
181
181
|
edges?: Array<{
|
|
182
182
|
node?: {
|
|
@@ -232,7 +232,7 @@ export declare const getExploreNew: <T extends boolean = false>(options?: Option
|
|
|
232
232
|
};
|
|
233
233
|
}, unknown, T>;
|
|
234
234
|
/** Get recently traded coins */
|
|
235
|
-
export declare const
|
|
235
|
+
export declare const getCoinsLastTraded: <T extends boolean = false>(options?: Options<QueryInnerType, T>) => import("@hey-api/client-fetch").RequestResult<{
|
|
236
236
|
exploreList?: {
|
|
237
237
|
edges?: Array<{
|
|
238
238
|
node?: {
|
|
@@ -288,7 +288,7 @@ export declare const getExploreLastTraded: <T extends boolean = false>(options?:
|
|
|
288
288
|
};
|
|
289
289
|
}, unknown, T>;
|
|
290
290
|
/** Get recently traded unique coins */
|
|
291
|
-
export declare const
|
|
291
|
+
export declare const getCoinsLastTradedUnique: <T extends boolean = false>(options?: Options<QueryInnerType, T>) => import("@hey-api/client-fetch").RequestResult<{
|
|
292
292
|
exploreList?: {
|
|
293
293
|
edges?: Array<{
|
|
294
294
|
node?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explore.d.ts","sourceRoot":"","sources":["../../src/api/explore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD;;;GAGG;AACH,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC;CAClD,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;AAelC,4BAA4B;AAC5B,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"explore.d.ts","sourceRoot":"","sources":["../../src/api/explore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD;;;GAGG;AACH,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC;CAClD,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;AAelC,4BAA4B;AAC5B,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,OAAO,oBACxC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;;aA2B82N,CAAC;gBAA8B,CAAC;kBAAuI,CAAC;oBAAkC,CAAC;2BAAyC,CAAC;uBAAqC,C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2BAAyC,CAAC;uBAAqC,CAAC;sBAAoC,CAAC;2BAAyC,CAAC;2BAAyC,CAAC;yBAAuC,CAAC;yBAAuC,CAAC;8BAA4C,CAAC;+BAA6C,CAAC;0BAAwC,CAAC;gCAAwC,CAAC;mCAA2C,CAAC;;iCAA8E,CAAC;qCAAmD,CAAC;;6BAAsE,CAAC;;yBAA+D,CAAC;iCAA+C,CAAC;uBAAqC,CAAC;8BAA4C,CAAC;sBAAoC,CAAC;sBAAoC,CAAC;gCAAwC,CAAC;4BAA0C,CAAC;yBAAuC,CAAC;;qBAA0D,CAAC;4BAAoC,CAAC;+BAA6C,CAAC;0BAAwC,CAAC;gCAA8C,CAAC;0BAAwC,CAAC;4BAA0C,CAAC;;yBAA8D,CAAC;yBAAiC,CAAC;;6BAAkE,CAAC;;kBAAmD,CAAC;;gBAA+H,CAAC;qBAA0I,CAAC;uBAAgJ,CAAC;;;cAD5hS,CAAC"}
|
package/dist/api/queries.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCoinCommentsData, GetCoinData,
|
|
1
|
+
import { GetCoinCommentsData, GetCoinData, GetProfileBalancesData, GetProfileData } from "src/client";
|
|
2
2
|
export declare const getCoin: (query: GetCoinData["query"]) => Promise<({
|
|
3
3
|
data: {
|
|
4
4
|
zora20Token?: {
|
|
@@ -244,7 +244,7 @@ export declare const getProfile: (query: GetProfileData["query"]) => Promise<({
|
|
|
244
244
|
request: Request;
|
|
245
245
|
response: Response;
|
|
246
246
|
}>;
|
|
247
|
-
export declare const
|
|
247
|
+
export declare const getProfileBalances: (query: GetProfileBalancesData["query"]) => Promise<({
|
|
248
248
|
data: undefined;
|
|
249
249
|
error: unknown;
|
|
250
250
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/api/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,
|
|
1
|
+
{"version":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CAAC;yCAAmD,CAAC;;;;;;;oBAAuQ,CAAC;2BAA0I,CAAC;yBAAiJ,CAAC;;;;;;;;EAD3if,CAAC"}
|
package/dist/client/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Options as ClientOptions, TDataShape, Client } from
|
|
2
|
-
import type { GetCoinData, GetCoinCommentsData, GetCoinsData, GetExploreData, GetProfileData,
|
|
1
|
+
import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch';
|
|
2
|
+
import type { GetCoinData, GetCoinCommentsData, GetCoinsData, GetExploreData, GetProfileData, GetProfileBalancesData } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -274,7 +274,7 @@ export declare const getProfile: <ThrowOnError extends boolean = false>(options:
|
|
|
274
274
|
}>;
|
|
275
275
|
};
|
|
276
276
|
}, unknown, ThrowOnError>;
|
|
277
|
-
export declare const
|
|
277
|
+
export declare const getProfileBalances: <ThrowOnError extends boolean = false>(options: Options<GetProfileBalancesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
278
278
|
profile?: string;
|
|
279
279
|
id?: string;
|
|
280
280
|
handle?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../../src/client/sdk.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../../src/client/sdk.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,IAAI,aAAa,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC1F,OAAO,KAAK,EAAE,WAAW,EAAmB,mBAAmB,EAA2B,YAAY,EAAoB,cAAc,E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export type GetCoinResponses = {
|
|
11
11
|
/**
|
|
@@ -105,7 +105,7 @@ export type GetCoinCommentsData = {
|
|
|
105
105
|
after?: string;
|
|
106
106
|
count?: number;
|
|
107
107
|
};
|
|
108
|
-
url:
|
|
108
|
+
url: '/coinComments';
|
|
109
109
|
};
|
|
110
110
|
export type GetCoinCommentsResponses = {
|
|
111
111
|
/**
|
|
@@ -182,7 +182,7 @@ export type GetCoinsData = {
|
|
|
182
182
|
collectionAddress?: string;
|
|
183
183
|
}>;
|
|
184
184
|
};
|
|
185
|
-
url:
|
|
185
|
+
url: '/coins';
|
|
186
186
|
};
|
|
187
187
|
export type GetCoinsResponses = {
|
|
188
188
|
/**
|
|
@@ -277,11 +277,11 @@ export type GetExploreData = {
|
|
|
277
277
|
body?: never;
|
|
278
278
|
path?: never;
|
|
279
279
|
query: {
|
|
280
|
-
listType:
|
|
280
|
+
listType: 'TOP_GAINERS' | 'TOP_VOLUME_24H' | 'MOST_VALUABLE' | 'NEW' | 'LAST_TRADED' | 'LAST_TRADED_UNIQUE';
|
|
281
281
|
count?: number;
|
|
282
282
|
after?: string;
|
|
283
283
|
};
|
|
284
|
-
url:
|
|
284
|
+
url: '/explore';
|
|
285
285
|
};
|
|
286
286
|
export type GetExploreResponses = {
|
|
287
287
|
/**
|
|
@@ -362,7 +362,7 @@ export type GetProfileData = {
|
|
|
362
362
|
query: {
|
|
363
363
|
identifier: string;
|
|
364
364
|
};
|
|
365
|
-
url:
|
|
365
|
+
url: '/profile';
|
|
366
366
|
};
|
|
367
367
|
export type GetProfileResponses = {
|
|
368
368
|
/**
|
|
@@ -390,7 +390,7 @@ export type GetProfileResponses = {
|
|
|
390
390
|
linkedWallets?: {
|
|
391
391
|
edges?: Array<{
|
|
392
392
|
node?: {
|
|
393
|
-
walletType?:
|
|
393
|
+
walletType?: 'PRIVY' | 'EXTERNAL' | 'SMART_WALLET';
|
|
394
394
|
walletAddress?: string;
|
|
395
395
|
};
|
|
396
396
|
}>;
|
|
@@ -398,27 +398,18 @@ export type GetProfileResponses = {
|
|
|
398
398
|
};
|
|
399
399
|
};
|
|
400
400
|
export type GetProfileResponse = GetProfileResponses[keyof GetProfileResponses];
|
|
401
|
-
export type
|
|
401
|
+
export type GetProfileBalancesData = {
|
|
402
402
|
body?: never;
|
|
403
403
|
path?: never;
|
|
404
404
|
query: {
|
|
405
|
-
/**
|
|
406
|
-
* The identifier of the profile to get. This can be a username, handle, or address.
|
|
407
|
-
*/
|
|
408
405
|
identifier: string;
|
|
409
|
-
/**
|
|
410
|
-
* The number of items to return.
|
|
411
|
-
*/
|
|
412
406
|
count?: number;
|
|
413
|
-
/**
|
|
414
|
-
* The cursor to continue.
|
|
415
|
-
*/
|
|
416
407
|
after?: string;
|
|
417
408
|
chainIds?: Array<number>;
|
|
418
409
|
};
|
|
419
|
-
url:
|
|
410
|
+
url: '/profileBalances';
|
|
420
411
|
};
|
|
421
|
-
export type
|
|
412
|
+
export type GetProfileBalancesResponses = {
|
|
422
413
|
/**
|
|
423
414
|
* response
|
|
424
415
|
*/
|
|
@@ -542,8 +533,8 @@ export type GetProfileOwnedResponses = {
|
|
|
542
533
|
};
|
|
543
534
|
};
|
|
544
535
|
};
|
|
545
|
-
export type
|
|
536
|
+
export type GetProfileBalancesResponse = GetProfileBalancesResponses[keyof GetProfileBalancesResponses];
|
|
546
537
|
export type ClientOptions = {
|
|
547
|
-
baseUrl:
|
|
538
|
+
baseUrl: 'https://api-sdk.zora.engineering/' | 'https://api-sdk-staging.zora.engineering/' | (string & {});
|
|
548
539
|
};
|
|
549
540
|
//# sourceMappingURL=types.gen.d.ts.map
|