@codex-data/sdk 2.5.8 → 2.5.13
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/sdk/Query.d.ts +2 -1
- package/dist/sdk/Query.js +1 -0
- package/dist/sdk/Query.mjs +2 -1
- package/dist/sdk/generated/gql.d.ts +11 -6
- package/dist/sdk/generated/gql.js +4 -3
- package/dist/sdk/generated/gql.mjs +4 -3
- package/dist/sdk/generated/graphql.d.ts +198 -33
- package/dist/sdk/generated/graphql.js +34 -11
- package/dist/sdk/generated/graphql.mjs +29 -6
- package/package.json +1 -1
- package/schema.graphql +5092 -5002
|
@@ -165,6 +165,47 @@ export type ApiToken = {
|
|
|
165
165
|
/** JWT to be passed into the Authorization header for API requests */
|
|
166
166
|
token: Scalars['String']['output'];
|
|
167
167
|
};
|
|
168
|
+
/** Usage for an account in its current billing period. Usage values are base-10 integer strings. */
|
|
169
|
+
export type ApiUsage = {
|
|
170
|
+
__typename?: 'ApiUsage';
|
|
171
|
+
/** Usage split by operation type, in `unit` */
|
|
172
|
+
breakdown: ApiUsageBreakdown;
|
|
173
|
+
/** Plan quota for this period, in `unit`. Null if the plan has no quota. On some plans this is a soft limit: reaching it does not block requests. */
|
|
174
|
+
limit?: Maybe<Scalars['String']['output']>;
|
|
175
|
+
/** Percent of the quota used. Can exceed 100. Null if there is no quota. */
|
|
176
|
+
percentUsed?: Maybe<Scalars['Float']['output']>;
|
|
177
|
+
/** End of the current billing period, exclusive (unix seconds) */
|
|
178
|
+
periodEnd: Scalars['Int']['output'];
|
|
179
|
+
/** Start of the current billing period (unix seconds) */
|
|
180
|
+
periodStart: Scalars['Int']['output'];
|
|
181
|
+
/** `limit` minus `used`, floored at 0. Null if there is no quota. */
|
|
182
|
+
remaining?: Maybe<Scalars['String']['output']>;
|
|
183
|
+
/** What `used`, `limit`, `remaining` and `breakdown` are measured in */
|
|
184
|
+
unit: ApiUsageUnit;
|
|
185
|
+
/** When these numbers were last refreshed (unix seconds). Null if no usage has been recorded this period. */
|
|
186
|
+
updatedAt?: Maybe<Scalars['Int']['output']>;
|
|
187
|
+
/** Usage this period, in `unit` */
|
|
188
|
+
used: Scalars['String']['output'];
|
|
189
|
+
};
|
|
190
|
+
/** Usage split by operation type. Values are base-10 integer strings. */
|
|
191
|
+
export type ApiUsageBreakdown = {
|
|
192
|
+
__typename?: 'ApiUsageBreakdown';
|
|
193
|
+
/** Mutations */
|
|
194
|
+
mutation: Scalars['String']['output'];
|
|
195
|
+
/** Queries */
|
|
196
|
+
query: Scalars['String']['output'];
|
|
197
|
+
/** Subscriptions */
|
|
198
|
+
subscription: Scalars['String']['output'];
|
|
199
|
+
/** Webhook deliveries */
|
|
200
|
+
webhook: Scalars['String']['output'];
|
|
201
|
+
};
|
|
202
|
+
/** What the numbers in `ApiUsage` are measured in. */
|
|
203
|
+
export declare enum ApiUsageUnit {
|
|
204
|
+
/** Compute units */
|
|
205
|
+
ComputeUnits = "COMPUTE_UNITS",
|
|
206
|
+
/** Billed requests */
|
|
207
|
+
Requests = "REQUESTS"
|
|
208
|
+
}
|
|
168
209
|
export type AptosNetworkConfig = {
|
|
169
210
|
__typename?: 'AptosNetworkConfig';
|
|
170
211
|
baseTokenAddress: Scalars['String']['output'];
|
|
@@ -1557,7 +1598,7 @@ export type DetailedWalletStats = {
|
|
|
1557
1598
|
__typename?: 'DetailedWalletStats';
|
|
1558
1599
|
/** The likelihood of the wallet being a bot */
|
|
1559
1600
|
botScore?: Maybe<Scalars['Int']['output']>;
|
|
1560
|
-
/** The labels associated with the wallet */
|
|
1601
|
+
/** The labels associated with the wallet. `BOT` and `SCAMMER` are left out when a score backs them: read `botScore` and `scammerScore` instead. */
|
|
1561
1602
|
labels: Array<Scalars['String']['output']>;
|
|
1562
1603
|
/** The last transaction timestamp */
|
|
1563
1604
|
lastTransactionAt: Scalars['Int']['output'];
|
|
@@ -2451,15 +2492,40 @@ export type GetNetworkStatsResponse = {
|
|
|
2451
2492
|
__typename?: 'GetNetworkStatsResponse';
|
|
2452
2493
|
/** The network liquidity in USD. */
|
|
2453
2494
|
liquidity: Scalars['Float']['output'];
|
|
2454
|
-
/** The
|
|
2495
|
+
/** The number of DEX swaps in the past hour. A trade routed through two pools counts as two swaps. */
|
|
2496
|
+
swaps1: Scalars['Int']['output'];
|
|
2497
|
+
/** The number of DEX swaps in the past 4 hours. A trade routed through two pools counts as two swaps. */
|
|
2498
|
+
swaps4: Scalars['Int']['output'];
|
|
2499
|
+
/** The number of DEX swaps in the past 5 minutes. A trade routed through two pools counts as two swaps. */
|
|
2500
|
+
swaps5m: Scalars['Int']['output'];
|
|
2501
|
+
/** The number of DEX swaps in the past 12 hours. A trade routed through two pools counts as two swaps. */
|
|
2502
|
+
swaps12: Scalars['Int']['output'];
|
|
2503
|
+
/** The number of DEX swaps in the past 24 hours. A trade routed through two pools counts as two swaps. */
|
|
2504
|
+
swaps24: Scalars['Int']['output'];
|
|
2505
|
+
/**
|
|
2506
|
+
* The number of DEX swaps in the past hour, not unique transactions.
|
|
2507
|
+
* @deprecated Use swaps1 instead
|
|
2508
|
+
*/
|
|
2455
2509
|
transactions1: Scalars['Int']['output'];
|
|
2456
|
-
/**
|
|
2510
|
+
/**
|
|
2511
|
+
* The number of DEX swaps in the past 4 hours, not unique transactions.
|
|
2512
|
+
* @deprecated Use swaps4 instead
|
|
2513
|
+
*/
|
|
2457
2514
|
transactions4: Scalars['Int']['output'];
|
|
2458
|
-
/**
|
|
2515
|
+
/**
|
|
2516
|
+
* The number of DEX swaps in the past 5 minutes, not unique transactions.
|
|
2517
|
+
* @deprecated Use swaps5m instead
|
|
2518
|
+
*/
|
|
2459
2519
|
transactions5m: Scalars['Int']['output'];
|
|
2460
|
-
/**
|
|
2520
|
+
/**
|
|
2521
|
+
* The number of DEX swaps in the past 12 hours, not unique transactions.
|
|
2522
|
+
* @deprecated Use swaps12 instead
|
|
2523
|
+
*/
|
|
2461
2524
|
transactions12: Scalars['Int']['output'];
|
|
2462
|
-
/**
|
|
2525
|
+
/**
|
|
2526
|
+
* The number of DEX swaps in the past 24 hours, not unique transactions.
|
|
2527
|
+
* @deprecated Use swaps24 instead
|
|
2528
|
+
*/
|
|
2463
2529
|
transactions24: Scalars['Int']['output'];
|
|
2464
2530
|
/** The network trade volume in USD over the past hour. */
|
|
2465
2531
|
volume1: Scalars['Float']['output'];
|
|
@@ -3945,6 +4011,8 @@ export type MetadataResponse = {
|
|
|
3945
4011
|
networkId: Scalars['Int']['output'];
|
|
3946
4012
|
/** The name of the network. */
|
|
3947
4013
|
networkName: Scalars['String']['output'];
|
|
4014
|
+
/** Transactions per second, averaged over the network's latest indexed blocks (up to 500 blocks from the past 5 minutes). Refreshed every 5 minutes. Null when fewer than two blocks were indexed in that window. On Solana-based networks it counts every executed transaction, including failed and vote transactions. */
|
|
4015
|
+
transactionsPerSecond?: Maybe<Scalars['Float']['output']>;
|
|
3948
4016
|
};
|
|
3949
4017
|
/** Event data for a token mint event. */
|
|
3950
4018
|
export type MintEventData = {
|
|
@@ -4095,17 +4163,42 @@ export type NetworkFilterResult = {
|
|
|
4095
4163
|
networkName?: Maybe<Scalars['String']['output']>;
|
|
4096
4164
|
/** The short name of the network. */
|
|
4097
4165
|
networkShortName?: Maybe<Scalars['String']['output']>;
|
|
4166
|
+
/** The number of DEX swaps in the past hour. A trade routed through two pools counts as two swaps. */
|
|
4167
|
+
swaps1?: Maybe<Scalars['Int']['output']>;
|
|
4168
|
+
/** The number of DEX swaps in the past 4 hours. A trade routed through two pools counts as two swaps. */
|
|
4169
|
+
swaps4?: Maybe<Scalars['Int']['output']>;
|
|
4170
|
+
/** The number of DEX swaps in the past 5 minutes. A trade routed through two pools counts as two swaps. */
|
|
4171
|
+
swaps5m?: Maybe<Scalars['Int']['output']>;
|
|
4172
|
+
/** The number of DEX swaps in the past 12 hours. A trade routed through two pools counts as two swaps. */
|
|
4173
|
+
swaps12?: Maybe<Scalars['Int']['output']>;
|
|
4174
|
+
/** The number of DEX swaps in the past 24 hours. A trade routed through two pools counts as two swaps. */
|
|
4175
|
+
swaps24?: Maybe<Scalars['Int']['output']>;
|
|
4098
4176
|
/** The unix timestamp for when the network stats were last updated. */
|
|
4099
4177
|
timestamp?: Maybe<Scalars['Int']['output']>;
|
|
4100
|
-
/**
|
|
4178
|
+
/**
|
|
4179
|
+
* The number of DEX swaps in the past hour, not chain transactions.
|
|
4180
|
+
* @deprecated Use swaps1 instead
|
|
4181
|
+
*/
|
|
4101
4182
|
transactions1?: Maybe<Scalars['Int']['output']>;
|
|
4102
|
-
/**
|
|
4183
|
+
/**
|
|
4184
|
+
* The number of DEX swaps in the past 4 hours, not chain transactions.
|
|
4185
|
+
* @deprecated Use swaps4 instead
|
|
4186
|
+
*/
|
|
4103
4187
|
transactions4?: Maybe<Scalars['Int']['output']>;
|
|
4104
|
-
/**
|
|
4188
|
+
/**
|
|
4189
|
+
* The number of DEX swaps in the past 5 minutes, not chain transactions.
|
|
4190
|
+
* @deprecated Use swaps5m instead
|
|
4191
|
+
*/
|
|
4105
4192
|
transactions5m?: Maybe<Scalars['Int']['output']>;
|
|
4106
|
-
/**
|
|
4193
|
+
/**
|
|
4194
|
+
* The number of DEX swaps in the past 12 hours, not chain transactions.
|
|
4195
|
+
* @deprecated Use swaps12 instead
|
|
4196
|
+
*/
|
|
4107
4197
|
transactions12?: Maybe<Scalars['Int']['output']>;
|
|
4108
|
-
/**
|
|
4198
|
+
/**
|
|
4199
|
+
* The number of DEX swaps in the past 24 hours, not chain transactions.
|
|
4200
|
+
* @deprecated Use swaps24 instead
|
|
4201
|
+
*/
|
|
4109
4202
|
transactions24?: Maybe<Scalars['Int']['output']>;
|
|
4110
4203
|
/** The network trade volume in USD in the past hour. */
|
|
4111
4204
|
volume1?: Maybe<Scalars['String']['output']>;
|
|
@@ -4134,15 +4227,40 @@ export type NetworkFilters = {
|
|
|
4134
4227
|
liquidity?: InputMaybe<NumberFilter>;
|
|
4135
4228
|
/** Whether the network is a mainnet. */
|
|
4136
4229
|
mainnet?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4137
|
-
/** The number of
|
|
4230
|
+
/** The number of DEX swaps in the past hour. A trade routed through two pools counts as two swaps. */
|
|
4231
|
+
swaps1?: InputMaybe<NumberFilter>;
|
|
4232
|
+
/** The number of DEX swaps in the past 4 hours. A trade routed through two pools counts as two swaps. */
|
|
4233
|
+
swaps4?: InputMaybe<NumberFilter>;
|
|
4234
|
+
/** The number of DEX swaps in the past 5 minutes. A trade routed through two pools counts as two swaps. */
|
|
4235
|
+
swaps5m?: InputMaybe<NumberFilter>;
|
|
4236
|
+
/** The number of DEX swaps in the past 12 hours. A trade routed through two pools counts as two swaps. */
|
|
4237
|
+
swaps12?: InputMaybe<NumberFilter>;
|
|
4238
|
+
/** The number of DEX swaps in the past 24 hours. A trade routed through two pools counts as two swaps. */
|
|
4239
|
+
swaps24?: InputMaybe<NumberFilter>;
|
|
4240
|
+
/**
|
|
4241
|
+
* The number of DEX swaps in the past hour, not chain transactions.
|
|
4242
|
+
* @deprecated Use swaps1 instead
|
|
4243
|
+
*/
|
|
4138
4244
|
transactions1?: InputMaybe<NumberFilter>;
|
|
4139
|
-
/**
|
|
4245
|
+
/**
|
|
4246
|
+
* The number of DEX swaps in the past 4 hours, not chain transactions.
|
|
4247
|
+
* @deprecated Use swaps4 instead
|
|
4248
|
+
*/
|
|
4140
4249
|
transactions4?: InputMaybe<NumberFilter>;
|
|
4141
|
-
/**
|
|
4250
|
+
/**
|
|
4251
|
+
* The number of DEX swaps in the past 5 minutes, not chain transactions.
|
|
4252
|
+
* @deprecated Use swaps5m instead
|
|
4253
|
+
*/
|
|
4142
4254
|
transactions5m?: InputMaybe<NumberFilter>;
|
|
4143
|
-
/**
|
|
4255
|
+
/**
|
|
4256
|
+
* The number of DEX swaps in the past 12 hours, not chain transactions.
|
|
4257
|
+
* @deprecated Use swaps12 instead
|
|
4258
|
+
*/
|
|
4144
4259
|
transactions12?: InputMaybe<NumberFilter>;
|
|
4145
|
-
/**
|
|
4260
|
+
/**
|
|
4261
|
+
* The number of DEX swaps in the past 24 hours, not chain transactions.
|
|
4262
|
+
* @deprecated Use swaps24 instead
|
|
4263
|
+
*/
|
|
4146
4264
|
transactions24?: InputMaybe<NumberFilter>;
|
|
4147
4265
|
/** The network trade volume in USD in the past hour. */
|
|
4148
4266
|
volume1?: InputMaybe<NumberFilter>;
|
|
@@ -4175,10 +4293,20 @@ export type NetworkRanking = {
|
|
|
4175
4293
|
/** The attribute used to rank networks. */
|
|
4176
4294
|
export declare enum NetworkRankingAttribute {
|
|
4177
4295
|
Liquidity = "liquidity",
|
|
4296
|
+
Swaps1 = "swaps1",
|
|
4297
|
+
Swaps4 = "swaps4",
|
|
4298
|
+
Swaps5m = "swaps5m",
|
|
4299
|
+
Swaps12 = "swaps12",
|
|
4300
|
+
Swaps24 = "swaps24",
|
|
4301
|
+
/** @deprecated Use swaps1 instead */
|
|
4178
4302
|
Transactions1 = "transactions1",
|
|
4303
|
+
/** @deprecated Use swaps4 instead */
|
|
4179
4304
|
Transactions4 = "transactions4",
|
|
4305
|
+
/** @deprecated Use swaps5m instead */
|
|
4180
4306
|
Transactions5m = "transactions5m",
|
|
4307
|
+
/** @deprecated Use swaps12 instead */
|
|
4181
4308
|
Transactions12 = "transactions12",
|
|
4309
|
+
/** @deprecated Use swaps24 instead */
|
|
4182
4310
|
Transactions24 = "transactions24",
|
|
4183
4311
|
Volume1 = "volume1",
|
|
4184
4312
|
Volume4 = "volume4",
|
|
@@ -7194,7 +7322,7 @@ export type PairFilterResult = {
|
|
|
7194
7322
|
quoteToken?: Maybe<Scalars['String']['output']>;
|
|
7195
7323
|
/** Unix seconds of the contract analysis `riskVerdict` rests on: the decisive analysis, or the newest reading of a proven trapped pool. Null when neither stands behind it. */
|
|
7196
7324
|
riskAnalyzedAt?: Maybe<Scalars['Int']['output']>;
|
|
7197
|
-
/** Buy tax of the pair's token of interest, measured on a simulated buy alone by the latest decisive contract analysis, as a fraction (0.05 means 5%). Pool, hook and launchpad platform fees are not included. Null when no decisive analysis could measure the buy on its own
|
|
7325
|
+
/** Buy tax of the pair's token of interest, measured on a simulated buy alone by the latest decisive contract analysis, as a fraction (0.05 means 5%). Pool, hook and launchpad platform fees are not included. Null when no decisive analysis could measure the buy on its own; null is not 0%. */
|
|
7198
7326
|
riskBuyTax?: Maybe<Scalars['Float']['output']>;
|
|
7199
7327
|
/** How much contract analysis stood behind `riskVerdict`. Describes what was looked at, not what was concluded. */
|
|
7200
7328
|
riskCoverage?: Maybe<RiskAnalysisCoverage>;
|
|
@@ -7204,7 +7332,7 @@ export type PairFilterResult = {
|
|
|
7204
7332
|
riskReasons?: Maybe<Array<RiskReasonCode>>;
|
|
7205
7333
|
/** Weighted risk score from 0 to 100. Null for a terminal verdict reached without scoring, and when unassessed. Not a probability. */
|
|
7206
7334
|
riskScore?: Maybe<Scalars['Float']['output']>;
|
|
7207
|
-
/** Sell tax of the pair's token of interest, measured on a simulated sell alone by the latest decisive contract analysis, as a fraction (0.05 means 5%). Pool, hook and launchpad platform fees are not included. Null when no decisive analysis could measure the sell on its own, including when that analysis found a honeypot: its test sale failed, so no sell tax was measured. */
|
|
7335
|
+
/** Sell tax of the pair's token of interest, measured on a simulated sell alone by the latest decisive contract analysis, as a fraction (0.05 means 5%). Pool, hook and launchpad platform fees are not included. Null when no decisive analysis could measure the sell on its own, including when that analysis found a honeypot: its test sale failed, so no sell tax was measured. Null is not 0%. */
|
|
7208
7336
|
riskSellTax?: Maybe<Scalars['Float']['output']>;
|
|
7209
7337
|
/** Codex's risk verdict for the pair: the token's verdict, or `SCAM` when this pair's own pool is a proven trap (the pool's hook refuses or underpays sells the token itself allows). Not a safety guarantee — read `riskCoverage` first. Null when unassessed. */
|
|
7210
7338
|
riskVerdict?: Maybe<RiskVerdict>;
|
|
@@ -12084,6 +12212,8 @@ export type Query = {
|
|
|
12084
12212
|
apiToken: ApiToken;
|
|
12085
12213
|
/** Get all active short-lived api tokens for this api key */
|
|
12086
12214
|
apiTokens: Array<ApiToken>;
|
|
12215
|
+
/** Usage for the caller's account in the current billing period, compared with the plan quota. Free to call, and callable when the account is over its limit. Numbers are aggregated by the usage pipeline, not updated per request; see `updatedAt`. */
|
|
12216
|
+
apiUsage: ApiUsage;
|
|
12087
12217
|
/** Returns list of token balances that a wallet has. */
|
|
12088
12218
|
balances: BalancesResponse;
|
|
12089
12219
|
/** Returns block data for the input blockNumbers or timestamps, maximum 25 inputs. */
|
|
@@ -13029,9 +13159,9 @@ export type RetrySettingsInput = {
|
|
|
13029
13159
|
export declare enum RiskAnalysisCoverage {
|
|
13030
13160
|
/** Analysis ran and reached a decisive verdict, or proved a pool of the token is a trap. */
|
|
13031
13161
|
Analyzed = "ANALYZED",
|
|
13032
|
-
/** Analysis ran but reached no decisive verdict. */
|
|
13162
|
+
/** Analysis ran but reached no decisive verdict, for example because no supported venue could trade the token. */
|
|
13033
13163
|
Inconclusive = "INCONCLUSIVE",
|
|
13034
|
-
/** No contract analysis stands behind this assessment. */
|
|
13164
|
+
/** No contract analysis stands behind this assessment. Not every token is analyzed; this says nothing about whether it is safe or taxed. */
|
|
13035
13165
|
NotAnalyzed = "NOT_ANALYZED",
|
|
13036
13166
|
/** The verdict rests on a tradeable analysis more than seven days old. A contract can change after it was probed. A honeypot proof never becomes stale. */
|
|
13037
13167
|
Stale = "STALE"
|
|
@@ -14145,6 +14275,7 @@ export type Token2022TransferFee = {
|
|
|
14145
14275
|
/** Fee in basis points (100 basis points = 1%). */
|
|
14146
14276
|
transferFeeBasisPoints: Scalars['Int']['output'];
|
|
14147
14277
|
};
|
|
14278
|
+
/** A Token-2022 mint's transfer fee as configured on the mint, not a measured trade. It applies to every transfer, capped at `maximumFee` per transfer. */
|
|
14148
14279
|
export type Token2022TransferFeeConfig = {
|
|
14149
14280
|
__typename?: 'Token2022TransferFeeConfig';
|
|
14150
14281
|
/** Schedule used from newerTransferFee.epoch onwards. */
|
|
@@ -14327,6 +14458,8 @@ export type TokenFilterEventWebhookCondition = {
|
|
|
14327
14458
|
__typename?: 'TokenFilterEventWebhookCondition';
|
|
14328
14459
|
/** Seconds since the token's first pair was created. */
|
|
14329
14460
|
ageSeconds?: Maybe<ComparisonOperator>;
|
|
14461
|
+
/** Whether tokens that already matched when the webhook was created sent an alert. */
|
|
14462
|
+
alertOnExistingMatches: Scalars['Boolean']['output'];
|
|
14330
14463
|
/** The number of bundler wallets. */
|
|
14331
14464
|
bundlerCount?: Maybe<ComparisonOperator>;
|
|
14332
14465
|
/** The percentage of supply held by bundlers. */
|
|
@@ -14383,6 +14516,8 @@ export type TokenFilterEventWebhookCondition = {
|
|
|
14383
14516
|
tokenAddress?: Maybe<StringEqualsCondition>;
|
|
14384
14517
|
/** The percentage of supply held by the top 10 holders. */
|
|
14385
14518
|
top10HoldersPercent?: Maybe<ComparisonOperator>;
|
|
14519
|
+
/** Seconds after creation during which a token already matching was not alerted on. */
|
|
14520
|
+
warmUpSeconds: Scalars['Int']['output'];
|
|
14386
14521
|
};
|
|
14387
14522
|
/** A token matching a set of filter parameters. */
|
|
14388
14523
|
export type TokenFilterResult = {
|
|
@@ -15364,7 +15499,7 @@ export type TokenRisk = {
|
|
|
15364
15499
|
__typename?: 'TokenRisk';
|
|
15365
15500
|
/** Unix seconds of the contract analysis the verdict rests on: the decisive analysis, or the newest reading of a proven trapped pool. Moves only when the contract is probed again, unlike `flaggedAt`. Null when neither stands behind the verdict. */
|
|
15366
15501
|
analyzedAt?: Maybe<Scalars['Int']['output']>;
|
|
15367
|
-
/** Buy tax measured on a simulated buy alone by the latest decisive contract analysis, as a fraction (0.05 means 5%). Pool, hook and launchpad platform fees are not included. Can be newer than `verdict`, which updates on the next assessment. Null when no decisive analysis could measure the buy on its own. */
|
|
15502
|
+
/** Buy tax measured on a simulated buy alone by the latest decisive contract analysis, as a fraction (0.05 means 5%). Pool, hook and launchpad platform fees are not included. Can be newer than `verdict`, which updates on the next assessment. Null when no decisive analysis could measure the buy on its own; null is not 0%. A Token-2022 fee as configured is in `extensions.token2022.transferFeeConfig`. */
|
|
15368
15503
|
buyTax?: Maybe<Scalars['Float']['output']>;
|
|
15369
15504
|
/** How much contract analysis stood behind the verdict. Null when unassessed, or when a terminal verdict was reached without establishing analysis coverage. */
|
|
15370
15505
|
coverage?: Maybe<RiskAnalysisCoverage>;
|
|
@@ -15374,7 +15509,7 @@ export type TokenRisk = {
|
|
|
15374
15509
|
reasons?: Maybe<Array<RiskReasonCode>>;
|
|
15375
15510
|
/** Weighted score from 0 to 100, computed from weighted signals with family caps and a corroboration bonus, then clamped. Null for a terminal verdict reached without scoring, and for an unassessed token. Not a probability. */
|
|
15376
15511
|
score?: Maybe<Scalars['Float']['output']>;
|
|
15377
|
-
/** Sell tax measured on a simulated sell alone by the latest decisive contract analysis, as a fraction (0.05 means 5%). Pool, hook and launchpad platform fees are not included. Can be newer than `verdict`, which updates on the next assessment. Null when no decisive analysis could measure the sell on its own, including when that analysis found a honeypot: its test sale failed, so no sell tax was measured. */
|
|
15512
|
+
/** Sell tax measured on a simulated sell alone by the latest decisive contract analysis, as a fraction (0.05 means 5%). Pool, hook and launchpad platform fees are not included. Can be newer than `verdict`, which updates on the next assessment. Null when no decisive analysis could measure the sell on its own, including when that analysis found a honeypot: its test sale failed, so no sell tax was measured. Null is not 0%. A Token-2022 fee as configured is in `extensions.token2022.transferFeeConfig`. */
|
|
15378
15513
|
sellTax?: Maybe<Scalars['Float']['output']>;
|
|
15379
15514
|
/** The verdict. Null when the token has not been assessed. */
|
|
15380
15515
|
verdict?: Maybe<RiskVerdict>;
|
|
@@ -16509,10 +16644,12 @@ export type WalletFunding = {
|
|
|
16509
16644
|
export declare enum WalletLabel {
|
|
16510
16645
|
/** On our internal blacklist. */
|
|
16511
16646
|
Blacklisted = "BLACKLISTED",
|
|
16512
|
-
/** Automated trading bot: proven by arbitrage inside its own transactions, or inferred from its trading cadence. Its confidence is `botScore`. */
|
|
16647
|
+
/** Automated trading bot: proven by arbitrage inside its own transactions, or inferred from its trading cadence. Its confidence is `botScore`. In `includeLabels` and `excludeLabels`, `BOT` also matches `MEV_BOT`, `SNIPER_BOT`, `VOLUME_BOT` and `BUNDLER`, and `botScore` is the highest of their scores. */
|
|
16513
16648
|
Bot = "BOT",
|
|
16514
16649
|
/** Cross-chain bridge contract. */
|
|
16515
16650
|
Bridge = "BRIDGE",
|
|
16651
|
+
/** Wallet a bundling tool runs for a token's own team: it buys or holds the team's supply while posing as an independent holder. Part of the `BOT` family. */
|
|
16652
|
+
Bundler = "BUNDLER",
|
|
16516
16653
|
/** Centralized exchange wallet. */
|
|
16517
16654
|
Cex = "CEX",
|
|
16518
16655
|
/** Decentralized exchange wallet. */
|
|
@@ -16557,6 +16694,8 @@ export declare enum WalletLabel {
|
|
|
16557
16694
|
SmartTraderTokensUnderTwoDaysOld = "SMART_TRADER_TOKENS_UNDER_TWO_DAYS_OLD",
|
|
16558
16695
|
/** Wallet has made over $3K profit in the last 90 days trading tokens that were launched within their first hour. */
|
|
16559
16696
|
Sniper = "SNIPER",
|
|
16697
|
+
/** Automated launch sniper: buys a hundred newly created pools a day within a minute of each pool's first swap. Part of the `BOT` family. */
|
|
16698
|
+
SniperBot = "SNIPER_BOT",
|
|
16560
16699
|
/** Venture capital fund. */
|
|
16561
16700
|
Vc = "VC",
|
|
16562
16701
|
/** Operator-run wallet that trades to manufacture a token's volume: one a volume-bot platform runs, or one of hundreds a single funder seeded to churn one pool. */
|
|
@@ -19325,6 +19464,30 @@ export type ApiTokensQuery = {
|
|
|
19325
19464
|
token: string;
|
|
19326
19465
|
}>;
|
|
19327
19466
|
};
|
|
19467
|
+
export type ApiUsageQueryVariables = Exact<{
|
|
19468
|
+
[key: string]: never;
|
|
19469
|
+
}>;
|
|
19470
|
+
export type ApiUsageQuery = {
|
|
19471
|
+
__typename?: 'Query';
|
|
19472
|
+
apiUsage: {
|
|
19473
|
+
__typename?: 'ApiUsage';
|
|
19474
|
+
limit?: string | null;
|
|
19475
|
+
percentUsed?: number | null;
|
|
19476
|
+
periodEnd: number;
|
|
19477
|
+
periodStart: number;
|
|
19478
|
+
remaining?: string | null;
|
|
19479
|
+
unit: ApiUsageUnit;
|
|
19480
|
+
updatedAt?: number | null;
|
|
19481
|
+
used: string;
|
|
19482
|
+
breakdown: {
|
|
19483
|
+
__typename?: 'ApiUsageBreakdown';
|
|
19484
|
+
mutation: string;
|
|
19485
|
+
query: string;
|
|
19486
|
+
subscription: string;
|
|
19487
|
+
webhook: string;
|
|
19488
|
+
};
|
|
19489
|
+
};
|
|
19490
|
+
};
|
|
19328
19491
|
export type BalancesQueryVariables = Exact<{
|
|
19329
19492
|
input: BalancesInput;
|
|
19330
19493
|
}>;
|
|
@@ -29041,12 +29204,12 @@ export type FilterNetworksQuery = {
|
|
|
29041
29204
|
networkId: number;
|
|
29042
29205
|
networkName?: string | null;
|
|
29043
29206
|
networkShortName?: string | null;
|
|
29207
|
+
swaps1?: number | null;
|
|
29208
|
+
swaps4?: number | null;
|
|
29209
|
+
swaps5m?: number | null;
|
|
29210
|
+
swaps12?: number | null;
|
|
29211
|
+
swaps24?: number | null;
|
|
29044
29212
|
timestamp?: number | null;
|
|
29045
|
-
transactions1?: number | null;
|
|
29046
|
-
transactions4?: number | null;
|
|
29047
|
-
transactions5m?: number | null;
|
|
29048
|
-
transactions12?: number | null;
|
|
29049
|
-
transactions24?: number | null;
|
|
29050
29213
|
volume1?: string | null;
|
|
29051
29214
|
volume4?: string | null;
|
|
29052
29215
|
volume5m?: string | null;
|
|
@@ -45241,11 +45404,11 @@ export type GetNetworkStatsQuery = {
|
|
|
45241
45404
|
getNetworkStats?: {
|
|
45242
45405
|
__typename?: 'GetNetworkStatsResponse';
|
|
45243
45406
|
liquidity: number;
|
|
45244
|
-
|
|
45245
|
-
|
|
45246
|
-
|
|
45247
|
-
|
|
45248
|
-
|
|
45407
|
+
swaps1: number;
|
|
45408
|
+
swaps4: number;
|
|
45409
|
+
swaps5m: number;
|
|
45410
|
+
swaps12: number;
|
|
45411
|
+
swaps24: number;
|
|
45249
45412
|
volume1: number;
|
|
45250
45413
|
volume4: number;
|
|
45251
45414
|
volume5m: number;
|
|
@@ -45269,6 +45432,7 @@ export type GetNetworkStatusQuery = {
|
|
|
45269
45432
|
lastProcessedTimestamp?: number | null;
|
|
45270
45433
|
networkId: number;
|
|
45271
45434
|
networkName: string;
|
|
45435
|
+
transactionsPerSecond?: number | null;
|
|
45272
45436
|
}> | null;
|
|
45273
45437
|
};
|
|
45274
45438
|
export type GetNetworksQueryVariables = Exact<{
|
|
@@ -80699,6 +80863,7 @@ export declare const RefreshBalancesDocument: DocumentNode<RefreshBalancesMutati
|
|
|
80699
80863
|
export declare const SimulateTokenContractDocument: DocumentNode<SimulateTokenContractMutation, SimulateTokenContractMutationVariables>;
|
|
80700
80864
|
export declare const ApiTokenDocument: DocumentNode<ApiTokenQuery, ApiTokenQueryVariables>;
|
|
80701
80865
|
export declare const ApiTokensDocument: DocumentNode<ApiTokensQuery, ApiTokensQueryVariables>;
|
|
80866
|
+
export declare const ApiUsageDocument: DocumentNode<ApiUsageQuery, ApiUsageQueryVariables>;
|
|
80702
80867
|
export declare const BalancesDocument: DocumentNode<BalancesQuery, BalancesQueryVariables>;
|
|
80703
80868
|
export declare const BlocksDocument: DocumentNode<BlocksQuery, BlocksQueryVariables>;
|
|
80704
80869
|
export declare const CategoriesDocument: DocumentNode<CategoriesQuery, CategoriesQueryVariables>;
|