@codex-data/sdk 1.0.8 → 1.0.9
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 +174 -5
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +8 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Query.d.ts +2 -2
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +1 -1
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +3 -1
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +20 -6
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +47 -29
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +13 -11
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +789 -71
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +23 -15
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/Balances.graphql +78 -0
- package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
- package/src/resources/generated_queries/Holders.graphql +78 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +7 -1
- package/src/resources/generated_queries/LiquidityMetadataByToken.graphql +19 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +78 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +78 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +3 -0
- package/src/resources/generated_subscriptions/OnEventsCreatedByMaker.graphql +92 -0
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +78 -0
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
- package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreatedByMaker.graphql +41 -0
- package/src/resources/graphql.schema.json +1206 -128
- package/src/resources/graphql.ts +192 -5
- package/src/resources/schema.graphql +247 -5
- package/src/sdk/Query.ts +5 -4
- package/src/sdk/Subscribe.ts +36 -6
- package/src/sdk/generated/gql.ts +34 -24
- package/src/sdk/generated/graphql.ts +242 -38
- package/src/resources/generated_queries/ListTopTokens.graphql +0 -55
|
@@ -58,6 +58,14 @@ export type Scalars = {
|
|
|
58
58
|
output: any;
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
|
+
/** Response returned by `onEventsCreatedByMaker`. */
|
|
62
|
+
export type AddEventsByMakerOutput = {
|
|
63
|
+
__typename?: 'AddEventsByMakerOutput';
|
|
64
|
+
/** A list of transactions for the maker. */
|
|
65
|
+
events: Array<Event>;
|
|
66
|
+
/** The address of the maker. */
|
|
67
|
+
makerAddress: Scalars['String']['output'];
|
|
68
|
+
};
|
|
61
69
|
/** Response returned by `onEventsCreated`. */
|
|
62
70
|
export type AddEventsOutput = {
|
|
63
71
|
__typename?: 'AddEventsOutput';
|
|
@@ -112,6 +120,13 @@ export type AddTrackedWalletEventsOutput = {
|
|
|
112
120
|
__typename?: 'AddTrackedWalletEventsOutput';
|
|
113
121
|
userId: Scalars['String']['output'];
|
|
114
122
|
};
|
|
123
|
+
export type AddUnconfirmedEventsByMakerOutput = {
|
|
124
|
+
__typename?: 'AddUnconfirmedEventsByMakerOutput';
|
|
125
|
+
/** A list of transactions for the maker. */
|
|
126
|
+
events: Array<UnconfirmedEvent>;
|
|
127
|
+
/** The wallet address of the maker. */
|
|
128
|
+
makerAddress: Scalars['String']['output'];
|
|
129
|
+
};
|
|
115
130
|
/** Response returned by `onUnconfirmedEventsCreated`. */
|
|
116
131
|
export type AddUnconfirmedEventsOutput = {
|
|
117
132
|
__typename?: 'AddUnconfirmedEventsOutput';
|
|
@@ -179,16 +194,22 @@ export type Balance = {
|
|
|
179
194
|
address: Scalars['String']['output'];
|
|
180
195
|
/** The balance held by the wallet. */
|
|
181
196
|
balance: Scalars['String']['output'];
|
|
197
|
+
/** The balance held by the wallet in USD. */
|
|
198
|
+
balanceUsd?: Maybe<Scalars['String']['output']>;
|
|
182
199
|
/** The time that this address first held a token. */
|
|
183
200
|
firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
184
201
|
/** The wallet network. */
|
|
185
202
|
networkId: Scalars['Int']['output'];
|
|
186
203
|
/** The balance held by the wallet, adjusted by the number of decimals in the token. */
|
|
187
204
|
shiftedBalance: Scalars['Float']['output'];
|
|
205
|
+
/** Metadata for the token. */
|
|
206
|
+
token?: Maybe<EnhancedToken>;
|
|
188
207
|
/** The contract address of the token. */
|
|
189
208
|
tokenAddress: Scalars['String']['output'];
|
|
190
209
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
191
210
|
tokenId: Scalars['String']['output'];
|
|
211
|
+
/** The token price in USD. */
|
|
212
|
+
tokenPriceUsd?: Maybe<Scalars['String']['output']>;
|
|
192
213
|
/** The ID of the wallet (`walletAddress:networkId`). */
|
|
193
214
|
walletId: Scalars['String']['output'];
|
|
194
215
|
};
|
|
@@ -206,6 +227,8 @@ export type BalancesInput = {
|
|
|
206
227
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
207
228
|
/** The network IDs to filter by. */
|
|
208
229
|
networks?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
230
|
+
/** Whether to remove scam tokens from the response. */
|
|
231
|
+
removeScams?: InputMaybe<Scalars['Boolean']['input']>;
|
|
209
232
|
/** The token IDs (`address:networkId`) or addresses to request the balance for. Requires a list of `networks` if only passing addresses. Include native network balances using `native` as the token address. Only applied when using `walletAddress` (not `walletId`). Max 200 tokens. */
|
|
210
233
|
tokens?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
211
234
|
/** The wallet address to filter by. */
|
|
@@ -453,6 +476,36 @@ export type CreateApiTokensInput = {
|
|
|
453
476
|
/** Number of requests allowed per token, represented as a string, default is 5000 */
|
|
454
477
|
requestLimit?: InputMaybe<Scalars['String']['input']>;
|
|
455
478
|
};
|
|
479
|
+
/** Input for creating a market cap webhook. */
|
|
480
|
+
export type CreateMarketCapWebhookArgs = {
|
|
481
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
482
|
+
alertRecurrence: AlertRecurrence;
|
|
483
|
+
/** An optional bucket ID (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
|
|
484
|
+
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
485
|
+
/** An optional bucket sort key (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
|
|
486
|
+
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
487
|
+
/** The url to which the webhook message should be sent. */
|
|
488
|
+
callbackUrl: Scalars['String']['input'];
|
|
489
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
490
|
+
conditions: MarketCapEventWebhookConditionInput;
|
|
491
|
+
/** 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. */
|
|
492
|
+
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
493
|
+
/** 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. */
|
|
494
|
+
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
495
|
+
/** The name of the webhook (max 128 characters). */
|
|
496
|
+
name: Scalars['String']['input'];
|
|
497
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
498
|
+
publishingType?: InputMaybe<PublishingType>;
|
|
499
|
+
/** The settings for retrying failed webhook messages. */
|
|
500
|
+
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
501
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
502
|
+
securityToken: Scalars['String']['input'];
|
|
503
|
+
};
|
|
504
|
+
/** Input for creating market cap webhooks. */
|
|
505
|
+
export type CreateMarketCapWebhooksInput = {
|
|
506
|
+
/** A list of market cap webhooks to create. */
|
|
507
|
+
webhooks: Array<CreateMarketCapWebhookArgs>;
|
|
508
|
+
};
|
|
456
509
|
/** Input for creating an NFT event webhook. */
|
|
457
510
|
export type CreateNftEventWebhookArgs = {
|
|
458
511
|
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
@@ -575,6 +628,8 @@ export type CreateTokenPairEventWebhooksInput = {
|
|
|
575
628
|
};
|
|
576
629
|
/** Input for creating webhooks. */
|
|
577
630
|
export type CreateWebhooksInput = {
|
|
631
|
+
/** Input for creating market cap webhooks. */
|
|
632
|
+
marketCapWebhooksInput?: InputMaybe<CreateMarketCapWebhooksInput>;
|
|
578
633
|
/** Input for creating NFT event webhooks. */
|
|
579
634
|
nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
|
|
580
635
|
/** Input for creating price webhooks. */
|
|
@@ -587,6 +642,8 @@ export type CreateWebhooksInput = {
|
|
|
587
642
|
/** Result returned by `createWebhooks`. */
|
|
588
643
|
export type CreateWebhooksOutput = {
|
|
589
644
|
__typename?: 'CreateWebhooksOutput';
|
|
645
|
+
/** The list of market cap event webhooks that were created. */
|
|
646
|
+
marketCapWebhooks: Array<Maybe<Webhook>>;
|
|
590
647
|
/** The list of NFT event webhooks that were created. */
|
|
591
648
|
nftEventWebhooks: Array<Maybe<Webhook>>;
|
|
592
649
|
/** The list of price webhooks that were created. */
|
|
@@ -1031,6 +1088,8 @@ export type Event = {
|
|
|
1031
1088
|
transactionIndex: Scalars['Int']['output'];
|
|
1032
1089
|
/** The age of the wallet in seconds. */
|
|
1033
1090
|
walletAge?: Maybe<Scalars['Int']['output']>;
|
|
1091
|
+
/** Labels attributed to the wallet. */
|
|
1092
|
+
walletLabels?: Maybe<Array<Scalars['String']['output']>>;
|
|
1034
1093
|
};
|
|
1035
1094
|
/** Response returned by `getTokenEvents`. */
|
|
1036
1095
|
export type EventConnection = {
|
|
@@ -1350,8 +1409,13 @@ export type FilterTokenWalletsInput = {
|
|
|
1350
1409
|
rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
|
|
1351
1410
|
/** The ID of the token to filter wallets for */
|
|
1352
1411
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
1353
|
-
/**
|
|
1412
|
+
/**
|
|
1413
|
+
* The wallet address to filter wallets for
|
|
1414
|
+
* @deprecated Use wallets instead
|
|
1415
|
+
*/
|
|
1354
1416
|
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1417
|
+
/** A list of wallet addresses to filter wallets for */
|
|
1418
|
+
wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1355
1419
|
};
|
|
1356
1420
|
/** The input for filtering wallets. */
|
|
1357
1421
|
export type FilterWalletsInput = {
|
|
@@ -1589,6 +1653,14 @@ export type HoldersUpdate = {
|
|
|
1589
1653
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
1590
1654
|
tokenId: Scalars['String']['output'];
|
|
1591
1655
|
};
|
|
1656
|
+
export type IndexerStateInput = {
|
|
1657
|
+
/** The network ID to check the state of. */
|
|
1658
|
+
networkId: Scalars['Int']['input'];
|
|
1659
|
+
};
|
|
1660
|
+
export declare enum IndexerStatus {
|
|
1661
|
+
Behind = "Behind",
|
|
1662
|
+
Normal = "Normal"
|
|
1663
|
+
}
|
|
1592
1664
|
/** Bar chart data. */
|
|
1593
1665
|
export type IndividualBarData = {
|
|
1594
1666
|
__typename?: 'IndividualBarData';
|
|
@@ -1902,6 +1974,18 @@ export type LiquidityLock = {
|
|
|
1902
1974
|
/** The unix timestamp for when the lock expires. */
|
|
1903
1975
|
unlockAt?: Maybe<Scalars['Int']['output']>;
|
|
1904
1976
|
};
|
|
1977
|
+
/** A breakdown of how much and where liquidity is locked. */
|
|
1978
|
+
export type LiquidityLockBreakdownForToken = {
|
|
1979
|
+
__typename?: 'LiquidityLockBreakdownForToken';
|
|
1980
|
+
/** The amount of tokens locked in the protocol. */
|
|
1981
|
+
amountLockedTokens: Scalars['String']['output'];
|
|
1982
|
+
/** The amount of tokens locked in the protocol shifted by number of decimals the token has. */
|
|
1983
|
+
amountLockedTokensShifted: Scalars['String']['output'];
|
|
1984
|
+
/** The amount of liquidity locked in USD. */
|
|
1985
|
+
amountLockedUsd: Scalars['String']['output'];
|
|
1986
|
+
/** The protocol with which the liquidity is locked. */
|
|
1987
|
+
lockProtocol: LiquidityLockProtocol;
|
|
1988
|
+
};
|
|
1905
1989
|
export type LiquidityLockConnection = {
|
|
1906
1990
|
__typename?: 'LiquidityLockConnection';
|
|
1907
1991
|
/** A cursor for use in pagination. */
|
|
@@ -1925,6 +2009,30 @@ export type LiquidityMetadata = {
|
|
|
1925
2009
|
/** Data about locked liquidity. */
|
|
1926
2010
|
lockedLiquidity: LockedLiquidityData;
|
|
1927
2011
|
};
|
|
2012
|
+
/** Metadata about a token's liquidity. Includes locked liquidity data for up to 100 pairs that the token is in. */
|
|
2013
|
+
export type LiquidityMetadataByToken = {
|
|
2014
|
+
__typename?: 'LiquidityMetadataByToken';
|
|
2015
|
+
/** A breakdown of how much and where liquidity is locked. */
|
|
2016
|
+
lockBreakdown: Array<Maybe<LiquidityLockBreakdownForToken>>;
|
|
2017
|
+
/** The percentage of liquidity that is locked. */
|
|
2018
|
+
lockedLiquidityPercentage: Scalars['Float']['output'];
|
|
2019
|
+
/** The locked liquidity in USD. */
|
|
2020
|
+
lockedLiquidityUsd: Scalars['String']['output'];
|
|
2021
|
+
/** The locked amount of tokens in pairs. */
|
|
2022
|
+
lockedTokenLiquidity: Scalars['String']['output'];
|
|
2023
|
+
/** The locked amount of tokens in pairs shifted by number of decimals the token has. */
|
|
2024
|
+
lockedTokenLiquidityShifted: Scalars['String']['output'];
|
|
2025
|
+
/** The network ID the token is deployed on. */
|
|
2026
|
+
networkId: Scalars['Int']['output'];
|
|
2027
|
+
/** The address of the token. */
|
|
2028
|
+
tokenAddress: Scalars['String']['output'];
|
|
2029
|
+
/** The total liquidity in USD. */
|
|
2030
|
+
totalLiquidityUsd: Scalars['String']['output'];
|
|
2031
|
+
/** The total amount of tokens in pairs. */
|
|
2032
|
+
totalTokenLiquidity: Scalars['String']['output'];
|
|
2033
|
+
/** The total amount of tokens in pairs shifted by number of decimals the token has. */
|
|
2034
|
+
totalTokenLiquidityShifted: Scalars['String']['output'];
|
|
2035
|
+
};
|
|
1928
2036
|
/** Liquidity NFT position data */
|
|
1929
2037
|
export type LiquidityNftData = {
|
|
1930
2038
|
__typename?: 'LiquidityNftData';
|
|
@@ -2012,6 +2120,33 @@ export type MakerEventsQueryInput = {
|
|
|
2012
2120
|
/** The token involved in the event. */
|
|
2013
2121
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
2014
2122
|
};
|
|
2123
|
+
/** Webhook conditions for a market cap event. */
|
|
2124
|
+
export type MarketCapEventWebhookCondition = {
|
|
2125
|
+
__typename?: 'MarketCapEventWebhookCondition';
|
|
2126
|
+
/** The circulating market cap condition that must be met in order for the webhook to send. */
|
|
2127
|
+
circulatingMarketCapUsd?: Maybe<ComparisonOperator>;
|
|
2128
|
+
/** The market cap condition that must be met in order for the webhook to send. */
|
|
2129
|
+
fdvMarketCapUsd?: Maybe<ComparisonOperator>;
|
|
2130
|
+
/** The network ID the webhook is listening on. */
|
|
2131
|
+
networkId: IntEqualsCondition;
|
|
2132
|
+
/** The pair contract address the webhook is listening for. */
|
|
2133
|
+
pairAddress?: Maybe<StringEqualsCondition>;
|
|
2134
|
+
/** The token contract address the webhook is listening for. */
|
|
2135
|
+
tokenAddress: StringEqualsCondition;
|
|
2136
|
+
};
|
|
2137
|
+
/** Input conditions for a market cap event webhook. */
|
|
2138
|
+
export type MarketCapEventWebhookConditionInput = {
|
|
2139
|
+
/** The circulating market cap conditions to listen for. */
|
|
2140
|
+
circulatingMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2141
|
+
/** The price conditions to listen for. */
|
|
2142
|
+
fdvMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
|
|
2143
|
+
/** The network ID to listen on. */
|
|
2144
|
+
networkId: IntEqualsConditionInput;
|
|
2145
|
+
/** The contract address of the pair to listen for. */
|
|
2146
|
+
pairAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
2147
|
+
/** The contract address of the token to listen for. */
|
|
2148
|
+
tokenAddress: StringEqualsConditionInput;
|
|
2149
|
+
};
|
|
2015
2150
|
/** The status for a network supported on Defined. */
|
|
2016
2151
|
export type MetadataResponse = {
|
|
2017
2152
|
__typename?: 'MetadataResponse';
|
|
@@ -4743,6 +4878,11 @@ export type OnBarsUpdatedResponse = {
|
|
|
4743
4878
|
/** The unix timestamp for the new bar. */
|
|
4744
4879
|
timestamp: Scalars['Int']['output'];
|
|
4745
4880
|
};
|
|
4881
|
+
/** Input for `onEventsCreatedByMaker`. */
|
|
4882
|
+
export type OnEventsCreatedByMakerInput = {
|
|
4883
|
+
/** The wallet address of the maker. */
|
|
4884
|
+
makerAddress: Scalars['String']['input'];
|
|
4885
|
+
};
|
|
4746
4886
|
/** Input for `onLaunchpadTokenEvent`. */
|
|
4747
4887
|
export type OnLaunchpadTokenEventInput = {
|
|
4748
4888
|
/** The contract address of the token. Required when `networkId` is provided. */
|
|
@@ -4787,7 +4927,9 @@ export type OnTokenBarsUpdatedResponse = {
|
|
|
4787
4927
|
tokenId: Scalars['String']['output'];
|
|
4788
4928
|
};
|
|
4789
4929
|
export type OnTokenEventsCreatedInput = {
|
|
4930
|
+
/** The network ID to filter by. */
|
|
4790
4931
|
networkId: Scalars['Int']['input'];
|
|
4932
|
+
/** The token address to filter by. */
|
|
4791
4933
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
4792
4934
|
};
|
|
4793
4935
|
/** Response returned by `onUnconfirmedBarsUpdated`. */
|
|
@@ -4813,6 +4955,11 @@ export type OnUnconfirmedBarsUpdated = {
|
|
|
4813
4955
|
/** The unix timestamp for the new bar. */
|
|
4814
4956
|
timestamp: Scalars['Int']['output'];
|
|
4815
4957
|
};
|
|
4958
|
+
/** Input for `onUnconfirmedEventsCreatedByMaker`. */
|
|
4959
|
+
export type OnUnconfirmedEventsCreatedByMakerInput = {
|
|
4960
|
+
/** The wallet address of the maker. */
|
|
4961
|
+
makerAddress: Scalars['String']['input'];
|
|
4962
|
+
};
|
|
4816
4963
|
/** Integer list condition. */
|
|
4817
4964
|
export type OneOfNumberCondition = {
|
|
4818
4965
|
__typename?: 'OneOfNumberCondition';
|
|
@@ -6266,11 +6413,16 @@ export type Query = {
|
|
|
6266
6413
|
liquidityLocks?: Maybe<LiquidityLockConnection>;
|
|
6267
6414
|
/** Returns liquidity metadata for a given pair. Includes liquidity lock data. */
|
|
6268
6415
|
liquidityMetadata?: Maybe<LiquidityMetadata>;
|
|
6416
|
+
/** Returns liquidity metadata for a given token. Includes liquidity lock data for up to 100 pairs that the token is in. */
|
|
6417
|
+
liquidityMetadataByToken: LiquidityMetadataByToken;
|
|
6269
6418
|
/** Returns a list of pairs containing a given token. */
|
|
6270
6419
|
listPairsForToken: Array<Maybe<Pair>>;
|
|
6271
6420
|
/** Returns a list of pair metadata for a token. */
|
|
6272
6421
|
listPairsWithMetadataForToken: ListPairsForTokenResponse;
|
|
6273
|
-
/**
|
|
6422
|
+
/**
|
|
6423
|
+
* Returns a list of trending tokens across any given network(s).
|
|
6424
|
+
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6425
|
+
*/
|
|
6274
6426
|
listTopTokens?: Maybe<Array<TokenWithMetadata>>;
|
|
6275
6427
|
/** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection */
|
|
6276
6428
|
nftHolders: NftHoldersResponse;
|
|
@@ -6295,7 +6447,7 @@ export type Query = {
|
|
|
6295
6447
|
tokenTopTraders: TokenTopTradersConnection;
|
|
6296
6448
|
/** Returns a list of tokens by their addresses & network id, with pagination. */
|
|
6297
6449
|
tokens: Array<Maybe<EnhancedToken>>;
|
|
6298
|
-
/** Returns the percentage of a token
|
|
6450
|
+
/** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
|
|
6299
6451
|
top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
|
|
6300
6452
|
/** Returns a chart of a wallet's activity. */
|
|
6301
6453
|
walletChart?: Maybe<WalletChartResponse>;
|
|
@@ -6597,12 +6749,17 @@ export type QueryHoldersArgs = {
|
|
|
6597
6749
|
export type QueryLiquidityLocksArgs = {
|
|
6598
6750
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
6599
6751
|
networkId: Scalars['Int']['input'];
|
|
6600
|
-
pairAddress
|
|
6752
|
+
pairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6753
|
+
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6601
6754
|
};
|
|
6602
6755
|
export type QueryLiquidityMetadataArgs = {
|
|
6603
6756
|
networkId: Scalars['Int']['input'];
|
|
6604
6757
|
pairAddress: Scalars['String']['input'];
|
|
6605
6758
|
};
|
|
6759
|
+
export type QueryLiquidityMetadataByTokenArgs = {
|
|
6760
|
+
networkId: Scalars['Int']['input'];
|
|
6761
|
+
tokenAddress: Scalars['String']['input'];
|
|
6762
|
+
};
|
|
6606
6763
|
export type QueryListPairsForTokenArgs = {
|
|
6607
6764
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6608
6765
|
networkId: Scalars['Int']['input'];
|
|
@@ -7180,6 +7337,8 @@ export type Subscription = {
|
|
|
7180
7337
|
onEventLabelCreated?: Maybe<EventLabel>;
|
|
7181
7338
|
/** Live-streamed transactions for a token. */
|
|
7182
7339
|
onEventsCreated?: Maybe<AddEventsOutput>;
|
|
7340
|
+
/** Live-streamed transactions for a maker. */
|
|
7341
|
+
onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
|
|
7183
7342
|
/** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
|
|
7184
7343
|
onHoldersUpdated?: Maybe<HoldersUpdate>;
|
|
7185
7344
|
/** Live-streamed updates for newly listed pairs. */
|
|
@@ -7210,6 +7369,8 @@ export type Subscription = {
|
|
|
7210
7369
|
onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
|
|
7211
7370
|
/** Live-streamed unconfirmed transactions for a token. (Solana only) */
|
|
7212
7371
|
onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
|
|
7372
|
+
/** Live-streamed unconfirmed transactions for a maker. (Solana only) */
|
|
7373
|
+
onUnconfirmedEventsCreatedByMaker?: Maybe<AddUnconfirmedEventsByMakerOutput>;
|
|
7213
7374
|
};
|
|
7214
7375
|
export type SubscriptionOnBalanceUpdatedArgs = {
|
|
7215
7376
|
walletAddress: Scalars['String']['input'];
|
|
@@ -7230,9 +7391,13 @@ export type SubscriptionOnEventLabelCreatedArgs = {
|
|
|
7230
7391
|
export type SubscriptionOnEventsCreatedArgs = {
|
|
7231
7392
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
7232
7393
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
7394
|
+
maker?: InputMaybe<Scalars['String']['input']>;
|
|
7233
7395
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
7234
7396
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
7235
7397
|
};
|
|
7398
|
+
export type SubscriptionOnEventsCreatedByMakerArgs = {
|
|
7399
|
+
input: OnEventsCreatedByMakerInput;
|
|
7400
|
+
};
|
|
7236
7401
|
export type SubscriptionOnHoldersUpdatedArgs = {
|
|
7237
7402
|
tokenId: Scalars['String']['input'];
|
|
7238
7403
|
};
|
|
@@ -7302,6 +7467,9 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
|
|
|
7302
7467
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
7303
7468
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
7304
7469
|
};
|
|
7470
|
+
export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
|
|
7471
|
+
input: OnUnconfirmedEventsCreatedByMakerInput;
|
|
7472
|
+
};
|
|
7305
7473
|
export type SuiNetworkConfig = {
|
|
7306
7474
|
__typename?: 'SuiNetworkConfig';
|
|
7307
7475
|
baseTokenAddress: Scalars['String']['output'];
|
|
@@ -9340,7 +9508,7 @@ export type Webhook = {
|
|
|
9340
9508
|
webhookType: WebhookType;
|
|
9341
9509
|
};
|
|
9342
9510
|
/** Webhook conditions that must be met for each webhook type. */
|
|
9343
|
-
export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
|
|
9511
|
+
export type WebhookCondition = MarketCapEventWebhookCondition | NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
|
|
9344
9512
|
/** NFT marketplace names. */
|
|
9345
9513
|
export declare enum WebhookNftEventFillSource {
|
|
9346
9514
|
Blur = "BLUR",
|
|
@@ -9367,6 +9535,7 @@ export declare enum WebhookNftEventType {
|
|
|
9367
9535
|
}
|
|
9368
9536
|
/** The type of webhook. */
|
|
9369
9537
|
export declare enum WebhookType {
|
|
9538
|
+
MarketCapEvent = "MARKET_CAP_EVENT",
|
|
9370
9539
|
NftEvent = "NFT_EVENT",
|
|
9371
9540
|
PriceEvent = "PRICE_EVENT",
|
|
9372
9541
|
RawTransaction = "RAW_TRANSACTION",
|