@codex-data/sdk 0.6.0 → 0.6.1
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/dist/resources/graphql.d.ts +24 -1
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +12 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +166 -1
- package/dist/resources/graphql.ts +27 -1
- package/dist/resources/schema.graphql +32 -1
- package/dist/sdk/generated/gql.d.ts +7 -4
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +2 -2
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +118 -181
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +16 -4
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/graphql.schema.json +166 -1
- package/src/resources/graphql.ts +27 -1
- package/src/resources/schema.graphql +32 -1
- package/src/sdk/generated/gql.ts +4 -4
- package/src/sdk/generated/graphql.ts +72 -5
- package/src/sdk/graphql/GetPairEvents.graphql +1 -1
- package/src/sdk/graphql/OnBarsUpdated.graphql +38 -153
package/package.json
CHANGED
|
@@ -524,6 +524,18 @@
|
|
|
524
524
|
"isDeprecated": false,
|
|
525
525
|
"deprecationReason": null
|
|
526
526
|
},
|
|
527
|
+
{
|
|
528
|
+
"name": "firstHeldTimestamp",
|
|
529
|
+
"description": "The time that this address first held a token",
|
|
530
|
+
"args": [],
|
|
531
|
+
"type": {
|
|
532
|
+
"kind": "SCALAR",
|
|
533
|
+
"name": "Int",
|
|
534
|
+
"ofType": null
|
|
535
|
+
},
|
|
536
|
+
"isDeprecated": false,
|
|
537
|
+
"deprecationReason": null
|
|
538
|
+
},
|
|
527
539
|
{
|
|
528
540
|
"name": "shiftedBalance",
|
|
529
541
|
"description": "The balance held by the wallet, adjusted by the number of decimals in the token.",
|
|
@@ -2187,6 +2199,18 @@
|
|
|
2187
2199
|
"isDeprecated": false,
|
|
2188
2200
|
"deprecationReason": null
|
|
2189
2201
|
},
|
|
2202
|
+
{
|
|
2203
|
+
"name": "publishingType",
|
|
2204
|
+
"description": null,
|
|
2205
|
+
"type": {
|
|
2206
|
+
"kind": "ENUM",
|
|
2207
|
+
"name": "PublishingType",
|
|
2208
|
+
"ofType": null
|
|
2209
|
+
},
|
|
2210
|
+
"defaultValue": null,
|
|
2211
|
+
"isDeprecated": false,
|
|
2212
|
+
"deprecationReason": null
|
|
2213
|
+
},
|
|
2190
2214
|
{
|
|
2191
2215
|
"name": "retrySettings",
|
|
2192
2216
|
"description": null,
|
|
@@ -2361,6 +2385,18 @@
|
|
|
2361
2385
|
"isDeprecated": false,
|
|
2362
2386
|
"deprecationReason": null
|
|
2363
2387
|
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "publishingType",
|
|
2390
|
+
"description": null,
|
|
2391
|
+
"type": {
|
|
2392
|
+
"kind": "ENUM",
|
|
2393
|
+
"name": "PublishingType",
|
|
2394
|
+
"ofType": null
|
|
2395
|
+
},
|
|
2396
|
+
"defaultValue": null,
|
|
2397
|
+
"isDeprecated": false,
|
|
2398
|
+
"deprecationReason": null
|
|
2399
|
+
},
|
|
2364
2400
|
{
|
|
2365
2401
|
"name": "retrySettings",
|
|
2366
2402
|
"description": null,
|
|
@@ -2535,6 +2571,18 @@
|
|
|
2535
2571
|
"isDeprecated": false,
|
|
2536
2572
|
"deprecationReason": null
|
|
2537
2573
|
},
|
|
2574
|
+
{
|
|
2575
|
+
"name": "publishingType",
|
|
2576
|
+
"description": null,
|
|
2577
|
+
"type": {
|
|
2578
|
+
"kind": "ENUM",
|
|
2579
|
+
"name": "PublishingType",
|
|
2580
|
+
"ofType": null
|
|
2581
|
+
},
|
|
2582
|
+
"defaultValue": null,
|
|
2583
|
+
"isDeprecated": false,
|
|
2584
|
+
"deprecationReason": null
|
|
2585
|
+
},
|
|
2538
2586
|
{
|
|
2539
2587
|
"name": "retrySettings",
|
|
2540
2588
|
"description": null,
|
|
@@ -2709,6 +2757,18 @@
|
|
|
2709
2757
|
"isDeprecated": false,
|
|
2710
2758
|
"deprecationReason": null
|
|
2711
2759
|
},
|
|
2760
|
+
{
|
|
2761
|
+
"name": "publishingType",
|
|
2762
|
+
"description": null,
|
|
2763
|
+
"type": {
|
|
2764
|
+
"kind": "ENUM",
|
|
2765
|
+
"name": "PublishingType",
|
|
2766
|
+
"ofType": null
|
|
2767
|
+
},
|
|
2768
|
+
"defaultValue": null,
|
|
2769
|
+
"isDeprecated": false,
|
|
2770
|
+
"deprecationReason": null
|
|
2771
|
+
},
|
|
2712
2772
|
{
|
|
2713
2773
|
"name": "retrySettings",
|
|
2714
2774
|
"description": null,
|
|
@@ -7611,6 +7671,18 @@
|
|
|
7611
7671
|
"isDeprecated": false,
|
|
7612
7672
|
"deprecationReason": null
|
|
7613
7673
|
},
|
|
7674
|
+
{
|
|
7675
|
+
"name": "sort",
|
|
7676
|
+
"description": "The attribute to sort the list on",
|
|
7677
|
+
"type": {
|
|
7678
|
+
"kind": "INPUT_OBJECT",
|
|
7679
|
+
"name": "HoldersInputSort",
|
|
7680
|
+
"ofType": null
|
|
7681
|
+
},
|
|
7682
|
+
"defaultValue": null,
|
|
7683
|
+
"isDeprecated": false,
|
|
7684
|
+
"deprecationReason": null
|
|
7685
|
+
},
|
|
7614
7686
|
{
|
|
7615
7687
|
"name": "tokenId",
|
|
7616
7688
|
"description": "The ID of the token (`tokenAddress:networkId`).",
|
|
@@ -7632,6 +7704,41 @@
|
|
|
7632
7704
|
"enumValues": null,
|
|
7633
7705
|
"possibleTypes": null
|
|
7634
7706
|
},
|
|
7707
|
+
{
|
|
7708
|
+
"kind": "INPUT_OBJECT",
|
|
7709
|
+
"name": "HoldersInputSort",
|
|
7710
|
+
"description": null,
|
|
7711
|
+
"fields": null,
|
|
7712
|
+
"inputFields": [
|
|
7713
|
+
{
|
|
7714
|
+
"name": "attribute",
|
|
7715
|
+
"description": "The attribute to sort the list on",
|
|
7716
|
+
"type": {
|
|
7717
|
+
"kind": "ENUM",
|
|
7718
|
+
"name": "HoldersSortAttribute",
|
|
7719
|
+
"ofType": null
|
|
7720
|
+
},
|
|
7721
|
+
"defaultValue": null,
|
|
7722
|
+
"isDeprecated": false,
|
|
7723
|
+
"deprecationReason": null
|
|
7724
|
+
},
|
|
7725
|
+
{
|
|
7726
|
+
"name": "direction",
|
|
7727
|
+
"description": "The direction to apply to the ranking attribute.",
|
|
7728
|
+
"type": {
|
|
7729
|
+
"kind": "ENUM",
|
|
7730
|
+
"name": "RankingDirection",
|
|
7731
|
+
"ofType": null
|
|
7732
|
+
},
|
|
7733
|
+
"defaultValue": null,
|
|
7734
|
+
"isDeprecated": false,
|
|
7735
|
+
"deprecationReason": null
|
|
7736
|
+
}
|
|
7737
|
+
],
|
|
7738
|
+
"interfaces": null,
|
|
7739
|
+
"enumValues": null,
|
|
7740
|
+
"possibleTypes": null
|
|
7741
|
+
},
|
|
7635
7742
|
{
|
|
7636
7743
|
"kind": "OBJECT",
|
|
7637
7744
|
"name": "HoldersResponse",
|
|
@@ -7711,6 +7818,29 @@
|
|
|
7711
7818
|
"enumValues": null,
|
|
7712
7819
|
"possibleTypes": null
|
|
7713
7820
|
},
|
|
7821
|
+
{
|
|
7822
|
+
"kind": "ENUM",
|
|
7823
|
+
"name": "HoldersSortAttribute",
|
|
7824
|
+
"description": null,
|
|
7825
|
+
"fields": null,
|
|
7826
|
+
"inputFields": null,
|
|
7827
|
+
"interfaces": null,
|
|
7828
|
+
"enumValues": [
|
|
7829
|
+
{
|
|
7830
|
+
"name": "BALANCE",
|
|
7831
|
+
"description": null,
|
|
7832
|
+
"isDeprecated": false,
|
|
7833
|
+
"deprecationReason": null
|
|
7834
|
+
},
|
|
7835
|
+
{
|
|
7836
|
+
"name": "DATE",
|
|
7837
|
+
"description": null,
|
|
7838
|
+
"isDeprecated": false,
|
|
7839
|
+
"deprecationReason": null
|
|
7840
|
+
}
|
|
7841
|
+
],
|
|
7842
|
+
"possibleTypes": null
|
|
7843
|
+
},
|
|
7714
7844
|
{
|
|
7715
7845
|
"kind": "ENUM",
|
|
7716
7846
|
"name": "HoldersStatus",
|
|
@@ -33240,6 +33370,29 @@
|
|
|
33240
33370
|
"enumValues": null,
|
|
33241
33371
|
"possibleTypes": null
|
|
33242
33372
|
},
|
|
33373
|
+
{
|
|
33374
|
+
"kind": "ENUM",
|
|
33375
|
+
"name": "PublishingType",
|
|
33376
|
+
"description": null,
|
|
33377
|
+
"fields": null,
|
|
33378
|
+
"inputFields": null,
|
|
33379
|
+
"interfaces": null,
|
|
33380
|
+
"enumValues": [
|
|
33381
|
+
{
|
|
33382
|
+
"name": "BATCH",
|
|
33383
|
+
"description": null,
|
|
33384
|
+
"isDeprecated": false,
|
|
33385
|
+
"deprecationReason": null
|
|
33386
|
+
},
|
|
33387
|
+
{
|
|
33388
|
+
"name": "SINGLE",
|
|
33389
|
+
"description": null,
|
|
33390
|
+
"isDeprecated": false,
|
|
33391
|
+
"deprecationReason": null
|
|
33392
|
+
}
|
|
33393
|
+
],
|
|
33394
|
+
"possibleTypes": null
|
|
33395
|
+
},
|
|
33243
33396
|
{
|
|
33244
33397
|
"kind": "OBJECT",
|
|
33245
33398
|
"name": "Query",
|
|
@@ -43300,7 +43453,7 @@
|
|
|
43300
43453
|
},
|
|
43301
43454
|
{
|
|
43302
43455
|
"name": "marketCap",
|
|
43303
|
-
"description": "The market cap
|
|
43456
|
+
"description": "The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`.",
|
|
43304
43457
|
"args": [],
|
|
43305
43458
|
"type": {
|
|
43306
43459
|
"kind": "SCALAR",
|
|
@@ -46930,6 +47083,18 @@
|
|
|
46930
47083
|
"isDeprecated": false,
|
|
46931
47084
|
"deprecationReason": null
|
|
46932
47085
|
},
|
|
47086
|
+
{
|
|
47087
|
+
"name": "publishingType",
|
|
47088
|
+
"description": null,
|
|
47089
|
+
"args": [],
|
|
47090
|
+
"type": {
|
|
47091
|
+
"kind": "ENUM",
|
|
47092
|
+
"name": "PublishingType",
|
|
47093
|
+
"ofType": null
|
|
47094
|
+
},
|
|
47095
|
+
"isDeprecated": false,
|
|
47096
|
+
"deprecationReason": null
|
|
47097
|
+
},
|
|
46933
47098
|
{
|
|
46934
47099
|
"name": "retrySettings",
|
|
46935
47100
|
"description": null,
|
package/src/resources/graphql.ts
CHANGED
|
@@ -92,6 +92,8 @@ export type Balance = {
|
|
|
92
92
|
__typename?: 'Balance';
|
|
93
93
|
/** The balance held by the wallet. */
|
|
94
94
|
balance: Scalars['String']['output'];
|
|
95
|
+
/** The time that this address first held a token */
|
|
96
|
+
firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
95
97
|
/** The balance held by the wallet, adjusted by the number of decimals in the token. */
|
|
96
98
|
shiftedBalance: Scalars['Float']['output'];
|
|
97
99
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
@@ -359,6 +361,7 @@ export type CreateNftEventWebhookArgs = {
|
|
|
359
361
|
conditions: NftEventWebhookConditionInput;
|
|
360
362
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
361
363
|
name: Scalars['String']['input'];
|
|
364
|
+
publishingType?: InputMaybe<PublishingType>;
|
|
362
365
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
363
366
|
securityToken: Scalars['String']['input'];
|
|
364
367
|
};
|
|
@@ -375,6 +378,7 @@ export type CreatePriceWebhookArgs = {
|
|
|
375
378
|
conditions: PriceEventWebhookConditionInput;
|
|
376
379
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
377
380
|
name: Scalars['String']['input'];
|
|
381
|
+
publishingType?: InputMaybe<PublishingType>;
|
|
378
382
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
379
383
|
securityToken: Scalars['String']['input'];
|
|
380
384
|
};
|
|
@@ -391,6 +395,7 @@ export type CreateRawTransactionWebhookArgs = {
|
|
|
391
395
|
conditions: RawTransactionWebhookConditionInput;
|
|
392
396
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
393
397
|
name: Scalars['String']['input'];
|
|
398
|
+
publishingType?: InputMaybe<PublishingType>;
|
|
394
399
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
395
400
|
securityToken: Scalars['String']['input'];
|
|
396
401
|
};
|
|
@@ -407,6 +412,7 @@ export type CreateTokenPairEventWebhookArgs = {
|
|
|
407
412
|
conditions: TokenPairEventWebhookConditionInput;
|
|
408
413
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
409
414
|
name: Scalars['String']['input'];
|
|
415
|
+
publishingType?: InputMaybe<PublishingType>;
|
|
410
416
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
411
417
|
securityToken: Scalars['String']['input'];
|
|
412
418
|
};
|
|
@@ -1260,10 +1266,19 @@ export enum GraphQlNftPoolVariant {
|
|
|
1260
1266
|
export type HoldersInput = {
|
|
1261
1267
|
/** A cursor for use in pagination. */
|
|
1262
1268
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
1269
|
+
/** The attribute to sort the list on */
|
|
1270
|
+
sort?: InputMaybe<HoldersInputSort>;
|
|
1263
1271
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
1264
1272
|
tokenId: Scalars['String']['input'];
|
|
1265
1273
|
};
|
|
1266
1274
|
|
|
1275
|
+
export type HoldersInputSort = {
|
|
1276
|
+
/** The attribute to sort the list on */
|
|
1277
|
+
attribute?: InputMaybe<HoldersSortAttribute>;
|
|
1278
|
+
/** The direction to apply to the ranking attribute. */
|
|
1279
|
+
direction?: InputMaybe<RankingDirection>;
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1267
1282
|
export type HoldersResponse = {
|
|
1268
1283
|
__typename?: 'HoldersResponse';
|
|
1269
1284
|
/** the unique count of holders for the token. */
|
|
@@ -1276,6 +1291,11 @@ export type HoldersResponse = {
|
|
|
1276
1291
|
status: HoldersStatus;
|
|
1277
1292
|
};
|
|
1278
1293
|
|
|
1294
|
+
export enum HoldersSortAttribute {
|
|
1295
|
+
Balance = 'BALANCE',
|
|
1296
|
+
Date = 'DATE'
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1279
1299
|
export enum HoldersStatus {
|
|
1280
1300
|
Disabled = 'DISABLED',
|
|
1281
1301
|
Enabled = 'ENABLED'
|
|
@@ -5566,6 +5586,11 @@ export type PrimePoolWithdrawData = {
|
|
|
5566
5586
|
userPrimeRewardDebt: Scalars['String']['output'];
|
|
5567
5587
|
};
|
|
5568
5588
|
|
|
5589
|
+
export enum PublishingType {
|
|
5590
|
+
Batch = 'BATCH',
|
|
5591
|
+
Single = 'SINGLE'
|
|
5592
|
+
}
|
|
5593
|
+
|
|
5569
5594
|
export type Query = {
|
|
5570
5595
|
__typename?: 'Query';
|
|
5571
5596
|
/** Get the active short-lived api token for this api key by the short-lived token */
|
|
@@ -7038,7 +7063,7 @@ export type TokenFilterResult = {
|
|
|
7038
7063
|
low12?: Maybe<Scalars['String']['output']>;
|
|
7039
7064
|
/** The lowest price in USD in the past 24 hours. */
|
|
7040
7065
|
low24?: Maybe<Scalars['String']['output']>;
|
|
7041
|
-
/** The market cap
|
|
7066
|
+
/** The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`. */
|
|
7042
7067
|
marketCap?: Maybe<Scalars['String']['output']>;
|
|
7043
7068
|
/** Metadata for the token's top pair. */
|
|
7044
7069
|
pair?: Maybe<Pair>;
|
|
@@ -7629,6 +7654,7 @@ export type Webhook = {
|
|
|
7629
7654
|
groupId?: Maybe<Scalars['String']['output']>;
|
|
7630
7655
|
id: Scalars['String']['output'];
|
|
7631
7656
|
name: Scalars['String']['output'];
|
|
7657
|
+
publishingType?: Maybe<PublishingType>;
|
|
7632
7658
|
retrySettings?: Maybe<RetrySettings>;
|
|
7633
7659
|
status: Scalars['String']['output'];
|
|
7634
7660
|
webhookType: WebhookType;
|
|
@@ -109,6 +109,9 @@ type Balance {
|
|
|
109
109
|
The balance held by the wallet, adjusted by the number of decimals in the token.
|
|
110
110
|
"""
|
|
111
111
|
shiftedBalance: Float!
|
|
112
|
+
|
|
113
|
+
"""The time that this address first held a token"""
|
|
114
|
+
firstHeldTimestamp: Int
|
|
112
115
|
}
|
|
113
116
|
|
|
114
117
|
input BalancesInput {
|
|
@@ -432,6 +435,7 @@ input CreateNftEventWebhookArgs {
|
|
|
432
435
|
retrySettings: RetrySettingsInput
|
|
433
436
|
bucketId: String
|
|
434
437
|
bucketSortkey: String
|
|
438
|
+
publishingType: PublishingType
|
|
435
439
|
}
|
|
436
440
|
|
|
437
441
|
input CreateNftEventWebhooksInput {
|
|
@@ -448,6 +452,7 @@ input CreatePriceWebhookArgs {
|
|
|
448
452
|
retrySettings: RetrySettingsInput
|
|
449
453
|
bucketId: String
|
|
450
454
|
bucketSortkey: String
|
|
455
|
+
publishingType: PublishingType
|
|
451
456
|
}
|
|
452
457
|
|
|
453
458
|
input CreatePriceWebhooksInput {
|
|
@@ -464,6 +469,7 @@ input CreateRawTransactionWebhookArgs {
|
|
|
464
469
|
retrySettings: RetrySettingsInput
|
|
465
470
|
bucketId: String
|
|
466
471
|
bucketSortkey: String
|
|
472
|
+
publishingType: PublishingType
|
|
467
473
|
}
|
|
468
474
|
|
|
469
475
|
input CreateRawTransactionWebhooksInput {
|
|
@@ -480,6 +486,7 @@ input CreateTokenPairEventWebhookArgs {
|
|
|
480
486
|
retrySettings: RetrySettingsInput
|
|
481
487
|
bucketId: String
|
|
482
488
|
bucketSortkey: String
|
|
489
|
+
publishingType: PublishingType
|
|
483
490
|
}
|
|
484
491
|
|
|
485
492
|
input CreateTokenPairEventWebhooksInput {
|
|
@@ -1520,6 +1527,17 @@ input HoldersInput {
|
|
|
1520
1527
|
|
|
1521
1528
|
"""A cursor for use in pagination."""
|
|
1522
1529
|
cursor: String
|
|
1530
|
+
|
|
1531
|
+
"""The attribute to sort the list on"""
|
|
1532
|
+
sort: HoldersInputSort
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
input HoldersInputSort {
|
|
1536
|
+
"""The attribute to sort the list on"""
|
|
1537
|
+
attribute: HoldersSortAttribute
|
|
1538
|
+
|
|
1539
|
+
"""The direction to apply to the ranking attribute."""
|
|
1540
|
+
direction: RankingDirection
|
|
1523
1541
|
}
|
|
1524
1542
|
|
|
1525
1543
|
type HoldersResponse {
|
|
@@ -1538,6 +1556,11 @@ type HoldersResponse {
|
|
|
1538
1556
|
status: HoldersStatus!
|
|
1539
1557
|
}
|
|
1540
1558
|
|
|
1559
|
+
enum HoldersSortAttribute {
|
|
1560
|
+
BALANCE
|
|
1561
|
+
DATE
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1541
1564
|
enum HoldersStatus {
|
|
1542
1565
|
ENABLED
|
|
1543
1566
|
DISABLED
|
|
@@ -7283,6 +7306,11 @@ type PrimePoolWithdrawData {
|
|
|
7283
7306
|
userCachedAmount: String!
|
|
7284
7307
|
}
|
|
7285
7308
|
|
|
7309
|
+
enum PublishingType {
|
|
7310
|
+
BATCH
|
|
7311
|
+
SINGLE
|
|
7312
|
+
}
|
|
7313
|
+
|
|
7286
7314
|
type Query {
|
|
7287
7315
|
"""Get all active short-lived api tokens for this api key"""
|
|
7288
7316
|
apiTokens: [ApiToken!]!
|
|
@@ -9296,7 +9324,9 @@ type TokenFilterResult {
|
|
|
9296
9324
|
"""The lowest price in USD in the past 4 hours."""
|
|
9297
9325
|
low4: String
|
|
9298
9326
|
|
|
9299
|
-
"""
|
|
9327
|
+
"""
|
|
9328
|
+
The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`.
|
|
9329
|
+
"""
|
|
9300
9330
|
marketCap: String
|
|
9301
9331
|
|
|
9302
9332
|
"""Metadata for the token's top pair."""
|
|
@@ -10057,6 +10087,7 @@ type Webhook {
|
|
|
10057
10087
|
retrySettings: RetrySettings
|
|
10058
10088
|
bucketId: String
|
|
10059
10089
|
bucketSortkey: String
|
|
10090
|
+
publishingType: PublishingType
|
|
10060
10091
|
}
|
|
10061
10092
|
|
|
10062
10093
|
union WebhookCondition = PriceEventWebhookCondition | TokenPairEventWebhookCondition | NftEventWebhookCondition | RawTransactionWebhookCondition
|
package/src/sdk/generated/gql.ts
CHANGED
|
@@ -22,7 +22,7 @@ const documents = {
|
|
|
22
22
|
"query GetDetailedPairStats($pairAddress: String!, $networkId: Int!, $tokenOfInterest: TokenOfInterest, $timestamp: Int, $durations: [DetailedPairStatsDuration], $bucketCount: Int) {\n getDetailedPairStats(\n pairAddress: $pairAddress\n networkId: $networkId\n tokenOfInterest: $tokenOfInterest\n timestamp: $timestamp\n durations: $durations\n bucketCount: $bucketCount\n ) {\n pairAddress\n networkId\n tokenOfInterest\n lastTransaction\n pair {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n token0\n token1\n createdAt\n token0Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n totalSupply\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n token1Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n totalSupply\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n pooled {\n token0\n token1\n }\n }\n stats_day1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_day30 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour12 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour4 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_min15 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_min5 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_week1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n }\n}": types.GetDetailedPairStatsDocument,
|
|
23
23
|
"query GetNetworkStatus($networkIds: [Int!]!) {\n getNetworkStatus(networkIds: $networkIds) {\n networkName\n lastProcessedBlock\n lastProcessedTimestamp\n }\n}": types.GetNetworkStatusDocument,
|
|
24
24
|
"query GetNetworks {\n getNetworks {\n id\n name\n }\n}": types.GetNetworksDocument,
|
|
25
|
-
"query PairEvents($query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}": types.PairEventsDocument,
|
|
25
|
+
"query PairEvents($cursor: String, $limit: Int, $direction: RankingDirection, $query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}": types.PairEventsDocument,
|
|
26
26
|
"query GetTokenPrice($inputs: [GetPriceInput]) {\n getTokenPrices(inputs: $inputs) {\n address\n networkId\n priceUsd\n }\n}": types.GetTokenPriceDocument,
|
|
27
27
|
"query GetSparklines($input: TokenSparklineInput!) {\n tokenSparklines(input: $input) {\n attribute\n id\n sparkline {\n timestamp\n value\n }\n }\n}": types.GetSparklinesDocument,
|
|
28
28
|
"query GetSymbol($symbol: String!, $currencyCode: String) {\n getSymbol(symbol: $symbol, currencyCode: $currencyCode) {\n name\n description\n currency_code\n supported_resolutions\n pricescale\n ticker\n original_currency_code\n }\n}": types.GetSymbolDocument,
|
|
@@ -30,7 +30,7 @@ const documents = {
|
|
|
30
30
|
"query GetWebhooks($cursor: String, $webhookId: String, $bucketId: String, $bucketSortkey: String, $limit: Int) {\n getWebhooks(\n cursor: $cursor\n webhookId: $webhookId\n bucketId: $bucketId\n bucketSortkey: $bucketSortkey\n limit: $limit\n ) {\n cursor\n items {\n alertRecurrence\n bucketId\n bucketSortkey\n callbackUrl\n conditions {\n ... on PriceEventWebhookCondition {\n tokenAddressPriceEvent: tokenAddress {\n eq\n }\n networkIdPriceEvent: networkId {\n eq\n }\n priceUsd {\n gt\n gte\n lt\n lte\n eq\n }\n }\n ... on TokenPairEventWebhookCondition {\n tokenAddress {\n eq\n }\n networkId {\n oneOf\n }\n swapValue {\n gt\n gte\n lt\n lte\n eq\n }\n maker {\n eq\n }\n pairAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n eventType {\n oneOf\n }\n }\n ... on NftEventWebhookCondition {\n networkId {\n oneOf\n }\n maker {\n eq\n }\n contractAddress {\n eq\n }\n exchangeAddress {\n eq\n }\n tokenId {\n eq\n }\n tokenAddress {\n eq\n }\n individualBaseTokenPrice {\n gt\n gte\n lt\n lte\n eq\n }\n eventType {\n eq\n }\n fillSource {\n oneOf\n }\n }\n ... on RawTransactionWebhookCondition {\n networkId {\n oneOf\n }\n to {\n eq\n }\n from {\n eq\n }\n toOrFrom {\n eq\n }\n input {\n contains\n notContains\n }\n ignoreTokenPairEvents\n ignoreNftEvents\n }\n }\n }\n }\n}": types.GetWebhooksDocument,
|
|
31
31
|
"query ListPairsForToken($networkId: Int!, $tokenAddress: String!, $limit: Int) {\n listPairsForToken(\n networkId: $networkId\n tokenAddress: $tokenAddress\n limit: $limit\n ) {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n pooled {\n token0\n token1\n }\n token0\n token1\n createdAt\n token0Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n }\n token1Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n }\n }\n}": types.ListPairsForTokenDocument,
|
|
32
32
|
"query ListTopTokens($limit: Int, $networkFilter: [Int!], $resolution: String) {\n listTopTokens(\n limit: $limit\n networkFilter: $networkFilter\n resolution: $resolution\n ) {\n address\n decimals\n exchanges {\n address\n id\n name\n iconUrl\n networkId\n tradeUrl\n }\n id\n liquidity\n name\n networkId\n price\n priceChange\n isScam\n priceChange1\n priceChange4\n priceChange12\n priceChange24\n quoteToken\n marketCap\n txnCount1\n txnCount12\n txnCount24\n txnCount4\n uniqueBuys1\n uniqueBuys12\n uniqueBuys24\n uniqueBuys4\n uniqueSells1\n uniqueSells12\n uniqueSells24\n uniqueSells4\n resolution\n symbol\n topPairId\n volume\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n createdAt\n lastTransaction\n }\n}": types.ListTopTokensDocument,
|
|
33
|
-
"subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {\n onBarsUpdated(pairId: $pairId, quoteToken: $quoteToken) {\n eventSortKey\n networkId\n pairAddress\n pairId\n timestamp\n quoteToken\n aggregates {\n r1 {\n
|
|
33
|
+
"subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {\n onBarsUpdated(pairId: $pairId, quoteToken: $quoteToken) {\n eventSortKey\n networkId\n pairAddress\n pairId\n timestamp\n quoteToken\n aggregates {\n r1 {\n ...currencyFields\n }\n r5 {\n ...currencyFields\n }\n r15 {\n ...currencyFields\n }\n r30 {\n ...currencyFields\n }\n r60 {\n ...currencyFields\n }\n r240 {\n ...currencyFields\n }\n r720 {\n ...currencyFields\n }\n r1D {\n ...currencyFields\n }\n r7D {\n ...currencyFields\n }\n }\n }\n}\n\nfragment barDataFields on IndividualBarData {\n buyers\n buys\n buyVolume\n c\n h\n l\n liquidity\n o\n sellers\n sells\n sellVolume\n t\n traders\n transactions\n volume\n volumeNativeToken\n}\n\nfragment currencyFields on CurrencyBarData {\n t\n token {\n ...barDataFields\n }\n usd {\n ...barDataFields\n }\n}": types.OnBarsUpdatedDocument,
|
|
34
34
|
"subscription OnDetailedStatsUpdated($pairId: String, $tokenOfInterest: TokenOfInterest, $statsType: TokenPairStatisticsType) {\n onDetailedStatsUpdated(\n pairId: $pairId\n tokenOfInterest: $tokenOfInterest\n statsType: $statsType\n ) {\n pairId\n tokenOfInterest\n statsType\n stats_min5 {\n windowSize\n timestamp\n endTimestamp\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n buckets {\n start\n end\n }\n }\n stats_hour1 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_hour4 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_hour12 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n stats_day1 {\n windowSize\n timestamp\n endTimestamp\n buckets {\n start\n end\n }\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n}": types.OnDetailedStatsUpdatedDocument,
|
|
35
35
|
"subscription OnEventsCreated($id: String) {\n onEventsCreated(id: $id) {\n events {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n logIndex\n id\n liquidityToken\n maker\n networkId\n timestamp\n token0SwapValueUsd\n token0ValueBase\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n data {\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n tickLower\n tickUpper\n type\n }\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n tickLower\n tickUpper\n type\n }\n ... on SwapEventData {\n amount0\n amount0In\n amount0Out\n amount1\n amount1In\n amount1Out\n amountNonLiquidityToken\n priceBaseToken\n priceBaseTokenTotal\n priceUsd\n priceUsdTotal\n tick\n type\n }\n }\n }\n address\n id\n networkId\n }\n}": types.OnEventsCreatedDocument,
|
|
36
36
|
"subscription OnNftAssetsCreated($address: String, $networkId: Int, $tokenId: String) {\n onNftAssetsCreated(address: $address, networkId: $networkId, tokenId: $tokenId) {\n id\n address\n tokenId\n networkId\n media {\n image\n thumbSm\n thumbLg\n processed\n }\n name\n description\n originalImage\n uri\n attributes {\n class\n css\n displayType\n maxValue\n name\n value\n valueType\n }\n quantity\n }\n}": types.OnNftAssetsCreatedDocument,
|
|
@@ -92,7 +92,7 @@ export function graphql(source: "query GetNetworks {\n getNetworks {\n id\n
|
|
|
92
92
|
/**
|
|
93
93
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
94
94
|
*/
|
|
95
|
-
export function graphql(source: "query PairEvents($query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}"): (typeof documents)["query PairEvents($query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}"];
|
|
95
|
+
export function graphql(source: "query PairEvents($cursor: String, $limit: Int, $direction: RankingDirection, $query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}"): (typeof documents)["query PairEvents($cursor: String, $limit: Int, $direction: RankingDirection, $query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}"];
|
|
96
96
|
/**
|
|
97
97
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
98
98
|
*/
|
|
@@ -124,7 +124,7 @@ export function graphql(source: "query ListTopTokens($limit: Int, $networkFilter
|
|
|
124
124
|
/**
|
|
125
125
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
126
126
|
*/
|
|
127
|
-
export function graphql(source: "subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {\n onBarsUpdated(pairId: $pairId, quoteToken: $quoteToken) {\n eventSortKey\n networkId\n pairAddress\n pairId\n timestamp\n quoteToken\n aggregates {\n r1 {\n
|
|
127
|
+
export function graphql(source: "subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {\n onBarsUpdated(pairId: $pairId, quoteToken: $quoteToken) {\n eventSortKey\n networkId\n pairAddress\n pairId\n timestamp\n quoteToken\n aggregates {\n r1 {\n ...currencyFields\n }\n r5 {\n ...currencyFields\n }\n r15 {\n ...currencyFields\n }\n r30 {\n ...currencyFields\n }\n r60 {\n ...currencyFields\n }\n r240 {\n ...currencyFields\n }\n r720 {\n ...currencyFields\n }\n r1D {\n ...currencyFields\n }\n r7D {\n ...currencyFields\n }\n }\n }\n}\n\nfragment barDataFields on IndividualBarData {\n buyers\n buys\n buyVolume\n c\n h\n l\n liquidity\n o\n sellers\n sells\n sellVolume\n t\n traders\n transactions\n volume\n volumeNativeToken\n}\n\nfragment currencyFields on CurrencyBarData {\n t\n token {\n ...barDataFields\n }\n usd {\n ...barDataFields\n }\n}"): (typeof documents)["subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {\n onBarsUpdated(pairId: $pairId, quoteToken: $quoteToken) {\n eventSortKey\n networkId\n pairAddress\n pairId\n timestamp\n quoteToken\n aggregates {\n r1 {\n ...currencyFields\n }\n r5 {\n ...currencyFields\n }\n r15 {\n ...currencyFields\n }\n r30 {\n ...currencyFields\n }\n r60 {\n ...currencyFields\n }\n r240 {\n ...currencyFields\n }\n r720 {\n ...currencyFields\n }\n r1D {\n ...currencyFields\n }\n r7D {\n ...currencyFields\n }\n }\n }\n}\n\nfragment barDataFields on IndividualBarData {\n buyers\n buys\n buyVolume\n c\n h\n l\n liquidity\n o\n sellers\n sells\n sellVolume\n t\n traders\n transactions\n volume\n volumeNativeToken\n}\n\nfragment currencyFields on CurrencyBarData {\n t\n token {\n ...barDataFields\n }\n usd {\n ...barDataFields\n }\n}"];
|
|
128
128
|
/**
|
|
129
129
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
130
130
|
*/
|