@codex-data/sdk 1.0.0-rc2 → 1.0.0-rc3

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.
Files changed (85) hide show
  1. package/dist/resources/generated_mutations/CreateWebhooks.graphql +392 -0
  2. package/dist/resources/generated_queries/FilterPairs.graphql +4 -0
  3. package/dist/resources/generated_queries/FilterTokens.graphql +4 -0
  4. package/dist/resources/generated_queries/GetCommunityNotes.graphql +100 -0
  5. package/dist/resources/generated_queries/GetEventLabels.graphql +11 -0
  6. package/dist/resources/generated_queries/GetNftEvents.graphql +46 -0
  7. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +375 -0
  8. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +118 -0
  9. package/dist/resources/generated_queries/GetTokenEvents.graphql +49 -0
  10. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +49 -0
  11. package/dist/resources/generated_queries/GetWebhooks.graphql +98 -0
  12. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +12 -0
  13. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +42 -0
  14. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  15. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +49 -0
  16. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +46 -0
  17. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +375 -0
  18. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +551 -0
  19. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +49 -0
  20. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +12 -0
  21. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +17 -0
  22. package/dist/resources/graphql.d.ts +94 -12
  23. package/dist/resources/graphql.d.ts.map +1 -1
  24. package/dist/resources/graphql.js +8 -0
  25. package/dist/resources/graphql.js.map +1 -1
  26. package/dist/resources/graphql.schema.json +606 -117
  27. package/dist/resources/graphql.ts +97 -13
  28. package/dist/resources/mutations_override/CreateWebhooks.graphql +472 -0
  29. package/dist/resources/queries_override/GetEventLabels.graphql +35 -0
  30. package/dist/resources/queries_override/GetWebhooks.graphql +134 -0
  31. package/dist/resources/schema.graphql +137 -13
  32. package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +22 -0
  33. package/dist/scripts/generateGraphql.d.ts +1 -0
  34. package/dist/scripts/generateGraphql.d.ts.map +1 -1
  35. package/dist/scripts/generateGraphql.js +48 -12
  36. package/dist/scripts/generateGraphql.js.map +1 -1
  37. package/dist/sdk/Subscribe.d.ts +2 -1
  38. package/dist/sdk/Subscribe.d.ts.map +1 -1
  39. package/dist/sdk/Subscribe.js +35 -10
  40. package/dist/sdk/Subscribe.js.map +1 -1
  41. package/dist/sdk/generated/gql.d.ts +48 -40
  42. package/dist/sdk/generated/gql.d.ts.map +1 -1
  43. package/dist/sdk/generated/gql.js +21 -20
  44. package/dist/sdk/generated/gql.js.map +1 -1
  45. package/dist/sdk/generated/graphql.d.ts +2842 -147
  46. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  47. package/dist/sdk/generated/graphql.js +30 -21
  48. package/dist/sdk/generated/graphql.js.map +1 -1
  49. package/dist/sdk/index.d.ts.map +1 -1
  50. package/dist/sdk/index.js +1 -0
  51. package/dist/sdk/index.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/resources/generated_mutations/CreateWebhooks.graphql +392 -0
  54. package/src/resources/generated_queries/FilterPairs.graphql +4 -0
  55. package/src/resources/generated_queries/FilterTokens.graphql +4 -0
  56. package/src/resources/generated_queries/GetCommunityNotes.graphql +100 -0
  57. package/src/resources/generated_queries/GetEventLabels.graphql +11 -0
  58. package/src/resources/generated_queries/GetNftEvents.graphql +46 -0
  59. package/src/resources/generated_queries/GetNftPoolEvents.graphql +375 -0
  60. package/src/resources/generated_queries/GetPrimePoolEvents.graphql +118 -0
  61. package/src/resources/generated_queries/GetTokenEvents.graphql +49 -0
  62. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +49 -0
  63. package/src/resources/generated_queries/GetWebhooks.graphql +98 -0
  64. package/src/resources/generated_queries/TokenLifecycleEvents.graphql +12 -0
  65. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +42 -0
  66. package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  67. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +49 -0
  68. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +46 -0
  69. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +375 -0
  70. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +551 -0
  71. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +49 -0
  72. package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +12 -0
  73. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +17 -0
  74. package/src/resources/graphql.schema.json +606 -117
  75. package/src/resources/graphql.ts +97 -13
  76. package/src/resources/mutations_override/CreateWebhooks.graphql +472 -0
  77. package/src/resources/queries_override/GetEventLabels.graphql +35 -0
  78. package/src/resources/queries_override/GetWebhooks.graphql +134 -0
  79. package/src/resources/schema.graphql +137 -13
  80. package/src/resources/subscriptions_override/OnEventLabelCreated.graphql +22 -0
  81. package/src/scripts/generateGraphql.ts +87 -17
  82. package/src/sdk/Subscribe.ts +43 -10
  83. package/src/sdk/generated/gql.ts +45 -40
  84. package/src/sdk/generated/graphql.ts +146 -53
  85. package/src/sdk/index.ts +1 -0
@@ -2218,7 +2218,7 @@
2218
2218
  },
2219
2219
  {
2220
2220
  "name": "expiresIn",
2221
- "description": "Number of milliseconds until the token expires, defaults to 1 hour (3600000)",
2221
+ "description": "Number of seconds until the token expires, defaults to 1 hour (3600)",
2222
2222
  "type": {
2223
2223
  "kind": "SCALAR",
2224
2224
  "name": "Int",
@@ -2324,6 +2324,18 @@
2324
2324
  "isDeprecated": false,
2325
2325
  "deprecationReason": null
2326
2326
  },
2327
+ {
2328
+ "name": "deduplicate",
2329
+ "description": null,
2330
+ "type": {
2331
+ "kind": "SCALAR",
2332
+ "name": "Boolean",
2333
+ "ofType": null
2334
+ },
2335
+ "defaultValue": null,
2336
+ "isDeprecated": false,
2337
+ "deprecationReason": null
2338
+ },
2327
2339
  {
2328
2340
  "name": "groupId",
2329
2341
  "description": null,
@@ -2512,6 +2524,18 @@
2512
2524
  "isDeprecated": false,
2513
2525
  "deprecationReason": null
2514
2526
  },
2527
+ {
2528
+ "name": "deduplicate",
2529
+ "description": null,
2530
+ "type": {
2531
+ "kind": "SCALAR",
2532
+ "name": "Boolean",
2533
+ "ofType": null
2534
+ },
2535
+ "defaultValue": null,
2536
+ "isDeprecated": false,
2537
+ "deprecationReason": null
2538
+ },
2515
2539
  {
2516
2540
  "name": "groupId",
2517
2541
  "description": null,
@@ -2700,6 +2724,18 @@
2700
2724
  "isDeprecated": false,
2701
2725
  "deprecationReason": null
2702
2726
  },
2727
+ {
2728
+ "name": "deduplicate",
2729
+ "description": null,
2730
+ "type": {
2731
+ "kind": "SCALAR",
2732
+ "name": "Boolean",
2733
+ "ofType": null
2734
+ },
2735
+ "defaultValue": null,
2736
+ "isDeprecated": false,
2737
+ "deprecationReason": null
2738
+ },
2703
2739
  {
2704
2740
  "name": "groupId",
2705
2741
  "description": null,
@@ -2888,6 +2924,18 @@
2888
2924
  "isDeprecated": false,
2889
2925
  "deprecationReason": null
2890
2926
  },
2927
+ {
2928
+ "name": "deduplicate",
2929
+ "description": null,
2930
+ "type": {
2931
+ "kind": "SCALAR",
2932
+ "name": "Boolean",
2933
+ "ofType": null
2934
+ },
2935
+ "defaultValue": null,
2936
+ "isDeprecated": false,
2937
+ "deprecationReason": null
2938
+ },
2891
2939
  {
2892
2940
  "name": "groupId",
2893
2941
  "description": null,
@@ -7449,6 +7497,18 @@
7449
7497
  "isDeprecated": false,
7450
7498
  "deprecationReason": null
7451
7499
  },
7500
+ {
7501
+ "name": "slippage",
7502
+ "description": null,
7503
+ "type": {
7504
+ "kind": "SCALAR",
7505
+ "name": "Float",
7506
+ "ofType": null
7507
+ },
7508
+ "defaultValue": null,
7509
+ "isDeprecated": false,
7510
+ "deprecationReason": null
7511
+ },
7452
7512
  {
7453
7513
  "name": "userId",
7454
7514
  "description": null,
@@ -7893,6 +7953,18 @@
7893
7953
  "isDeprecated": false,
7894
7954
  "deprecationReason": null
7895
7955
  },
7956
+ {
7957
+ "name": "slippage",
7958
+ "description": null,
7959
+ "type": {
7960
+ "kind": "SCALAR",
7961
+ "name": "Float",
7962
+ "ofType": null
7963
+ },
7964
+ "defaultValue": null,
7965
+ "isDeprecated": false,
7966
+ "deprecationReason": null
7967
+ },
7896
7968
  {
7897
7969
  "name": "userId",
7898
7970
  "description": null,
@@ -26247,6 +26319,22 @@
26247
26319
  "isDeprecated": false,
26248
26320
  "deprecationReason": null
26249
26321
  },
26322
+ {
26323
+ "name": "quoteTokenAddress",
26324
+ "description": "The address of the token being quoted",
26325
+ "args": [],
26326
+ "type": {
26327
+ "kind": "NON_NULL",
26328
+ "name": null,
26329
+ "ofType": {
26330
+ "kind": "SCALAR",
26331
+ "name": "String",
26332
+ "ofType": null
26333
+ }
26334
+ },
26335
+ "isDeprecated": false,
26336
+ "deprecationReason": null
26337
+ },
26250
26338
  {
26251
26339
  "name": "statsType",
26252
26340
  "description": "The type of statistics used. Can be `Filtered` or `Unfiltered`.",
@@ -26329,6 +26417,174 @@
26329
26417
  "enumValues": null,
26330
26418
  "possibleTypes": null
26331
26419
  },
26420
+ {
26421
+ "kind": "OBJECT",
26422
+ "name": "OnTokenBarsUpdatedResponse",
26423
+ "description": "Response returned by `onBarsUpdated`.",
26424
+ "isOneOf": null,
26425
+ "fields": [
26426
+ {
26427
+ "name": "aggregates",
26428
+ "description": "Price data broken down by resolution.",
26429
+ "args": [],
26430
+ "type": {
26431
+ "kind": "NON_NULL",
26432
+ "name": null,
26433
+ "ofType": {
26434
+ "kind": "OBJECT",
26435
+ "name": "ResolutionBarData",
26436
+ "ofType": null
26437
+ }
26438
+ },
26439
+ "isDeprecated": false,
26440
+ "deprecationReason": null
26441
+ },
26442
+ {
26443
+ "name": "eventSortKey",
26444
+ "description": "The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).\nFor example, `0000000016414564#00000224#00000413`.",
26445
+ "args": [],
26446
+ "type": {
26447
+ "kind": "NON_NULL",
26448
+ "name": null,
26449
+ "ofType": {
26450
+ "kind": "SCALAR",
26451
+ "name": "String",
26452
+ "ofType": null
26453
+ }
26454
+ },
26455
+ "isDeprecated": false,
26456
+ "deprecationReason": null
26457
+ },
26458
+ {
26459
+ "name": "networkId",
26460
+ "description": "The network ID the pair is deployed on.",
26461
+ "args": [],
26462
+ "type": {
26463
+ "kind": "NON_NULL",
26464
+ "name": null,
26465
+ "ofType": {
26466
+ "kind": "SCALAR",
26467
+ "name": "Int",
26468
+ "ofType": null
26469
+ }
26470
+ },
26471
+ "isDeprecated": false,
26472
+ "deprecationReason": null
26473
+ },
26474
+ {
26475
+ "name": "pairAddress",
26476
+ "description": "The contract address for the pair.",
26477
+ "args": [],
26478
+ "type": {
26479
+ "kind": "NON_NULL",
26480
+ "name": null,
26481
+ "ofType": {
26482
+ "kind": "SCALAR",
26483
+ "name": "String",
26484
+ "ofType": null
26485
+ }
26486
+ },
26487
+ "isDeprecated": false,
26488
+ "deprecationReason": null
26489
+ },
26490
+ {
26491
+ "name": "pairId",
26492
+ "description": "The ID for the pair (`pairAddress`:`networkId`).",
26493
+ "args": [],
26494
+ "type": {
26495
+ "kind": "NON_NULL",
26496
+ "name": null,
26497
+ "ofType": {
26498
+ "kind": "SCALAR",
26499
+ "name": "String",
26500
+ "ofType": null
26501
+ }
26502
+ },
26503
+ "isDeprecated": false,
26504
+ "deprecationReason": null
26505
+ },
26506
+ {
26507
+ "name": "quoteToken",
26508
+ "description": "The quote token within the pair.",
26509
+ "args": [],
26510
+ "type": {
26511
+ "kind": "ENUM",
26512
+ "name": "QuoteToken",
26513
+ "ofType": null
26514
+ },
26515
+ "isDeprecated": false,
26516
+ "deprecationReason": null
26517
+ },
26518
+ {
26519
+ "name": "statsType",
26520
+ "description": "The type of statistics used. Can be `Filtered` or `Unfiltered`.",
26521
+ "args": [],
26522
+ "type": {
26523
+ "kind": "NON_NULL",
26524
+ "name": null,
26525
+ "ofType": {
26526
+ "kind": "ENUM",
26527
+ "name": "TokenPairStatisticsType",
26528
+ "ofType": null
26529
+ }
26530
+ },
26531
+ "isDeprecated": false,
26532
+ "deprecationReason": null
26533
+ },
26534
+ {
26535
+ "name": "timestamp",
26536
+ "description": "The unix timestamp for the new bar.",
26537
+ "args": [],
26538
+ "type": {
26539
+ "kind": "NON_NULL",
26540
+ "name": null,
26541
+ "ofType": {
26542
+ "kind": "SCALAR",
26543
+ "name": "Int",
26544
+ "ofType": null
26545
+ }
26546
+ },
26547
+ "isDeprecated": false,
26548
+ "deprecationReason": null
26549
+ },
26550
+ {
26551
+ "name": "tokenAddress",
26552
+ "description": "The address of the token being quoted",
26553
+ "args": [],
26554
+ "type": {
26555
+ "kind": "NON_NULL",
26556
+ "name": null,
26557
+ "ofType": {
26558
+ "kind": "SCALAR",
26559
+ "name": "String",
26560
+ "ofType": null
26561
+ }
26562
+ },
26563
+ "isDeprecated": false,
26564
+ "deprecationReason": null
26565
+ },
26566
+ {
26567
+ "name": "tokenId",
26568
+ "description": "The address of the token being quoted",
26569
+ "args": [],
26570
+ "type": {
26571
+ "kind": "NON_NULL",
26572
+ "name": null,
26573
+ "ofType": {
26574
+ "kind": "SCALAR",
26575
+ "name": "String",
26576
+ "ofType": null
26577
+ }
26578
+ },
26579
+ "isDeprecated": false,
26580
+ "deprecationReason": null
26581
+ }
26582
+ ],
26583
+ "inputFields": null,
26584
+ "interfaces": [],
26585
+ "enumValues": null,
26586
+ "possibleTypes": null
26587
+ },
26332
26588
  {
26333
26589
  "kind": "INPUT_OBJECT",
26334
26590
  "name": "OnTokenEventsCreatedInput",
@@ -27521,6 +27777,54 @@
27521
27777
  "isDeprecated": false,
27522
27778
  "deprecationReason": null
27523
27779
  },
27780
+ {
27781
+ "name": "volumeChange1",
27782
+ "description": "The percent volume change in the past hour. Decimal format.",
27783
+ "args": [],
27784
+ "type": {
27785
+ "kind": "SCALAR",
27786
+ "name": "String",
27787
+ "ofType": null
27788
+ },
27789
+ "isDeprecated": false,
27790
+ "deprecationReason": null
27791
+ },
27792
+ {
27793
+ "name": "volumeChange4",
27794
+ "description": "The percent volume change in the past 4 hours. Decimal format.",
27795
+ "args": [],
27796
+ "type": {
27797
+ "kind": "SCALAR",
27798
+ "name": "String",
27799
+ "ofType": null
27800
+ },
27801
+ "isDeprecated": false,
27802
+ "deprecationReason": null
27803
+ },
27804
+ {
27805
+ "name": "volumeChange12",
27806
+ "description": "The percent volume change in the past 12 hours. Decimal format.",
27807
+ "args": [],
27808
+ "type": {
27809
+ "kind": "SCALAR",
27810
+ "name": "String",
27811
+ "ofType": null
27812
+ },
27813
+ "isDeprecated": false,
27814
+ "deprecationReason": null
27815
+ },
27816
+ {
27817
+ "name": "volumeChange24",
27818
+ "description": "The percent volume change in the past 24 hours. Decimal format.",
27819
+ "args": [],
27820
+ "type": {
27821
+ "kind": "SCALAR",
27822
+ "name": "String",
27823
+ "ofType": null
27824
+ },
27825
+ "isDeprecated": false,
27826
+ "deprecationReason": null
27827
+ },
27524
27828
  {
27525
27829
  "name": "volumeUSD1",
27526
27830
  "description": "The trade volume in USD in the past hour.",
@@ -28146,6 +28450,54 @@
28146
28450
  "isDeprecated": false,
28147
28451
  "deprecationReason": null
28148
28452
  },
28453
+ {
28454
+ "name": "volumeChange1",
28455
+ "description": "The percent volume change in the past hour. Decimal format.",
28456
+ "type": {
28457
+ "kind": "INPUT_OBJECT",
28458
+ "name": "NumberFilter",
28459
+ "ofType": null
28460
+ },
28461
+ "defaultValue": null,
28462
+ "isDeprecated": false,
28463
+ "deprecationReason": null
28464
+ },
28465
+ {
28466
+ "name": "volumeChange4",
28467
+ "description": "The percent volume change in the past 4 hours. Decimal format.",
28468
+ "type": {
28469
+ "kind": "INPUT_OBJECT",
28470
+ "name": "NumberFilter",
28471
+ "ofType": null
28472
+ },
28473
+ "defaultValue": null,
28474
+ "isDeprecated": false,
28475
+ "deprecationReason": null
28476
+ },
28477
+ {
28478
+ "name": "volumeChange12",
28479
+ "description": "The percent volume change in the past 12 hours. Decimal format.",
28480
+ "type": {
28481
+ "kind": "INPUT_OBJECT",
28482
+ "name": "NumberFilter",
28483
+ "ofType": null
28484
+ },
28485
+ "defaultValue": null,
28486
+ "isDeprecated": false,
28487
+ "deprecationReason": null
28488
+ },
28489
+ {
28490
+ "name": "volumeChange24",
28491
+ "description": "The percent volume change in the past 24 hours. Decimal format.",
28492
+ "type": {
28493
+ "kind": "INPUT_OBJECT",
28494
+ "name": "NumberFilter",
28495
+ "ofType": null
28496
+ },
28497
+ "defaultValue": null,
28498
+ "isDeprecated": false,
28499
+ "deprecationReason": null
28500
+ },
28149
28501
  {
28150
28502
  "name": "volumeUSD1",
28151
28503
  "description": "The trade volume in USD in the past hour.",
@@ -29122,6 +29474,30 @@
29122
29474
  "isDeprecated": false,
29123
29475
  "deprecationReason": null
29124
29476
  },
29477
+ {
29478
+ "name": "volumeChange1",
29479
+ "description": null,
29480
+ "isDeprecated": false,
29481
+ "deprecationReason": null
29482
+ },
29483
+ {
29484
+ "name": "volumeChange4",
29485
+ "description": null,
29486
+ "isDeprecated": false,
29487
+ "deprecationReason": null
29488
+ },
29489
+ {
29490
+ "name": "volumeChange12",
29491
+ "description": null,
29492
+ "isDeprecated": false,
29493
+ "deprecationReason": null
29494
+ },
29495
+ {
29496
+ "name": "volumeChange24",
29497
+ "description": null,
29498
+ "isDeprecated": false,
29499
+ "deprecationReason": null
29500
+ },
29125
29501
  {
29126
29502
  "name": "volumeUSD1",
29127
29503
  "description": null,
@@ -38702,6 +39078,18 @@
38702
39078
  "isDeprecated": false,
38703
39079
  "deprecationReason": null
38704
39080
  },
39081
+ {
39082
+ "name": "outputAmountMin",
39083
+ "description": null,
39084
+ "args": [],
39085
+ "type": {
39086
+ "kind": "SCALAR",
39087
+ "name": "String",
39088
+ "ofType": null
39089
+ },
39090
+ "isDeprecated": false,
39091
+ "deprecationReason": null
39092
+ },
38705
39093
  {
38706
39094
  "name": "poolFee",
38707
39095
  "description": null,
@@ -39000,122 +39388,6 @@
39000
39388
  ],
39001
39389
  "possibleTypes": null
39002
39390
  },
39003
- {
39004
- "kind": "OBJECT",
39005
- "name": "QuoteV2",
39006
- "description": null,
39007
- "isOneOf": null,
39008
- "fields": [
39009
- {
39010
- "name": "exchange",
39011
- "description": null,
39012
- "args": [],
39013
- "type": {
39014
- "kind": "NON_NULL",
39015
- "name": null,
39016
- "ofType": {
39017
- "kind": "OBJECT",
39018
- "name": "QuoteExchange",
39019
- "ofType": null
39020
- }
39021
- },
39022
- "isDeprecated": false,
39023
- "deprecationReason": null
39024
- },
39025
- {
39026
- "name": "poolFee",
39027
- "description": null,
39028
- "args": [],
39029
- "type": {
39030
- "kind": "SCALAR",
39031
- "name": "String",
39032
- "ofType": null
39033
- },
39034
- "isDeprecated": false,
39035
- "deprecationReason": null
39036
- },
39037
- {
39038
- "name": "poolFeeBps",
39039
- "description": null,
39040
- "args": [],
39041
- "type": {
39042
- "kind": "SCALAR",
39043
- "name": "Float",
39044
- "ofType": null
39045
- },
39046
- "isDeprecated": false,
39047
- "deprecationReason": null
39048
- },
39049
- {
39050
- "name": "quoteType",
39051
- "description": null,
39052
- "args": [],
39053
- "type": {
39054
- "kind": "NON_NULL",
39055
- "name": null,
39056
- "ofType": {
39057
- "kind": "ENUM",
39058
- "name": "QuoteType",
39059
- "ofType": null
39060
- }
39061
- },
39062
- "isDeprecated": false,
39063
- "deprecationReason": null
39064
- },
39065
- {
39066
- "name": "quotedAmount",
39067
- "description": null,
39068
- "args": [],
39069
- "type": {
39070
- "kind": "NON_NULL",
39071
- "name": null,
39072
- "ofType": {
39073
- "kind": "SCALAR",
39074
- "name": "String",
39075
- "ofType": null
39076
- }
39077
- },
39078
- "isDeprecated": false,
39079
- "deprecationReason": null
39080
- },
39081
- {
39082
- "name": "tradeFee",
39083
- "description": null,
39084
- "args": [],
39085
- "type": {
39086
- "kind": "NON_NULL",
39087
- "name": null,
39088
- "ofType": {
39089
- "kind": "SCALAR",
39090
- "name": "String",
39091
- "ofType": null
39092
- }
39093
- },
39094
- "isDeprecated": false,
39095
- "deprecationReason": null
39096
- },
39097
- {
39098
- "name": "tradeFeeBps",
39099
- "description": null,
39100
- "args": [],
39101
- "type": {
39102
- "kind": "NON_NULL",
39103
- "name": null,
39104
- "ofType": {
39105
- "kind": "SCALAR",
39106
- "name": "Float",
39107
- "ofType": null
39108
- }
39109
- },
39110
- "isDeprecated": false,
39111
- "deprecationReason": null
39112
- }
39113
- ],
39114
- "inputFields": null,
39115
- "interfaces": [],
39116
- "enumValues": null,
39117
- "possibleTypes": null
39118
- },
39119
39391
  {
39120
39392
  "kind": "ENUM",
39121
39393
  "name": "RankingDirection",
@@ -39788,6 +40060,18 @@
39788
40060
  "isDeprecated": false,
39789
40061
  "deprecationReason": null
39790
40062
  },
40063
+ {
40064
+ "name": "r30S",
40065
+ "description": "30 second resolution.",
40066
+ "args": [],
40067
+ "type": {
40068
+ "kind": "OBJECT",
40069
+ "name": "CurrencyBarData",
40070
+ "ofType": null
40071
+ },
40072
+ "isDeprecated": false,
40073
+ "deprecationReason": null
40074
+ },
39791
40075
  {
39792
40076
  "name": "r60",
39793
40077
  "description": "60 minute resolution.",
@@ -43098,6 +43382,43 @@
43098
43382
  "isDeprecated": false,
43099
43383
  "deprecationReason": null
43100
43384
  },
43385
+ {
43386
+ "name": "onTokenBarsUpdated",
43387
+ "description": "Live-streamed bar chart data to track price changes over time for a token.",
43388
+ "args": [
43389
+ {
43390
+ "name": "statsType",
43391
+ "description": "docs: hide",
43392
+ "type": {
43393
+ "kind": "ENUM",
43394
+ "name": "TokenPairStatisticsType",
43395
+ "ofType": null
43396
+ },
43397
+ "defaultValue": null,
43398
+ "isDeprecated": false,
43399
+ "deprecationReason": null
43400
+ },
43401
+ {
43402
+ "name": "tokenId",
43403
+ "description": "The ID of the pair (`address`:`networkId`).",
43404
+ "type": {
43405
+ "kind": "SCALAR",
43406
+ "name": "String",
43407
+ "ofType": null
43408
+ },
43409
+ "defaultValue": null,
43410
+ "isDeprecated": false,
43411
+ "deprecationReason": null
43412
+ }
43413
+ ],
43414
+ "type": {
43415
+ "kind": "OBJECT",
43416
+ "name": "OnTokenBarsUpdatedResponse",
43417
+ "ofType": null
43418
+ },
43419
+ "isDeprecated": false,
43420
+ "deprecationReason": null
43421
+ },
43101
43422
  {
43102
43423
  "name": "onTokenEventsCreated",
43103
43424
  "description": "Live streamed events for a given token across all it's pools",
@@ -45224,6 +45545,54 @@
45224
45545
  },
45225
45546
  "isDeprecated": false,
45226
45547
  "deprecationReason": null
45548
+ },
45549
+ {
45550
+ "name": "volumeChange1",
45551
+ "description": "The percent volume change in the past hour. Decimal format.",
45552
+ "args": [],
45553
+ "type": {
45554
+ "kind": "SCALAR",
45555
+ "name": "String",
45556
+ "ofType": null
45557
+ },
45558
+ "isDeprecated": false,
45559
+ "deprecationReason": null
45560
+ },
45561
+ {
45562
+ "name": "volumeChange4",
45563
+ "description": "The percent volume change in the past 4 hours. Decimal format.",
45564
+ "args": [],
45565
+ "type": {
45566
+ "kind": "SCALAR",
45567
+ "name": "String",
45568
+ "ofType": null
45569
+ },
45570
+ "isDeprecated": false,
45571
+ "deprecationReason": null
45572
+ },
45573
+ {
45574
+ "name": "volumeChange12",
45575
+ "description": "The percent volume change in the past 12 hours. Decimal format.",
45576
+ "args": [],
45577
+ "type": {
45578
+ "kind": "SCALAR",
45579
+ "name": "String",
45580
+ "ofType": null
45581
+ },
45582
+ "isDeprecated": false,
45583
+ "deprecationReason": null
45584
+ },
45585
+ {
45586
+ "name": "volumeChange24",
45587
+ "description": "The percent volume change in the past 24 hours. Decimal format.",
45588
+ "args": [],
45589
+ "type": {
45590
+ "kind": "SCALAR",
45591
+ "name": "String",
45592
+ "ofType": null
45593
+ },
45594
+ "isDeprecated": false,
45595
+ "deprecationReason": null
45227
45596
  }
45228
45597
  ],
45229
45598
  "inputFields": null,
@@ -45909,6 +46278,54 @@
45909
46278
  "defaultValue": null,
45910
46279
  "isDeprecated": false,
45911
46280
  "deprecationReason": null
46281
+ },
46282
+ {
46283
+ "name": "volumeChange1",
46284
+ "description": "The percent volume change in the past hour. Decimal format.",
46285
+ "type": {
46286
+ "kind": "INPUT_OBJECT",
46287
+ "name": "NumberFilter",
46288
+ "ofType": null
46289
+ },
46290
+ "defaultValue": null,
46291
+ "isDeprecated": false,
46292
+ "deprecationReason": null
46293
+ },
46294
+ {
46295
+ "name": "volumeChange4",
46296
+ "description": "The percent volume change in the past 4 hours. Decimal format.",
46297
+ "type": {
46298
+ "kind": "INPUT_OBJECT",
46299
+ "name": "NumberFilter",
46300
+ "ofType": null
46301
+ },
46302
+ "defaultValue": null,
46303
+ "isDeprecated": false,
46304
+ "deprecationReason": null
46305
+ },
46306
+ {
46307
+ "name": "volumeChange12",
46308
+ "description": "The percent volume change in the past 12 hours. Decimal format.",
46309
+ "type": {
46310
+ "kind": "INPUT_OBJECT",
46311
+ "name": "NumberFilter",
46312
+ "ofType": null
46313
+ },
46314
+ "defaultValue": null,
46315
+ "isDeprecated": false,
46316
+ "deprecationReason": null
46317
+ },
46318
+ {
46319
+ "name": "volumeChange24",
46320
+ "description": "The percent volume change in the past 24 hours. Decimal format.",
46321
+ "type": {
46322
+ "kind": "INPUT_OBJECT",
46323
+ "name": "NumberFilter",
46324
+ "ofType": null
46325
+ },
46326
+ "defaultValue": null,
46327
+ "isDeprecated": false,
46328
+ "deprecationReason": null
45912
46329
  }
45913
46330
  ],
45914
46331
  "interfaces": null,
@@ -47269,6 +47686,30 @@
47269
47686
  "description": null,
47270
47687
  "isDeprecated": false,
47271
47688
  "deprecationReason": null
47689
+ },
47690
+ {
47691
+ "name": "volumeChange1",
47692
+ "description": null,
47693
+ "isDeprecated": false,
47694
+ "deprecationReason": null
47695
+ },
47696
+ {
47697
+ "name": "volumeChange4",
47698
+ "description": null,
47699
+ "isDeprecated": false,
47700
+ "deprecationReason": null
47701
+ },
47702
+ {
47703
+ "name": "volumeChange12",
47704
+ "description": null,
47705
+ "isDeprecated": false,
47706
+ "deprecationReason": null
47707
+ },
47708
+ {
47709
+ "name": "volumeChange24",
47710
+ "description": null,
47711
+ "isDeprecated": false,
47712
+ "deprecationReason": null
47272
47713
  }
47273
47714
  ],
47274
47715
  "possibleTypes": null
@@ -48301,6 +48742,54 @@
48301
48742
  "isDeprecated": false,
48302
48743
  "deprecationReason": null
48303
48744
  },
48745
+ {
48746
+ "name": "priceBaseToken",
48747
+ "description": "The price per `quoteToken` at the time of the swap in the network's base token. For example, if `quoteToken` is USDC for a USDC/WETH pair on ETH network, `priceBaseToken` would the price of USDC in ETH.",
48748
+ "args": [],
48749
+ "type": {
48750
+ "kind": "SCALAR",
48751
+ "name": "String",
48752
+ "ofType": null
48753
+ },
48754
+ "isDeprecated": false,
48755
+ "deprecationReason": null
48756
+ },
48757
+ {
48758
+ "name": "priceBaseTokenTotal",
48759
+ "description": "The total amount of `quoteToken` involved in the swap in the network's base token (`amountNonLiquidityToken` x `priceBaseToken`).",
48760
+ "args": [],
48761
+ "type": {
48762
+ "kind": "SCALAR",
48763
+ "name": "String",
48764
+ "ofType": null
48765
+ },
48766
+ "isDeprecated": false,
48767
+ "deprecationReason": null
48768
+ },
48769
+ {
48770
+ "name": "priceUsd",
48771
+ "description": "The price per `quoteToken` at the time of the swap in USD. For example, if `quoteToken` is USDC for a USDC/WETH pair on ETH network, `priceBaseToken` would the price of USDC in USD ($1.00).",
48772
+ "args": [],
48773
+ "type": {
48774
+ "kind": "SCALAR",
48775
+ "name": "String",
48776
+ "ofType": null
48777
+ },
48778
+ "isDeprecated": false,
48779
+ "deprecationReason": null
48780
+ },
48781
+ {
48782
+ "name": "priceUsdTotal",
48783
+ "description": "The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`).",
48784
+ "args": [],
48785
+ "type": {
48786
+ "kind": "SCALAR",
48787
+ "name": "String",
48788
+ "ofType": null
48789
+ },
48790
+ "isDeprecated": false,
48791
+ "deprecationReason": null
48792
+ },
48304
48793
  {
48305
48794
  "name": "type",
48306
48795
  "description": "The type of token event, `Swap`.",