@codex-data/sdk 1.0.32 → 1.0.34
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 +50 -40
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Mutation.d.ts +3 -3
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +3 -3
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +50 -50
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +50 -50
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +16 -16
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +83 -83
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +53 -43
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/graphql.schema.json +94 -187
- package/src/resources/graphql.ts +50 -43
- package/src/resources/networkConfigs.json +34 -3
- package/src/resources/schema.graphql +41 -53
- package/src/sdk/Mutation.ts +7 -7
- package/src/sdk/Query.ts +108 -108
- package/src/sdk/Subscribe.ts +153 -153
- package/src/sdk/generated/graphql.ts +53 -46
package/src/resources/graphql.ts
CHANGED
|
@@ -797,7 +797,7 @@ export type DetailedPairStats = {
|
|
|
797
797
|
pairAddress: Scalars['String']['output'];
|
|
798
798
|
/** The timestamp specified as input to the query */
|
|
799
799
|
queryTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
800
|
-
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
800
|
+
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
|
|
801
801
|
statsType: TokenPairStatisticsType;
|
|
802
802
|
/** The breakdown of stats over a 24 hour window. */
|
|
803
803
|
stats_day1?: Maybe<WindowedDetailedPairStats>;
|
|
@@ -875,7 +875,7 @@ export type DetailedStats = {
|
|
|
875
875
|
pairId: Scalars['String']['output'];
|
|
876
876
|
/** The timestamp specified as input to the query */
|
|
877
877
|
queryTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
878
|
-
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
878
|
+
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
|
|
879
879
|
statsType: TokenPairStatisticsType;
|
|
880
880
|
/** The breakdown of stats over a 24 hour window. */
|
|
881
881
|
stats_day1?: Maybe<WindowedDetailedStats>;
|
|
@@ -1057,6 +1057,10 @@ export type EnhancedToken = {
|
|
|
1057
1057
|
imageThumbUrl?: Maybe<Scalars['String']['output']>;
|
|
1058
1058
|
/** More metadata about the token. */
|
|
1059
1059
|
info?: Maybe<TokenInfo>;
|
|
1060
|
+
/** Determines if freezable is a valid address or null value for the authority, or if the freezable state has not yet been determined. */
|
|
1061
|
+
isFreezableValid?: Maybe<Scalars['Boolean']['output']>;
|
|
1062
|
+
/** Determines if mintable is a valid address or null value for the authority, or if the mintable state has not yet been determined. */
|
|
1063
|
+
isMintableValid?: Maybe<Scalars['Boolean']['output']>;
|
|
1060
1064
|
/** Whether the token has been flagged as a scam. */
|
|
1061
1065
|
isScam?: Maybe<Scalars['Boolean']['output']>;
|
|
1062
1066
|
/** The launchpad data for the token, if applicable. */
|
|
@@ -1147,7 +1151,7 @@ export type Event = {
|
|
|
1147
1151
|
/** Response returned by `getTokenEvents`. */
|
|
1148
1152
|
export type EventConnection = {
|
|
1149
1153
|
__typename?: 'EventConnection';
|
|
1150
|
-
/** A cursor for use in pagination. */
|
|
1154
|
+
/** A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering. */
|
|
1151
1155
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
1152
1156
|
/** A list of transactions for a token's top pair. */
|
|
1153
1157
|
items?: Maybe<Array<Maybe<Event>>>;
|
|
@@ -1507,8 +1511,13 @@ export type FilterTokenWalletsInput = {
|
|
|
1507
1511
|
phrase?: InputMaybe<Scalars['String']['input']>;
|
|
1508
1512
|
/** A list of ranking attributes to apply */
|
|
1509
1513
|
rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
|
|
1510
|
-
/**
|
|
1514
|
+
/**
|
|
1515
|
+
* The ID of the token to filter wallets for
|
|
1516
|
+
* @deprecated Use tokenIds instead
|
|
1517
|
+
*/
|
|
1511
1518
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
1519
|
+
/** The IDs of the tokens to filter wallets for. Maximum 50 tokenIds. If you provide more than one tokenId, you must also provide at least one walletAddress in the wallets list. */
|
|
1520
|
+
tokenIds?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1512
1521
|
/**
|
|
1513
1522
|
* The wallet address to filter wallets for
|
|
1514
1523
|
* @deprecated Use wallets instead
|
|
@@ -1557,7 +1566,7 @@ export type GetDetailedPairsStatsInput = {
|
|
|
1557
1566
|
networkId: Scalars['Int']['input'];
|
|
1558
1567
|
/** The contract address of the pair. */
|
|
1559
1568
|
pairAddress: Scalars['String']['input'];
|
|
1560
|
-
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
1569
|
+
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
|
|
1561
1570
|
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
1562
1571
|
/** The unix timestamp for the stats. Defaults to current. */
|
|
1563
1572
|
timestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -2224,7 +2233,7 @@ export type LockedLiquidityData = {
|
|
|
2224
2233
|
/** Response returned by `getTokenEventsForMaker`. */
|
|
2225
2234
|
export type MakerEventConnection = {
|
|
2226
2235
|
__typename?: 'MakerEventConnection';
|
|
2227
|
-
/** A cursor for use in pagination. */
|
|
2236
|
+
/** A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering. */
|
|
2228
2237
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
2229
2238
|
/** A list of transactions for a token's top pair. */
|
|
2230
2239
|
items?: Maybe<Array<Maybe<Event>>>;
|
|
@@ -5148,7 +5157,7 @@ export type OnBarsUpdatedResponse = {
|
|
|
5148
5157
|
quoteToken?: Maybe<QuoteToken>;
|
|
5149
5158
|
/** The address of the token being quoted */
|
|
5150
5159
|
quoteTokenAddress: Scalars['String']['output'];
|
|
5151
|
-
/** The type of statistics used. Can be `
|
|
5160
|
+
/** The type of statistics used. Can be `FILTERED` or `UNFILTERED`. */
|
|
5152
5161
|
statsType: TokenPairStatisticsType;
|
|
5153
5162
|
/** The unix timestamp for the new bar. */
|
|
5154
5163
|
timestamp: Scalars['Int']['output'];
|
|
@@ -5194,8 +5203,11 @@ export type OnLaunchpadTokenEventInput = {
|
|
|
5194
5203
|
};
|
|
5195
5204
|
|
|
5196
5205
|
export type OnPricesUpdatedInput = {
|
|
5206
|
+
/** The token contract address. */
|
|
5197
5207
|
address: Scalars['String']['input'];
|
|
5208
|
+
/** The network ID the token is deployed on. */
|
|
5198
5209
|
networkId: Scalars['Int']['input'];
|
|
5210
|
+
/** The pair contract address from which to get pricing. Defaults to the top pair for the token. */
|
|
5199
5211
|
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
5200
5212
|
};
|
|
5201
5213
|
|
|
@@ -5223,7 +5235,7 @@ export type OnTokenBarsUpdatedResponse = {
|
|
|
5223
5235
|
* @deprecated pairs are no longer used for pricing
|
|
5224
5236
|
*/
|
|
5225
5237
|
quoteToken?: Maybe<QuoteToken>;
|
|
5226
|
-
/** The type of statistics used.
|
|
5238
|
+
/** The type of statistics used. Only `FILTERED`. */
|
|
5227
5239
|
statsType: TokenPairStatisticsType;
|
|
5228
5240
|
/** The unix timestamp for the new bar. */
|
|
5229
5241
|
timestamp: Scalars['Int']['output'];
|
|
@@ -5236,7 +5248,7 @@ export type OnTokenBarsUpdatedResponse = {
|
|
|
5236
5248
|
export type OnTokenEventsCreatedInput = {
|
|
5237
5249
|
/** The network ID to filter by. */
|
|
5238
5250
|
networkId: Scalars['Int']['input'];
|
|
5239
|
-
/** The token address to filter by. */
|
|
5251
|
+
/** The token address to filter by. Required unless you are on an enterprise plan including EventFeed features. */
|
|
5240
5252
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
5241
5253
|
};
|
|
5242
5254
|
|
|
@@ -5297,6 +5309,8 @@ export type Pair = {
|
|
|
5297
5309
|
networkId: Scalars['Int']['output'];
|
|
5298
5310
|
/** The pooled amounts of each token in the pair. */
|
|
5299
5311
|
pooled?: Maybe<PooledTokenValues>;
|
|
5312
|
+
/** The protocol of the pair. E.g. UniswapV4, RaydiumV4, PumpV1, etc. */
|
|
5313
|
+
protocol?: Maybe<Scalars['String']['output']>;
|
|
5300
5314
|
/**
|
|
5301
5315
|
* The per-protocol data for the pair, if applicable
|
|
5302
5316
|
* @deprecated Use protocolData instead
|
|
@@ -5658,7 +5672,10 @@ export type PairMetadata = {
|
|
|
5658
5672
|
fee?: Maybe<Scalars['Int']['output']>;
|
|
5659
5673
|
/** The highest price in USD in the past hour. */
|
|
5660
5674
|
highPrice1?: Maybe<Scalars['String']['output']>;
|
|
5661
|
-
/**
|
|
5675
|
+
/**
|
|
5676
|
+
* The highest price in USD in the past week.
|
|
5677
|
+
* @deprecated Inaccurate
|
|
5678
|
+
*/
|
|
5662
5679
|
highPrice1w?: Maybe<Scalars['String']['output']>;
|
|
5663
5680
|
/** The highest price in USD in the past 4 hours. */
|
|
5664
5681
|
highPrice4?: Maybe<Scalars['String']['output']>;
|
|
@@ -5676,7 +5693,10 @@ export type PairMetadata = {
|
|
|
5676
5693
|
liquidityToken?: Maybe<Scalars['String']['output']>;
|
|
5677
5694
|
/** The lowest price in USD in the past hour. */
|
|
5678
5695
|
lowPrice1?: Maybe<Scalars['String']['output']>;
|
|
5679
|
-
/**
|
|
5696
|
+
/**
|
|
5697
|
+
* The lowest price in USD in the past week.
|
|
5698
|
+
* @deprecated Inaccurate
|
|
5699
|
+
*/
|
|
5680
5700
|
lowPrice1w?: Maybe<Scalars['String']['output']>;
|
|
5681
5701
|
/** The lowest price in USD in the past 4 hours. */
|
|
5682
5702
|
lowPrice4?: Maybe<Scalars['String']['output']>;
|
|
@@ -5696,7 +5716,10 @@ export type PairMetadata = {
|
|
|
5696
5716
|
price: Scalars['String']['output'];
|
|
5697
5717
|
/** The percent price change in the past hour. Decimal format. */
|
|
5698
5718
|
priceChange1?: Maybe<Scalars['Float']['output']>;
|
|
5699
|
-
/**
|
|
5719
|
+
/**
|
|
5720
|
+
* The percent price change in the past week. Decimal format.
|
|
5721
|
+
* @deprecated Inaccurate
|
|
5722
|
+
*/
|
|
5700
5723
|
priceChange1w?: Maybe<Scalars['Float']['output']>;
|
|
5701
5724
|
/** The percent price change in the past 4 hours. Decimal format. */
|
|
5702
5725
|
priceChange4?: Maybe<Scalars['Float']['output']>;
|
|
@@ -5710,7 +5733,7 @@ export type PairMetadata = {
|
|
|
5710
5733
|
priceNonQuoteToken: Scalars['String']['output'];
|
|
5711
5734
|
/** The token of interest within the pair. Can be `token0` or `token1`. */
|
|
5712
5735
|
quoteToken?: Maybe<QuoteToken>;
|
|
5713
|
-
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
5736
|
+
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. */
|
|
5714
5737
|
statsType: TokenPairStatisticsType;
|
|
5715
5738
|
/** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
|
|
5716
5739
|
tickSpacing?: Maybe<Scalars['Int']['output']>;
|
|
@@ -5720,7 +5743,10 @@ export type PairMetadata = {
|
|
|
5720
5743
|
token1: PairMetadataToken;
|
|
5721
5744
|
/** The trade volume in USD in the past hour. */
|
|
5722
5745
|
volume1?: Maybe<Scalars['String']['output']>;
|
|
5723
|
-
/**
|
|
5746
|
+
/**
|
|
5747
|
+
* The trade trade volume in USD in the past week.
|
|
5748
|
+
* @deprecated Inaccurate
|
|
5749
|
+
*/
|
|
5724
5750
|
volume1w?: Maybe<Scalars['String']['output']>;
|
|
5725
5751
|
/** The trade volume in USD in the past 4 hours. */
|
|
5726
5752
|
volume4?: Maybe<Scalars['String']['output']>;
|
|
@@ -6140,14 +6166,20 @@ export type Price = {
|
|
|
6140
6166
|
__typename?: 'Price';
|
|
6141
6167
|
/** The contract address of the token. */
|
|
6142
6168
|
address: Scalars['String']['output'];
|
|
6143
|
-
/**
|
|
6169
|
+
/**
|
|
6170
|
+
* Ratio of how confident we are in the price
|
|
6171
|
+
* @deprecated Pricing no longer based on specific pools
|
|
6172
|
+
*/
|
|
6144
6173
|
confidence?: Maybe<Scalars['Float']['output']>;
|
|
6145
6174
|
/** The internal pool address for the price */
|
|
6146
6175
|
internalPoolAddress?: Maybe<Scalars['String']['output']>;
|
|
6147
6176
|
/** The network ID the token is deployed on. */
|
|
6148
6177
|
networkId: Scalars['Int']['output'];
|
|
6149
|
-
/**
|
|
6150
|
-
|
|
6178
|
+
/**
|
|
6179
|
+
* The pool that emitted the swap generating this price
|
|
6180
|
+
* @deprecated Pricing no longer based on specific pools
|
|
6181
|
+
*/
|
|
6182
|
+
poolAddress?: Maybe<Scalars['String']['output']>;
|
|
6151
6183
|
/** The token price in USD. */
|
|
6152
6184
|
priceUsd: Scalars['Float']['output'];
|
|
6153
6185
|
/** The unix timestamp for the price. */
|
|
@@ -6828,11 +6860,6 @@ export type Query = {
|
|
|
6828
6860
|
primeHolders: PrimeHolders;
|
|
6829
6861
|
/** Returns a list of NFT collections matching a given query string. */
|
|
6830
6862
|
searchNfts?: Maybe<NftSearchResponse>;
|
|
6831
|
-
/**
|
|
6832
|
-
* Returns a list of tokens matching a given query string.
|
|
6833
|
-
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6834
|
-
*/
|
|
6835
|
-
searchTokens?: Maybe<TokenSearchResponse>;
|
|
6836
6863
|
/** Returns a single token by its address & network id. */
|
|
6837
6864
|
token: EnhancedToken;
|
|
6838
6865
|
/** Returns a list of token lifecycle events. */
|
|
@@ -7324,15 +7351,6 @@ export type QuerySearchNftsArgs = {
|
|
|
7324
7351
|
};
|
|
7325
7352
|
|
|
7326
7353
|
|
|
7327
|
-
export type QuerySearchTokensArgs = {
|
|
7328
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
7329
|
-
lowVolumeFilter?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7330
|
-
networkFilter?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
7331
|
-
resolution?: InputMaybe<Scalars['String']['input']>;
|
|
7332
|
-
search: Scalars['String']['input'];
|
|
7333
|
-
};
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
7354
|
export type QueryTokenArgs = {
|
|
7337
7355
|
input: TokenInput;
|
|
7338
7356
|
};
|
|
@@ -8586,7 +8604,7 @@ export type TokenLifecycleEvent = {
|
|
|
8586
8604
|
/** Response returned by `tokenLifecycleEvents`. */
|
|
8587
8605
|
export type TokenLifecycleEventConnection = {
|
|
8588
8606
|
__typename?: 'TokenLifecycleEventConnection';
|
|
8589
|
-
/** A cursor for use in pagination. */
|
|
8607
|
+
/** A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering. */
|
|
8590
8608
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
8591
8609
|
/** A list of transactions for a token's top pair. */
|
|
8592
8610
|
items: Array<Maybe<TokenLifecycleEvent>>;
|
|
@@ -8794,17 +8812,6 @@ export enum TokenRankingAttribute {
|
|
|
8794
8812
|
WalletAgeStd = 'walletAgeStd'
|
|
8795
8813
|
}
|
|
8796
8814
|
|
|
8797
|
-
/** Response returned by `searchTokens`. */
|
|
8798
|
-
export type TokenSearchResponse = {
|
|
8799
|
-
__typename?: 'TokenSearchResponse';
|
|
8800
|
-
/** The number of additional high volume results found. Only used if `lowVolumeFilter` is set to `true`. */
|
|
8801
|
-
hasMore?: Maybe<Scalars['Int']['output']>;
|
|
8802
|
-
/** If `lowVolumeFilter` is set to `true`, the number of additional low volume results found. If `lowVolumeFilter` is set to `false`, the number of additional high and low volume results found. */
|
|
8803
|
-
hasMoreLowVolume?: Maybe<Scalars['Int']['output']>;
|
|
8804
|
-
/** A list of tokens. */
|
|
8805
|
-
tokens?: Maybe<Array<TokenWithMetadata>>;
|
|
8806
|
-
};
|
|
8807
|
-
|
|
8808
8815
|
/** A sparkline for a token. */
|
|
8809
8816
|
export type TokenSparkline = {
|
|
8810
8817
|
__typename?: 'TokenSparkline';
|
|
@@ -2268,6 +2268,36 @@
|
|
|
2268
2268
|
"baseTokenName": "Wrapped Over",
|
|
2269
2269
|
"baseTokenDecimals": 18
|
|
2270
2270
|
},
|
|
2271
|
+
{
|
|
2272
|
+
"__typename": "EvmNetworkConfig",
|
|
2273
|
+
"id": "9745",
|
|
2274
|
+
"networkType": "EVM",
|
|
2275
|
+
"networkId": 9745,
|
|
2276
|
+
"name": "plasma",
|
|
2277
|
+
"enabled": true,
|
|
2278
|
+
"newTokensEnabled": false,
|
|
2279
|
+
"mainnet": true,
|
|
2280
|
+
"wrappedBaseTokenSymbol": "WXPL",
|
|
2281
|
+
"baseTokenSymbol": "XPL",
|
|
2282
|
+
"baseTokenAddress": "0x6100e367285b01f48d07953803a2d8dca5d19873",
|
|
2283
|
+
"defaultPairAddress": "0xb4afac168ca0cce40c5b4d4e8e49a1e18a630b40",
|
|
2284
|
+
"defaultPairQuoteToken": "token0",
|
|
2285
|
+
"stableCoinAddresses": [
|
|
2286
|
+
"0xb8ce59fc3717ada4c02eadf9682a9e934f625ebb"
|
|
2287
|
+
],
|
|
2288
|
+
"networkIconUrl": "https://icons.defined.fi/networks/plasma.png",
|
|
2289
|
+
"color": "#162F29",
|
|
2290
|
+
"networkShortName": "plasma",
|
|
2291
|
+
"networkName": "Plasma",
|
|
2292
|
+
"explorer": {
|
|
2293
|
+
"name": "Plasma Explorer",
|
|
2294
|
+
"url": "https://plasmascan.to/${type}/${input}",
|
|
2295
|
+
"checksummed": true,
|
|
2296
|
+
"icon": "https://icons.defined.fi/networks/plasma.png"
|
|
2297
|
+
},
|
|
2298
|
+
"baseTokenName": "Wrapped XPL",
|
|
2299
|
+
"baseTokenDecimals": 18
|
|
2300
|
+
},
|
|
2271
2301
|
{
|
|
2272
2302
|
"__typename": "EvmNetworkConfig",
|
|
2273
2303
|
"id": "98866",
|
|
@@ -2704,7 +2734,7 @@
|
|
|
2704
2734
|
"networkType": "EVM",
|
|
2705
2735
|
"networkId": 109,
|
|
2706
2736
|
"name": "shibarium",
|
|
2707
|
-
"enabled":
|
|
2737
|
+
"enabled": false,
|
|
2708
2738
|
"newTokensEnabled": null,
|
|
2709
2739
|
"mainnet": true,
|
|
2710
2740
|
"wrappedBaseTokenSymbol": "WBONE",
|
|
@@ -2825,7 +2855,7 @@
|
|
|
2825
2855
|
"networkType": "EVM",
|
|
2826
2856
|
"networkId": 5031,
|
|
2827
2857
|
"name": "Somnia",
|
|
2828
|
-
"enabled":
|
|
2858
|
+
"enabled": true,
|
|
2829
2859
|
"newTokensEnabled": true,
|
|
2830
2860
|
"mainnet": true,
|
|
2831
2861
|
"wrappedBaseTokenSymbol": "WSOMI",
|
|
@@ -2850,7 +2880,8 @@
|
|
|
2850
2880
|
"checksummed": false,
|
|
2851
2881
|
"icon": "https://icons.defined.fi/networks/somnia.png"
|
|
2852
2882
|
},
|
|
2853
|
-
"baseTokenName": "SOMI"
|
|
2883
|
+
"baseTokenName": "Wrapped SOMI",
|
|
2884
|
+
"baseTokenDecimals": 18
|
|
2854
2885
|
},
|
|
2855
2886
|
{
|
|
2856
2887
|
"__typename": "EvmNetworkConfig",
|
|
@@ -325,7 +325,7 @@ type Query {
|
|
|
325
325
|
filterTokens(
|
|
326
326
|
"""A set of filters to apply."""
|
|
327
327
|
filters: TokenFilters
|
|
328
|
-
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
|
|
328
|
+
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
|
|
329
329
|
statsType: TokenPairStatisticsType
|
|
330
330
|
"""A phrase to search for. Can match a token contract address or partially match a token's name or symbol."""
|
|
331
331
|
phrase: String
|
|
@@ -344,7 +344,7 @@ type Query {
|
|
|
344
344
|
filterPairs(
|
|
345
345
|
"""A set of filters to apply."""
|
|
346
346
|
filters: PairFilters
|
|
347
|
-
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
|
|
347
|
+
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
|
|
348
348
|
statsType: TokenPairStatisticsType
|
|
349
349
|
"""A phrase to search for. Can match a token or pair contract address or ID (`address:networkId`), or partially match a token name or symbol."""
|
|
350
350
|
phrase: String
|
|
@@ -384,7 +384,7 @@ type Query {
|
|
|
384
384
|
windowSizes: [DetailedStatsWindowSize]
|
|
385
385
|
"""The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. The first n-1 buckets are historical. The last bucket is a snapshot of current data. duration `day1`: 6 buckets (4 hours each) plus 1 partial bucket duration `hour12`: 12 buckets (1 hour each) plus 1 partial bucket duration `hour4`: 8 buckets (30 min each) plus 1 partial bucket duration `hour1`: 12 buckets (5 min each) plus 1 partial bucket duration `min5`: 5 buckets (1 min each) plus 1 partial bucket For example, requesting 11 buckets for a `min5` duration will return the last 10 minutes worth of data plus a snapshot for the current minute."""
|
|
386
386
|
bucketCount: Int
|
|
387
|
-
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
|
|
387
|
+
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
|
|
388
388
|
statsType: TokenPairStatisticsType
|
|
389
389
|
): DetailedStats @deprecated(reason: "Use `getDetailedPairStats` instead, it has more resolutions and better support")
|
|
390
390
|
"""Returns bucketed stats for a given token within a pair."""
|
|
@@ -401,7 +401,7 @@ type Query {
|
|
|
401
401
|
durations: [DetailedPairStatsDuration]
|
|
402
402
|
"""The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. The first n-1 buckets are historical. The last bucket is a snapshot of current data. duration `day1`: 6 buckets (4 hours each) plus 1 partial bucket duration `hour12`: 12 buckets (1 hour each) plus 1 partial bucket duration `hour4`: 8 buckets (30 min each) plus 1 partial bucket duration `hour1`: 12 buckets (5 min each) plus 1 partial bucket duration `min5`: 5 buckets (1 min each) plus 1 partial bucket For example, requesting 11 buckets for a `min5` duration will return the last 10 minutes worth of data plus a snapshot for the current minute."""
|
|
403
403
|
bucketCount: Int
|
|
404
|
-
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
|
|
404
|
+
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
|
|
405
405
|
statsType: TokenPairStatisticsType
|
|
406
406
|
): DetailedPairStats
|
|
407
407
|
"""Returns bucketed stats for a given token within a list of pairs."""
|
|
@@ -474,7 +474,7 @@ type Query {
|
|
|
474
474
|
removeLeadingNullValues: Boolean
|
|
475
475
|
"""Whether to remove empty bars from the response. This is useful for eliminating gaps in low-activity tokens. Default is `false`."""
|
|
476
476
|
removeEmptyBars: Boolean
|
|
477
|
-
"""The
|
|
477
|
+
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
|
|
478
478
|
statsType: TokenPairStatisticsType
|
|
479
479
|
"""Guarantees number of bars returned is at most this number. Use `countback: 1500` with `from: 0` for maximum results."""
|
|
480
480
|
countback: Int
|
|
@@ -497,26 +497,13 @@ type Query {
|
|
|
497
497
|
removeEmptyBars: Boolean
|
|
498
498
|
"""The token of interest within the token's top pair. Can be `token0` or `token1`. If omitted, the base token is inferred automatically. You can invert the pair by quoting the other token."""
|
|
499
499
|
quoteToken: QuoteToken
|
|
500
|
-
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`."""
|
|
500
|
+
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
|
|
501
501
|
statsType: TokenPairStatisticsType
|
|
502
502
|
"""Guarantees number of bars returned is at most this number. Use `countback: 1500` with `from: 0` for maximum results."""
|
|
503
503
|
countback: Int
|
|
504
504
|
"""Specify the type of symbol you want to fetch values for. Can be `TOKEN` or `POOL`."""
|
|
505
505
|
symbolType: SymbolType
|
|
506
506
|
): BarsResponse
|
|
507
|
-
"""Returns a list of tokens matching a given query string."""
|
|
508
|
-
searchTokens(
|
|
509
|
-
"""The maximum number of tokens to return."""
|
|
510
|
-
limit: Int
|
|
511
|
-
"""Whether to filter out low volume results from the response. Low volume is less than $500 USD. This setting has no effect when only low volume results are found. Default is `true`."""
|
|
512
|
-
lowVolumeFilter: Boolean
|
|
513
|
-
"""The list of network IDs to filter by."""
|
|
514
|
-
networkFilter: [Int!]
|
|
515
|
-
"""The time frame to use for token metadata. Can be `60`, `240`, `720`, or `1D`."""
|
|
516
|
-
resolution: String
|
|
517
|
-
"""The query string to search for. Can match a token or pair contract address or partially match a token's name or symbol. Automatically filters out tokens marked as scams."""
|
|
518
|
-
search: String!
|
|
519
|
-
): TokenSearchResponse @deprecated(reason: "This query is no longer supported and will not return up to date data. Use `filterTokens` instead.")
|
|
520
507
|
"""Returns the percentage of a token's total supply held collectively by its top 10 holders."""
|
|
521
508
|
top10HoldersPercent(
|
|
522
509
|
tokenId: String!
|
|
@@ -567,7 +554,7 @@ type Query {
|
|
|
567
554
|
pairId: String!
|
|
568
555
|
"""The token of interest within the pair. Can be `token0` or `token1`."""
|
|
569
556
|
quoteToken: QuoteToken
|
|
570
|
-
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
|
|
557
|
+
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
|
|
571
558
|
statsType: TokenPairStatisticsType
|
|
572
559
|
): PairMetadata!
|
|
573
560
|
"""Returns new tokens listed over the last three days."""
|
|
@@ -755,16 +742,16 @@ type Subscription {
|
|
|
755
742
|
): OnUnconfirmedBarsUpdated
|
|
756
743
|
"""Live-streamed bar chart data to track price changes over time for a token."""
|
|
757
744
|
onTokenBarsUpdated(
|
|
758
|
-
"""The ID of the
|
|
745
|
+
"""The ID of the token (`address`:`networkId`). Required unless you are on an enterprise plan including BarFeed features."""
|
|
759
746
|
tokenId: String
|
|
760
|
-
"""The networkId to use when getting all bars per network"""
|
|
747
|
+
"""The networkId to use when getting all bars per network."""
|
|
761
748
|
networkId: Int
|
|
762
749
|
): OnTokenBarsUpdatedResponse
|
|
763
750
|
"""Live-streamed transactions for a pair."""
|
|
764
751
|
onEventsCreated(
|
|
765
752
|
"""The pair contract address."""
|
|
766
753
|
address: String
|
|
767
|
-
"""The ID of the pair (`address`:`networkId`)."""
|
|
754
|
+
"""The ID of the pair (`address`:`networkId`). Required unless you are on an enterprise plan including EventFeed features."""
|
|
768
755
|
id: String
|
|
769
756
|
"""The token of interest within the pair. Can be `token0` or `token1`."""
|
|
770
757
|
quoteToken: QuoteToken
|
|
@@ -778,7 +765,7 @@ type Subscription {
|
|
|
778
765
|
"""Live-streamed unconfirmed transactions for a token. (Solana only)"""
|
|
779
766
|
onUnconfirmedEventsCreated(
|
|
780
767
|
"""The pair contract address."""
|
|
781
|
-
address: String
|
|
768
|
+
address: String @deprecated(reason: "Unused")
|
|
782
769
|
"""The ID of the pair (`address`:`networkId`)."""
|
|
783
770
|
id: String
|
|
784
771
|
"""The token of interest within the pair. Can be `token0` or `token1`."""
|
|
@@ -790,11 +777,11 @@ type Subscription {
|
|
|
790
777
|
): AddUnconfirmedEventsByMakerOutput
|
|
791
778
|
"""Live-streamed price updates for a token."""
|
|
792
779
|
onPriceUpdated(
|
|
793
|
-
"""The token contract address."""
|
|
780
|
+
"""The token contract address. Required unless you are on an enterprise plan including PriceFeed features."""
|
|
794
781
|
address: String
|
|
795
782
|
"""The network ID the token is deployed on."""
|
|
796
783
|
networkId: Int
|
|
797
|
-
"""The pair contract address from which to get pricing"""
|
|
784
|
+
"""The pair contract address from which to get pricing. Defaults to the top pair for the token."""
|
|
798
785
|
sourcePairAddress: String
|
|
799
786
|
): Price
|
|
800
787
|
"""Live-streamed price updates for multiple tokens."""
|
|
@@ -1587,7 +1574,7 @@ type DetailedPairStats {
|
|
|
1587
1574
|
tokenOfInterest: TokenOfInterest
|
|
1588
1575
|
"""The unix timestamp for the last transaction to happen on the pair."""
|
|
1589
1576
|
lastTransaction: Int
|
|
1590
|
-
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
1577
|
+
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`."""
|
|
1591
1578
|
statsType: TokenPairStatisticsType!
|
|
1592
1579
|
"""The breakdown of stats over a 5 minute window."""
|
|
1593
1580
|
stats_min5: WindowedDetailedPairStats
|
|
@@ -1662,7 +1649,7 @@ type DetailedStats {
|
|
|
1662
1649
|
pairId: String!
|
|
1663
1650
|
"""The token of interest used to calculate token-specific stats."""
|
|
1664
1651
|
tokenOfInterest: TokenOfInterest!
|
|
1665
|
-
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
1652
|
+
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`."""
|
|
1666
1653
|
statsType: TokenPairStatisticsType!
|
|
1667
1654
|
"""The breakdown of stats over a 5 minute window."""
|
|
1668
1655
|
stats_min5: WindowedDetailedStats
|
|
@@ -1838,6 +1825,10 @@ type EnhancedToken {
|
|
|
1838
1825
|
mintable: String
|
|
1839
1826
|
"""Whether or not the token is freezable"""
|
|
1840
1827
|
freezable: String
|
|
1828
|
+
"""Determines if freezable is a valid address or null value for the authority, or if the freezable state has not yet been determined."""
|
|
1829
|
+
isFreezableValid: Boolean
|
|
1830
|
+
"""Determines if mintable is a valid address or null value for the authority, or if the mintable state has not yet been determined."""
|
|
1831
|
+
isMintableValid: Boolean
|
|
1841
1832
|
"""The launchpad data for the token, if applicable."""
|
|
1842
1833
|
launchpad: LaunchpadData
|
|
1843
1834
|
"""The pair that the token is contained in"""
|
|
@@ -1906,7 +1897,7 @@ type Event {
|
|
|
1906
1897
|
type EventConnection {
|
|
1907
1898
|
"""A list of transactions for a token's top pair."""
|
|
1908
1899
|
items: [Event]
|
|
1909
|
-
"""A cursor for use in pagination."""
|
|
1900
|
+
"""A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering."""
|
|
1910
1901
|
cursor: String
|
|
1911
1902
|
}
|
|
1912
1903
|
|
|
@@ -2235,7 +2226,9 @@ input FilterNetworkWalletsInput {
|
|
|
2235
2226
|
"""The input for filtering wallets for a token."""
|
|
2236
2227
|
input FilterTokenWalletsInput {
|
|
2237
2228
|
"""The ID of the token to filter wallets for"""
|
|
2238
|
-
tokenId: String
|
|
2229
|
+
tokenId: String @deprecated(reason: "Use tokenIds instead")
|
|
2230
|
+
"""The IDs of the tokens to filter wallets for. Maximum 50 tokenIds. If you provide more than one tokenId, you must also provide at least one walletAddress in the wallets list."""
|
|
2231
|
+
tokenIds: [String]
|
|
2239
2232
|
"""The wallet address to filter wallets for"""
|
|
2240
2233
|
walletAddress: String @deprecated(reason: "Use wallets instead")
|
|
2241
2234
|
"""A list of wallet addresses to filter wallets for"""
|
|
@@ -2302,7 +2295,7 @@ input GetDetailedPairsStatsInput {
|
|
|
2302
2295
|
durations: [DetailedPairStatsDuration]
|
|
2303
2296
|
"""The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. The first n-1 buckets are historical. The last bucket is a snapshot of current data. duration `day1`: 6 buckets (4 hours each) plus 1 partial bucket duration `hour12`: 12 buckets (1 hour each) plus 1 partial bucket duration `hour4`: 8 buckets (30 min each) plus 1 partial bucket duration `hour1`: 12 buckets (5 min each) plus 1 partial bucket duration `min5`: 5 buckets (1 min each) plus 1 partial bucket For example, requesting 11 buckets for a `min5` duration will return the last 10 minutes worth of data plus a snapshot for the current minute."""
|
|
2304
2297
|
bucketCount: Int
|
|
2305
|
-
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
2298
|
+
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`."""
|
|
2306
2299
|
statsType: TokenPairStatisticsType
|
|
2307
2300
|
}
|
|
2308
2301
|
|
|
@@ -2951,7 +2944,7 @@ type LockedLiquidityData {
|
|
|
2951
2944
|
type MakerEventConnection {
|
|
2952
2945
|
"""A list of transactions for a token's top pair."""
|
|
2953
2946
|
items: [Event]
|
|
2954
|
-
"""A cursor for use in pagination."""
|
|
2947
|
+
"""A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering."""
|
|
2955
2948
|
cursor: String
|
|
2956
2949
|
}
|
|
2957
2950
|
|
|
@@ -5688,7 +5681,7 @@ type OnBarsUpdatedResponse {
|
|
|
5688
5681
|
pairId: String!
|
|
5689
5682
|
"""The unix timestamp for the new bar."""
|
|
5690
5683
|
timestamp: Int!
|
|
5691
|
-
"""The type of statistics used. Can be `
|
|
5684
|
+
"""The type of statistics used. Can be `FILTERED` or `UNFILTERED`."""
|
|
5692
5685
|
statsType: TokenPairStatisticsType!
|
|
5693
5686
|
"""The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`."""
|
|
5694
5687
|
eventSortKey: String!
|
|
@@ -5752,8 +5745,11 @@ input OnLaunchpadTokenEventInput {
|
|
|
5752
5745
|
}
|
|
5753
5746
|
|
|
5754
5747
|
input OnPricesUpdatedInput {
|
|
5748
|
+
"""The token contract address."""
|
|
5755
5749
|
address: String!
|
|
5750
|
+
"""The network ID the token is deployed on."""
|
|
5756
5751
|
networkId: Int!
|
|
5752
|
+
"""The pair contract address from which to get pricing. Defaults to the top pair for the token."""
|
|
5757
5753
|
sourcePairAddress: String
|
|
5758
5754
|
}
|
|
5759
5755
|
|
|
@@ -5767,7 +5763,7 @@ type OnTokenBarsUpdatedResponse {
|
|
|
5767
5763
|
pairId: String @deprecated(reason: "pairs are no longer used for pricing")
|
|
5768
5764
|
"""The unix timestamp for the new bar."""
|
|
5769
5765
|
timestamp: Int!
|
|
5770
|
-
"""The type of statistics used.
|
|
5766
|
+
"""The type of statistics used. Only `FILTERED`."""
|
|
5771
5767
|
statsType: TokenPairStatisticsType!
|
|
5772
5768
|
"""The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`."""
|
|
5773
5769
|
eventSortKey: String!
|
|
@@ -5782,7 +5778,7 @@ type OnTokenBarsUpdatedResponse {
|
|
|
5782
5778
|
}
|
|
5783
5779
|
|
|
5784
5780
|
input OnTokenEventsCreatedInput {
|
|
5785
|
-
"""The token address to filter by."""
|
|
5781
|
+
"""The token address to filter by. Required unless you are on an enterprise plan including EventFeed features."""
|
|
5786
5782
|
tokenAddress: String
|
|
5787
5783
|
"""The network ID to filter by."""
|
|
5788
5784
|
networkId: Int!
|
|
@@ -5826,6 +5822,8 @@ type Pair {
|
|
|
5826
5822
|
id: String!
|
|
5827
5823
|
"""The network ID the pair is deployed on."""
|
|
5828
5824
|
networkId: Int!
|
|
5825
|
+
"""The protocol of the pair. E.g. UniswapV4, RaydiumV4, PumpV1, etc."""
|
|
5826
|
+
protocol: String
|
|
5829
5827
|
"""The amount of required tick separation. Only applicable for pairs on UniswapV3."""
|
|
5830
5828
|
tickSpacing: Int
|
|
5831
5829
|
"""The contract address of `token0`."""
|
|
@@ -6191,7 +6189,7 @@ type PairMetadata {
|
|
|
6191
6189
|
nonLiquidityToken: String
|
|
6192
6190
|
"""The contract address of the pair."""
|
|
6193
6191
|
pairAddress: String!
|
|
6194
|
-
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED
|
|
6192
|
+
"""The type of statistics returned. Can be `FILTERED` or `UNFILTERED`."""
|
|
6195
6193
|
statsType: TokenPairStatisticsType!
|
|
6196
6194
|
"""The quote token price in USD."""
|
|
6197
6195
|
price: String!
|
|
@@ -6208,7 +6206,7 @@ type PairMetadata {
|
|
|
6208
6206
|
"""The percent price change in the past 24 hours. Decimal format."""
|
|
6209
6207
|
priceChange24: Float
|
|
6210
6208
|
"""The percent price change in the past week. Decimal format."""
|
|
6211
|
-
priceChange1w: Float
|
|
6209
|
+
priceChange1w: Float @deprecated(reason: "Inaccurate")
|
|
6212
6210
|
"""The amount of required tick separation. Only applicable for pairs on UniswapV3."""
|
|
6213
6211
|
tickSpacing: Int
|
|
6214
6212
|
"""Pair metadata for the first token in the pair."""
|
|
@@ -6224,7 +6222,7 @@ type PairMetadata {
|
|
|
6224
6222
|
"""The trade volume in USD in the past 24 hours."""
|
|
6225
6223
|
volume24: String
|
|
6226
6224
|
"""The trade trade volume in USD in the past week."""
|
|
6227
|
-
volume1w: String
|
|
6225
|
+
volume1w: String @deprecated(reason: "Inaccurate")
|
|
6228
6226
|
"""The trade volume in USD in the past 5 minutes."""
|
|
6229
6227
|
volume5m: String
|
|
6230
6228
|
"""The highest price in USD in the past 5 minutes."""
|
|
@@ -6238,7 +6236,7 @@ type PairMetadata {
|
|
|
6238
6236
|
"""The highest price in USD in the past 24 hours."""
|
|
6239
6237
|
highPrice24: String
|
|
6240
6238
|
"""The highest price in USD in the past week."""
|
|
6241
|
-
highPrice1w: String
|
|
6239
|
+
highPrice1w: String @deprecated(reason: "Inaccurate")
|
|
6242
6240
|
"""The lowest price in USD in the past 5 minutes."""
|
|
6243
6241
|
lowPrice5m: String
|
|
6244
6242
|
"""The lowest price in USD in the past hour."""
|
|
@@ -6250,7 +6248,7 @@ type PairMetadata {
|
|
|
6250
6248
|
"""The lowest price in USD in the past 4 hours."""
|
|
6251
6249
|
lowPrice4: String
|
|
6252
6250
|
"""The lowest price in USD in the past week."""
|
|
6253
|
-
lowPrice1w: String
|
|
6251
|
+
lowPrice1w: String @deprecated(reason: "Inaccurate")
|
|
6254
6252
|
"""Token metadata for the first token in the pair."""
|
|
6255
6253
|
enhancedToken0: EnhancedToken
|
|
6256
6254
|
"""Token metadata for the second token in the pair."""
|
|
@@ -6661,9 +6659,9 @@ type Price {
|
|
|
6661
6659
|
"""The unix timestamp for the price."""
|
|
6662
6660
|
timestamp: Int
|
|
6663
6661
|
"""The pool that emitted the swap generating this price"""
|
|
6664
|
-
poolAddress: String
|
|
6662
|
+
poolAddress: String @deprecated(reason: "Pricing no longer based on specific pools")
|
|
6665
6663
|
"""Ratio of how confident we are in the price"""
|
|
6666
|
-
confidence: Float
|
|
6664
|
+
confidence: Float @deprecated(reason: "Pricing no longer based on specific pools")
|
|
6667
6665
|
"""The internal pool address for the price"""
|
|
6668
6666
|
internalPoolAddress: String
|
|
6669
6667
|
}
|
|
@@ -8196,7 +8194,7 @@ type TokenLifecycleEvent {
|
|
|
8196
8194
|
type TokenLifecycleEventConnection {
|
|
8197
8195
|
"""A list of transactions for a token's top pair."""
|
|
8198
8196
|
items: [TokenLifecycleEvent]!
|
|
8199
|
-
"""A cursor for use in pagination."""
|
|
8197
|
+
"""A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering."""
|
|
8200
8198
|
cursor: String
|
|
8201
8199
|
}
|
|
8202
8200
|
|
|
@@ -8398,16 +8396,6 @@ enum TokenRankingAttribute {
|
|
|
8398
8396
|
swapPct7dOldWallet
|
|
8399
8397
|
}
|
|
8400
8398
|
|
|
8401
|
-
"""Response returned by `searchTokens`."""
|
|
8402
|
-
type TokenSearchResponse {
|
|
8403
|
-
"""The number of additional high volume results found. Only used if `lowVolumeFilter` is set to `true`."""
|
|
8404
|
-
hasMore: Int
|
|
8405
|
-
"""If `lowVolumeFilter` is set to `true`, the number of additional low volume results found. If `lowVolumeFilter` is set to `false`, the number of additional high and low volume results found."""
|
|
8406
|
-
hasMoreLowVolume: Int
|
|
8407
|
-
"""A list of tokens."""
|
|
8408
|
-
tokens: [TokenWithMetadata!]
|
|
8409
|
-
}
|
|
8410
|
-
|
|
8411
8399
|
"""A sparkline for a token."""
|
|
8412
8400
|
type TokenSparkline {
|
|
8413
8401
|
"""The token id"""
|
package/src/sdk/Mutation.ts
CHANGED
|
@@ -15,15 +15,15 @@ import { Codex } from "./index";
|
|
|
15
15
|
|
|
16
16
|
export class Mutation {
|
|
17
17
|
constructor(private sdk: Codex) {}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
this.sdk.mutation(DeleteWebhooksDocument, vars);
|
|
18
|
+
backfillWalletAggregates = async (
|
|
19
|
+
vars: BackfillWalletAggregatesMutationVariables,
|
|
20
|
+
) => this.sdk.mutation(BackfillWalletAggregatesDocument, vars);
|
|
22
21
|
createApiTokens = async (vars: CreateApiTokensMutationVariables) =>
|
|
23
22
|
this.sdk.mutation(CreateApiTokensDocument, vars);
|
|
24
23
|
deleteApiToken = async (vars: DeleteApiTokenMutationVariables) =>
|
|
25
24
|
this.sdk.mutation(DeleteApiTokenDocument, vars);
|
|
26
|
-
|
|
27
|
-
vars
|
|
28
|
-
|
|
25
|
+
createWebhooks = async (vars: CreateWebhooksMutationVariables) =>
|
|
26
|
+
this.sdk.mutation(CreateWebhooksDocument, vars);
|
|
27
|
+
deleteWebhooks = async (vars: DeleteWebhooksMutationVariables) =>
|
|
28
|
+
this.sdk.mutation(DeleteWebhooksDocument, vars);
|
|
29
29
|
}
|