@codex-data/sdk 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codex-data/sdk",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "engines": {
5
5
  "node": ">=17.5.0"
6
6
  },
@@ -706,6 +706,46 @@
706
706
  "enumValues": null,
707
707
  "possibleTypes": null
708
708
  },
709
+ {
710
+ "kind": "OBJECT",
711
+ "name": "ArenaTradeData",
712
+ "description": null,
713
+ "isOneOf": null,
714
+ "fields": [
715
+ {
716
+ "name": "tokenId",
717
+ "description": "Protocol specific token ID",
718
+ "args": [],
719
+ "type": {
720
+ "kind": "SCALAR",
721
+ "name": "String",
722
+ "ofType": null
723
+ },
724
+ "isDeprecated": false,
725
+ "deprecationReason": null
726
+ },
727
+ {
728
+ "name": "type",
729
+ "description": null,
730
+ "args": [],
731
+ "type": {
732
+ "kind": "NON_NULL",
733
+ "name": null,
734
+ "ofType": {
735
+ "kind": "SCALAR",
736
+ "name": "String",
737
+ "ofType": null
738
+ }
739
+ },
740
+ "isDeprecated": false,
741
+ "deprecationReason": null
742
+ }
743
+ ],
744
+ "inputFields": null,
745
+ "interfaces": [],
746
+ "enumValues": null,
747
+ "possibleTypes": null
748
+ },
709
749
  {
710
750
  "kind": "OBJECT",
711
751
  "name": "Balance",
@@ -10668,9 +10708,21 @@
10668
10708
  "isDeprecated": false,
10669
10709
  "deprecationReason": null
10670
10710
  },
10711
+ {
10712
+ "name": "launchpadIconUrl",
10713
+ "description": "The icon URL of the launchpad.",
10714
+ "args": [],
10715
+ "type": {
10716
+ "kind": "SCALAR",
10717
+ "name": "String",
10718
+ "ofType": null
10719
+ },
10720
+ "isDeprecated": false,
10721
+ "deprecationReason": null
10722
+ },
10671
10723
  {
10672
10724
  "name": "launchpadName",
10673
- "description": "The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City.",
10725
+ "description": "The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults.",
10674
10726
  "args": [],
10675
10727
  "type": {
10676
10728
  "kind": "SCALAR",
@@ -10682,7 +10734,7 @@
10682
10734
  },
10683
10735
  {
10684
10736
  "name": "launchpadProtocol",
10685
- "description": "The launchpad protocol",
10737
+ "description": "The launchpad protocol.",
10686
10738
  "args": [],
10687
10739
  "type": {
10688
10740
  "kind": "SCALAR",
@@ -10834,7 +10886,7 @@
10834
10886
  },
10835
10887
  {
10836
10888
  "name": "launchpadName",
10837
- "description": "The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City.",
10889
+ "description": "The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults.",
10838
10890
  "args": [],
10839
10891
  "type": {
10840
10892
  "kind": "NON_NULL",
@@ -10848,6 +10900,18 @@
10848
10900
  "isDeprecated": false,
10849
10901
  "deprecationReason": null
10850
10902
  },
10903
+ {
10904
+ "name": "liquidity",
10905
+ "description": "The liquidity of the token's top pair.",
10906
+ "args": [],
10907
+ "type": {
10908
+ "kind": "SCALAR",
10909
+ "name": "String",
10910
+ "ofType": null
10911
+ },
10912
+ "isDeprecated": false,
10913
+ "deprecationReason": null
10914
+ },
10851
10915
  {
10852
10916
  "name": "marketCap",
10853
10917
  "description": "The market cap of the token.",
@@ -11031,6 +11095,12 @@
11031
11095
  "isDeprecated": false,
11032
11096
  "deprecationReason": null
11033
11097
  },
11098
+ {
11099
+ "name": "Baseapp",
11100
+ "description": "Protocol name for Baseapp.",
11101
+ "isDeprecated": false,
11102
+ "deprecationReason": null
11103
+ },
11034
11104
  {
11035
11105
  "name": "BoopFun",
11036
11106
  "description": "Protocol name for boop.fun.",
@@ -11084,6 +11154,18 @@
11084
11154
  "description": "Protocol name for Vertigo.",
11085
11155
  "isDeprecated": false,
11086
11156
  "deprecationReason": null
11157
+ },
11158
+ {
11159
+ "name": "ZoraCreatorV4",
11160
+ "description": "Protocol name for ZoraCreator.",
11161
+ "isDeprecated": false,
11162
+ "deprecationReason": null
11163
+ },
11164
+ {
11165
+ "name": "ZoraV4",
11166
+ "description": "Protocol name for Zora.",
11167
+ "isDeprecated": false,
11168
+ "deprecationReason": null
11087
11169
  }
11088
11170
  ],
11089
11171
  "possibleTypes": null
@@ -12558,6 +12640,39 @@
12558
12640
  "description": null,
12559
12641
  "isOneOf": null,
12560
12642
  "fields": [
12643
+ {
12644
+ "name": "backfillWalletAggregates",
12645
+ "description": "Backfill wallet aggregates (trading stats) for a given wallet. This is the data used in the filterWallet/filterTokenWallets and detailedWalletStats queries.",
12646
+ "args": [
12647
+ {
12648
+ "name": "input",
12649
+ "description": null,
12650
+ "type": {
12651
+ "kind": "NON_NULL",
12652
+ "name": null,
12653
+ "ofType": {
12654
+ "kind": "INPUT_OBJECT",
12655
+ "name": "WalletAggregateBackfillInput",
12656
+ "ofType": null
12657
+ }
12658
+ },
12659
+ "defaultValue": null,
12660
+ "isDeprecated": false,
12661
+ "deprecationReason": null
12662
+ }
12663
+ ],
12664
+ "type": {
12665
+ "kind": "NON_NULL",
12666
+ "name": null,
12667
+ "ofType": {
12668
+ "kind": "OBJECT",
12669
+ "name": "WalletAggregateBackfillStateResponse",
12670
+ "ofType": null
12671
+ }
12672
+ },
12673
+ "isDeprecated": false,
12674
+ "deprecationReason": null
12675
+ },
12561
12676
  {
12562
12677
  "name": "createApiTokens",
12563
12678
  "description": "Create a new set of short-lived api access tokens",
@@ -29155,7 +29270,7 @@
29155
29270
  },
29156
29271
  {
29157
29272
  "name": "launchpadName",
29158
- "description": "The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City.",
29273
+ "description": "The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults.",
29159
29274
  "type": {
29160
29275
  "kind": "SCALAR",
29161
29276
  "name": "String",
@@ -29227,7 +29342,7 @@
29227
29342
  },
29228
29343
  {
29229
29344
  "name": "launchpadName",
29230
- "description": "The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City.",
29345
+ "description": "The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults.",
29231
29346
  "type": {
29232
29347
  "kind": "SCALAR",
29233
29348
  "name": "String",
@@ -29872,6 +29987,30 @@
29872
29987
  "isDeprecated": false,
29873
29988
  "deprecationReason": null
29874
29989
  },
29990
+ {
29991
+ "name": "protocolCustomData",
29992
+ "description": "The per-protocol data for the pair, if applicable",
29993
+ "args": [],
29994
+ "type": {
29995
+ "kind": "OBJECT",
29996
+ "name": "PairProtocolCustomData",
29997
+ "ofType": null
29998
+ },
29999
+ "isDeprecated": true,
30000
+ "deprecationReason": "Use protocolData instead"
30001
+ },
30002
+ {
30003
+ "name": "protocolData",
30004
+ "description": "Custom data for the pair, only certain protocols have this. (uniswapv4, arenatrade for example)",
30005
+ "args": [],
30006
+ "type": {
30007
+ "kind": "UNION",
30008
+ "name": "ProtocolData",
30009
+ "ofType": null
30010
+ },
30011
+ "isDeprecated": false,
30012
+ "deprecationReason": null
30013
+ },
29875
30014
  {
29876
30015
  "name": "tickSpacing",
29877
30016
  "description": "The amount of required tick separation. Only applicable for pairs on UniswapV3.",
@@ -31201,6 +31340,22 @@
31201
31340
  "isDeprecated": false,
31202
31341
  "deprecationReason": null
31203
31342
  },
31343
+ {
31344
+ "name": "hookAddress",
31345
+ "description": "The address of the hook contract for applicable protocols.",
31346
+ "type": {
31347
+ "kind": "LIST",
31348
+ "name": null,
31349
+ "ofType": {
31350
+ "kind": "SCALAR",
31351
+ "name": "String",
31352
+ "ofType": null
31353
+ }
31354
+ },
31355
+ "defaultValue": null,
31356
+ "isDeprecated": false,
31357
+ "deprecationReason": null
31358
+ },
31204
31359
  {
31205
31360
  "name": "isTestnet",
31206
31361
  "description": "Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both.",
@@ -32518,6 +32673,30 @@
32518
32673
  "enumValues": null,
32519
32674
  "possibleTypes": null
32520
32675
  },
32676
+ {
32677
+ "kind": "OBJECT",
32678
+ "name": "PairProtocolCustomData",
32679
+ "description": null,
32680
+ "isOneOf": null,
32681
+ "fields": [
32682
+ {
32683
+ "name": "uniswapV4HookAddress",
32684
+ "description": "The address of the hook contract for Uniswap V4 pools.",
32685
+ "args": [],
32686
+ "type": {
32687
+ "kind": "SCALAR",
32688
+ "name": "String",
32689
+ "ofType": null
32690
+ },
32691
+ "isDeprecated": false,
32692
+ "deprecationReason": null
32693
+ }
32694
+ ],
32695
+ "inputFields": null,
32696
+ "interfaces": [],
32697
+ "enumValues": null,
32698
+ "possibleTypes": null
32699
+ },
32521
32700
  {
32522
32701
  "kind": "INPUT_OBJECT",
32523
32702
  "name": "PairRanking",
@@ -37831,6 +38010,28 @@
37831
38010
  "enumValues": null,
37832
38011
  "possibleTypes": null
37833
38012
  },
38013
+ {
38014
+ "kind": "UNION",
38015
+ "name": "ProtocolData",
38016
+ "description": null,
38017
+ "isOneOf": null,
38018
+ "fields": null,
38019
+ "inputFields": null,
38020
+ "interfaces": null,
38021
+ "enumValues": null,
38022
+ "possibleTypes": [
38023
+ {
38024
+ "kind": "OBJECT",
38025
+ "name": "ArenaTradeData",
38026
+ "ofType": null
38027
+ },
38028
+ {
38029
+ "kind": "OBJECT",
38030
+ "name": "UniswapV4Data",
38031
+ "ofType": null
38032
+ }
38033
+ ]
38034
+ },
37834
38035
  {
37835
38036
  "kind": "ENUM",
37836
38037
  "name": "PublishingType",
@@ -42053,6 +42254,39 @@
42053
42254
  "isDeprecated": false,
42054
42255
  "deprecationReason": null
42055
42256
  },
42257
+ {
42258
+ "name": "walletAggregateBackfillState",
42259
+ "description": "Once a wallet backfill has been triggered, this query can be used to check the status of the backfill.",
42260
+ "args": [
42261
+ {
42262
+ "name": "input",
42263
+ "description": null,
42264
+ "type": {
42265
+ "kind": "NON_NULL",
42266
+ "name": null,
42267
+ "ofType": {
42268
+ "kind": "INPUT_OBJECT",
42269
+ "name": "WalletAggregateBackfillStateInput",
42270
+ "ofType": null
42271
+ }
42272
+ },
42273
+ "defaultValue": null,
42274
+ "isDeprecated": false,
42275
+ "deprecationReason": null
42276
+ }
42277
+ ],
42278
+ "type": {
42279
+ "kind": "NON_NULL",
42280
+ "name": null,
42281
+ "ofType": {
42282
+ "kind": "OBJECT",
42283
+ "name": "WalletAggregateBackfillStateResponse",
42284
+ "ofType": null
42285
+ }
42286
+ },
42287
+ "isDeprecated": false,
42288
+ "deprecationReason": null
42289
+ },
42056
42290
  {
42057
42291
  "name": "walletChart",
42058
42292
  "description": "Returns a chart of a wallet's activity.",
@@ -47309,7 +47543,7 @@
47309
47543
  },
47310
47544
  {
47311
47545
  "name": "launchpadName",
47312
- "description": "The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City.",
47546
+ "description": "The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults.",
47313
47547
  "type": {
47314
47548
  "kind": "SCALAR",
47315
47549
  "name": "String",
@@ -52354,6 +52588,46 @@
52354
52588
  "enumValues": null,
52355
52589
  "possibleTypes": null
52356
52590
  },
52591
+ {
52592
+ "kind": "OBJECT",
52593
+ "name": "UniswapV4Data",
52594
+ "description": null,
52595
+ "isOneOf": null,
52596
+ "fields": [
52597
+ {
52598
+ "name": "type",
52599
+ "description": null,
52600
+ "args": [],
52601
+ "type": {
52602
+ "kind": "NON_NULL",
52603
+ "name": null,
52604
+ "ofType": {
52605
+ "kind": "SCALAR",
52606
+ "name": "String",
52607
+ "ofType": null
52608
+ }
52609
+ },
52610
+ "isDeprecated": false,
52611
+ "deprecationReason": null
52612
+ },
52613
+ {
52614
+ "name": "uniswapV4HookAddress",
52615
+ "description": "The address of the hook contract for Uniswap V4 pools.",
52616
+ "args": [],
52617
+ "type": {
52618
+ "kind": "SCALAR",
52619
+ "name": "String",
52620
+ "ofType": null
52621
+ },
52622
+ "isDeprecated": false,
52623
+ "deprecationReason": null
52624
+ }
52625
+ ],
52626
+ "inputFields": null,
52627
+ "interfaces": [],
52628
+ "enumValues": null,
52629
+ "possibleTypes": null
52630
+ },
52357
52631
  {
52358
52632
  "kind": "SCALAR",
52359
52633
  "name": "Void",
@@ -52365,6 +52639,34 @@
52365
52639
  "enumValues": null,
52366
52640
  "possibleTypes": null
52367
52641
  },
52642
+ {
52643
+ "kind": "INPUT_OBJECT",
52644
+ "name": "WalletAggregateBackfillInput",
52645
+ "description": "Input arguments for the `backfillWalletAggregates` mutation.",
52646
+ "isOneOf": false,
52647
+ "fields": null,
52648
+ "inputFields": [
52649
+ {
52650
+ "name": "walletAddress",
52651
+ "description": null,
52652
+ "type": {
52653
+ "kind": "NON_NULL",
52654
+ "name": null,
52655
+ "ofType": {
52656
+ "kind": "SCALAR",
52657
+ "name": "String",
52658
+ "ofType": null
52659
+ }
52660
+ },
52661
+ "defaultValue": null,
52662
+ "isDeprecated": false,
52663
+ "deprecationReason": null
52664
+ }
52665
+ ],
52666
+ "interfaces": null,
52667
+ "enumValues": null,
52668
+ "possibleTypes": null
52669
+ },
52368
52670
  {
52369
52671
  "kind": "ENUM",
52370
52672
  "name": "WalletAggregateBackfillState",
@@ -52413,6 +52715,78 @@
52413
52715
  ],
52414
52716
  "possibleTypes": null
52415
52717
  },
52718
+ {
52719
+ "kind": "INPUT_OBJECT",
52720
+ "name": "WalletAggregateBackfillStateInput",
52721
+ "description": "Input arguments for the `walletAggregateBackfillState` mutation.",
52722
+ "isOneOf": false,
52723
+ "fields": null,
52724
+ "inputFields": [
52725
+ {
52726
+ "name": "walletAddress",
52727
+ "description": null,
52728
+ "type": {
52729
+ "kind": "NON_NULL",
52730
+ "name": null,
52731
+ "ofType": {
52732
+ "kind": "SCALAR",
52733
+ "name": "String",
52734
+ "ofType": null
52735
+ }
52736
+ },
52737
+ "defaultValue": null,
52738
+ "isDeprecated": false,
52739
+ "deprecationReason": null
52740
+ }
52741
+ ],
52742
+ "interfaces": null,
52743
+ "enumValues": null,
52744
+ "possibleTypes": null
52745
+ },
52746
+ {
52747
+ "kind": "OBJECT",
52748
+ "name": "WalletAggregateBackfillStateResponse",
52749
+ "description": "The response for the `walletAggregateBackfillState` mutation.",
52750
+ "isOneOf": null,
52751
+ "fields": [
52752
+ {
52753
+ "name": "status",
52754
+ "description": null,
52755
+ "args": [],
52756
+ "type": {
52757
+ "kind": "NON_NULL",
52758
+ "name": null,
52759
+ "ofType": {
52760
+ "kind": "ENUM",
52761
+ "name": "WalletAggregateBackfillState",
52762
+ "ofType": null
52763
+ }
52764
+ },
52765
+ "isDeprecated": false,
52766
+ "deprecationReason": null
52767
+ },
52768
+ {
52769
+ "name": "walletAddress",
52770
+ "description": null,
52771
+ "args": [],
52772
+ "type": {
52773
+ "kind": "NON_NULL",
52774
+ "name": null,
52775
+ "ofType": {
52776
+ "kind": "SCALAR",
52777
+ "name": "String",
52778
+ "ofType": null
52779
+ }
52780
+ },
52781
+ "isDeprecated": false,
52782
+ "deprecationReason": null
52783
+ }
52784
+ ],
52785
+ "inputFields": null,
52786
+ "interfaces": [],
52787
+ "enumValues": null,
52788
+ "possibleTypes": null
52789
+ },
52416
52790
  {
52417
52791
  "kind": "OBJECT",
52418
52792
  "name": "WalletChartData",