@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
|
@@ -471,7 +471,10 @@ export type CreateMarketCapWebhookArgs = {
|
|
|
471
471
|
conditions: MarketCapEventWebhookConditionInput;
|
|
472
472
|
/** 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. */
|
|
473
473
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
474
|
-
/**
|
|
474
|
+
/**
|
|
475
|
+
* 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.
|
|
476
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
477
|
+
*/
|
|
475
478
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
476
479
|
/** The name of the webhook (max 128 characters). */
|
|
477
480
|
name: Scalars['String']['input'];
|
|
@@ -501,7 +504,10 @@ export type CreateNftEventWebhookArgs = {
|
|
|
501
504
|
conditions: NftEventWebhookConditionInput;
|
|
502
505
|
/** 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. */
|
|
503
506
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
504
|
-
/**
|
|
507
|
+
/**
|
|
508
|
+
* 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.
|
|
509
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
510
|
+
*/
|
|
505
511
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
506
512
|
/** The name of the webhook (max 128 characters). */
|
|
507
513
|
name: Scalars['String']['input'];
|
|
@@ -531,7 +537,10 @@ export type CreatePriceWebhookArgs = {
|
|
|
531
537
|
conditions: PriceEventWebhookConditionInput;
|
|
532
538
|
/** 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. */
|
|
533
539
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
534
|
-
/**
|
|
540
|
+
/**
|
|
541
|
+
* 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.
|
|
542
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
543
|
+
*/
|
|
535
544
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
536
545
|
/** The name of the webhook (max 128 characters). */
|
|
537
546
|
name: Scalars['String']['input'];
|
|
@@ -561,7 +570,10 @@ export type CreateRawTransactionWebhookArgs = {
|
|
|
561
570
|
conditions: RawTransactionWebhookConditionInput;
|
|
562
571
|
/** 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. */
|
|
563
572
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
564
|
-
/**
|
|
573
|
+
/**
|
|
574
|
+
* 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.
|
|
575
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
576
|
+
*/
|
|
565
577
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
566
578
|
/** The name of the webhook (max 128 characters). */
|
|
567
579
|
name: Scalars['String']['input'];
|
|
@@ -591,7 +603,10 @@ export type CreateTokenPairEventWebhookArgs = {
|
|
|
591
603
|
conditions: TokenPairEventWebhookConditionInput;
|
|
592
604
|
/** 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. */
|
|
593
605
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
594
|
-
/**
|
|
606
|
+
/**
|
|
607
|
+
* 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.
|
|
608
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
609
|
+
*/
|
|
595
610
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
596
611
|
/** The name of the webhook (max 128 characters). */
|
|
597
612
|
name: Scalars['String']['input'];
|
|
@@ -988,6 +1003,8 @@ export type EnhancedToken = {
|
|
|
988
1003
|
name?: Maybe<Scalars['String']['output']>;
|
|
989
1004
|
/** The network ID the token is deployed on. */
|
|
990
1005
|
networkId: Scalars['Int']['output'];
|
|
1006
|
+
/** The pair that the token is contained in */
|
|
1007
|
+
pairId?: Maybe<Scalars['String']['output']>;
|
|
991
1008
|
/**
|
|
992
1009
|
* The amount of this token in the pair.
|
|
993
1010
|
* @deprecated Pooled can be found on the pair instead
|
|
@@ -1543,6 +1560,8 @@ export type HoldersResponse = {
|
|
|
1543
1560
|
items: Array<Balance>;
|
|
1544
1561
|
/** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
|
|
1545
1562
|
status: HoldersStatus;
|
|
1563
|
+
/** the token Id */
|
|
1564
|
+
tokenId?: Maybe<Scalars['String']['output']>;
|
|
1546
1565
|
/** What percentage of the total supply do the top 10 holders hold. */
|
|
1547
1566
|
top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
|
|
1548
1567
|
};
|
|
@@ -1773,7 +1792,7 @@ export type LaunchpadData = {
|
|
|
1773
1792
|
graduationPercent?: Maybe<Scalars['Float']['output']>;
|
|
1774
1793
|
/** The icon URL of the launchpad. */
|
|
1775
1794
|
launchpadIconUrl?: Maybe<Scalars['String']['output']>;
|
|
1776
|
-
/** The name of the launchpad.
|
|
1795
|
+
/** The name of the launchpad. */
|
|
1777
1796
|
launchpadName?: Maybe<Scalars['String']['output']>;
|
|
1778
1797
|
/** The launchpad protocol. */
|
|
1779
1798
|
launchpadProtocol?: Maybe<Scalars['String']['output']>;
|
|
@@ -1804,7 +1823,7 @@ export type LaunchpadTokenEventOutput = {
|
|
|
1804
1823
|
eventType: LaunchpadTokenEventType;
|
|
1805
1824
|
/** The number of holders. */
|
|
1806
1825
|
holders?: Maybe<Scalars['Int']['output']>;
|
|
1807
|
-
/** The name of the launchpad.
|
|
1826
|
+
/** The name of the launchpad. */
|
|
1808
1827
|
launchpadName: Scalars['String']['output'];
|
|
1809
1828
|
/** The liquidity of the token's top pair. */
|
|
1810
1829
|
liquidity?: Maybe<Scalars['String']['output']>;
|
|
@@ -1850,6 +1869,8 @@ export declare enum LaunchpadTokenProtocol {
|
|
|
1850
1869
|
Baseapp = "Baseapp",
|
|
1851
1870
|
/** Protocol name for boop.fun. */
|
|
1852
1871
|
BoopFun = "BoopFun",
|
|
1872
|
+
/** Protocol name for Clanker. */
|
|
1873
|
+
Clanker = "Clanker",
|
|
1853
1874
|
/** Protocol name for EgoTech. */
|
|
1854
1875
|
EgoTech = "EgoTech",
|
|
1855
1876
|
/** Protocol name for Four.meme. */
|
|
@@ -1866,6 +1887,8 @@ export declare enum LaunchpadTokenProtocol {
|
|
|
1866
1887
|
RaydiumLaunchpad = "RaydiumLaunchpad",
|
|
1867
1888
|
/** Protocol name for Vertigo. */
|
|
1868
1889
|
Vertigo = "Vertigo",
|
|
1890
|
+
/** Protocol name for Virtuals. */
|
|
1891
|
+
Virtuals = "Virtuals",
|
|
1869
1892
|
/** Protocol name for ZoraCreator. */
|
|
1870
1893
|
ZoraCreatorV4 = "ZoraCreatorV4",
|
|
1871
1894
|
/** Protocol name for Zora. */
|
|
@@ -2061,12 +2084,16 @@ export type MarketCapEventWebhookCondition = {
|
|
|
2061
2084
|
circulatingMarketCapUsd?: Maybe<ComparisonOperator>;
|
|
2062
2085
|
/** The market cap condition that must be met in order for the webhook to send. */
|
|
2063
2086
|
fdvMarketCapUsd?: Maybe<ComparisonOperator>;
|
|
2087
|
+
/** The liquidity condition (for the source pair) that must be met in order for the webhook to send. */
|
|
2088
|
+
liquidityUsd?: Maybe<ComparisonOperator>;
|
|
2064
2089
|
/** The network ID the webhook is listening on. */
|
|
2065
2090
|
networkId: IntEqualsCondition;
|
|
2066
2091
|
/** The pair contract address the webhook is listening for. */
|
|
2067
2092
|
pairAddress?: Maybe<StringEqualsCondition>;
|
|
2068
2093
|
/** The token contract address the webhook is listening for. */
|
|
2069
2094
|
tokenAddress: StringEqualsCondition;
|
|
2095
|
+
/** The volume condition (for the source pair) that must be met in order for the webhook to send. */
|
|
2096
|
+
volumeUsd?: Maybe<ComparisonOperator>;
|
|
2070
2097
|
};
|
|
2071
2098
|
/** Input conditions for a market cap event webhook. */
|
|
2072
2099
|
export type MarketCapEventWebhookConditionInput = {
|
|
@@ -2074,12 +2101,16 @@ export type MarketCapEventWebhookConditionInput = {
|
|
|
2074
2101
|
circulatingMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2075
2102
|
/** The price conditions to listen for. */
|
|
2076
2103
|
fdvMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2104
|
+
/** The liquidity conditions to listen for. */
|
|
2105
|
+
liquidityUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2077
2106
|
/** The network ID to listen on. */
|
|
2078
2107
|
networkId: IntEqualsConditionInput;
|
|
2079
2108
|
/** The contract address of the pair to listen for. */
|
|
2080
2109
|
pairAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
2081
2110
|
/** The contract address of the token to listen for. */
|
|
2082
2111
|
tokenAddress: StringEqualsConditionInput;
|
|
2112
|
+
/** The volume conditions to listen for. */
|
|
2113
|
+
volumeUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2083
2114
|
};
|
|
2084
2115
|
/** The status for a network supported on Defined. */
|
|
2085
2116
|
export type MetadataResponse = {
|
|
@@ -4819,12 +4850,16 @@ export type OnEventsCreatedByMakerInput = {
|
|
|
4819
4850
|
export type OnLaunchpadTokenEventBatchInput = {
|
|
4820
4851
|
/** The type of event. */
|
|
4821
4852
|
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
4822
|
-
/** 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. */
|
|
4853
|
+
/** 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. */
|
|
4823
4854
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
4855
|
+
/** 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. */
|
|
4856
|
+
launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4824
4857
|
/** The network ID that the token is deployed on. */
|
|
4825
4858
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
4826
|
-
/** The protocol
|
|
4859
|
+
/** The launchpad protocol. */
|
|
4827
4860
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
4861
|
+
/** A list of launchpad protocols. */
|
|
4862
|
+
protocols?: InputMaybe<Array<LaunchpadTokenProtocol>>;
|
|
4828
4863
|
};
|
|
4829
4864
|
/** Input for `onLaunchpadTokenEvent`. */
|
|
4830
4865
|
export type OnLaunchpadTokenEventInput = {
|
|
@@ -4832,12 +4867,16 @@ export type OnLaunchpadTokenEventInput = {
|
|
|
4832
4867
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
4833
4868
|
/** The type of event. */
|
|
4834
4869
|
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
4835
|
-
/** 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. */
|
|
4870
|
+
/** 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. */
|
|
4836
4871
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
4872
|
+
/** 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. */
|
|
4873
|
+
launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4837
4874
|
/** The network ID that the token is deployed on. */
|
|
4838
4875
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
4839
|
-
/** The protocol
|
|
4876
|
+
/** The launchpad protocol. */
|
|
4840
4877
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
4878
|
+
/** A list of launchpad protocols. */
|
|
4879
|
+
protocols?: InputMaybe<Array<LaunchpadTokenProtocol>>;
|
|
4841
4880
|
};
|
|
4842
4881
|
export type OnPricesUpdatedInput = {
|
|
4843
4882
|
address: Scalars['String']['input'];
|
|
@@ -5749,6 +5788,8 @@ export type Price = {
|
|
|
5749
5788
|
/** Webhook conditions for a price event. */
|
|
5750
5789
|
export type PriceEventWebhookCondition = {
|
|
5751
5790
|
__typename?: 'PriceEventWebhookCondition';
|
|
5791
|
+
/** The liquidity condition (for the source pair) that must be met in order for the webhook to send. */
|
|
5792
|
+
liquidityUsd?: Maybe<ComparisonOperator>;
|
|
5752
5793
|
/** The network ID the webhook is listening on. */
|
|
5753
5794
|
networkId: IntEqualsCondition;
|
|
5754
5795
|
/** The pair contract address the webhook is listening for. */
|
|
@@ -5757,9 +5798,13 @@ export type PriceEventWebhookCondition = {
|
|
|
5757
5798
|
priceUsd: ComparisonOperator;
|
|
5758
5799
|
/** The token contract address the webhook is listening for. */
|
|
5759
5800
|
tokenAddress: StringEqualsCondition;
|
|
5801
|
+
/** The volume condition (for the source pair) that must be met in order for the webhook to send. */
|
|
5802
|
+
volumeUsd?: Maybe<ComparisonOperator>;
|
|
5760
5803
|
};
|
|
5761
5804
|
/** Input conditions for a price event webhook. */
|
|
5762
5805
|
export type PriceEventWebhookConditionInput = {
|
|
5806
|
+
/** The liquidity conditions to listen for. */
|
|
5807
|
+
liquidityUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
5763
5808
|
/** The network ID to listen on. */
|
|
5764
5809
|
networkId: IntEqualsConditionInput;
|
|
5765
5810
|
/** The contract address of the pair to listen for. */
|
|
@@ -5768,6 +5813,8 @@ export type PriceEventWebhookConditionInput = {
|
|
|
5768
5813
|
priceUsd: ComparisonOperatorInput;
|
|
5769
5814
|
/** The contract address of the token to listen for. */
|
|
5770
5815
|
tokenAddress: StringEqualsConditionInput;
|
|
5816
|
+
/** The volume conditions to listen for. */
|
|
5817
|
+
volumeUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
5771
5818
|
};
|
|
5772
5819
|
/** Response returned by `primeHolders`. */
|
|
5773
5820
|
export type PrimeHolders = {
|
|
@@ -7400,6 +7447,8 @@ export type TokenFilterResult = {
|
|
|
7400
7447
|
liquidPair?: Maybe<Pair>;
|
|
7401
7448
|
/** The liquidity of the token's most liquid pair */
|
|
7402
7449
|
liquidPairLiquidity?: Maybe<Scalars['String']['output']>;
|
|
7450
|
+
/** The liquid pairs price in USD. */
|
|
7451
|
+
liquidPairPriceUSD?: Maybe<Scalars['String']['output']>;
|
|
7403
7452
|
/** Amount of liquidity in the token's top pair. */
|
|
7404
7453
|
liquidity?: Maybe<Scalars['String']['output']>;
|
|
7405
7454
|
/** The lowest price in USD in the past hour. */
|
|
@@ -7549,7 +7598,7 @@ export type TokenFilters = {
|
|
|
7549
7598
|
circulatingMarketCap?: InputMaybe<NumberFilter>;
|
|
7550
7599
|
/** The unix timestamp for the creation of the token's first pair. */
|
|
7551
7600
|
createdAt?: InputMaybe<NumberFilter>;
|
|
7552
|
-
/** The address of the creator of the token */
|
|
7601
|
+
/** The address of the creator of the token. */
|
|
7553
7602
|
creatorAddress?: InputMaybe<Scalars['String']['input']>;
|
|
7554
7603
|
/** The list of exchange contract addresses to filter by. */
|
|
7555
7604
|
exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -7589,10 +7638,10 @@ export type TokenFilters = {
|
|
|
7589
7638
|
launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7590
7639
|
/** The timestamp when the launchpad was migrated */
|
|
7591
7640
|
launchpadMigratedAt?: InputMaybe<NumberFilter>;
|
|
7592
|
-
/**
|
|
7593
|
-
launchpadName?: InputMaybe<Scalars['String']['input']
|
|
7594
|
-
/**
|
|
7595
|
-
launchpadProtocol?: InputMaybe<Scalars['String']['input']
|
|
7641
|
+
/** 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. */
|
|
7642
|
+
launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
7643
|
+
/** A list of launchpad protocols. */
|
|
7644
|
+
launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
7596
7645
|
/** The amount of liquidity in the token's top pair. */
|
|
7597
7646
|
liquidity?: InputMaybe<NumberFilter>;
|
|
7598
7647
|
/** The lowest price in USD in the past hour. */
|
|
@@ -7989,13 +8038,23 @@ export type TokenSparkline = {
|
|
|
7989
8038
|
attribute?: Maybe<SparklineAttribute>;
|
|
7990
8039
|
/** The token id */
|
|
7991
8040
|
id: Scalars['String']['output'];
|
|
8041
|
+
/** The timeframe of the sparkline. */
|
|
8042
|
+
resolution: Scalars['String']['output'];
|
|
7992
8043
|
/** List of sparkline values to chart */
|
|
7993
8044
|
sparkline: Array<SparklineValue>;
|
|
7994
8045
|
};
|
|
7995
8046
|
/** Input type of `tokenSparkline`. */
|
|
7996
8047
|
export type TokenSparklineInput = {
|
|
8048
|
+
/** Whether to add empty bars to the response, populated with the previous bar's value. Default is `false` */
|
|
8049
|
+
fillMissingBars?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8050
|
+
/** The unix timestamp for the start of the requested range. Defaults to 1 week ago. */
|
|
8051
|
+
from?: InputMaybe<Scalars['Int']['input']>;
|
|
7997
8052
|
/** The contract address & networkId of the token, joined by a colon. ex: 0xbe042e9d09cb588331ff911c2b46fd833a3e5bd6:1 */
|
|
7998
8053
|
ids: Array<Scalars['String']['input']>;
|
|
8054
|
+
/** 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) */
|
|
8055
|
+
resolution?: InputMaybe<Scalars['String']['input']>;
|
|
8056
|
+
/** The unix timestamp for the end of the requested range. Defaults to current time. */
|
|
8057
|
+
to?: InputMaybe<Scalars['Int']['input']>;
|
|
7999
8058
|
};
|
|
8000
8059
|
/** A top trader for a token. */
|
|
8001
8060
|
export type TokenTopTrader = {
|
|
@@ -8347,16 +8406,26 @@ export type UnconfirmedResolutionBarData = {
|
|
|
8347
8406
|
__typename?: 'UnconfirmedResolutionBarData';
|
|
8348
8407
|
/** 1 minute resolution. */
|
|
8349
8408
|
r1?: Maybe<UnconfirmedIndividualBarData>;
|
|
8409
|
+
/** 1 day resolution. */
|
|
8410
|
+
r1D?: Maybe<UnconfirmedIndividualBarData>;
|
|
8350
8411
|
/** 1 second resolution. */
|
|
8351
8412
|
r1S?: Maybe<UnconfirmedIndividualBarData>;
|
|
8352
8413
|
/** 5 minute resolution. */
|
|
8353
8414
|
r5?: Maybe<UnconfirmedIndividualBarData>;
|
|
8354
8415
|
/** 5 second resolution. */
|
|
8355
8416
|
r5S?: Maybe<UnconfirmedIndividualBarData>;
|
|
8417
|
+
/** 1 week resolution. */
|
|
8418
|
+
r7D?: Maybe<UnconfirmedIndividualBarData>;
|
|
8356
8419
|
/** 15 minute resolution. */
|
|
8357
8420
|
r15?: Maybe<UnconfirmedIndividualBarData>;
|
|
8358
8421
|
/** 15 second resolution. */
|
|
8359
8422
|
r15S?: Maybe<UnconfirmedIndividualBarData>;
|
|
8423
|
+
/** 60 minute resolution. */
|
|
8424
|
+
r60?: Maybe<UnconfirmedIndividualBarData>;
|
|
8425
|
+
/** 4 hour resolution. */
|
|
8426
|
+
r240?: Maybe<UnconfirmedIndividualBarData>;
|
|
8427
|
+
/** 12 hour resolution. */
|
|
8428
|
+
r720?: Maybe<UnconfirmedIndividualBarData>;
|
|
8360
8429
|
};
|
|
8361
8430
|
/** Event data for a token swap event. */
|
|
8362
8431
|
export type UnconfirmedSwapEventData = {
|
|
@@ -9220,7 +9289,10 @@ export type Webhook = {
|
|
|
9220
9289
|
conditions: WebhookCondition;
|
|
9221
9290
|
/** The unix timestamp for the time the webhook was created. */
|
|
9222
9291
|
created: Scalars['Int']['output'];
|
|
9223
|
-
/**
|
|
9292
|
+
/**
|
|
9293
|
+
* The webhook group ID used to group webhooks together for ordered message sending.
|
|
9294
|
+
* @deprecated GroupId is deprecated and will be removed in the future. Messages will be grouped by webhookId
|
|
9295
|
+
*/
|
|
9224
9296
|
groupId?: Maybe<Scalars['String']['output']>;
|
|
9225
9297
|
/** The ID of the webhook. */
|
|
9226
9298
|
id: Scalars['String']['output'];
|