@codex-data/sdk 1.0.22 → 1.0.24
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 +89 -17
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +4 -0
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Mutation.d.ts +3 -2
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +2 -1
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +49 -48
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +48 -47
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +17 -17
- 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/gql.d.ts +52 -38
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +21 -19
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +441 -17
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +28 -22
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/dist/sdk/index.d.ts +1 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -0
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/index.test.js +18 -0
- package/dist/sdk/index.test.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_mutations/BackfillWalletAggregates.graphql +6 -0
- package/src/resources/generated_queries/Balances.graphql +2 -0
- package/src/resources/generated_queries/FilterPairs.graphql +18 -0
- package/src/resources/generated_queries/FilterTokenWallets.graphql +2 -0
- package/src/resources/generated_queries/FilterTokens.graphql +198 -0
- package/src/resources/generated_queries/GetBars.graphql +14 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +2 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +14 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +14 -0
- package/src/resources/generated_queries/Holders.graphql +2 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +14 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +18 -0
- package/src/resources/generated_queries/PairMetadata.graphql +4 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +2 -0
- package/src/resources/generated_queries/Token.graphql +2 -0
- package/src/resources/generated_queries/Tokens.graphql +2 -0
- package/src/resources/generated_queries/WalletAggregateBackfillState.graphql +6 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +4 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +4 -0
- package/src/resources/graphql.schema.json +391 -27
- package/src/resources/graphql.ts +89 -17
- package/src/resources/schema.graphql +71 -17
- package/src/sdk/Mutation.ts +7 -2
- package/src/sdk/Query.ts +105 -100
- package/src/sdk/Subscribe.ts +165 -165
- package/src/sdk/generated/gql.ts +48 -38
- package/src/sdk/generated/graphql.ts +143 -55
- package/src/sdk/index.test.ts +25 -0
- package/src/sdk/index.ts +4 -0
package/src/resources/graphql.ts
CHANGED
|
@@ -466,7 +466,10 @@ export type CreateMarketCapWebhookArgs = {
|
|
|
466
466
|
conditions: MarketCapEventWebhookConditionInput;
|
|
467
467
|
/** If enabled, new webhooks won't be created if a webhook with the same parameters already exists. If callbackUrl, conditions, publishingType, and alertRecurrence all match, then we return the existing webhook. */
|
|
468
468
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
469
|
-
/**
|
|
469
|
+
/**
|
|
470
|
+
* A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook.
|
|
471
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
472
|
+
*/
|
|
470
473
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
471
474
|
/** The name of the webhook (max 128 characters). */
|
|
472
475
|
name: Scalars['String']['input'];
|
|
@@ -498,7 +501,10 @@ export type CreateNftEventWebhookArgs = {
|
|
|
498
501
|
conditions: NftEventWebhookConditionInput;
|
|
499
502
|
/** If enabled, new webhooks won't be created if a webhook with the same parameters already exists. If callbackUrl, conditions, publishingType, and alertRecurrence all match, then we return the existing webhook. */
|
|
500
503
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
501
|
-
/**
|
|
504
|
+
/**
|
|
505
|
+
* A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook.
|
|
506
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
507
|
+
*/
|
|
502
508
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
503
509
|
/** The name of the webhook (max 128 characters). */
|
|
504
510
|
name: Scalars['String']['input'];
|
|
@@ -530,7 +536,10 @@ export type CreatePriceWebhookArgs = {
|
|
|
530
536
|
conditions: PriceEventWebhookConditionInput;
|
|
531
537
|
/** If enabled, new webhooks won't be created if a webhook with the same parameters already exists. If callbackUrl, conditions, publishingType, and alertRecurrence all match, then we return the existing webhook. */
|
|
532
538
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
533
|
-
/**
|
|
539
|
+
/**
|
|
540
|
+
* A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook.
|
|
541
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
542
|
+
*/
|
|
534
543
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
535
544
|
/** The name of the webhook (max 128 characters). */
|
|
536
545
|
name: Scalars['String']['input'];
|
|
@@ -562,7 +571,10 @@ export type CreateRawTransactionWebhookArgs = {
|
|
|
562
571
|
conditions: RawTransactionWebhookConditionInput;
|
|
563
572
|
/** If enabled, new webhooks won't be created if a webhook with the same parameters already exists. If callbackUrl, conditions, publishingType, and alertRecurrence all match, then we return the existing webhook. */
|
|
564
573
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
565
|
-
/**
|
|
574
|
+
/**
|
|
575
|
+
* A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook.
|
|
576
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
577
|
+
*/
|
|
566
578
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
567
579
|
/** The name of the webhook (max 128 characters). */
|
|
568
580
|
name: Scalars['String']['input'];
|
|
@@ -594,7 +606,10 @@ export type CreateTokenPairEventWebhookArgs = {
|
|
|
594
606
|
conditions: TokenPairEventWebhookConditionInput;
|
|
595
607
|
/** If enabled, new webhooks won't be created if a webhook with the same parameters already exists. If callbackUrl, conditions, publishingType, and alertRecurrence all match, then we return the existing webhook. */
|
|
596
608
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
597
|
-
/**
|
|
609
|
+
/**
|
|
610
|
+
* A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook.
|
|
611
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
612
|
+
*/
|
|
598
613
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
599
614
|
/** The name of the webhook (max 128 characters). */
|
|
600
615
|
name: Scalars['String']['input'];
|
|
@@ -1017,6 +1032,8 @@ export type EnhancedToken = {
|
|
|
1017
1032
|
name?: Maybe<Scalars['String']['output']>;
|
|
1018
1033
|
/** The network ID the token is deployed on. */
|
|
1019
1034
|
networkId: Scalars['Int']['output'];
|
|
1035
|
+
/** The pair that the token is contained in */
|
|
1036
|
+
pairId?: Maybe<Scalars['String']['output']>;
|
|
1020
1037
|
/**
|
|
1021
1038
|
* The amount of this token in the pair.
|
|
1022
1039
|
* @deprecated Pooled can be found on the pair instead
|
|
@@ -1607,6 +1624,8 @@ export type HoldersResponse = {
|
|
|
1607
1624
|
items: Array<Balance>;
|
|
1608
1625
|
/** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
|
|
1609
1626
|
status: HoldersStatus;
|
|
1627
|
+
/** the token Id */
|
|
1628
|
+
tokenId?: Maybe<Scalars['String']['output']>;
|
|
1610
1629
|
/** What percentage of the total supply do the top 10 holders hold. */
|
|
1611
1630
|
top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
|
|
1612
1631
|
};
|
|
@@ -1851,7 +1870,7 @@ export type LaunchpadData = {
|
|
|
1851
1870
|
graduationPercent?: Maybe<Scalars['Float']['output']>;
|
|
1852
1871
|
/** The icon URL of the launchpad. */
|
|
1853
1872
|
launchpadIconUrl?: Maybe<Scalars['String']['output']>;
|
|
1854
|
-
/** The name of the launchpad.
|
|
1873
|
+
/** The name of the launchpad. */
|
|
1855
1874
|
launchpadName?: Maybe<Scalars['String']['output']>;
|
|
1856
1875
|
/** The launchpad protocol. */
|
|
1857
1876
|
launchpadProtocol?: Maybe<Scalars['String']['output']>;
|
|
@@ -1883,7 +1902,7 @@ export type LaunchpadTokenEventOutput = {
|
|
|
1883
1902
|
eventType: LaunchpadTokenEventType;
|
|
1884
1903
|
/** The number of holders. */
|
|
1885
1904
|
holders?: Maybe<Scalars['Int']['output']>;
|
|
1886
|
-
/** The name of the launchpad.
|
|
1905
|
+
/** The name of the launchpad. */
|
|
1887
1906
|
launchpadName: Scalars['String']['output'];
|
|
1888
1907
|
/** The liquidity of the token's top pair. */
|
|
1889
1908
|
liquidity?: Maybe<Scalars['String']['output']>;
|
|
@@ -1931,6 +1950,8 @@ export enum LaunchpadTokenProtocol {
|
|
|
1931
1950
|
Baseapp = 'Baseapp',
|
|
1932
1951
|
/** Protocol name for boop.fun. */
|
|
1933
1952
|
BoopFun = 'BoopFun',
|
|
1953
|
+
/** Protocol name for Clanker. */
|
|
1954
|
+
Clanker = 'Clanker',
|
|
1934
1955
|
/** Protocol name for EgoTech. */
|
|
1935
1956
|
EgoTech = 'EgoTech',
|
|
1936
1957
|
/** Protocol name for Four.meme. */
|
|
@@ -1947,6 +1968,8 @@ export enum LaunchpadTokenProtocol {
|
|
|
1947
1968
|
RaydiumLaunchpad = 'RaydiumLaunchpad',
|
|
1948
1969
|
/** Protocol name for Vertigo. */
|
|
1949
1970
|
Vertigo = 'Vertigo',
|
|
1971
|
+
/** Protocol name for Virtuals. */
|
|
1972
|
+
Virtuals = 'Virtuals',
|
|
1950
1973
|
/** Protocol name for ZoraCreator. */
|
|
1951
1974
|
ZoraCreatorV4 = 'ZoraCreatorV4',
|
|
1952
1975
|
/** Protocol name for Zora. */
|
|
@@ -2158,12 +2181,16 @@ export type MarketCapEventWebhookCondition = {
|
|
|
2158
2181
|
circulatingMarketCapUsd?: Maybe<ComparisonOperator>;
|
|
2159
2182
|
/** The market cap condition that must be met in order for the webhook to send. */
|
|
2160
2183
|
fdvMarketCapUsd?: Maybe<ComparisonOperator>;
|
|
2184
|
+
/** The liquidity condition (for the source pair) that must be met in order for the webhook to send. */
|
|
2185
|
+
liquidityUsd?: Maybe<ComparisonOperator>;
|
|
2161
2186
|
/** The network ID the webhook is listening on. */
|
|
2162
2187
|
networkId: IntEqualsCondition;
|
|
2163
2188
|
/** The pair contract address the webhook is listening for. */
|
|
2164
2189
|
pairAddress?: Maybe<StringEqualsCondition>;
|
|
2165
2190
|
/** The token contract address the webhook is listening for. */
|
|
2166
2191
|
tokenAddress: StringEqualsCondition;
|
|
2192
|
+
/** The volume condition (for the source pair) that must be met in order for the webhook to send. */
|
|
2193
|
+
volumeUsd?: Maybe<ComparisonOperator>;
|
|
2167
2194
|
};
|
|
2168
2195
|
|
|
2169
2196
|
/** Input conditions for a market cap event webhook. */
|
|
@@ -2172,12 +2199,16 @@ export type MarketCapEventWebhookConditionInput = {
|
|
|
2172
2199
|
circulatingMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2173
2200
|
/** The price conditions to listen for. */
|
|
2174
2201
|
fdvMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2202
|
+
/** The liquidity conditions to listen for. */
|
|
2203
|
+
liquidityUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2175
2204
|
/** The network ID to listen on. */
|
|
2176
2205
|
networkId: IntEqualsConditionInput;
|
|
2177
2206
|
/** The contract address of the pair to listen for. */
|
|
2178
2207
|
pairAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
2179
2208
|
/** The contract address of the token to listen for. */
|
|
2180
2209
|
tokenAddress: StringEqualsConditionInput;
|
|
2210
|
+
/** The volume conditions to listen for. */
|
|
2211
|
+
volumeUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2181
2212
|
};
|
|
2182
2213
|
|
|
2183
2214
|
/** The status for a network supported on Defined. */
|
|
@@ -5030,12 +5061,16 @@ export type OnEventsCreatedByMakerInput = {
|
|
|
5030
5061
|
export type OnLaunchpadTokenEventBatchInput = {
|
|
5031
5062
|
/** The type of event. */
|
|
5032
5063
|
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
5033
|
-
/** 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. */
|
|
5064
|
+
/** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
|
|
5034
5065
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
5066
|
+
/** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
|
|
5067
|
+
launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5035
5068
|
/** The network ID that the token is deployed on. */
|
|
5036
5069
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
5037
|
-
/** The protocol
|
|
5070
|
+
/** The launchpad protocol. */
|
|
5038
5071
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
5072
|
+
/** A list of launchpad protocols. */
|
|
5073
|
+
protocols?: InputMaybe<Array<LaunchpadTokenProtocol>>;
|
|
5039
5074
|
};
|
|
5040
5075
|
|
|
5041
5076
|
/** Input for `onLaunchpadTokenEvent`. */
|
|
@@ -5044,12 +5079,16 @@ export type OnLaunchpadTokenEventInput = {
|
|
|
5044
5079
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
5045
5080
|
/** The type of event. */
|
|
5046
5081
|
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
5047
|
-
/** 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. */
|
|
5082
|
+
/** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
|
|
5048
5083
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
5084
|
+
/** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
|
|
5085
|
+
launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5049
5086
|
/** The network ID that the token is deployed on. */
|
|
5050
5087
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
5051
|
-
/** The protocol
|
|
5088
|
+
/** The launchpad protocol. */
|
|
5052
5089
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
5090
|
+
/** A list of launchpad protocols. */
|
|
5091
|
+
protocols?: InputMaybe<Array<LaunchpadTokenProtocol>>;
|
|
5053
5092
|
};
|
|
5054
5093
|
|
|
5055
5094
|
export type OnPricesUpdatedInput = {
|
|
@@ -6003,6 +6042,8 @@ export type Price = {
|
|
|
6003
6042
|
/** Webhook conditions for a price event. */
|
|
6004
6043
|
export type PriceEventWebhookCondition = {
|
|
6005
6044
|
__typename?: 'PriceEventWebhookCondition';
|
|
6045
|
+
/** The liquidity condition (for the source pair) that must be met in order for the webhook to send. */
|
|
6046
|
+
liquidityUsd?: Maybe<ComparisonOperator>;
|
|
6006
6047
|
/** The network ID the webhook is listening on. */
|
|
6007
6048
|
networkId: IntEqualsCondition;
|
|
6008
6049
|
/** The pair contract address the webhook is listening for. */
|
|
@@ -6011,10 +6052,14 @@ export type PriceEventWebhookCondition = {
|
|
|
6011
6052
|
priceUsd: ComparisonOperator;
|
|
6012
6053
|
/** The token contract address the webhook is listening for. */
|
|
6013
6054
|
tokenAddress: StringEqualsCondition;
|
|
6055
|
+
/** The volume condition (for the source pair) that must be met in order for the webhook to send. */
|
|
6056
|
+
volumeUsd?: Maybe<ComparisonOperator>;
|
|
6014
6057
|
};
|
|
6015
6058
|
|
|
6016
6059
|
/** Input conditions for a price event webhook. */
|
|
6017
6060
|
export type PriceEventWebhookConditionInput = {
|
|
6061
|
+
/** The liquidity conditions to listen for. */
|
|
6062
|
+
liquidityUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
6018
6063
|
/** The network ID to listen on. */
|
|
6019
6064
|
networkId: IntEqualsConditionInput;
|
|
6020
6065
|
/** The contract address of the pair to listen for. */
|
|
@@ -6023,6 +6068,8 @@ export type PriceEventWebhookConditionInput = {
|
|
|
6023
6068
|
priceUsd: ComparisonOperatorInput;
|
|
6024
6069
|
/** The contract address of the token to listen for. */
|
|
6025
6070
|
tokenAddress: StringEqualsConditionInput;
|
|
6071
|
+
/** The volume conditions to listen for. */
|
|
6072
|
+
volumeUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
6026
6073
|
};
|
|
6027
6074
|
|
|
6028
6075
|
/** Response returned by `primeHolders`. */
|
|
@@ -7904,6 +7951,8 @@ export type TokenFilterResult = {
|
|
|
7904
7951
|
liquidPair?: Maybe<Pair>;
|
|
7905
7952
|
/** The liquidity of the token's most liquid pair */
|
|
7906
7953
|
liquidPairLiquidity?: Maybe<Scalars['String']['output']>;
|
|
7954
|
+
/** The liquid pairs price in USD. */
|
|
7955
|
+
liquidPairPriceUSD?: Maybe<Scalars['String']['output']>;
|
|
7907
7956
|
/** Amount of liquidity in the token's top pair. */
|
|
7908
7957
|
liquidity?: Maybe<Scalars['String']['output']>;
|
|
7909
7958
|
/** The lowest price in USD in the past hour. */
|
|
@@ -8054,7 +8103,7 @@ export type TokenFilters = {
|
|
|
8054
8103
|
circulatingMarketCap?: InputMaybe<NumberFilter>;
|
|
8055
8104
|
/** The unix timestamp for the creation of the token's first pair. */
|
|
8056
8105
|
createdAt?: InputMaybe<NumberFilter>;
|
|
8057
|
-
/** The address of the creator of the token */
|
|
8106
|
+
/** The address of the creator of the token. */
|
|
8058
8107
|
creatorAddress?: InputMaybe<Scalars['String']['input']>;
|
|
8059
8108
|
/** The list of exchange contract addresses to filter by. */
|
|
8060
8109
|
exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -8094,10 +8143,10 @@ export type TokenFilters = {
|
|
|
8094
8143
|
launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8095
8144
|
/** The timestamp when the launchpad was migrated */
|
|
8096
8145
|
launchpadMigratedAt?: InputMaybe<NumberFilter>;
|
|
8097
|
-
/**
|
|
8098
|
-
launchpadName?: InputMaybe<Scalars['String']['input']
|
|
8099
|
-
/**
|
|
8100
|
-
launchpadProtocol?: InputMaybe<Scalars['String']['input']
|
|
8146
|
+
/** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
|
|
8147
|
+
launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8148
|
+
/** A list of launchpad protocols. */
|
|
8149
|
+
launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8101
8150
|
/** The amount of liquidity in the token's top pair. */
|
|
8102
8151
|
liquidity?: InputMaybe<NumberFilter>;
|
|
8103
8152
|
/** The lowest price in USD in the past hour. */
|
|
@@ -8513,14 +8562,24 @@ export type TokenSparkline = {
|
|
|
8513
8562
|
attribute?: Maybe<SparklineAttribute>;
|
|
8514
8563
|
/** The token id */
|
|
8515
8564
|
id: Scalars['String']['output'];
|
|
8565
|
+
/** The timeframe of the sparkline. */
|
|
8566
|
+
resolution: Scalars['String']['output'];
|
|
8516
8567
|
/** List of sparkline values to chart */
|
|
8517
8568
|
sparkline: Array<SparklineValue>;
|
|
8518
8569
|
};
|
|
8519
8570
|
|
|
8520
8571
|
/** Input type of `tokenSparkline`. */
|
|
8521
8572
|
export type TokenSparklineInput = {
|
|
8573
|
+
/** Whether to add empty bars to the response, populated with the previous bar's value. Default is `false` */
|
|
8574
|
+
fillMissingBars?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8575
|
+
/** The unix timestamp for the start of the requested range. Defaults to 1 week ago. */
|
|
8576
|
+
from?: InputMaybe<Scalars['Int']['input']>;
|
|
8522
8577
|
/** The contract address & networkId of the token, joined by a colon. ex: 0xbe042e9d09cb588331ff911c2b46fd833a3e5bd6:1 */
|
|
8523
8578
|
ids: Array<Scalars['String']['input']>;
|
|
8579
|
+
/** The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. Defaults to `60` (1 hour) */
|
|
8580
|
+
resolution?: InputMaybe<Scalars['String']['input']>;
|
|
8581
|
+
/** The unix timestamp for the end of the requested range. Defaults to current time. */
|
|
8582
|
+
to?: InputMaybe<Scalars['Int']['input']>;
|
|
8524
8583
|
};
|
|
8525
8584
|
|
|
8526
8585
|
/** A top trader for a token. */
|
|
@@ -8884,16 +8943,26 @@ export type UnconfirmedResolutionBarData = {
|
|
|
8884
8943
|
__typename?: 'UnconfirmedResolutionBarData';
|
|
8885
8944
|
/** 1 minute resolution. */
|
|
8886
8945
|
r1?: Maybe<UnconfirmedIndividualBarData>;
|
|
8946
|
+
/** 1 day resolution. */
|
|
8947
|
+
r1D?: Maybe<UnconfirmedIndividualBarData>;
|
|
8887
8948
|
/** 1 second resolution. */
|
|
8888
8949
|
r1S?: Maybe<UnconfirmedIndividualBarData>;
|
|
8889
8950
|
/** 5 minute resolution. */
|
|
8890
8951
|
r5?: Maybe<UnconfirmedIndividualBarData>;
|
|
8891
8952
|
/** 5 second resolution. */
|
|
8892
8953
|
r5S?: Maybe<UnconfirmedIndividualBarData>;
|
|
8954
|
+
/** 1 week resolution. */
|
|
8955
|
+
r7D?: Maybe<UnconfirmedIndividualBarData>;
|
|
8893
8956
|
/** 15 minute resolution. */
|
|
8894
8957
|
r15?: Maybe<UnconfirmedIndividualBarData>;
|
|
8895
8958
|
/** 15 second resolution. */
|
|
8896
8959
|
r15S?: Maybe<UnconfirmedIndividualBarData>;
|
|
8960
|
+
/** 60 minute resolution. */
|
|
8961
|
+
r60?: Maybe<UnconfirmedIndividualBarData>;
|
|
8962
|
+
/** 4 hour resolution. */
|
|
8963
|
+
r240?: Maybe<UnconfirmedIndividualBarData>;
|
|
8964
|
+
/** 12 hour resolution. */
|
|
8965
|
+
r720?: Maybe<UnconfirmedIndividualBarData>;
|
|
8897
8966
|
};
|
|
8898
8967
|
|
|
8899
8968
|
/** Event data for a token swap event. */
|
|
@@ -9790,7 +9859,10 @@ export type Webhook = {
|
|
|
9790
9859
|
conditions: WebhookCondition;
|
|
9791
9860
|
/** The unix timestamp for the time the webhook was created. */
|
|
9792
9861
|
created: Scalars['Int']['output'];
|
|
9793
|
-
/**
|
|
9862
|
+
/**
|
|
9863
|
+
* The webhook group ID used to group webhooks together for ordered message sending.
|
|
9864
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
9865
|
+
*/
|
|
9794
9866
|
groupId?: Maybe<Scalars['String']['output']>;
|
|
9795
9867
|
/** The ID of the webhook. */
|
|
9796
9868
|
id: Scalars['String']['output'];
|
|
@@ -1253,7 +1253,7 @@ input CreateMarketCapWebhookArgs {
|
|
|
1253
1253
|
"""The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`."""
|
|
1254
1254
|
alertRecurrence: AlertRecurrence!
|
|
1255
1255
|
"""A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook."""
|
|
1256
|
-
groupId: String
|
|
1256
|
+
groupId: String @deprecated(reason: "GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId")
|
|
1257
1257
|
"""The conditions which must be met in order for the webhook to send a message."""
|
|
1258
1258
|
conditions: MarketCapEventWebhookConditionInput!
|
|
1259
1259
|
"""The settings for retrying failed webhook messages."""
|
|
@@ -1285,7 +1285,7 @@ input CreateNftEventWebhookArgs {
|
|
|
1285
1285
|
"""The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`."""
|
|
1286
1286
|
alertRecurrence: AlertRecurrence!
|
|
1287
1287
|
"""A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook."""
|
|
1288
|
-
groupId: String
|
|
1288
|
+
groupId: String @deprecated(reason: "GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId")
|
|
1289
1289
|
"""The conditions which must be met in order for the webhook to send a message."""
|
|
1290
1290
|
conditions: NftEventWebhookConditionInput!
|
|
1291
1291
|
"""The settings for retrying failed webhook messages."""
|
|
@@ -1317,7 +1317,7 @@ input CreatePriceWebhookArgs {
|
|
|
1317
1317
|
"""The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`."""
|
|
1318
1318
|
alertRecurrence: AlertRecurrence!
|
|
1319
1319
|
"""A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook."""
|
|
1320
|
-
groupId: String
|
|
1320
|
+
groupId: String @deprecated(reason: "GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId")
|
|
1321
1321
|
"""The conditions which must be met in order for the webhook to send a message."""
|
|
1322
1322
|
conditions: PriceEventWebhookConditionInput!
|
|
1323
1323
|
"""The settings for retrying failed webhook messages."""
|
|
@@ -1349,7 +1349,7 @@ input CreateRawTransactionWebhookArgs {
|
|
|
1349
1349
|
"""The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`."""
|
|
1350
1350
|
alertRecurrence: AlertRecurrence!
|
|
1351
1351
|
"""A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook."""
|
|
1352
|
-
groupId: String
|
|
1352
|
+
groupId: String @deprecated(reason: "GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId")
|
|
1353
1353
|
"""The conditions which must be met in order for the webhook to send a message."""
|
|
1354
1354
|
conditions: RawTransactionWebhookConditionInput!
|
|
1355
1355
|
"""The settings for retrying failed webhook messages."""
|
|
@@ -1381,7 +1381,7 @@ input CreateTokenPairEventWebhookArgs {
|
|
|
1381
1381
|
"""The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`."""
|
|
1382
1382
|
alertRecurrence: AlertRecurrence!
|
|
1383
1383
|
"""A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook."""
|
|
1384
|
-
groupId: String
|
|
1384
|
+
groupId: String @deprecated(reason: "GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId")
|
|
1385
1385
|
"""The conditions which must be met in order for the webhook to send a message."""
|
|
1386
1386
|
conditions: TokenPairEventWebhookConditionInput!
|
|
1387
1387
|
"""The settings for retrying failed webhook messages."""
|
|
@@ -1779,6 +1779,8 @@ type EnhancedToken {
|
|
|
1779
1779
|
freezable: String
|
|
1780
1780
|
"""The launchpad data for the token, if applicable."""
|
|
1781
1781
|
launchpad: LaunchpadData
|
|
1782
|
+
"""The pair that the token is contained in"""
|
|
1783
|
+
pairId: String
|
|
1782
1784
|
}
|
|
1783
1785
|
|
|
1784
1786
|
"""A token transaction."""
|
|
@@ -2333,6 +2335,8 @@ type HoldersResponse {
|
|
|
2333
2335
|
status: HoldersStatus!
|
|
2334
2336
|
"""What percentage of the total supply do the top 10 holders hold."""
|
|
2335
2337
|
top10HoldersPercent: Float
|
|
2338
|
+
"""the token Id"""
|
|
2339
|
+
tokenId: String
|
|
2336
2340
|
}
|
|
2337
2341
|
|
|
2338
2342
|
enum HoldersSortAttribute {
|
|
@@ -2569,7 +2573,7 @@ type LatestTokenSimResults {
|
|
|
2569
2573
|
type LaunchpadData {
|
|
2570
2574
|
"""The name of the launchpad."""
|
|
2571
2575
|
name: String @deprecated(reason: "Use launchpadName instead")
|
|
2572
|
-
"""The name of the launchpad.
|
|
2576
|
+
"""The name of the launchpad."""
|
|
2573
2577
|
launchpadName: String
|
|
2574
2578
|
"""The percentage of the pool that was sold to the public."""
|
|
2575
2579
|
graduationPercent: Float
|
|
@@ -2603,7 +2607,7 @@ type LaunchpadTokenEventOutput {
|
|
|
2603
2607
|
networkId: Int!
|
|
2604
2608
|
"""The protocol of the token."""
|
|
2605
2609
|
protocol: String!
|
|
2606
|
-
"""The name of the launchpad.
|
|
2610
|
+
"""The name of the launchpad."""
|
|
2607
2611
|
launchpadName: String!
|
|
2608
2612
|
"""Metadata for the token."""
|
|
2609
2613
|
token: EnhancedToken!
|
|
@@ -2673,6 +2677,10 @@ enum LaunchpadTokenProtocol {
|
|
|
2673
2677
|
ZoraV4
|
|
2674
2678
|
"""Protocol name for ZoraCreator."""
|
|
2675
2679
|
ZoraCreatorV4
|
|
2680
|
+
"""Protocol name for Virtuals."""
|
|
2681
|
+
Virtuals
|
|
2682
|
+
"""Protocol name for Clanker."""
|
|
2683
|
+
Clanker
|
|
2676
2684
|
}
|
|
2677
2685
|
|
|
2678
2686
|
scalar link__Import
|
|
@@ -2879,6 +2887,10 @@ type MarketCapEventWebhookCondition {
|
|
|
2879
2887
|
circulatingMarketCapUsd: ComparisonOperator
|
|
2880
2888
|
"""The pair contract address the webhook is listening for."""
|
|
2881
2889
|
pairAddress: StringEqualsCondition
|
|
2890
|
+
"""The liquidity condition (for the source pair) that must be met in order for the webhook to send."""
|
|
2891
|
+
liquidityUsd: ComparisonOperator
|
|
2892
|
+
"""The volume condition (for the source pair) that must be met in order for the webhook to send."""
|
|
2893
|
+
volumeUsd: ComparisonOperator
|
|
2882
2894
|
}
|
|
2883
2895
|
|
|
2884
2896
|
"""Input conditions for a market cap event webhook."""
|
|
@@ -2893,6 +2905,10 @@ input MarketCapEventWebhookConditionInput {
|
|
|
2893
2905
|
circulatingMarketCapUsd: ComparisonOperatorInput
|
|
2894
2906
|
"""The contract address of the pair to listen for."""
|
|
2895
2907
|
pairAddress: StringEqualsConditionInput
|
|
2908
|
+
"""The volume conditions to listen for."""
|
|
2909
|
+
volumeUsd: ComparisonOperatorInput
|
|
2910
|
+
"""The liquidity conditions to listen for."""
|
|
2911
|
+
liquidityUsd: ComparisonOperatorInput
|
|
2896
2912
|
}
|
|
2897
2913
|
|
|
2898
2914
|
"""The status for a network supported on Defined."""
|
|
@@ -5577,22 +5593,30 @@ input OnEventsCreatedByMakerInput {
|
|
|
5577
5593
|
}
|
|
5578
5594
|
|
|
5579
5595
|
input OnLaunchpadTokenEventBatchInput {
|
|
5580
|
-
"""The protocol
|
|
5596
|
+
"""The launchpad protocol."""
|
|
5581
5597
|
protocol: LaunchpadTokenProtocol
|
|
5598
|
+
"""A list of launchpad protocols."""
|
|
5599
|
+
protocols: [LaunchpadTokenProtocol!]
|
|
5582
5600
|
"""The network ID that the token is deployed on."""
|
|
5583
5601
|
networkId: Int
|
|
5584
|
-
"""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."""
|
|
5602
|
+
"""The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
|
|
5585
5603
|
launchpadName: String
|
|
5604
|
+
"""A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
|
|
5605
|
+
launchpadNames: [String!]
|
|
5586
5606
|
"""The type of event."""
|
|
5587
5607
|
eventType: LaunchpadTokenEventType
|
|
5588
5608
|
}
|
|
5589
5609
|
|
|
5590
5610
|
"""Input for `onLaunchpadTokenEvent`."""
|
|
5591
5611
|
input OnLaunchpadTokenEventInput {
|
|
5592
|
-
"""The protocol
|
|
5612
|
+
"""The launchpad protocol."""
|
|
5593
5613
|
protocol: LaunchpadTokenProtocol
|
|
5594
|
-
"""
|
|
5614
|
+
"""A list of launchpad protocols."""
|
|
5615
|
+
protocols: [LaunchpadTokenProtocol!]
|
|
5616
|
+
"""The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
|
|
5595
5617
|
launchpadName: String
|
|
5618
|
+
"""A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
|
|
5619
|
+
launchpadNames: [String!]
|
|
5596
5620
|
"""The type of event."""
|
|
5597
5621
|
eventType: LaunchpadTokenEventType
|
|
5598
5622
|
"""The contract address of the token. Requires `networkId`."""
|
|
@@ -6524,6 +6548,10 @@ type PriceEventWebhookCondition {
|
|
|
6524
6548
|
priceUsd: ComparisonOperator!
|
|
6525
6549
|
"""The pair contract address the webhook is listening for."""
|
|
6526
6550
|
pairAddress: StringEqualsCondition
|
|
6551
|
+
"""The liquidity condition (for the source pair) that must be met in order for the webhook to send."""
|
|
6552
|
+
liquidityUsd: ComparisonOperator
|
|
6553
|
+
"""The volume condition (for the source pair) that must be met in order for the webhook to send."""
|
|
6554
|
+
volumeUsd: ComparisonOperator
|
|
6527
6555
|
}
|
|
6528
6556
|
|
|
6529
6557
|
"""Input conditions for a price event webhook."""
|
|
@@ -6536,6 +6564,10 @@ input PriceEventWebhookConditionInput {
|
|
|
6536
6564
|
priceUsd: ComparisonOperatorInput!
|
|
6537
6565
|
"""The contract address of the pair to listen for."""
|
|
6538
6566
|
pairAddress: StringEqualsConditionInput
|
|
6567
|
+
"""The volume conditions to listen for."""
|
|
6568
|
+
volumeUsd: ComparisonOperatorInput
|
|
6569
|
+
"""The liquidity conditions to listen for."""
|
|
6570
|
+
liquidityUsd: ComparisonOperatorInput
|
|
6539
6571
|
}
|
|
6540
6572
|
|
|
6541
6573
|
"""Response returned by `primeHolders`."""
|
|
@@ -7563,6 +7595,8 @@ type TokenFilterResult {
|
|
|
7563
7595
|
liquidPair: Pair
|
|
7564
7596
|
"""The liquidity of the token's most liquid pair"""
|
|
7565
7597
|
liquidPairLiquidity: String
|
|
7598
|
+
"""The liquid pairs price in USD."""
|
|
7599
|
+
liquidPairPriceUSD: String
|
|
7566
7600
|
"""The token price in USD."""
|
|
7567
7601
|
priceUSD: String
|
|
7568
7602
|
"""The number of sells in the past 5 minutes."""
|
|
@@ -7825,12 +7859,12 @@ input TokenFilters {
|
|
|
7825
7859
|
potentialScam: Boolean
|
|
7826
7860
|
"""Whether to ignore pairs/tokens not relevant to trending. This is done checking against a few factors and ignoring uninteresting tokens like stables / network tokens. If you want all tokens regardless of these checks, then don't include this field. (default) If you want only tokens that fail the trending ignore checks, then set it to `true`. (i.e. stablecoins, rugs, network base tokens) If you want only tokens that pass the trending ignore checks, then set it to `false`."""
|
|
7827
7861
|
trendingIgnored: Boolean
|
|
7828
|
-
"""The address of the creator of the token"""
|
|
7862
|
+
"""The address of the creator of the token."""
|
|
7829
7863
|
creatorAddress: String
|
|
7830
|
-
"""
|
|
7831
|
-
launchpadProtocol: String
|
|
7832
|
-
"""
|
|
7833
|
-
launchpadName: String
|
|
7864
|
+
"""A list of launchpad protocols."""
|
|
7865
|
+
launchpadProtocol: [String!]
|
|
7866
|
+
"""A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
|
|
7867
|
+
launchpadName: [String!]
|
|
7834
7868
|
"""Indicates if the launchpad is completed"""
|
|
7835
7869
|
launchpadCompleted: Boolean
|
|
7836
7870
|
"""Indicates if the launchpad has migrated"""
|
|
@@ -8145,6 +8179,8 @@ type TokenSearchResponse {
|
|
|
8145
8179
|
type TokenSparkline {
|
|
8146
8180
|
"""The token id"""
|
|
8147
8181
|
id: String!
|
|
8182
|
+
"""The timeframe of the sparkline."""
|
|
8183
|
+
resolution: String!
|
|
8148
8184
|
"""Which attribute the sparkline is charting. Defaults to `PRICE`"""
|
|
8149
8185
|
attribute: SparklineAttribute
|
|
8150
8186
|
"""List of sparkline values to chart"""
|
|
@@ -8155,6 +8191,14 @@ type TokenSparkline {
|
|
|
8155
8191
|
input TokenSparklineInput {
|
|
8156
8192
|
"""The contract address & networkId of the token, joined by a colon. ex: 0xbe042e9d09cb588331ff911c2b46fd833a3e5bd6:1"""
|
|
8157
8193
|
ids: [String!]!
|
|
8194
|
+
"""The unix timestamp for the start of the requested range. Defaults to 1 week ago."""
|
|
8195
|
+
from: Int
|
|
8196
|
+
"""The unix timestamp for the end of the requested range. Defaults to current time."""
|
|
8197
|
+
to: Int
|
|
8198
|
+
"""The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. Defaults to `60` (1 hour)"""
|
|
8199
|
+
resolution: String
|
|
8200
|
+
"""Whether to add empty bars to the response, populated with the previous bar's value. Default is `false`"""
|
|
8201
|
+
fillMissingBars: Boolean
|
|
8158
8202
|
}
|
|
8159
8203
|
|
|
8160
8204
|
"""A top trader for a token."""
|
|
@@ -8519,6 +8563,16 @@ type UnconfirmedResolutionBarData {
|
|
|
8519
8563
|
r5: UnconfirmedIndividualBarData
|
|
8520
8564
|
"""15 minute resolution."""
|
|
8521
8565
|
r15: UnconfirmedIndividualBarData
|
|
8566
|
+
"""60 minute resolution."""
|
|
8567
|
+
r60: UnconfirmedIndividualBarData
|
|
8568
|
+
"""4 hour resolution."""
|
|
8569
|
+
r240: UnconfirmedIndividualBarData
|
|
8570
|
+
"""12 hour resolution."""
|
|
8571
|
+
r720: UnconfirmedIndividualBarData
|
|
8572
|
+
"""1 day resolution."""
|
|
8573
|
+
r1D: UnconfirmedIndividualBarData
|
|
8574
|
+
"""1 week resolution."""
|
|
8575
|
+
r7D: UnconfirmedIndividualBarData
|
|
8522
8576
|
}
|
|
8523
8577
|
|
|
8524
8578
|
"""Event data for a token swap event."""
|
|
@@ -9406,7 +9460,7 @@ type Webhook {
|
|
|
9406
9460
|
"""The status of the webhook. Can be `ACTIVE` or `INACTIVE`."""
|
|
9407
9461
|
status: String!
|
|
9408
9462
|
"""The webhook group ID used to group webhooks together for ordered message sending."""
|
|
9409
|
-
groupId: String
|
|
9463
|
+
groupId: String @deprecated(reason: "GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId")
|
|
9410
9464
|
"""The conditions which must be met in order for the webhook to send a message."""
|
|
9411
9465
|
conditions: WebhookCondition!
|
|
9412
9466
|
"""The settings for retrying failed webhook messages."""
|
package/src/sdk/Mutation.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT EDIT IT DIRECTLY
|
|
2
2
|
import {
|
|
3
|
+
BackfillWalletAggregatesDocument,
|
|
4
|
+
BackfillWalletAggregatesMutationVariables,
|
|
3
5
|
CreateApiTokensDocument,
|
|
4
6
|
CreateApiTokensMutationVariables,
|
|
5
7
|
CreateWebhooksDocument,
|
|
@@ -13,12 +15,15 @@ import { Codex } from "./index";
|
|
|
13
15
|
|
|
14
16
|
export class Mutation {
|
|
15
17
|
constructor(private sdk: Codex) {}
|
|
18
|
+
backfillWalletAggregates = async (
|
|
19
|
+
vars: BackfillWalletAggregatesMutationVariables,
|
|
20
|
+
) => this.sdk.mutation(BackfillWalletAggregatesDocument, vars);
|
|
21
|
+
createWebhooks = async (vars: CreateWebhooksMutationVariables) =>
|
|
22
|
+
this.sdk.mutation(CreateWebhooksDocument, vars);
|
|
16
23
|
deleteApiToken = async (vars: DeleteApiTokenMutationVariables) =>
|
|
17
24
|
this.sdk.mutation(DeleteApiTokenDocument, vars);
|
|
18
25
|
createApiTokens = async (vars: CreateApiTokensMutationVariables) =>
|
|
19
26
|
this.sdk.mutation(CreateApiTokensDocument, vars);
|
|
20
27
|
deleteWebhooks = async (vars: DeleteWebhooksMutationVariables) =>
|
|
21
28
|
this.sdk.mutation(DeleteWebhooksDocument, vars);
|
|
22
|
-
createWebhooks = async (vars: CreateWebhooksMutationVariables) =>
|
|
23
|
-
this.sdk.mutation(CreateWebhooksDocument, vars);
|
|
24
29
|
}
|