@codex-data/sdk 1.0.1 → 1.0.3
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/README.md +6 -0
- package/dist/resources/generated_queries/BackfillWalletState.graphql +3 -0
- package/dist/resources/generated_queries/GetTokenEvents.graphql +2 -0
- package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +2 -0
- package/dist/resources/generated_queries/Holders.graphql +1 -0
- package/dist/resources/generated_queries/PairMetadata.graphql +126 -0
- package/dist/resources/generated_queries/Top10HoldersPercent.graphql +3 -0
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +2 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +126 -0
- package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +2 -0
- package/dist/resources/graphql.d.ts +264 -2
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +14 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +724 -228
- package/dist/resources/graphql.ts +268 -2
- package/dist/resources/schema.graphql +533 -6
- package/dist/sdk/Query.d.ts +3 -1
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +2 -0
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.js +3 -3
- package/dist/sdk/generated/gql.d.ts +28 -14
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +9 -7
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +561 -2
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +25 -11
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/BackfillWalletState.graphql +3 -0
- package/src/resources/generated_queries/GetTokenEvents.graphql +2 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +2 -0
- package/src/resources/generated_queries/Holders.graphql +1 -0
- package/src/resources/generated_queries/PairMetadata.graphql +126 -0
- package/src/resources/generated_queries/Top10HoldersPercent.graphql +3 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +126 -0
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +2 -0
- package/src/resources/graphql.schema.json +724 -228
- package/src/resources/graphql.ts +268 -2
- package/src/resources/schema.graphql +533 -6
- package/src/sdk/Query.ts +8 -0
- package/src/sdk/Subscribe.ts +3 -3
- package/src/sdk/generated/gql.ts +24 -14
- package/src/sdk/generated/graphql.ts +296 -16
|
@@ -126,6 +126,12 @@ export type AddUserAchievementInput = {
|
|
|
126
126
|
quantity: Scalars['Int']['input'];
|
|
127
127
|
userId: Scalars['String']['input'];
|
|
128
128
|
};
|
|
129
|
+
export declare enum AddressType {
|
|
130
|
+
Evm = "EVM",
|
|
131
|
+
Sol = "SOL",
|
|
132
|
+
Tron = "TRON"
|
|
133
|
+
}
|
|
134
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
129
135
|
export declare enum AlertRecurrence {
|
|
130
136
|
Indefinite = "INDEFINITE",
|
|
131
137
|
Once = "ONCE"
|
|
@@ -335,19 +341,31 @@ export type CommunityNotesResponse = {
|
|
|
335
341
|
/** The list of community notes matching the filter parameters. */
|
|
336
342
|
items: Array<CommunityNote>;
|
|
337
343
|
};
|
|
344
|
+
/** Comparison operators. */
|
|
338
345
|
export type ComparisonOperator = {
|
|
339
346
|
__typename?: 'ComparisonOperator';
|
|
347
|
+
/** Equal to. */
|
|
340
348
|
eq?: Maybe<Scalars['String']['output']>;
|
|
349
|
+
/** Greater than. */
|
|
341
350
|
gt?: Maybe<Scalars['String']['output']>;
|
|
351
|
+
/** Greater than or equal to. */
|
|
342
352
|
gte?: Maybe<Scalars['String']['output']>;
|
|
353
|
+
/** Less than. */
|
|
343
354
|
lt?: Maybe<Scalars['String']['output']>;
|
|
355
|
+
/** Less than or equal to. */
|
|
344
356
|
lte?: Maybe<Scalars['String']['output']>;
|
|
345
357
|
};
|
|
358
|
+
/** Input for comparison operators. */
|
|
346
359
|
export type ComparisonOperatorInput = {
|
|
360
|
+
/** Equal to. */
|
|
347
361
|
eq?: InputMaybe<Scalars['String']['input']>;
|
|
362
|
+
/** Greater than. */
|
|
348
363
|
gt?: InputMaybe<Scalars['String']['input']>;
|
|
364
|
+
/** Greater than or equal. */
|
|
349
365
|
gte?: InputMaybe<Scalars['String']['input']>;
|
|
366
|
+
/** Less than. */
|
|
350
367
|
lt?: InputMaybe<Scalars['String']['input']>;
|
|
368
|
+
/** Less than or equal. */
|
|
351
369
|
lte?: InputMaybe<Scalars['String']['input']>;
|
|
352
370
|
};
|
|
353
371
|
/** Metadata for a contract label. */
|
|
@@ -387,81 +405,147 @@ export type CreateApiTokensInput = {
|
|
|
387
405
|
/** Number of requests allowed per token, represented as a string, default is 5000 */
|
|
388
406
|
requestLimit?: InputMaybe<Scalars['String']['input']>;
|
|
389
407
|
};
|
|
408
|
+
/** Input for creating an NFT event webhook. */
|
|
390
409
|
export type CreateNftEventWebhookArgs = {
|
|
410
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
391
411
|
alertRecurrence: AlertRecurrence;
|
|
412
|
+
/** 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). */
|
|
392
413
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
414
|
+
/** 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). */
|
|
393
415
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
416
|
+
/** The url to which the webhook message should be sent. */
|
|
394
417
|
callbackUrl: Scalars['String']['input'];
|
|
418
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
395
419
|
conditions: NftEventWebhookConditionInput;
|
|
420
|
+
/** 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. */
|
|
396
421
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
422
|
+
/** 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. */
|
|
397
423
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
424
|
+
/** The name of the webhook (max 128 characters). */
|
|
398
425
|
name: Scalars['String']['input'];
|
|
426
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
399
427
|
publishingType?: InputMaybe<PublishingType>;
|
|
428
|
+
/** The settings for retrying failed webhook messages. */
|
|
400
429
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
430
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
401
431
|
securityToken: Scalars['String']['input'];
|
|
402
432
|
};
|
|
433
|
+
/** Input for creating NFT event webhooks. */
|
|
403
434
|
export type CreateNftEventWebhooksInput = {
|
|
435
|
+
/** A list of NFT event webhooks to create. */
|
|
404
436
|
webhooks: Array<CreateNftEventWebhookArgs>;
|
|
405
437
|
};
|
|
438
|
+
/** Input for creating a price webhook. */
|
|
406
439
|
export type CreatePriceWebhookArgs = {
|
|
440
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
407
441
|
alertRecurrence: AlertRecurrence;
|
|
442
|
+
/** 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). */
|
|
408
443
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
444
|
+
/** 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). */
|
|
409
445
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
446
|
+
/** The url to which the webhook message should be sent. */
|
|
410
447
|
callbackUrl: Scalars['String']['input'];
|
|
448
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
411
449
|
conditions: PriceEventWebhookConditionInput;
|
|
450
|
+
/** 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. */
|
|
412
451
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
452
|
+
/** 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. */
|
|
413
453
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
454
|
+
/** The name of the webhook (max 128 characters). */
|
|
414
455
|
name: Scalars['String']['input'];
|
|
456
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
415
457
|
publishingType?: InputMaybe<PublishingType>;
|
|
458
|
+
/** The settings for retrying failed webhook messages. */
|
|
416
459
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
460
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
417
461
|
securityToken: Scalars['String']['input'];
|
|
418
462
|
};
|
|
463
|
+
/** Input for creating price webhooks. */
|
|
419
464
|
export type CreatePriceWebhooksInput = {
|
|
465
|
+
/** A list of price webhooks to create. */
|
|
420
466
|
webhooks: Array<CreatePriceWebhookArgs>;
|
|
421
467
|
};
|
|
468
|
+
/** Input for creating a Raw Transaction webhook. */
|
|
422
469
|
export type CreateRawTransactionWebhookArgs = {
|
|
470
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
423
471
|
alertRecurrence: AlertRecurrence;
|
|
472
|
+
/** 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). */
|
|
424
473
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
474
|
+
/** 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). */
|
|
425
475
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
476
|
+
/** The url to which the webhook message should be sent. */
|
|
426
477
|
callbackUrl: Scalars['String']['input'];
|
|
478
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
427
479
|
conditions: RawTransactionWebhookConditionInput;
|
|
480
|
+
/** 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. */
|
|
428
481
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
482
|
+
/** 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. */
|
|
429
483
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
484
|
+
/** The name of the webhook (max 128 characters). */
|
|
430
485
|
name: Scalars['String']['input'];
|
|
486
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
431
487
|
publishingType?: InputMaybe<PublishingType>;
|
|
488
|
+
/** The settings for retrying failed webhook messages. */
|
|
432
489
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
490
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
433
491
|
securityToken: Scalars['String']['input'];
|
|
434
492
|
};
|
|
493
|
+
/** Input for creating Raw Transaction webhooks. */
|
|
435
494
|
export type CreateRawTransactionWebhooksInput = {
|
|
495
|
+
/** A list of Raw Transaction webhooks to create. */
|
|
436
496
|
webhooks: Array<CreateRawTransactionWebhookArgs>;
|
|
437
497
|
};
|
|
498
|
+
/** Input for creating a token pair event webhook. */
|
|
438
499
|
export type CreateTokenPairEventWebhookArgs = {
|
|
500
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
439
501
|
alertRecurrence: AlertRecurrence;
|
|
502
|
+
/** 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). */
|
|
440
503
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
504
|
+
/** 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). */
|
|
441
505
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
506
|
+
/** The url to which the webhook message should be sent. */
|
|
442
507
|
callbackUrl: Scalars['String']['input'];
|
|
508
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
443
509
|
conditions: TokenPairEventWebhookConditionInput;
|
|
510
|
+
/** 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. */
|
|
444
511
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
512
|
+
/** 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. */
|
|
445
513
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
514
|
+
/** The name of the webhook (max 128 characters). */
|
|
446
515
|
name: Scalars['String']['input'];
|
|
516
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
447
517
|
publishingType?: InputMaybe<PublishingType>;
|
|
518
|
+
/** The settings for retrying failed webhook messages. */
|
|
448
519
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
520
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
449
521
|
securityToken: Scalars['String']['input'];
|
|
450
522
|
};
|
|
523
|
+
/** Input for creating token pair event webhooks. */
|
|
451
524
|
export type CreateTokenPairEventWebhooksInput = {
|
|
525
|
+
/** A list of token pair event webhooks to create. */
|
|
452
526
|
webhooks: Array<CreateTokenPairEventWebhookArgs>;
|
|
453
527
|
};
|
|
528
|
+
/** Input for creating webhooks. */
|
|
454
529
|
export type CreateWebhooksInput = {
|
|
530
|
+
/** Input for creating NFT event webhooks. */
|
|
455
531
|
nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
|
|
532
|
+
/** Input for creating price webhooks. */
|
|
456
533
|
priceWebhooksInput?: InputMaybe<CreatePriceWebhooksInput>;
|
|
534
|
+
/** Input for creating raw transaction webhooks. */
|
|
457
535
|
rawTransactionWebhooksInput?: InputMaybe<CreateRawTransactionWebhooksInput>;
|
|
536
|
+
/** Input for creating token pair event webhooks. */
|
|
458
537
|
tokenPairEventWebhooksInput?: InputMaybe<CreateTokenPairEventWebhooksInput>;
|
|
459
538
|
};
|
|
539
|
+
/** Result returned by `createWebhooks`. */
|
|
460
540
|
export type CreateWebhooksOutput = {
|
|
461
541
|
__typename?: 'CreateWebhooksOutput';
|
|
542
|
+
/** The list of NFT event webhooks that were created. */
|
|
462
543
|
nftEventWebhooks: Array<Maybe<Webhook>>;
|
|
544
|
+
/** The list of price webhooks that were created. */
|
|
463
545
|
priceWebhooks: Array<Maybe<Webhook>>;
|
|
546
|
+
/** The list of raw transaction webhooks that were created. */
|
|
464
547
|
rawTransactionWebhooks: Array<Maybe<Webhook>>;
|
|
548
|
+
/** The list of token pair event webhooks that were created. */
|
|
465
549
|
tokenPairEventWebhooks: Array<Maybe<Webhook>>;
|
|
466
550
|
};
|
|
467
551
|
export declare enum CreationContext {
|
|
@@ -479,11 +563,15 @@ export type CurrencyBarData = {
|
|
|
479
563
|
/** Bar chart data in USD. */
|
|
480
564
|
usd: IndividualBarData;
|
|
481
565
|
};
|
|
566
|
+
/** Input for deleting webhooks. */
|
|
482
567
|
export type DeleteWebhooksInput = {
|
|
568
|
+
/** A list of webhook IDs to delete. */
|
|
483
569
|
webhookIds: Array<Scalars['String']['input']>;
|
|
484
570
|
};
|
|
571
|
+
/** Result returned by `deleteWebhooks`. */
|
|
485
572
|
export type DeleteWebhooksOutput = {
|
|
486
573
|
__typename?: 'DeleteWebhooksOutput';
|
|
574
|
+
/** The list of webhook IDs that were deleted. */
|
|
487
575
|
deletedIds?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
488
576
|
};
|
|
489
577
|
/** Detailed stats for an NFT collection. */
|
|
@@ -825,12 +913,16 @@ export type Event = {
|
|
|
825
913
|
quoteToken?: Maybe<QuoteToken>;
|
|
826
914
|
/** The unix timestamp for when the transaction occurred. */
|
|
827
915
|
timestamp: Scalars['Int']['output'];
|
|
916
|
+
/** The address of the event's token0. */
|
|
917
|
+
token0Address?: Maybe<Scalars['String']['output']>;
|
|
828
918
|
/** The updated price of `token0` in USD, calculated after the transaction. */
|
|
829
919
|
token0PoolValueUsd?: Maybe<Scalars['String']['output']>;
|
|
830
920
|
/** The price of `token0` paid/received in USD, including any fees. */
|
|
831
921
|
token0SwapValueUsd?: Maybe<Scalars['String']['output']>;
|
|
832
922
|
/** The price of `token0` paid/received in the network's base token, including fees. */
|
|
833
923
|
token0ValueBase?: Maybe<Scalars['String']['output']>;
|
|
924
|
+
/** The address of the event's token1. */
|
|
925
|
+
token1Address?: Maybe<Scalars['String']['output']>;
|
|
834
926
|
/** The updated price of `token1` in USD, calculated after the transaction. */
|
|
835
927
|
token1PoolValueUsd?: Maybe<Scalars['String']['output']>;
|
|
836
928
|
/** The price of `token1` paid/received in USD, including any fees. */
|
|
@@ -1247,9 +1339,12 @@ export type GetTokensInfoInput = {
|
|
|
1247
1339
|
/** The network ID the token is deployed on. */
|
|
1248
1340
|
networkId: Scalars['Int']['input'];
|
|
1249
1341
|
};
|
|
1342
|
+
/** Response returned by `getWebhooks`. */
|
|
1250
1343
|
export type GetWebhooksResponse = {
|
|
1251
1344
|
__typename?: 'GetWebhooksResponse';
|
|
1345
|
+
/** A cursor for use in pagination. */
|
|
1252
1346
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
1347
|
+
/** A list of webhooks belonging to a user. */
|
|
1253
1348
|
items?: Maybe<Array<Maybe<Webhook>>>;
|
|
1254
1349
|
};
|
|
1255
1350
|
/** The pool variant. */
|
|
@@ -1281,6 +1376,8 @@ export type HoldersResponse = {
|
|
|
1281
1376
|
items: Array<Balance>;
|
|
1282
1377
|
/** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
|
|
1283
1378
|
status: HoldersStatus;
|
|
1379
|
+
/** What percentage of the total supply do the top 10 holders hold */
|
|
1380
|
+
top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
|
|
1284
1381
|
};
|
|
1285
1382
|
export declare enum HoldersSortAttribute {
|
|
1286
1383
|
Balance = "BALANCE",
|
|
@@ -1328,11 +1425,15 @@ export type IndividualBarData = {
|
|
|
1328
1425
|
/** The volume in the network's base token */
|
|
1329
1426
|
volumeNativeToken: Scalars['String']['output'];
|
|
1330
1427
|
};
|
|
1428
|
+
/** Integer equals condition. */
|
|
1331
1429
|
export type IntEqualsCondition = {
|
|
1332
1430
|
__typename?: 'IntEqualsCondition';
|
|
1431
|
+
/** The integer to equal. */
|
|
1333
1432
|
eq: Scalars['Int']['output'];
|
|
1334
1433
|
};
|
|
1434
|
+
/** Input for integer equals condition. */
|
|
1335
1435
|
export type IntEqualsConditionInput = {
|
|
1436
|
+
/** The integer to equal. */
|
|
1336
1437
|
eq: Scalars['Int']['input'];
|
|
1337
1438
|
};
|
|
1338
1439
|
/** Event labels. Can be `sandwich` or `washtrade`. */
|
|
@@ -1603,12 +1704,20 @@ export type MakerEventConnection = {
|
|
|
1603
1704
|
items?: Maybe<Array<Maybe<Event>>>;
|
|
1604
1705
|
};
|
|
1605
1706
|
export type MakerEventsQueryInput = {
|
|
1707
|
+
/** The specific event type to filter by. */
|
|
1708
|
+
eventType?: InputMaybe<EventType>;
|
|
1606
1709
|
/** The specific wallet address to filter by. */
|
|
1607
1710
|
maker: Scalars['String']['input'];
|
|
1608
1711
|
/** The network ID to filter by. */
|
|
1609
|
-
networkId
|
|
1610
|
-
/** The
|
|
1712
|
+
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
1713
|
+
/** The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`). */
|
|
1714
|
+
priceUsdTotal?: InputMaybe<NumberFilter>;
|
|
1715
|
+
/** docs: hide */
|
|
1611
1716
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
1717
|
+
/** The time range to filter by. */
|
|
1718
|
+
timestamp?: InputMaybe<EventQueryTimestampInput>;
|
|
1719
|
+
/** The token involved in the event. */
|
|
1720
|
+
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1612
1721
|
};
|
|
1613
1722
|
/** The status for a network supported on Defined. */
|
|
1614
1723
|
export type MetadataResponse = {
|
|
@@ -1654,9 +1763,11 @@ export type Mutation = {
|
|
|
1654
1763
|
__typename?: 'Mutation';
|
|
1655
1764
|
/** Create a new set of short-lived api access tokens */
|
|
1656
1765
|
createApiTokens: Array<ApiToken>;
|
|
1766
|
+
/** Create price, raw transaction, token/pair event, and NFT event webhooks. */
|
|
1657
1767
|
createWebhooks: CreateWebhooksOutput;
|
|
1658
1768
|
/** Delete a single short-lived api access token by id */
|
|
1659
1769
|
deleteApiToken: Scalars['String']['output'];
|
|
1770
|
+
/** Delete multiple webhooks. */
|
|
1660
1771
|
deleteWebhooks?: Maybe<DeleteWebhooksOutput>;
|
|
1661
1772
|
};
|
|
1662
1773
|
export type MutationCreateApiTokensArgs = {
|
|
@@ -2768,11 +2879,15 @@ export type NftEvent = {
|
|
|
2768
2879
|
/** The index of the transaction within the block. */
|
|
2769
2880
|
transactionIndex: Scalars['Int']['output'];
|
|
2770
2881
|
};
|
|
2882
|
+
/** NFT marketplaces for a webhook to listen on. */
|
|
2771
2883
|
export type NftEventFillSourceCondition = {
|
|
2772
2884
|
__typename?: 'NftEventFillSourceCondition';
|
|
2885
|
+
/** The list of NFT marketplaces. */
|
|
2773
2886
|
oneOf: Array<WebhookNftEventFillSource>;
|
|
2774
2887
|
};
|
|
2888
|
+
/** Input for NFT event fill source condition. */
|
|
2775
2889
|
export type NftEventFillSourceConditionInput = {
|
|
2890
|
+
/** The list of NFT marketplace to equal. */
|
|
2776
2891
|
oneOf: Array<WebhookNftEventFillSource>;
|
|
2777
2892
|
};
|
|
2778
2893
|
/** Details for an NFT offered or received as part of an nft trade. */
|
|
@@ -2841,34 +2956,58 @@ export declare enum NftEventTradeItemType {
|
|
|
2841
2956
|
Nft = "NFT",
|
|
2842
2957
|
Token = "TOKEN"
|
|
2843
2958
|
}
|
|
2959
|
+
/** An NFT event type for a webhook to listen for. */
|
|
2844
2960
|
export type NftEventTypeCondition = {
|
|
2845
2961
|
__typename?: 'NftEventTypeCondition';
|
|
2962
|
+
/** The NFT event type. */
|
|
2846
2963
|
eq: WebhookNftEventType;
|
|
2847
2964
|
};
|
|
2965
|
+
/** Input for NFT event type. */
|
|
2848
2966
|
export type NftEventTypeConditionInput = {
|
|
2967
|
+
/** The NFT event type to equal. */
|
|
2849
2968
|
eq: WebhookNftEventType;
|
|
2850
2969
|
};
|
|
2970
|
+
/** Webhook conditions for an NFT event. */
|
|
2851
2971
|
export type NftEventWebhookCondition = {
|
|
2852
2972
|
__typename?: 'NftEventWebhookCondition';
|
|
2973
|
+
/** The NFT collection contract address the webhook is listening for. */
|
|
2853
2974
|
contractAddress?: Maybe<StringEqualsCondition>;
|
|
2975
|
+
/** The NFT event type the webhook is listening for. */
|
|
2854
2976
|
eventType?: Maybe<NftEventTypeCondition>;
|
|
2977
|
+
/** The exchange contract address the webhook is listening for. */
|
|
2855
2978
|
exchangeAddress?: Maybe<StringEqualsCondition>;
|
|
2979
|
+
/** The NFT marketplaces the webhook is listening on. */
|
|
2856
2980
|
fillSource?: Maybe<NftEventFillSourceCondition>;
|
|
2981
|
+
/** Option to ignore all nft transfer events */
|
|
2857
2982
|
ignoreTransfers?: Maybe<Scalars['Boolean']['output']>;
|
|
2983
|
+
/** The base token price the webhook is listening for. */
|
|
2858
2984
|
individualBaseTokenPrice?: Maybe<ComparisonOperator>;
|
|
2985
|
+
/** The maker wallet address the webhook is listening for. */
|
|
2859
2986
|
maker?: Maybe<StringEqualsCondition>;
|
|
2987
|
+
/** The list of network IDs the webhook is listening on. */
|
|
2860
2988
|
networkId?: Maybe<OneOfNumberCondition>;
|
|
2989
|
+
/** The token contract address the webhook is listening for. */
|
|
2861
2990
|
tokenAddress?: Maybe<StringEqualsCondition>;
|
|
2991
|
+
/** The token ID the webhook is listening for. */
|
|
2862
2992
|
tokenId?: Maybe<StringEqualsCondition>;
|
|
2863
2993
|
};
|
|
2994
|
+
/** Input conditions for an NFT event webhook. */
|
|
2864
2995
|
export type NftEventWebhookConditionInput = {
|
|
2996
|
+
/** The NFT collection contract address to listen for. */
|
|
2865
2997
|
contractAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
2998
|
+
/** The NFT event type to listen for. */
|
|
2866
2999
|
eventType?: InputMaybe<NftEventTypeConditionInput>;
|
|
3000
|
+
/** The exchange contract address to listen for. */
|
|
2867
3001
|
exchangeAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
3002
|
+
/** The NFT marketplaces to listen for. */
|
|
2868
3003
|
fillSource?: InputMaybe<NftEventFillSourceConditionInput>;
|
|
3004
|
+
/** Option to ignore all nft transfer events */
|
|
2869
3005
|
ignoreTransfers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3006
|
+
/** The maker wallet address to listen for. */
|
|
2870
3007
|
maker?: InputMaybe<StringEqualsConditionInput>;
|
|
3008
|
+
/** A list of network IDs to listen on. */
|
|
2871
3009
|
networkId?: InputMaybe<OneOfNumberConditionInput>;
|
|
3010
|
+
/** The token ID to listen for. */
|
|
2872
3011
|
tokenId?: InputMaybe<StringEqualsConditionInput>;
|
|
2873
3012
|
};
|
|
2874
3013
|
/** Response returned by `getNftEvents`. */
|
|
@@ -4238,11 +4377,15 @@ export type OnUnconfirmedBarsUpdated = {
|
|
|
4238
4377
|
/** The unix timestamp for the new bar. */
|
|
4239
4378
|
timestamp: Scalars['Int']['output'];
|
|
4240
4379
|
};
|
|
4380
|
+
/** Integer list condition. */
|
|
4241
4381
|
export type OneOfNumberCondition = {
|
|
4242
4382
|
__typename?: 'OneOfNumberCondition';
|
|
4383
|
+
/** The list of integers. */
|
|
4243
4384
|
oneOf: Array<Scalars['Int']['output']>;
|
|
4244
4385
|
};
|
|
4386
|
+
/** Input for integer list condition. */
|
|
4245
4387
|
export type OneOfNumberConditionInput = {
|
|
4388
|
+
/** The list of integers. */
|
|
4246
4389
|
oneOf: Array<Scalars['Int']['input']>;
|
|
4247
4390
|
};
|
|
4248
4391
|
export declare enum OrderState {
|
|
@@ -4554,6 +4697,8 @@ export type PairFilters = {
|
|
|
4554
4697
|
};
|
|
4555
4698
|
export type PairMetadata = {
|
|
4556
4699
|
__typename?: 'PairMetadata';
|
|
4700
|
+
enhancedToken0?: Maybe<EnhancedToken>;
|
|
4701
|
+
enhancedToken1?: Maybe<EnhancedToken>;
|
|
4557
4702
|
exchangeId?: Maybe<Scalars['String']['output']>;
|
|
4558
4703
|
fee?: Maybe<Scalars['Int']['output']>;
|
|
4559
4704
|
highPrice1?: Maybe<Scalars['String']['output']>;
|
|
@@ -5007,15 +5152,27 @@ export type Price = {
|
|
|
5007
5152
|
/** The unix timestamp for the price. */
|
|
5008
5153
|
timestamp: Scalars['Int']['output'];
|
|
5009
5154
|
};
|
|
5155
|
+
/** Webhook conditions for a price event. */
|
|
5010
5156
|
export type PriceEventWebhookCondition = {
|
|
5011
5157
|
__typename?: 'PriceEventWebhookCondition';
|
|
5158
|
+
/** The network ID the webhook is listening on. */
|
|
5012
5159
|
networkId: IntEqualsCondition;
|
|
5160
|
+
/** The pair contract address the webhook is listening for. */
|
|
5161
|
+
pairAddress?: Maybe<StringEqualsCondition>;
|
|
5162
|
+
/** The price condition that must be met in order for the webhook to send. */
|
|
5013
5163
|
priceUsd: ComparisonOperator;
|
|
5164
|
+
/** The token contract address the webhook is listening for. */
|
|
5014
5165
|
tokenAddress: StringEqualsCondition;
|
|
5015
5166
|
};
|
|
5167
|
+
/** Input conditions for a price event webhook. */
|
|
5016
5168
|
export type PriceEventWebhookConditionInput = {
|
|
5169
|
+
/** The network ID to listen on. */
|
|
5017
5170
|
networkId: IntEqualsConditionInput;
|
|
5171
|
+
/** The contract address of the pair to listen for. */
|
|
5172
|
+
pairAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
5173
|
+
/** The price conditions to listen for. */
|
|
5018
5174
|
priceUsd: ComparisonOperatorInput;
|
|
5175
|
+
/** The contract address of the token to listen for. */
|
|
5019
5176
|
tokenAddress: StringEqualsConditionInput;
|
|
5020
5177
|
};
|
|
5021
5178
|
/** Response returned by `primeHolders`. */
|
|
@@ -5490,6 +5647,7 @@ export type Query = {
|
|
|
5490
5647
|
apiToken: ApiToken;
|
|
5491
5648
|
/** Get all active short-lived api tokens for this api key */
|
|
5492
5649
|
apiTokens: Array<ApiToken>;
|
|
5650
|
+
backfillWalletState: Scalars['Boolean']['output'];
|
|
5493
5651
|
/** Returns list of token balances that a wallet has */
|
|
5494
5652
|
balances: BalancesResponse;
|
|
5495
5653
|
/** Returns a URL for a pair chart. */
|
|
@@ -5575,6 +5733,7 @@ export type Query = {
|
|
|
5575
5733
|
getTokenCount: Scalars['String']['output'];
|
|
5576
5734
|
/** Returns transactions for a pair. */
|
|
5577
5735
|
getTokenEvents?: Maybe<EventConnection>;
|
|
5736
|
+
/** Returns a list of token events for a given maker. */
|
|
5578
5737
|
getTokenEventsForMaker?: Maybe<MakerEventConnection>;
|
|
5579
5738
|
/** Returns metadata for a given token. */
|
|
5580
5739
|
getTokenInfo?: Maybe<TokenInfo>;
|
|
@@ -5584,6 +5743,7 @@ export type Query = {
|
|
|
5584
5743
|
getTokensInfo?: Maybe<Array<Maybe<TokenInfo>>>;
|
|
5585
5744
|
/** Returns tick data for a given Uniswap V3-style pool. */
|
|
5586
5745
|
getUniV3Ticks?: Maybe<UniV3TickConnection>;
|
|
5746
|
+
/** Returns a user's list of webhooks. */
|
|
5587
5747
|
getWebhooks?: Maybe<GetWebhooksResponse>;
|
|
5588
5748
|
/** Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token */
|
|
5589
5749
|
holders: HoldersResponse;
|
|
@@ -5622,6 +5782,8 @@ export type Query = {
|
|
|
5622
5782
|
tokenSparklines: Array<TokenSparkline>;
|
|
5623
5783
|
/** Find a list of tokens by their addresses & network id, with pagination. */
|
|
5624
5784
|
tokens: Array<Maybe<EnhancedToken>>;
|
|
5785
|
+
/** What percent of the total supply do the top 10 holders of a token hold */
|
|
5786
|
+
top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
|
|
5625
5787
|
/** Returns list of NFT assets held by a given wallet for a single collection. */
|
|
5626
5788
|
walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
|
|
5627
5789
|
/** Returns list of collections and quantity of NFTs held by a given wallet. */
|
|
@@ -5994,6 +6156,9 @@ export type QueryTokenSparklinesArgs = {
|
|
|
5994
6156
|
export type QueryTokensArgs = {
|
|
5995
6157
|
ids?: InputMaybe<Array<TokenInput>>;
|
|
5996
6158
|
};
|
|
6159
|
+
export type QueryTop10HoldersPercentArgs = {
|
|
6160
|
+
tokenId: Scalars['String']['input'];
|
|
6161
|
+
};
|
|
5997
6162
|
export type QueryWalletNftCollectionAssetsArgs = {
|
|
5998
6163
|
input: WalletNftCollectionAssetsInput;
|
|
5999
6164
|
};
|
|
@@ -6051,23 +6216,39 @@ export type RawNftAssetData = {
|
|
|
6051
6216
|
/** An optional image field that may or may not be present on the requested NFT asset smart contract. */
|
|
6052
6217
|
imageUrl?: Maybe<Scalars['String']['output']>;
|
|
6053
6218
|
};
|
|
6219
|
+
/** Webhook conditions for a raw transaction. */
|
|
6054
6220
|
export type RawTransactionWebhookCondition = {
|
|
6055
6221
|
__typename?: 'RawTransactionWebhookCondition';
|
|
6222
|
+
/** The from address to listen for. */
|
|
6056
6223
|
from?: Maybe<StringEqualsCondition>;
|
|
6224
|
+
/** Do not trigger the webhook if the raw transaction is handled by the NftEvent webhook. */
|
|
6057
6225
|
ignoreNftEvents?: Maybe<Scalars['Boolean']['output']>;
|
|
6226
|
+
/** Do not trigger the webhook if the raw transaction is handled by the TokenPairEvent webhook. */
|
|
6058
6227
|
ignoreTokenPairEvents?: Maybe<Scalars['Boolean']['output']>;
|
|
6228
|
+
/** Trigger the webhook if the contains or doesn't contain the specified string. */
|
|
6059
6229
|
input?: Maybe<StringContainsCondition>;
|
|
6230
|
+
/** A list of network IDs to listen on. */
|
|
6060
6231
|
networkId?: Maybe<OneOfNumberCondition>;
|
|
6232
|
+
/** The to address to listen for. */
|
|
6061
6233
|
to?: Maybe<StringEqualsCondition>;
|
|
6234
|
+
/** Trigger the webhook if either the to or the from address matches. */
|
|
6062
6235
|
toOrFrom?: Maybe<StringEqualsCondition>;
|
|
6063
6236
|
};
|
|
6237
|
+
/** Input conditions for a Raw Transaction webhook. */
|
|
6064
6238
|
export type RawTransactionWebhookConditionInput = {
|
|
6239
|
+
/** The from address to listen for. */
|
|
6065
6240
|
from?: InputMaybe<StringEqualsConditionInput>;
|
|
6241
|
+
/** Do not trigger the webhook if the raw transaction is handled by the NftEvent webhook. */
|
|
6066
6242
|
ignoreNftEvents?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6243
|
+
/** Do not trigger the webhook if the raw transaction is handled by the TokenPairEvent webhook. */
|
|
6067
6244
|
ignoreTokenPairEvents?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6245
|
+
/** Trigger the webhook if the input contains or doesn't contain the specified string. */
|
|
6068
6246
|
input?: InputMaybe<StringContainsConditionInput>;
|
|
6247
|
+
/** A list of network IDs to listen on. */
|
|
6069
6248
|
networkId?: InputMaybe<OneOfNumberConditionInput>;
|
|
6249
|
+
/** The to address to listen for. */
|
|
6070
6250
|
to?: InputMaybe<StringEqualsConditionInput>;
|
|
6251
|
+
/** Trigger the webhook if either the to or the from address matches. */
|
|
6071
6252
|
toOrFrom?: InputMaybe<StringEqualsConditionInput>;
|
|
6072
6253
|
};
|
|
6073
6254
|
export type ReferralEventData = ReferralsEventPayoutData | ReferralsEventRewardData;
|
|
@@ -6127,17 +6308,27 @@ export type ResolutionBarData = {
|
|
|
6127
6308
|
/** 12 hour resolution. */
|
|
6128
6309
|
r720?: Maybe<CurrencyBarData>;
|
|
6129
6310
|
};
|
|
6311
|
+
/** Config for retrying failed webhook messages */
|
|
6130
6312
|
export type RetrySettings = {
|
|
6131
6313
|
__typename?: 'RetrySettings';
|
|
6314
|
+
/** The maximum number of times the webhook will retry sending a message */
|
|
6132
6315
|
maxRetries?: Maybe<Scalars['Int']['output']>;
|
|
6316
|
+
/** The maximum time in seconds that the webhook will wait before retrying a failed message */
|
|
6133
6317
|
maxRetryDelay?: Maybe<Scalars['Int']['output']>;
|
|
6318
|
+
/** The maximum time in seconds that the webhook will retry sending a message */
|
|
6134
6319
|
maxTimeElapsed?: Maybe<Scalars['Int']['output']>;
|
|
6320
|
+
/** The minimum time in seconds that the webhook will wait before retrying a failed message */
|
|
6135
6321
|
minRetryDelay?: Maybe<Scalars['Int']['output']>;
|
|
6136
6322
|
};
|
|
6323
|
+
/** Config input for retrying failed webhook messages */
|
|
6137
6324
|
export type RetrySettingsInput = {
|
|
6325
|
+
/** The maximum number of times the webhook will retry sending a message */
|
|
6138
6326
|
maxRetries?: InputMaybe<Scalars['Int']['input']>;
|
|
6327
|
+
/** The maximum time in seconds that the webhook will wait before retrying a failed message */
|
|
6139
6328
|
maxRetryDelay?: InputMaybe<Scalars['Int']['input']>;
|
|
6329
|
+
/** The maximum time in seconds that the webhook will retry sending a message */
|
|
6140
6330
|
maxTimeElapsed?: InputMaybe<Scalars['Int']['input']>;
|
|
6331
|
+
/** The minimum time in seconds that the webhook will wait before retrying a failed message */
|
|
6141
6332
|
minRetryDelay?: InputMaybe<Scalars['Int']['input']>;
|
|
6142
6333
|
};
|
|
6143
6334
|
/** Metadata for a sandwich label. */
|
|
@@ -6408,20 +6599,30 @@ export type StatsFilter = {
|
|
|
6408
6599
|
/** The total value for the previous window. */
|
|
6409
6600
|
previous?: InputMaybe<NumberFilter>;
|
|
6410
6601
|
};
|
|
6602
|
+
/** String contains condition. */
|
|
6411
6603
|
export type StringContainsCondition = {
|
|
6412
6604
|
__typename?: 'StringContainsCondition';
|
|
6605
|
+
/** A list of substrings included within the string. */
|
|
6413
6606
|
contains?: Maybe<Array<Scalars['String']['output']>>;
|
|
6607
|
+
/** A list of substrings not included within the string. */
|
|
6414
6608
|
notContains?: Maybe<Array<Scalars['String']['output']>>;
|
|
6415
6609
|
};
|
|
6610
|
+
/** Input for string contains condition. */
|
|
6416
6611
|
export type StringContainsConditionInput = {
|
|
6612
|
+
/** A list of substrings to be included within the string. */
|
|
6417
6613
|
contains?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
6614
|
+
/** A list of substrings not to be included within the string. */
|
|
6418
6615
|
notContains?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
6419
6616
|
};
|
|
6617
|
+
/** String equals condition. */
|
|
6420
6618
|
export type StringEqualsCondition = {
|
|
6421
6619
|
__typename?: 'StringEqualsCondition';
|
|
6620
|
+
/** The string to equal. */
|
|
6422
6621
|
eq: Scalars['String']['output'];
|
|
6423
6622
|
};
|
|
6623
|
+
/** Input for string equals condition. */
|
|
6424
6624
|
export type StringEqualsConditionInput = {
|
|
6625
|
+
/** The string to equal. */
|
|
6425
6626
|
eq: Scalars['String']['input'];
|
|
6426
6627
|
};
|
|
6427
6628
|
/** Input type of `StringFilter`. */
|
|
@@ -6552,6 +6753,25 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
|
|
|
6552
6753
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
6553
6754
|
quoteToken?: InputMaybe<QuoteToken>;
|
|
6554
6755
|
};
|
|
6756
|
+
export type SuiNetworkConfig = {
|
|
6757
|
+
__typename?: 'SuiNetworkConfig';
|
|
6758
|
+
baseTokenAddress: Scalars['String']['output'];
|
|
6759
|
+
baseTokenSymbol: Scalars['String']['output'];
|
|
6760
|
+
color?: Maybe<Scalars['String']['output']>;
|
|
6761
|
+
defaultPairAddress: Scalars['String']['output'];
|
|
6762
|
+
defaultPairQuoteToken: QuoteToken;
|
|
6763
|
+
enabled: Scalars['Boolean']['output'];
|
|
6764
|
+
id: Scalars['ID']['output'];
|
|
6765
|
+
mainnet: Scalars['Boolean']['output'];
|
|
6766
|
+
name: Scalars['String']['output'];
|
|
6767
|
+
networkIconUrl: Scalars['String']['output'];
|
|
6768
|
+
networkId: Scalars['Int']['output'];
|
|
6769
|
+
networkName: Scalars['String']['output'];
|
|
6770
|
+
networkShortName: Scalars['String']['output'];
|
|
6771
|
+
newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
6772
|
+
stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
|
|
6773
|
+
wrappedBaseTokenSymbol: Scalars['String']['output'];
|
|
6774
|
+
};
|
|
6555
6775
|
/** Event data for a token swap event. */
|
|
6556
6776
|
export type SwapEventData = {
|
|
6557
6777
|
__typename?: 'SwapEventData';
|
|
@@ -6926,6 +7146,8 @@ export type TokenFilters = {
|
|
|
6926
7146
|
marketCap?: InputMaybe<NumberFilter>;
|
|
6927
7147
|
/** The list of network IDs to filter by. Applied in conjunction with `exchangeId` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
|
|
6928
7148
|
network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
|
|
7149
|
+
/** docs: hide */
|
|
7150
|
+
notableHolderCount?: InputMaybe<NumberFilter>;
|
|
6929
7151
|
/** Filter potential Scams */
|
|
6930
7152
|
potentialScam?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6931
7153
|
/** The token price in USD. */
|
|
@@ -7091,6 +7313,7 @@ export declare enum TokenOfInterest {
|
|
|
7091
7313
|
Token0 = "token0",
|
|
7092
7314
|
Token1 = "token1"
|
|
7093
7315
|
}
|
|
7316
|
+
/** Token pair event types. */
|
|
7094
7317
|
export declare enum TokenPairEventType {
|
|
7095
7318
|
Burn = "BURN",
|
|
7096
7319
|
Buy = "BUY",
|
|
@@ -7101,30 +7324,50 @@ export declare enum TokenPairEventType {
|
|
|
7101
7324
|
Swap = "SWAP",
|
|
7102
7325
|
Sync = "SYNC"
|
|
7103
7326
|
}
|
|
7327
|
+
/** Webhook condition for token pair event type. */
|
|
7104
7328
|
export type TokenPairEventTypeCondition = {
|
|
7105
7329
|
__typename?: 'TokenPairEventTypeCondition';
|
|
7330
|
+
/** The list of token pair event types. */
|
|
7106
7331
|
oneOf: Array<TokenPairEventType>;
|
|
7107
7332
|
};
|
|
7333
|
+
/** Input for token pair event type condition. */
|
|
7108
7334
|
export type TokenPairEventTypeConditionInput = {
|
|
7335
|
+
/** The list of token event types to equal. */
|
|
7109
7336
|
oneOf: Array<TokenPairEventType>;
|
|
7110
7337
|
};
|
|
7338
|
+
/** Webhook conditions for a token pair event. */
|
|
7111
7339
|
export type TokenPairEventWebhookCondition = {
|
|
7112
7340
|
__typename?: 'TokenPairEventWebhookCondition';
|
|
7341
|
+
/** The event type the webhook is listening for. */
|
|
7113
7342
|
eventType?: Maybe<TokenPairEventTypeCondition>;
|
|
7343
|
+
/** The exchange contract address the webhook is listening for. */
|
|
7114
7344
|
exchangeAddress?: Maybe<StringEqualsCondition>;
|
|
7345
|
+
/** The maker wallet address the webhook is listening for. */
|
|
7115
7346
|
maker?: Maybe<StringEqualsCondition>;
|
|
7347
|
+
/** The list of network IDs the webhook is listening on. */
|
|
7116
7348
|
networkId?: Maybe<OneOfNumberCondition>;
|
|
7349
|
+
/** The pair contract address the webhook is listening for. */
|
|
7117
7350
|
pairAddress?: Maybe<StringEqualsCondition>;
|
|
7351
|
+
/** The swap values the webhook is listening for. */
|
|
7118
7352
|
swapValue?: Maybe<ComparisonOperator>;
|
|
7353
|
+
/** The token contract address the webhook is listening for. */
|
|
7119
7354
|
tokenAddress?: Maybe<StringEqualsCondition>;
|
|
7120
7355
|
};
|
|
7356
|
+
/** Input conditions for a token pair event webhook. */
|
|
7121
7357
|
export type TokenPairEventWebhookConditionInput = {
|
|
7358
|
+
/** The token event type to listen for. */
|
|
7122
7359
|
eventType?: InputMaybe<TokenPairEventTypeConditionInput>;
|
|
7360
|
+
/** The exchange contract address to listen for. */
|
|
7123
7361
|
exchangeAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
7362
|
+
/** The maker wallet address to listen for. */
|
|
7124
7363
|
maker?: InputMaybe<StringEqualsConditionInput>;
|
|
7364
|
+
/** A list of network IDs to listen on. */
|
|
7125
7365
|
networkId?: InputMaybe<OneOfNumberConditionInput>;
|
|
7366
|
+
/** The pair contract address to listen for. */
|
|
7126
7367
|
pairAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
7368
|
+
/** The swap values to listen for. */
|
|
7127
7369
|
swapValue?: InputMaybe<ComparisonOperatorInput>;
|
|
7370
|
+
/** The token contract address to listen for. */
|
|
7128
7371
|
tokenAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
7129
7372
|
};
|
|
7130
7373
|
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED` */
|
|
@@ -7164,6 +7407,7 @@ export declare enum TokenRankingAttribute {
|
|
|
7164
7407
|
Low12 = "low12",
|
|
7165
7408
|
Low24 = "low24",
|
|
7166
7409
|
MarketCap = "marketCap",
|
|
7410
|
+
NotableHolderCount = "notableHolderCount",
|
|
7167
7411
|
PriceUsd = "priceUSD",
|
|
7168
7412
|
SellCount1 = "sellCount1",
|
|
7169
7413
|
SellCount4 = "sellCount4",
|
|
@@ -7470,23 +7714,39 @@ export type WashtradeLabelForEvent = {
|
|
|
7470
7714
|
/** The label type, 'washtrade' */
|
|
7471
7715
|
label: Scalars['String']['output'];
|
|
7472
7716
|
};
|
|
7717
|
+
/** Metadata for a webhook. */
|
|
7473
7718
|
export type Webhook = {
|
|
7474
7719
|
__typename?: 'Webhook';
|
|
7720
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
7475
7721
|
alertRecurrence: AlertRecurrence;
|
|
7722
|
+
/** 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). */
|
|
7476
7723
|
bucketId?: Maybe<Scalars['String']['output']>;
|
|
7724
|
+
/** 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). */
|
|
7477
7725
|
bucketSortkey?: Maybe<Scalars['String']['output']>;
|
|
7726
|
+
/** The url to which the webhook message should be sent. */
|
|
7478
7727
|
callbackUrl: Scalars['String']['output'];
|
|
7728
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
7479
7729
|
conditions: WebhookCondition;
|
|
7730
|
+
/** The unix timestamp for the time the webhook was created. */
|
|
7480
7731
|
created: Scalars['Int']['output'];
|
|
7732
|
+
/** The webhook group ID used to group webhooks together for ordered message sending. */
|
|
7481
7733
|
groupId?: Maybe<Scalars['String']['output']>;
|
|
7734
|
+
/** The ID of the webhook. */
|
|
7482
7735
|
id: Scalars['String']['output'];
|
|
7736
|
+
/** The given name of the webhook. */
|
|
7483
7737
|
name: Scalars['String']['output'];
|
|
7738
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
7484
7739
|
publishingType?: Maybe<PublishingType>;
|
|
7740
|
+
/** The settings for retrying failed webhook messages. */
|
|
7485
7741
|
retrySettings?: Maybe<RetrySettings>;
|
|
7742
|
+
/** The status of the webhook. Can be `ACTIVE` or `INACTIVE`. */
|
|
7486
7743
|
status: Scalars['String']['output'];
|
|
7744
|
+
/** The type of webhook. Can be `PRICE_EVENT`, `NFT_EVENT`, or `TOKEN_PAIR_EVENT`. */
|
|
7487
7745
|
webhookType: WebhookType;
|
|
7488
7746
|
};
|
|
7747
|
+
/** Webhook conditions that must be met for each webhook type. */
|
|
7489
7748
|
export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
|
|
7749
|
+
/** NFT marketplace names. */
|
|
7490
7750
|
export declare enum WebhookNftEventFillSource {
|
|
7491
7751
|
Blur = "BLUR",
|
|
7492
7752
|
Coinbase = "COINBASE",
|
|
@@ -7504,11 +7764,13 @@ export declare enum WebhookNftEventFillSource {
|
|
|
7504
7764
|
Reservoirtools = "RESERVOIRTOOLS",
|
|
7505
7765
|
Soundxyz = "SOUNDXYZ"
|
|
7506
7766
|
}
|
|
7767
|
+
/** NFT event types. */
|
|
7507
7768
|
export declare enum WebhookNftEventType {
|
|
7508
7769
|
Mint = "MINT",
|
|
7509
7770
|
Sale = "SALE",
|
|
7510
7771
|
Transfer = "TRANSFER"
|
|
7511
7772
|
}
|
|
7773
|
+
/** The type of webhook. */
|
|
7512
7774
|
export declare enum WebhookType {
|
|
7513
7775
|
NftEvent = "NFT_EVENT",
|
|
7514
7776
|
PriceEvent = "PRICE_EVENT",
|
|
@@ -8339,6 +8601,13 @@ export type ApiTokensQuery = {
|
|
|
8339
8601
|
token: string;
|
|
8340
8602
|
}>;
|
|
8341
8603
|
};
|
|
8604
|
+
export type BackfillWalletStateQueryVariables = Exact<{
|
|
8605
|
+
[key: string]: never;
|
|
8606
|
+
}>;
|
|
8607
|
+
export type BackfillWalletStateQuery = {
|
|
8608
|
+
__typename?: 'Query';
|
|
8609
|
+
backfillWalletState: boolean;
|
|
8610
|
+
};
|
|
8342
8611
|
export type BalancesQueryVariables = Exact<{
|
|
8343
8612
|
input: BalancesInput;
|
|
8344
8613
|
}>;
|
|
@@ -15183,9 +15452,11 @@ export type GetTokenEventsQuery = {
|
|
|
15183
15452
|
networkId: number;
|
|
15184
15453
|
quoteToken?: QuoteToken | null;
|
|
15185
15454
|
timestamp: number;
|
|
15455
|
+
token0Address?: string | null;
|
|
15186
15456
|
token0PoolValueUsd?: string | null;
|
|
15187
15457
|
token0SwapValueUsd?: string | null;
|
|
15188
15458
|
token0ValueBase?: string | null;
|
|
15459
|
+
token1Address?: string | null;
|
|
15189
15460
|
token1PoolValueUsd?: string | null;
|
|
15190
15461
|
token1SwapValueUsd?: string | null;
|
|
15191
15462
|
token1ValueBase?: string | null;
|
|
@@ -15282,9 +15553,11 @@ export type GetTokenEventsForMakerQuery = {
|
|
|
15282
15553
|
networkId: number;
|
|
15283
15554
|
quoteToken?: QuoteToken | null;
|
|
15284
15555
|
timestamp: number;
|
|
15556
|
+
token0Address?: string | null;
|
|
15285
15557
|
token0PoolValueUsd?: string | null;
|
|
15286
15558
|
token0SwapValueUsd?: string | null;
|
|
15287
15559
|
token0ValueBase?: string | null;
|
|
15560
|
+
token1Address?: string | null;
|
|
15288
15561
|
token1PoolValueUsd?: string | null;
|
|
15289
15562
|
token1SwapValueUsd?: string | null;
|
|
15290
15563
|
token1ValueBase?: string | null;
|
|
@@ -15604,6 +15877,7 @@ export type HoldersQuery = {
|
|
|
15604
15877
|
count: number;
|
|
15605
15878
|
cursor?: string | null;
|
|
15606
15879
|
status: HoldersStatus;
|
|
15880
|
+
top10HoldersPercent?: number | null;
|
|
15607
15881
|
items: Array<{
|
|
15608
15882
|
__typename?: 'Balance';
|
|
15609
15883
|
balance: string;
|
|
@@ -16321,6 +16595,140 @@ export type PairMetadataQuery = {
|
|
|
16321
16595
|
volume4?: string | null;
|
|
16322
16596
|
volume12?: string | null;
|
|
16323
16597
|
volume24?: string | null;
|
|
16598
|
+
enhancedToken0?: {
|
|
16599
|
+
__typename?: 'EnhancedToken';
|
|
16600
|
+
address: string;
|
|
16601
|
+
cmcId?: number | null;
|
|
16602
|
+
createBlockNumber?: number | null;
|
|
16603
|
+
createTransactionHash?: string | null;
|
|
16604
|
+
createdAt?: number | null;
|
|
16605
|
+
creatorAddress?: string | null;
|
|
16606
|
+
decimals: number;
|
|
16607
|
+
freezable?: string | null;
|
|
16608
|
+
id: string;
|
|
16609
|
+
isScam?: boolean | null;
|
|
16610
|
+
mintable?: string | null;
|
|
16611
|
+
name?: string | null;
|
|
16612
|
+
networkId: number;
|
|
16613
|
+
symbol?: string | null;
|
|
16614
|
+
exchanges?: Array<{
|
|
16615
|
+
__typename?: 'Exchange';
|
|
16616
|
+
address: string;
|
|
16617
|
+
color?: string | null;
|
|
16618
|
+
exchangeVersion?: string | null;
|
|
16619
|
+
iconUrl?: string | null;
|
|
16620
|
+
id: string;
|
|
16621
|
+
name?: string | null;
|
|
16622
|
+
networkId: number;
|
|
16623
|
+
tradeUrl?: string | null;
|
|
16624
|
+
}> | null;
|
|
16625
|
+
info?: {
|
|
16626
|
+
__typename?: 'TokenInfo';
|
|
16627
|
+
address: string;
|
|
16628
|
+
circulatingSupply?: string | null;
|
|
16629
|
+
cmcId?: number | null;
|
|
16630
|
+
description?: string | null;
|
|
16631
|
+
id: string;
|
|
16632
|
+
imageBannerUrl?: string | null;
|
|
16633
|
+
imageLargeUrl?: string | null;
|
|
16634
|
+
imageSmallUrl?: string | null;
|
|
16635
|
+
imageThumbUrl?: string | null;
|
|
16636
|
+
isScam?: boolean | null;
|
|
16637
|
+
name?: string | null;
|
|
16638
|
+
networkId: number;
|
|
16639
|
+
symbol: string;
|
|
16640
|
+
totalSupply?: string | null;
|
|
16641
|
+
} | null;
|
|
16642
|
+
socialLinks?: {
|
|
16643
|
+
__typename?: 'SocialLinks';
|
|
16644
|
+
bitcointalk?: string | null;
|
|
16645
|
+
blog?: string | null;
|
|
16646
|
+
coingecko?: string | null;
|
|
16647
|
+
coinmarketcap?: string | null;
|
|
16648
|
+
discord?: string | null;
|
|
16649
|
+
email?: string | null;
|
|
16650
|
+
facebook?: string | null;
|
|
16651
|
+
github?: string | null;
|
|
16652
|
+
instagram?: string | null;
|
|
16653
|
+
linkedin?: string | null;
|
|
16654
|
+
reddit?: string | null;
|
|
16655
|
+
slack?: string | null;
|
|
16656
|
+
telegram?: string | null;
|
|
16657
|
+
twitch?: string | null;
|
|
16658
|
+
twitter?: string | null;
|
|
16659
|
+
website?: string | null;
|
|
16660
|
+
wechat?: string | null;
|
|
16661
|
+
whitepaper?: string | null;
|
|
16662
|
+
youtube?: string | null;
|
|
16663
|
+
} | null;
|
|
16664
|
+
} | null;
|
|
16665
|
+
enhancedToken1?: {
|
|
16666
|
+
__typename?: 'EnhancedToken';
|
|
16667
|
+
address: string;
|
|
16668
|
+
cmcId?: number | null;
|
|
16669
|
+
createBlockNumber?: number | null;
|
|
16670
|
+
createTransactionHash?: string | null;
|
|
16671
|
+
createdAt?: number | null;
|
|
16672
|
+
creatorAddress?: string | null;
|
|
16673
|
+
decimals: number;
|
|
16674
|
+
freezable?: string | null;
|
|
16675
|
+
id: string;
|
|
16676
|
+
isScam?: boolean | null;
|
|
16677
|
+
mintable?: string | null;
|
|
16678
|
+
name?: string | null;
|
|
16679
|
+
networkId: number;
|
|
16680
|
+
symbol?: string | null;
|
|
16681
|
+
exchanges?: Array<{
|
|
16682
|
+
__typename?: 'Exchange';
|
|
16683
|
+
address: string;
|
|
16684
|
+
color?: string | null;
|
|
16685
|
+
exchangeVersion?: string | null;
|
|
16686
|
+
iconUrl?: string | null;
|
|
16687
|
+
id: string;
|
|
16688
|
+
name?: string | null;
|
|
16689
|
+
networkId: number;
|
|
16690
|
+
tradeUrl?: string | null;
|
|
16691
|
+
}> | null;
|
|
16692
|
+
info?: {
|
|
16693
|
+
__typename?: 'TokenInfo';
|
|
16694
|
+
address: string;
|
|
16695
|
+
circulatingSupply?: string | null;
|
|
16696
|
+
cmcId?: number | null;
|
|
16697
|
+
description?: string | null;
|
|
16698
|
+
id: string;
|
|
16699
|
+
imageBannerUrl?: string | null;
|
|
16700
|
+
imageLargeUrl?: string | null;
|
|
16701
|
+
imageSmallUrl?: string | null;
|
|
16702
|
+
imageThumbUrl?: string | null;
|
|
16703
|
+
isScam?: boolean | null;
|
|
16704
|
+
name?: string | null;
|
|
16705
|
+
networkId: number;
|
|
16706
|
+
symbol: string;
|
|
16707
|
+
totalSupply?: string | null;
|
|
16708
|
+
} | null;
|
|
16709
|
+
socialLinks?: {
|
|
16710
|
+
__typename?: 'SocialLinks';
|
|
16711
|
+
bitcointalk?: string | null;
|
|
16712
|
+
blog?: string | null;
|
|
16713
|
+
coingecko?: string | null;
|
|
16714
|
+
coinmarketcap?: string | null;
|
|
16715
|
+
discord?: string | null;
|
|
16716
|
+
email?: string | null;
|
|
16717
|
+
facebook?: string | null;
|
|
16718
|
+
github?: string | null;
|
|
16719
|
+
instagram?: string | null;
|
|
16720
|
+
linkedin?: string | null;
|
|
16721
|
+
reddit?: string | null;
|
|
16722
|
+
slack?: string | null;
|
|
16723
|
+
telegram?: string | null;
|
|
16724
|
+
twitch?: string | null;
|
|
16725
|
+
twitter?: string | null;
|
|
16726
|
+
website?: string | null;
|
|
16727
|
+
wechat?: string | null;
|
|
16728
|
+
whitepaper?: string | null;
|
|
16729
|
+
youtube?: string | null;
|
|
16730
|
+
} | null;
|
|
16731
|
+
} | null;
|
|
16324
16732
|
token0: {
|
|
16325
16733
|
__typename?: 'PairMetadataToken';
|
|
16326
16734
|
address: string;
|
|
@@ -16623,6 +17031,13 @@ export type TokensQuery = {
|
|
|
16623
17031
|
} | null;
|
|
16624
17032
|
} | null>;
|
|
16625
17033
|
};
|
|
17034
|
+
export type Top10HoldersPercentQueryVariables = Exact<{
|
|
17035
|
+
tokenId: Scalars['String']['input'];
|
|
17036
|
+
}>;
|
|
17037
|
+
export type Top10HoldersPercentQuery = {
|
|
17038
|
+
__typename?: 'Query';
|
|
17039
|
+
top10HoldersPercent?: number | null;
|
|
17040
|
+
};
|
|
16626
17041
|
export type WalletNftCollectionAssetsQueryVariables = Exact<{
|
|
16627
17042
|
input: WalletNftCollectionAssetsInput;
|
|
16628
17043
|
}>;
|
|
@@ -17690,9 +18105,11 @@ export type OnEventsCreatedSubscription = {
|
|
|
17690
18105
|
networkId: number;
|
|
17691
18106
|
quoteToken?: QuoteToken | null;
|
|
17692
18107
|
timestamp: number;
|
|
18108
|
+
token0Address?: string | null;
|
|
17693
18109
|
token0PoolValueUsd?: string | null;
|
|
17694
18110
|
token0SwapValueUsd?: string | null;
|
|
17695
18111
|
token0ValueBase?: string | null;
|
|
18112
|
+
token1Address?: string | null;
|
|
17696
18113
|
token1PoolValueUsd?: string | null;
|
|
17697
18114
|
token1SwapValueUsd?: string | null;
|
|
17698
18115
|
token1ValueBase?: string | null;
|
|
@@ -18462,6 +18879,140 @@ export type OnPairMetadataUpdatedSubscription = {
|
|
|
18462
18879
|
volume4?: string | null;
|
|
18463
18880
|
volume12?: string | null;
|
|
18464
18881
|
volume24?: string | null;
|
|
18882
|
+
enhancedToken0?: {
|
|
18883
|
+
__typename?: 'EnhancedToken';
|
|
18884
|
+
address: string;
|
|
18885
|
+
cmcId?: number | null;
|
|
18886
|
+
createBlockNumber?: number | null;
|
|
18887
|
+
createTransactionHash?: string | null;
|
|
18888
|
+
createdAt?: number | null;
|
|
18889
|
+
creatorAddress?: string | null;
|
|
18890
|
+
decimals: number;
|
|
18891
|
+
freezable?: string | null;
|
|
18892
|
+
id: string;
|
|
18893
|
+
isScam?: boolean | null;
|
|
18894
|
+
mintable?: string | null;
|
|
18895
|
+
name?: string | null;
|
|
18896
|
+
networkId: number;
|
|
18897
|
+
symbol?: string | null;
|
|
18898
|
+
exchanges?: Array<{
|
|
18899
|
+
__typename?: 'Exchange';
|
|
18900
|
+
address: string;
|
|
18901
|
+
color?: string | null;
|
|
18902
|
+
exchangeVersion?: string | null;
|
|
18903
|
+
iconUrl?: string | null;
|
|
18904
|
+
id: string;
|
|
18905
|
+
name?: string | null;
|
|
18906
|
+
networkId: number;
|
|
18907
|
+
tradeUrl?: string | null;
|
|
18908
|
+
}> | null;
|
|
18909
|
+
info?: {
|
|
18910
|
+
__typename?: 'TokenInfo';
|
|
18911
|
+
address: string;
|
|
18912
|
+
circulatingSupply?: string | null;
|
|
18913
|
+
cmcId?: number | null;
|
|
18914
|
+
description?: string | null;
|
|
18915
|
+
id: string;
|
|
18916
|
+
imageBannerUrl?: string | null;
|
|
18917
|
+
imageLargeUrl?: string | null;
|
|
18918
|
+
imageSmallUrl?: string | null;
|
|
18919
|
+
imageThumbUrl?: string | null;
|
|
18920
|
+
isScam?: boolean | null;
|
|
18921
|
+
name?: string | null;
|
|
18922
|
+
networkId: number;
|
|
18923
|
+
symbol: string;
|
|
18924
|
+
totalSupply?: string | null;
|
|
18925
|
+
} | null;
|
|
18926
|
+
socialLinks?: {
|
|
18927
|
+
__typename?: 'SocialLinks';
|
|
18928
|
+
bitcointalk?: string | null;
|
|
18929
|
+
blog?: string | null;
|
|
18930
|
+
coingecko?: string | null;
|
|
18931
|
+
coinmarketcap?: string | null;
|
|
18932
|
+
discord?: string | null;
|
|
18933
|
+
email?: string | null;
|
|
18934
|
+
facebook?: string | null;
|
|
18935
|
+
github?: string | null;
|
|
18936
|
+
instagram?: string | null;
|
|
18937
|
+
linkedin?: string | null;
|
|
18938
|
+
reddit?: string | null;
|
|
18939
|
+
slack?: string | null;
|
|
18940
|
+
telegram?: string | null;
|
|
18941
|
+
twitch?: string | null;
|
|
18942
|
+
twitter?: string | null;
|
|
18943
|
+
website?: string | null;
|
|
18944
|
+
wechat?: string | null;
|
|
18945
|
+
whitepaper?: string | null;
|
|
18946
|
+
youtube?: string | null;
|
|
18947
|
+
} | null;
|
|
18948
|
+
} | null;
|
|
18949
|
+
enhancedToken1?: {
|
|
18950
|
+
__typename?: 'EnhancedToken';
|
|
18951
|
+
address: string;
|
|
18952
|
+
cmcId?: number | null;
|
|
18953
|
+
createBlockNumber?: number | null;
|
|
18954
|
+
createTransactionHash?: string | null;
|
|
18955
|
+
createdAt?: number | null;
|
|
18956
|
+
creatorAddress?: string | null;
|
|
18957
|
+
decimals: number;
|
|
18958
|
+
freezable?: string | null;
|
|
18959
|
+
id: string;
|
|
18960
|
+
isScam?: boolean | null;
|
|
18961
|
+
mintable?: string | null;
|
|
18962
|
+
name?: string | null;
|
|
18963
|
+
networkId: number;
|
|
18964
|
+
symbol?: string | null;
|
|
18965
|
+
exchanges?: Array<{
|
|
18966
|
+
__typename?: 'Exchange';
|
|
18967
|
+
address: string;
|
|
18968
|
+
color?: string | null;
|
|
18969
|
+
exchangeVersion?: string | null;
|
|
18970
|
+
iconUrl?: string | null;
|
|
18971
|
+
id: string;
|
|
18972
|
+
name?: string | null;
|
|
18973
|
+
networkId: number;
|
|
18974
|
+
tradeUrl?: string | null;
|
|
18975
|
+
}> | null;
|
|
18976
|
+
info?: {
|
|
18977
|
+
__typename?: 'TokenInfo';
|
|
18978
|
+
address: string;
|
|
18979
|
+
circulatingSupply?: string | null;
|
|
18980
|
+
cmcId?: number | null;
|
|
18981
|
+
description?: string | null;
|
|
18982
|
+
id: string;
|
|
18983
|
+
imageBannerUrl?: string | null;
|
|
18984
|
+
imageLargeUrl?: string | null;
|
|
18985
|
+
imageSmallUrl?: string | null;
|
|
18986
|
+
imageThumbUrl?: string | null;
|
|
18987
|
+
isScam?: boolean | null;
|
|
18988
|
+
name?: string | null;
|
|
18989
|
+
networkId: number;
|
|
18990
|
+
symbol: string;
|
|
18991
|
+
totalSupply?: string | null;
|
|
18992
|
+
} | null;
|
|
18993
|
+
socialLinks?: {
|
|
18994
|
+
__typename?: 'SocialLinks';
|
|
18995
|
+
bitcointalk?: string | null;
|
|
18996
|
+
blog?: string | null;
|
|
18997
|
+
coingecko?: string | null;
|
|
18998
|
+
coinmarketcap?: string | null;
|
|
18999
|
+
discord?: string | null;
|
|
19000
|
+
email?: string | null;
|
|
19001
|
+
facebook?: string | null;
|
|
19002
|
+
github?: string | null;
|
|
19003
|
+
instagram?: string | null;
|
|
19004
|
+
linkedin?: string | null;
|
|
19005
|
+
reddit?: string | null;
|
|
19006
|
+
slack?: string | null;
|
|
19007
|
+
telegram?: string | null;
|
|
19008
|
+
twitch?: string | null;
|
|
19009
|
+
twitter?: string | null;
|
|
19010
|
+
website?: string | null;
|
|
19011
|
+
wechat?: string | null;
|
|
19012
|
+
whitepaper?: string | null;
|
|
19013
|
+
youtube?: string | null;
|
|
19014
|
+
} | null;
|
|
19015
|
+
} | null;
|
|
18465
19016
|
token0: {
|
|
18466
19017
|
__typename?: 'PairMetadataToken';
|
|
18467
19018
|
address: string;
|
|
@@ -19282,9 +19833,11 @@ export type OnTokenEventsCreatedSubscription = {
|
|
|
19282
19833
|
networkId: number;
|
|
19283
19834
|
quoteToken?: QuoteToken | null;
|
|
19284
19835
|
timestamp: number;
|
|
19836
|
+
token0Address?: string | null;
|
|
19285
19837
|
token0PoolValueUsd?: string | null;
|
|
19286
19838
|
token0SwapValueUsd?: string | null;
|
|
19287
19839
|
token0ValueBase?: string | null;
|
|
19840
|
+
token1Address?: string | null;
|
|
19288
19841
|
token1PoolValueUsd?: string | null;
|
|
19289
19842
|
token1SwapValueUsd?: string | null;
|
|
19290
19843
|
token1ValueBase?: string | null;
|
|
@@ -19537,6 +20090,9 @@ export declare const ApiTokenDocument: DocumentNode<ApiTokenQuery, Exact<{
|
|
|
19537
20090
|
export declare const ApiTokensDocument: DocumentNode<ApiTokensQuery, Exact<{
|
|
19538
20091
|
[key: string]: never;
|
|
19539
20092
|
}>>;
|
|
20093
|
+
export declare const BackfillWalletStateDocument: DocumentNode<BackfillWalletStateQuery, Exact<{
|
|
20094
|
+
[key: string]: never;
|
|
20095
|
+
}>>;
|
|
19540
20096
|
export declare const BalancesDocument: DocumentNode<BalancesQuery, Exact<{
|
|
19541
20097
|
input: BalancesInput;
|
|
19542
20098
|
}>>;
|
|
@@ -19892,6 +20448,9 @@ export declare const TokenSparklinesDocument: DocumentNode<TokenSparklinesQuery,
|
|
|
19892
20448
|
export declare const TokensDocument: DocumentNode<TokensQuery, Exact<{
|
|
19893
20449
|
ids?: InputMaybe<TokenInput | TokenInput[]> | undefined;
|
|
19894
20450
|
}>>;
|
|
20451
|
+
export declare const Top10HoldersPercentDocument: DocumentNode<Top10HoldersPercentQuery, Exact<{
|
|
20452
|
+
tokenId: Scalars['String']['input'];
|
|
20453
|
+
}>>;
|
|
19895
20454
|
export declare const WalletNftCollectionAssetsDocument: DocumentNode<WalletNftCollectionAssetsQuery, Exact<{
|
|
19896
20455
|
input: WalletNftCollectionAssetsInput;
|
|
19897
20456
|
}>>;
|