@codex-data/sdk 1.0.13 → 1.0.14

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.14",
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",
@@ -11031,6 +11083,12 @@
11031
11083
  "isDeprecated": false,
11032
11084
  "deprecationReason": null
11033
11085
  },
11086
+ {
11087
+ "name": "Baseapp",
11088
+ "description": "Protocol name for Baseapp.",
11089
+ "isDeprecated": false,
11090
+ "deprecationReason": null
11091
+ },
11034
11092
  {
11035
11093
  "name": "BoopFun",
11036
11094
  "description": "Protocol name for boop.fun.",
@@ -11084,6 +11142,18 @@
11084
11142
  "description": "Protocol name for Vertigo.",
11085
11143
  "isDeprecated": false,
11086
11144
  "deprecationReason": null
11145
+ },
11146
+ {
11147
+ "name": "ZoraCreatorV4",
11148
+ "description": "Protocol name for ZoraCreator.",
11149
+ "isDeprecated": false,
11150
+ "deprecationReason": null
11151
+ },
11152
+ {
11153
+ "name": "ZoraV4",
11154
+ "description": "Protocol name for Zora.",
11155
+ "isDeprecated": false,
11156
+ "deprecationReason": null
11087
11157
  }
11088
11158
  ],
11089
11159
  "possibleTypes": null
@@ -12558,6 +12628,39 @@
12558
12628
  "description": null,
12559
12629
  "isOneOf": null,
12560
12630
  "fields": [
12631
+ {
12632
+ "name": "backfillWalletAggregates",
12633
+ "description": "Backfill wallet aggregates (trading stats) for a given wallet. This is the data used in the filterWallet/filterTokenWallets and detailedWalletStats queries.",
12634
+ "args": [
12635
+ {
12636
+ "name": "input",
12637
+ "description": null,
12638
+ "type": {
12639
+ "kind": "NON_NULL",
12640
+ "name": null,
12641
+ "ofType": {
12642
+ "kind": "INPUT_OBJECT",
12643
+ "name": "WalletAggregateBackfillInput",
12644
+ "ofType": null
12645
+ }
12646
+ },
12647
+ "defaultValue": null,
12648
+ "isDeprecated": false,
12649
+ "deprecationReason": null
12650
+ }
12651
+ ],
12652
+ "type": {
12653
+ "kind": "NON_NULL",
12654
+ "name": null,
12655
+ "ofType": {
12656
+ "kind": "OBJECT",
12657
+ "name": "WalletAggregateBackfillStateResponse",
12658
+ "ofType": null
12659
+ }
12660
+ },
12661
+ "isDeprecated": false,
12662
+ "deprecationReason": null
12663
+ },
12561
12664
  {
12562
12665
  "name": "createApiTokens",
12563
12666
  "description": "Create a new set of short-lived api access tokens",
@@ -29155,7 +29258,7 @@
29155
29258
  },
29156
29259
  {
29157
29260
  "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.",
29261
+ "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
29262
  "type": {
29160
29263
  "kind": "SCALAR",
29161
29264
  "name": "String",
@@ -29227,7 +29330,7 @@
29227
29330
  },
29228
29331
  {
29229
29332
  "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.",
29333
+ "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
29334
  "type": {
29232
29335
  "kind": "SCALAR",
29233
29336
  "name": "String",
@@ -29872,6 +29975,30 @@
29872
29975
  "isDeprecated": false,
29873
29976
  "deprecationReason": null
29874
29977
  },
29978
+ {
29979
+ "name": "protocolCustomData",
29980
+ "description": "The per-protocol data for the pair, if applicable",
29981
+ "args": [],
29982
+ "type": {
29983
+ "kind": "OBJECT",
29984
+ "name": "PairProtocolCustomData",
29985
+ "ofType": null
29986
+ },
29987
+ "isDeprecated": true,
29988
+ "deprecationReason": "Use protocolData instead"
29989
+ },
29990
+ {
29991
+ "name": "protocolData",
29992
+ "description": "Custom data for the pair, only certain protocols have this. (uniswapv4, arenatrade for example)",
29993
+ "args": [],
29994
+ "type": {
29995
+ "kind": "UNION",
29996
+ "name": "ProtocolData",
29997
+ "ofType": null
29998
+ },
29999
+ "isDeprecated": false,
30000
+ "deprecationReason": null
30001
+ },
29875
30002
  {
29876
30003
  "name": "tickSpacing",
29877
30004
  "description": "The amount of required tick separation. Only applicable for pairs on UniswapV3.",
@@ -31201,6 +31328,22 @@
31201
31328
  "isDeprecated": false,
31202
31329
  "deprecationReason": null
31203
31330
  },
31331
+ {
31332
+ "name": "hookAddress",
31333
+ "description": "The address of the hook contract for applicable protocols.",
31334
+ "type": {
31335
+ "kind": "LIST",
31336
+ "name": null,
31337
+ "ofType": {
31338
+ "kind": "SCALAR",
31339
+ "name": "String",
31340
+ "ofType": null
31341
+ }
31342
+ },
31343
+ "defaultValue": null,
31344
+ "isDeprecated": false,
31345
+ "deprecationReason": null
31346
+ },
31204
31347
  {
31205
31348
  "name": "isTestnet",
31206
31349
  "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 +32661,30 @@
32518
32661
  "enumValues": null,
32519
32662
  "possibleTypes": null
32520
32663
  },
32664
+ {
32665
+ "kind": "OBJECT",
32666
+ "name": "PairProtocolCustomData",
32667
+ "description": null,
32668
+ "isOneOf": null,
32669
+ "fields": [
32670
+ {
32671
+ "name": "uniswapV4HookAddress",
32672
+ "description": "The address of the hook contract for Uniswap V4 pools.",
32673
+ "args": [],
32674
+ "type": {
32675
+ "kind": "SCALAR",
32676
+ "name": "String",
32677
+ "ofType": null
32678
+ },
32679
+ "isDeprecated": false,
32680
+ "deprecationReason": null
32681
+ }
32682
+ ],
32683
+ "inputFields": null,
32684
+ "interfaces": [],
32685
+ "enumValues": null,
32686
+ "possibleTypes": null
32687
+ },
32521
32688
  {
32522
32689
  "kind": "INPUT_OBJECT",
32523
32690
  "name": "PairRanking",
@@ -37831,6 +37998,28 @@
37831
37998
  "enumValues": null,
37832
37999
  "possibleTypes": null
37833
38000
  },
38001
+ {
38002
+ "kind": "UNION",
38003
+ "name": "ProtocolData",
38004
+ "description": null,
38005
+ "isOneOf": null,
38006
+ "fields": null,
38007
+ "inputFields": null,
38008
+ "interfaces": null,
38009
+ "enumValues": null,
38010
+ "possibleTypes": [
38011
+ {
38012
+ "kind": "OBJECT",
38013
+ "name": "ArenaTradeData",
38014
+ "ofType": null
38015
+ },
38016
+ {
38017
+ "kind": "OBJECT",
38018
+ "name": "UniswapV4Data",
38019
+ "ofType": null
38020
+ }
38021
+ ]
38022
+ },
37834
38023
  {
37835
38024
  "kind": "ENUM",
37836
38025
  "name": "PublishingType",
@@ -42053,6 +42242,39 @@
42053
42242
  "isDeprecated": false,
42054
42243
  "deprecationReason": null
42055
42244
  },
42245
+ {
42246
+ "name": "walletAggregateBackfillState",
42247
+ "description": "Once a wallet backfill has been triggered, this query can be used to check the status of the backfill.",
42248
+ "args": [
42249
+ {
42250
+ "name": "input",
42251
+ "description": null,
42252
+ "type": {
42253
+ "kind": "NON_NULL",
42254
+ "name": null,
42255
+ "ofType": {
42256
+ "kind": "INPUT_OBJECT",
42257
+ "name": "WalletAggregateBackfillStateInput",
42258
+ "ofType": null
42259
+ }
42260
+ },
42261
+ "defaultValue": null,
42262
+ "isDeprecated": false,
42263
+ "deprecationReason": null
42264
+ }
42265
+ ],
42266
+ "type": {
42267
+ "kind": "NON_NULL",
42268
+ "name": null,
42269
+ "ofType": {
42270
+ "kind": "OBJECT",
42271
+ "name": "WalletAggregateBackfillStateResponse",
42272
+ "ofType": null
42273
+ }
42274
+ },
42275
+ "isDeprecated": false,
42276
+ "deprecationReason": null
42277
+ },
42056
42278
  {
42057
42279
  "name": "walletChart",
42058
42280
  "description": "Returns a chart of a wallet's activity.",
@@ -47309,7 +47531,7 @@
47309
47531
  },
47310
47532
  {
47311
47533
  "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.",
47534
+ "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
47535
  "type": {
47314
47536
  "kind": "SCALAR",
47315
47537
  "name": "String",
@@ -52354,6 +52576,46 @@
52354
52576
  "enumValues": null,
52355
52577
  "possibleTypes": null
52356
52578
  },
52579
+ {
52580
+ "kind": "OBJECT",
52581
+ "name": "UniswapV4Data",
52582
+ "description": null,
52583
+ "isOneOf": null,
52584
+ "fields": [
52585
+ {
52586
+ "name": "type",
52587
+ "description": null,
52588
+ "args": [],
52589
+ "type": {
52590
+ "kind": "NON_NULL",
52591
+ "name": null,
52592
+ "ofType": {
52593
+ "kind": "SCALAR",
52594
+ "name": "String",
52595
+ "ofType": null
52596
+ }
52597
+ },
52598
+ "isDeprecated": false,
52599
+ "deprecationReason": null
52600
+ },
52601
+ {
52602
+ "name": "uniswapV4HookAddress",
52603
+ "description": "The address of the hook contract for Uniswap V4 pools.",
52604
+ "args": [],
52605
+ "type": {
52606
+ "kind": "SCALAR",
52607
+ "name": "String",
52608
+ "ofType": null
52609
+ },
52610
+ "isDeprecated": false,
52611
+ "deprecationReason": null
52612
+ }
52613
+ ],
52614
+ "inputFields": null,
52615
+ "interfaces": [],
52616
+ "enumValues": null,
52617
+ "possibleTypes": null
52618
+ },
52357
52619
  {
52358
52620
  "kind": "SCALAR",
52359
52621
  "name": "Void",
@@ -52365,6 +52627,34 @@
52365
52627
  "enumValues": null,
52366
52628
  "possibleTypes": null
52367
52629
  },
52630
+ {
52631
+ "kind": "INPUT_OBJECT",
52632
+ "name": "WalletAggregateBackfillInput",
52633
+ "description": "Input arguments for the `backfillWalletAggregates` mutation.",
52634
+ "isOneOf": false,
52635
+ "fields": null,
52636
+ "inputFields": [
52637
+ {
52638
+ "name": "walletAddress",
52639
+ "description": null,
52640
+ "type": {
52641
+ "kind": "NON_NULL",
52642
+ "name": null,
52643
+ "ofType": {
52644
+ "kind": "SCALAR",
52645
+ "name": "String",
52646
+ "ofType": null
52647
+ }
52648
+ },
52649
+ "defaultValue": null,
52650
+ "isDeprecated": false,
52651
+ "deprecationReason": null
52652
+ }
52653
+ ],
52654
+ "interfaces": null,
52655
+ "enumValues": null,
52656
+ "possibleTypes": null
52657
+ },
52368
52658
  {
52369
52659
  "kind": "ENUM",
52370
52660
  "name": "WalletAggregateBackfillState",
@@ -52413,6 +52703,78 @@
52413
52703
  ],
52414
52704
  "possibleTypes": null
52415
52705
  },
52706
+ {
52707
+ "kind": "INPUT_OBJECT",
52708
+ "name": "WalletAggregateBackfillStateInput",
52709
+ "description": "Input arguments for the `walletAggregateBackfillState` mutation.",
52710
+ "isOneOf": false,
52711
+ "fields": null,
52712
+ "inputFields": [
52713
+ {
52714
+ "name": "walletAddress",
52715
+ "description": null,
52716
+ "type": {
52717
+ "kind": "NON_NULL",
52718
+ "name": null,
52719
+ "ofType": {
52720
+ "kind": "SCALAR",
52721
+ "name": "String",
52722
+ "ofType": null
52723
+ }
52724
+ },
52725
+ "defaultValue": null,
52726
+ "isDeprecated": false,
52727
+ "deprecationReason": null
52728
+ }
52729
+ ],
52730
+ "interfaces": null,
52731
+ "enumValues": null,
52732
+ "possibleTypes": null
52733
+ },
52734
+ {
52735
+ "kind": "OBJECT",
52736
+ "name": "WalletAggregateBackfillStateResponse",
52737
+ "description": "The response for the `walletAggregateBackfillState` mutation.",
52738
+ "isOneOf": null,
52739
+ "fields": [
52740
+ {
52741
+ "name": "status",
52742
+ "description": null,
52743
+ "args": [],
52744
+ "type": {
52745
+ "kind": "NON_NULL",
52746
+ "name": null,
52747
+ "ofType": {
52748
+ "kind": "ENUM",
52749
+ "name": "WalletAggregateBackfillState",
52750
+ "ofType": null
52751
+ }
52752
+ },
52753
+ "isDeprecated": false,
52754
+ "deprecationReason": null
52755
+ },
52756
+ {
52757
+ "name": "walletAddress",
52758
+ "description": null,
52759
+ "args": [],
52760
+ "type": {
52761
+ "kind": "NON_NULL",
52762
+ "name": null,
52763
+ "ofType": {
52764
+ "kind": "SCALAR",
52765
+ "name": "String",
52766
+ "ofType": null
52767
+ }
52768
+ },
52769
+ "isDeprecated": false,
52770
+ "deprecationReason": null
52771
+ }
52772
+ ],
52773
+ "inputFields": null,
52774
+ "interfaces": [],
52775
+ "enumValues": null,
52776
+ "possibleTypes": null
52777
+ },
52416
52778
  {
52417
52779
  "kind": "OBJECT",
52418
52780
  "name": "WalletChartData",