@codex-data/sdk 1.0.22 → 1.0.23
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 +63 -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 +2 -1
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +1 -0
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +2 -1
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +1 -0
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.js +4 -4
- 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 +415 -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/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 +231 -27
- package/src/resources/graphql.ts +63 -17
- package/src/resources/schema.graphql +45 -17
- package/src/sdk/Mutation.ts +5 -0
- package/src/sdk/Query.ts +5 -0
- package/src/sdk/Subscribe.ts +4 -4
- package/src/sdk/generated/gql.ts +48 -38
- package/src/sdk/generated/graphql.ts +117 -55
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'];
|
|
@@ -1851,7 +1866,7 @@ export type LaunchpadData = {
|
|
|
1851
1866
|
graduationPercent?: Maybe<Scalars['Float']['output']>;
|
|
1852
1867
|
/** The icon URL of the launchpad. */
|
|
1853
1868
|
launchpadIconUrl?: Maybe<Scalars['String']['output']>;
|
|
1854
|
-
/** The name of the launchpad.
|
|
1869
|
+
/** The name of the launchpad. */
|
|
1855
1870
|
launchpadName?: Maybe<Scalars['String']['output']>;
|
|
1856
1871
|
/** The launchpad protocol. */
|
|
1857
1872
|
launchpadProtocol?: Maybe<Scalars['String']['output']>;
|
|
@@ -1883,7 +1898,7 @@ export type LaunchpadTokenEventOutput = {
|
|
|
1883
1898
|
eventType: LaunchpadTokenEventType;
|
|
1884
1899
|
/** The number of holders. */
|
|
1885
1900
|
holders?: Maybe<Scalars['Int']['output']>;
|
|
1886
|
-
/** The name of the launchpad.
|
|
1901
|
+
/** The name of the launchpad. */
|
|
1887
1902
|
launchpadName: Scalars['String']['output'];
|
|
1888
1903
|
/** The liquidity of the token's top pair. */
|
|
1889
1904
|
liquidity?: Maybe<Scalars['String']['output']>;
|
|
@@ -1931,6 +1946,8 @@ export enum LaunchpadTokenProtocol {
|
|
|
1931
1946
|
Baseapp = 'Baseapp',
|
|
1932
1947
|
/** Protocol name for boop.fun. */
|
|
1933
1948
|
BoopFun = 'BoopFun',
|
|
1949
|
+
/** Protocol name for Clanker. */
|
|
1950
|
+
Clanker = 'Clanker',
|
|
1934
1951
|
/** Protocol name for EgoTech. */
|
|
1935
1952
|
EgoTech = 'EgoTech',
|
|
1936
1953
|
/** Protocol name for Four.meme. */
|
|
@@ -1947,6 +1964,8 @@ export enum LaunchpadTokenProtocol {
|
|
|
1947
1964
|
RaydiumLaunchpad = 'RaydiumLaunchpad',
|
|
1948
1965
|
/** Protocol name for Vertigo. */
|
|
1949
1966
|
Vertigo = 'Vertigo',
|
|
1967
|
+
/** Protocol name for Virtuals. */
|
|
1968
|
+
Virtuals = 'Virtuals',
|
|
1950
1969
|
/** Protocol name for ZoraCreator. */
|
|
1951
1970
|
ZoraCreatorV4 = 'ZoraCreatorV4',
|
|
1952
1971
|
/** Protocol name for Zora. */
|
|
@@ -2158,12 +2177,16 @@ export type MarketCapEventWebhookCondition = {
|
|
|
2158
2177
|
circulatingMarketCapUsd?: Maybe<ComparisonOperator>;
|
|
2159
2178
|
/** The market cap condition that must be met in order for the webhook to send. */
|
|
2160
2179
|
fdvMarketCapUsd?: Maybe<ComparisonOperator>;
|
|
2180
|
+
/** The liquidity condition (for the source pair) that must be met in order for the webhook to send. */
|
|
2181
|
+
liquidityUsd?: Maybe<ComparisonOperator>;
|
|
2161
2182
|
/** The network ID the webhook is listening on. */
|
|
2162
2183
|
networkId: IntEqualsCondition;
|
|
2163
2184
|
/** The pair contract address the webhook is listening for. */
|
|
2164
2185
|
pairAddress?: Maybe<StringEqualsCondition>;
|
|
2165
2186
|
/** The token contract address the webhook is listening for. */
|
|
2166
2187
|
tokenAddress: StringEqualsCondition;
|
|
2188
|
+
/** The volume condition (for the source pair) that must be met in order for the webhook to send. */
|
|
2189
|
+
volumeUsd?: Maybe<ComparisonOperator>;
|
|
2167
2190
|
};
|
|
2168
2191
|
|
|
2169
2192
|
/** Input conditions for a market cap event webhook. */
|
|
@@ -2172,12 +2195,16 @@ export type MarketCapEventWebhookConditionInput = {
|
|
|
2172
2195
|
circulatingMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2173
2196
|
/** The price conditions to listen for. */
|
|
2174
2197
|
fdvMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2198
|
+
/** The liquidity conditions to listen for. */
|
|
2199
|
+
liquidityUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2175
2200
|
/** The network ID to listen on. */
|
|
2176
2201
|
networkId: IntEqualsConditionInput;
|
|
2177
2202
|
/** The contract address of the pair to listen for. */
|
|
2178
2203
|
pairAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
2179
2204
|
/** The contract address of the token to listen for. */
|
|
2180
2205
|
tokenAddress: StringEqualsConditionInput;
|
|
2206
|
+
/** The volume conditions to listen for. */
|
|
2207
|
+
volumeUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2181
2208
|
};
|
|
2182
2209
|
|
|
2183
2210
|
/** The status for a network supported on Defined. */
|
|
@@ -5030,12 +5057,16 @@ export type OnEventsCreatedByMakerInput = {
|
|
|
5030
5057
|
export type OnLaunchpadTokenEventBatchInput = {
|
|
5031
5058
|
/** The type of event. */
|
|
5032
5059
|
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. */
|
|
5060
|
+
/** 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
5061
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
5062
|
+
/** 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. */
|
|
5063
|
+
launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5035
5064
|
/** The network ID that the token is deployed on. */
|
|
5036
5065
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
5037
|
-
/** The protocol
|
|
5066
|
+
/** The launchpad protocol. */
|
|
5038
5067
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
5068
|
+
/** A list of launchpad protocols. */
|
|
5069
|
+
protocols?: InputMaybe<Array<LaunchpadTokenProtocol>>;
|
|
5039
5070
|
};
|
|
5040
5071
|
|
|
5041
5072
|
/** Input for `onLaunchpadTokenEvent`. */
|
|
@@ -5044,12 +5075,16 @@ export type OnLaunchpadTokenEventInput = {
|
|
|
5044
5075
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
5045
5076
|
/** The type of event. */
|
|
5046
5077
|
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. */
|
|
5078
|
+
/** 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
5079
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
5080
|
+
/** 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. */
|
|
5081
|
+
launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5049
5082
|
/** The network ID that the token is deployed on. */
|
|
5050
5083
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
5051
|
-
/** The protocol
|
|
5084
|
+
/** The launchpad protocol. */
|
|
5052
5085
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
5086
|
+
/** A list of launchpad protocols. */
|
|
5087
|
+
protocols?: InputMaybe<Array<LaunchpadTokenProtocol>>;
|
|
5053
5088
|
};
|
|
5054
5089
|
|
|
5055
5090
|
export type OnPricesUpdatedInput = {
|
|
@@ -6003,6 +6038,8 @@ export type Price = {
|
|
|
6003
6038
|
/** Webhook conditions for a price event. */
|
|
6004
6039
|
export type PriceEventWebhookCondition = {
|
|
6005
6040
|
__typename?: 'PriceEventWebhookCondition';
|
|
6041
|
+
/** The liquidity condition (for the source pair) that must be met in order for the webhook to send. */
|
|
6042
|
+
liquidityUsd?: Maybe<ComparisonOperator>;
|
|
6006
6043
|
/** The network ID the webhook is listening on. */
|
|
6007
6044
|
networkId: IntEqualsCondition;
|
|
6008
6045
|
/** The pair contract address the webhook is listening for. */
|
|
@@ -6011,10 +6048,14 @@ export type PriceEventWebhookCondition = {
|
|
|
6011
6048
|
priceUsd: ComparisonOperator;
|
|
6012
6049
|
/** The token contract address the webhook is listening for. */
|
|
6013
6050
|
tokenAddress: StringEqualsCondition;
|
|
6051
|
+
/** The volume condition (for the source pair) that must be met in order for the webhook to send. */
|
|
6052
|
+
volumeUsd?: Maybe<ComparisonOperator>;
|
|
6014
6053
|
};
|
|
6015
6054
|
|
|
6016
6055
|
/** Input conditions for a price event webhook. */
|
|
6017
6056
|
export type PriceEventWebhookConditionInput = {
|
|
6057
|
+
/** The liquidity conditions to listen for. */
|
|
6058
|
+
liquidityUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
6018
6059
|
/** The network ID to listen on. */
|
|
6019
6060
|
networkId: IntEqualsConditionInput;
|
|
6020
6061
|
/** The contract address of the pair to listen for. */
|
|
@@ -6023,6 +6064,8 @@ export type PriceEventWebhookConditionInput = {
|
|
|
6023
6064
|
priceUsd: ComparisonOperatorInput;
|
|
6024
6065
|
/** The contract address of the token to listen for. */
|
|
6025
6066
|
tokenAddress: StringEqualsConditionInput;
|
|
6067
|
+
/** The volume conditions to listen for. */
|
|
6068
|
+
volumeUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
6026
6069
|
};
|
|
6027
6070
|
|
|
6028
6071
|
/** Response returned by `primeHolders`. */
|
|
@@ -8054,7 +8097,7 @@ export type TokenFilters = {
|
|
|
8054
8097
|
circulatingMarketCap?: InputMaybe<NumberFilter>;
|
|
8055
8098
|
/** The unix timestamp for the creation of the token's first pair. */
|
|
8056
8099
|
createdAt?: InputMaybe<NumberFilter>;
|
|
8057
|
-
/** The address of the creator of the token */
|
|
8100
|
+
/** The address of the creator of the token. */
|
|
8058
8101
|
creatorAddress?: InputMaybe<Scalars['String']['input']>;
|
|
8059
8102
|
/** The list of exchange contract addresses to filter by. */
|
|
8060
8103
|
exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -8094,10 +8137,10 @@ export type TokenFilters = {
|
|
|
8094
8137
|
launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8095
8138
|
/** The timestamp when the launchpad was migrated */
|
|
8096
8139
|
launchpadMigratedAt?: InputMaybe<NumberFilter>;
|
|
8097
|
-
/**
|
|
8098
|
-
launchpadName?: InputMaybe<Scalars['String']['input']
|
|
8099
|
-
/**
|
|
8100
|
-
launchpadProtocol?: InputMaybe<Scalars['String']['input']
|
|
8140
|
+
/** 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. */
|
|
8141
|
+
launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8142
|
+
/** A list of launchpad protocols. */
|
|
8143
|
+
launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8101
8144
|
/** The amount of liquidity in the token's top pair. */
|
|
8102
8145
|
liquidity?: InputMaybe<NumberFilter>;
|
|
8103
8146
|
/** The lowest price in USD in the past hour. */
|
|
@@ -9790,7 +9833,10 @@ export type Webhook = {
|
|
|
9790
9833
|
conditions: WebhookCondition;
|
|
9791
9834
|
/** The unix timestamp for the time the webhook was created. */
|
|
9792
9835
|
created: Scalars['Int']['output'];
|
|
9793
|
-
/**
|
|
9836
|
+
/**
|
|
9837
|
+
* The webhook group ID used to group webhooks together for ordered message sending.
|
|
9838
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
9839
|
+
*/
|
|
9794
9840
|
groupId?: Maybe<Scalars['String']['output']>;
|
|
9795
9841
|
/** The ID of the webhook. */
|
|
9796
9842
|
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."""
|
|
@@ -2569,7 +2569,7 @@ type LatestTokenSimResults {
|
|
|
2569
2569
|
type LaunchpadData {
|
|
2570
2570
|
"""The name of the launchpad."""
|
|
2571
2571
|
name: String @deprecated(reason: "Use launchpadName instead")
|
|
2572
|
-
"""The name of the launchpad.
|
|
2572
|
+
"""The name of the launchpad."""
|
|
2573
2573
|
launchpadName: String
|
|
2574
2574
|
"""The percentage of the pool that was sold to the public."""
|
|
2575
2575
|
graduationPercent: Float
|
|
@@ -2603,7 +2603,7 @@ type LaunchpadTokenEventOutput {
|
|
|
2603
2603
|
networkId: Int!
|
|
2604
2604
|
"""The protocol of the token."""
|
|
2605
2605
|
protocol: String!
|
|
2606
|
-
"""The name of the launchpad.
|
|
2606
|
+
"""The name of the launchpad."""
|
|
2607
2607
|
launchpadName: String!
|
|
2608
2608
|
"""Metadata for the token."""
|
|
2609
2609
|
token: EnhancedToken!
|
|
@@ -2673,6 +2673,10 @@ enum LaunchpadTokenProtocol {
|
|
|
2673
2673
|
ZoraV4
|
|
2674
2674
|
"""Protocol name for ZoraCreator."""
|
|
2675
2675
|
ZoraCreatorV4
|
|
2676
|
+
"""Protocol name for Virtuals."""
|
|
2677
|
+
Virtuals
|
|
2678
|
+
"""Protocol name for Clanker."""
|
|
2679
|
+
Clanker
|
|
2676
2680
|
}
|
|
2677
2681
|
|
|
2678
2682
|
scalar link__Import
|
|
@@ -2879,6 +2883,10 @@ type MarketCapEventWebhookCondition {
|
|
|
2879
2883
|
circulatingMarketCapUsd: ComparisonOperator
|
|
2880
2884
|
"""The pair contract address the webhook is listening for."""
|
|
2881
2885
|
pairAddress: StringEqualsCondition
|
|
2886
|
+
"""The liquidity condition (for the source pair) that must be met in order for the webhook to send."""
|
|
2887
|
+
liquidityUsd: ComparisonOperator
|
|
2888
|
+
"""The volume condition (for the source pair) that must be met in order for the webhook to send."""
|
|
2889
|
+
volumeUsd: ComparisonOperator
|
|
2882
2890
|
}
|
|
2883
2891
|
|
|
2884
2892
|
"""Input conditions for a market cap event webhook."""
|
|
@@ -2893,6 +2901,10 @@ input MarketCapEventWebhookConditionInput {
|
|
|
2893
2901
|
circulatingMarketCapUsd: ComparisonOperatorInput
|
|
2894
2902
|
"""The contract address of the pair to listen for."""
|
|
2895
2903
|
pairAddress: StringEqualsConditionInput
|
|
2904
|
+
"""The volume conditions to listen for."""
|
|
2905
|
+
volumeUsd: ComparisonOperatorInput
|
|
2906
|
+
"""The liquidity conditions to listen for."""
|
|
2907
|
+
liquidityUsd: ComparisonOperatorInput
|
|
2896
2908
|
}
|
|
2897
2909
|
|
|
2898
2910
|
"""The status for a network supported on Defined."""
|
|
@@ -5577,22 +5589,30 @@ input OnEventsCreatedByMakerInput {
|
|
|
5577
5589
|
}
|
|
5578
5590
|
|
|
5579
5591
|
input OnLaunchpadTokenEventBatchInput {
|
|
5580
|
-
"""The protocol
|
|
5592
|
+
"""The launchpad protocol."""
|
|
5581
5593
|
protocol: LaunchpadTokenProtocol
|
|
5594
|
+
"""A list of launchpad protocols."""
|
|
5595
|
+
protocols: [LaunchpadTokenProtocol!]
|
|
5582
5596
|
"""The network ID that the token is deployed on."""
|
|
5583
5597
|
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."""
|
|
5598
|
+
"""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
5599
|
launchpadName: String
|
|
5600
|
+
"""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."""
|
|
5601
|
+
launchpadNames: [String!]
|
|
5586
5602
|
"""The type of event."""
|
|
5587
5603
|
eventType: LaunchpadTokenEventType
|
|
5588
5604
|
}
|
|
5589
5605
|
|
|
5590
5606
|
"""Input for `onLaunchpadTokenEvent`."""
|
|
5591
5607
|
input OnLaunchpadTokenEventInput {
|
|
5592
|
-
"""The protocol
|
|
5608
|
+
"""The launchpad protocol."""
|
|
5593
5609
|
protocol: LaunchpadTokenProtocol
|
|
5594
|
-
"""
|
|
5610
|
+
"""A list of launchpad protocols."""
|
|
5611
|
+
protocols: [LaunchpadTokenProtocol!]
|
|
5612
|
+
"""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
5613
|
launchpadName: String
|
|
5614
|
+
"""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."""
|
|
5615
|
+
launchpadNames: [String!]
|
|
5596
5616
|
"""The type of event."""
|
|
5597
5617
|
eventType: LaunchpadTokenEventType
|
|
5598
5618
|
"""The contract address of the token. Requires `networkId`."""
|
|
@@ -6524,6 +6544,10 @@ type PriceEventWebhookCondition {
|
|
|
6524
6544
|
priceUsd: ComparisonOperator!
|
|
6525
6545
|
"""The pair contract address the webhook is listening for."""
|
|
6526
6546
|
pairAddress: StringEqualsCondition
|
|
6547
|
+
"""The liquidity condition (for the source pair) that must be met in order for the webhook to send."""
|
|
6548
|
+
liquidityUsd: ComparisonOperator
|
|
6549
|
+
"""The volume condition (for the source pair) that must be met in order for the webhook to send."""
|
|
6550
|
+
volumeUsd: ComparisonOperator
|
|
6527
6551
|
}
|
|
6528
6552
|
|
|
6529
6553
|
"""Input conditions for a price event webhook."""
|
|
@@ -6536,6 +6560,10 @@ input PriceEventWebhookConditionInput {
|
|
|
6536
6560
|
priceUsd: ComparisonOperatorInput!
|
|
6537
6561
|
"""The contract address of the pair to listen for."""
|
|
6538
6562
|
pairAddress: StringEqualsConditionInput
|
|
6563
|
+
"""The volume conditions to listen for."""
|
|
6564
|
+
volumeUsd: ComparisonOperatorInput
|
|
6565
|
+
"""The liquidity conditions to listen for."""
|
|
6566
|
+
liquidityUsd: ComparisonOperatorInput
|
|
6539
6567
|
}
|
|
6540
6568
|
|
|
6541
6569
|
"""Response returned by `primeHolders`."""
|
|
@@ -7825,12 +7853,12 @@ input TokenFilters {
|
|
|
7825
7853
|
potentialScam: Boolean
|
|
7826
7854
|
"""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
7855
|
trendingIgnored: Boolean
|
|
7828
|
-
"""The address of the creator of the token"""
|
|
7856
|
+
"""The address of the creator of the token."""
|
|
7829
7857
|
creatorAddress: String
|
|
7830
|
-
"""
|
|
7831
|
-
launchpadProtocol: String
|
|
7832
|
-
"""
|
|
7833
|
-
launchpadName: String
|
|
7858
|
+
"""A list of launchpad protocols."""
|
|
7859
|
+
launchpadProtocol: [String!]
|
|
7860
|
+
"""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."""
|
|
7861
|
+
launchpadName: [String!]
|
|
7834
7862
|
"""Indicates if the launchpad is completed"""
|
|
7835
7863
|
launchpadCompleted: Boolean
|
|
7836
7864
|
"""Indicates if the launchpad has migrated"""
|
|
@@ -9406,7 +9434,7 @@ type Webhook {
|
|
|
9406
9434
|
"""The status of the webhook. Can be `ACTIVE` or `INACTIVE`."""
|
|
9407
9435
|
status: String!
|
|
9408
9436
|
"""The webhook group ID used to group webhooks together for ordered message sending."""
|
|
9409
|
-
groupId: String
|
|
9437
|
+
groupId: String @deprecated(reason: "GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId")
|
|
9410
9438
|
"""The conditions which must be met in order for the webhook to send a message."""
|
|
9411
9439
|
conditions: WebhookCondition!
|
|
9412
9440
|
"""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,
|
|
@@ -17,6 +19,9 @@ export class Mutation {
|
|
|
17
19
|
this.sdk.mutation(DeleteApiTokenDocument, vars);
|
|
18
20
|
createApiTokens = async (vars: CreateApiTokensMutationVariables) =>
|
|
19
21
|
this.sdk.mutation(CreateApiTokensDocument, vars);
|
|
22
|
+
backfillWalletAggregates = async (
|
|
23
|
+
vars: BackfillWalletAggregatesMutationVariables,
|
|
24
|
+
) => this.sdk.mutation(BackfillWalletAggregatesDocument, vars);
|
|
20
25
|
deleteWebhooks = async (vars: DeleteWebhooksMutationVariables) =>
|
|
21
26
|
this.sdk.mutation(DeleteWebhooksDocument, vars);
|
|
22
27
|
createWebhooks = async (vars: CreateWebhooksMutationVariables) =>
|
package/src/sdk/Query.ts
CHANGED
|
@@ -120,6 +120,8 @@ import {
|
|
|
120
120
|
TokenTopTradersQueryVariables,
|
|
121
121
|
Top10HoldersPercentDocument,
|
|
122
122
|
Top10HoldersPercentQueryVariables,
|
|
123
|
+
WalletAggregateBackfillStateDocument,
|
|
124
|
+
WalletAggregateBackfillStateQueryVariables,
|
|
123
125
|
WalletChartDocument,
|
|
124
126
|
WalletChartQueryVariables,
|
|
125
127
|
WalletNftCollectionAssetsDocument,
|
|
@@ -162,6 +164,9 @@ export class Query {
|
|
|
162
164
|
this.sdk.query(WalletNftCollectionsDocument, vars);
|
|
163
165
|
getNftPoolStats = async (vars: GetNftPoolStatsQueryVariables) =>
|
|
164
166
|
this.sdk.query(GetNftPoolStatsDocument, vars);
|
|
167
|
+
walletAggregateBackfillState = async (
|
|
168
|
+
vars: WalletAggregateBackfillStateQueryVariables,
|
|
169
|
+
) => this.sdk.query(WalletAggregateBackfillStateDocument, vars);
|
|
165
170
|
filterTokens = async (vars: FilterTokensQueryVariables) =>
|
|
166
171
|
this.sdk.query(FilterTokensDocument, vars);
|
|
167
172
|
filterWallets = async (vars: FilterWalletsQueryVariables) =>
|
package/src/sdk/Subscribe.ts
CHANGED
|
@@ -86,7 +86,7 @@ export class Subscribe {
|
|
|
86
86
|
this.sdk.subscribe(
|
|
87
87
|
`subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
88
88
|
onLaunchpadTokenEvent (input: $input) {
|
|
89
|
-
address, buyCount1, eventType, holders, marketCap, networkId, price, protocol, sellCount1, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, transactions1, volume1
|
|
89
|
+
address, buyCount1, eventType, holders, launchpadName, liquidity, marketCap, networkId, price, protocol, sellCount1, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, transactions1, volume1
|
|
90
90
|
}
|
|
91
91
|
}`,
|
|
92
92
|
vars,
|
|
@@ -404,7 +404,7 @@ export class Subscribe {
|
|
|
404
404
|
this.sdk.subscribe(
|
|
405
405
|
`subscription OnBalanceUpdated($walletAddress: String!) {
|
|
406
406
|
onBalanceUpdated (walletAddress: $walletAddress) {
|
|
407
|
-
address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId
|
|
407
|
+
address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId
|
|
408
408
|
}
|
|
409
409
|
}`,
|
|
410
410
|
vars,
|
|
@@ -443,7 +443,7 @@ export class Subscribe {
|
|
|
443
443
|
this.sdk.subscribe(
|
|
444
444
|
`subscription OnHoldersUpdated($tokenId: String!) {
|
|
445
445
|
onHoldersUpdated (tokenId: $tokenId) {
|
|
446
|
-
balances { address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId }, holders, networkId, tokenAddress, tokenId
|
|
446
|
+
balances { address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId }, holders, networkId, tokenAddress, tokenId
|
|
447
447
|
}
|
|
448
448
|
}`,
|
|
449
449
|
vars,
|
|
@@ -456,7 +456,7 @@ export class Subscribe {
|
|
|
456
456
|
this.sdk.subscribe(
|
|
457
457
|
`subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
|
|
458
458
|
onPairMetadataUpdated (id: $id, quoteToken: $quoteToken) {
|
|
459
|
-
createdAt, enhancedToken0 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, enhancedToken1 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, exchangeId, fee, highPrice1, highPrice1w, highPrice4, highPrice5m, highPrice12, highPrice24, id, liquidity, liquidityToken, lowPrice1, lowPrice1w, lowPrice4, lowPrice5m, lowPrice12, lowPrice24, networkId, nonLiquidityToken, pairAddress, price, priceChange1, priceChange1w, priceChange4, priceChange5m, priceChange12, priceChange24, quoteToken, statsType, tickSpacing, token0 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, token1 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, volume1, volume1w, volume4, volume5m, volume12, volume24
|
|
459
|
+
createdAt, enhancedToken0 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, enhancedToken1 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, exchangeId, fee, highPrice1, highPrice1w, highPrice4, highPrice5m, highPrice12, highPrice24, id, liquidity, liquidityToken, lowPrice1, lowPrice1w, lowPrice4, lowPrice5m, lowPrice12, lowPrice24, networkId, nonLiquidityToken, pairAddress, price, priceChange1, priceChange1w, priceChange4, priceChange5m, priceChange12, priceChange24, quoteToken, statsType, tickSpacing, token0 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, token1 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, volume1, volume1w, volume4, volume5m, volume12, volume24
|
|
460
460
|
}
|
|
461
461
|
}`,
|
|
462
462
|
vars,
|