@codex-data/sdk 1.0.0 → 1.0.2
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/FilterPairs.graphql +8 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +6 -0
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +2 -0
- package/dist/resources/generated_queries/GetDetailedPairStats.graphql +4 -0
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +4 -0
- package/dist/resources/generated_queries/ListPairsForToken.graphql +4 -0
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +8 -0
- package/dist/resources/generated_queries/Token.graphql +2 -0
- package/dist/resources/generated_queries/Tokens.graphql +2 -0
- package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +10 -2
- package/dist/resources/graphql.d.ts +229 -0
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +5 -0
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +383 -215
- package/dist/resources/graphql.ts +231 -0
- package/dist/resources/schema.graphql +483 -3
- package/dist/sdk/Mutation.d.ts +2 -2
- package/dist/sdk/Mutation.js +2 -2
- package/dist/sdk/Query.d.ts +53 -53
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +53 -53
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +12 -12
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +60 -60
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +21 -20
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +10 -10
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +271 -0
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +15 -10
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +2 -2
- package/src/resources/generated_queries/FilterPairs.graphql +8 -0
- package/src/resources/generated_queries/FilterTokens.graphql +6 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +2 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +4 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +4 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +4 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +8 -0
- package/src/resources/generated_queries/Token.graphql +2 -0
- package/src/resources/generated_queries/Tokens.graphql +2 -0
- package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +10 -2
- package/src/resources/graphql.schema.json +383 -215
- package/src/resources/graphql.ts +231 -0
- package/src/resources/schema.graphql +483 -3
- package/src/sdk/Mutation.ts +4 -4
- package/src/sdk/Query.ts +111 -111
- package/src/sdk/Subscribe.ts +97 -97
- package/src/sdk/generated/gql.ts +20 -20
- package/src/sdk/generated/graphql.ts +251 -19
|
@@ -122,6 +122,11 @@ export type AddUnconfirmedEventsOutput = {
|
|
|
122
122
|
/** The token of interest within the pair. Can be `token0` or `token1`. */
|
|
123
123
|
quoteToken?: Maybe<QuoteToken>;
|
|
124
124
|
};
|
|
125
|
+
export type AddUserAchievementInput = {
|
|
126
|
+
quantity: Scalars['Int']['input'];
|
|
127
|
+
userId: Scalars['String']['input'];
|
|
128
|
+
};
|
|
129
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
125
130
|
export declare enum AlertRecurrence {
|
|
126
131
|
Indefinite = "INDEFINITE",
|
|
127
132
|
Once = "ONCE"
|
|
@@ -158,6 +163,8 @@ export type BalancesInput = {
|
|
|
158
163
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
159
164
|
/** Optional token specifically request the balance for */
|
|
160
165
|
filterToken?: InputMaybe<Scalars['String']['input']>;
|
|
166
|
+
/** If set to true, native tokens in the response, they will have the id: native:<networkId> */
|
|
167
|
+
includeNative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
161
168
|
/** The ID of the wallet (`walletAddress:networkId`). */
|
|
162
169
|
walletId: Scalars['String']['input'];
|
|
163
170
|
};
|
|
@@ -329,19 +336,31 @@ export type CommunityNotesResponse = {
|
|
|
329
336
|
/** The list of community notes matching the filter parameters. */
|
|
330
337
|
items: Array<CommunityNote>;
|
|
331
338
|
};
|
|
339
|
+
/** Comparison operators. */
|
|
332
340
|
export type ComparisonOperator = {
|
|
333
341
|
__typename?: 'ComparisonOperator';
|
|
342
|
+
/** Equal to. */
|
|
334
343
|
eq?: Maybe<Scalars['String']['output']>;
|
|
344
|
+
/** Greater than. */
|
|
335
345
|
gt?: Maybe<Scalars['String']['output']>;
|
|
346
|
+
/** Greater than or equal to. */
|
|
336
347
|
gte?: Maybe<Scalars['String']['output']>;
|
|
348
|
+
/** Less than. */
|
|
337
349
|
lt?: Maybe<Scalars['String']['output']>;
|
|
350
|
+
/** Less than or equal to. */
|
|
338
351
|
lte?: Maybe<Scalars['String']['output']>;
|
|
339
352
|
};
|
|
353
|
+
/** Input for comparison operators. */
|
|
340
354
|
export type ComparisonOperatorInput = {
|
|
355
|
+
/** Equal to. */
|
|
341
356
|
eq?: InputMaybe<Scalars['String']['input']>;
|
|
357
|
+
/** Greater than. */
|
|
342
358
|
gt?: InputMaybe<Scalars['String']['input']>;
|
|
359
|
+
/** Greater than or equal. */
|
|
343
360
|
gte?: InputMaybe<Scalars['String']['input']>;
|
|
361
|
+
/** Less than. */
|
|
344
362
|
lt?: InputMaybe<Scalars['String']['input']>;
|
|
363
|
+
/** Less than or equal. */
|
|
345
364
|
lte?: InputMaybe<Scalars['String']['input']>;
|
|
346
365
|
};
|
|
347
366
|
/** Metadata for a contract label. */
|
|
@@ -381,81 +400,147 @@ export type CreateApiTokensInput = {
|
|
|
381
400
|
/** Number of requests allowed per token, represented as a string, default is 5000 */
|
|
382
401
|
requestLimit?: InputMaybe<Scalars['String']['input']>;
|
|
383
402
|
};
|
|
403
|
+
/** Input for creating an NFT event webhook. */
|
|
384
404
|
export type CreateNftEventWebhookArgs = {
|
|
405
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
385
406
|
alertRecurrence: AlertRecurrence;
|
|
407
|
+
/** 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). */
|
|
386
408
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
409
|
+
/** 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). */
|
|
387
410
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
411
|
+
/** The url to which the webhook message should be sent. */
|
|
388
412
|
callbackUrl: Scalars['String']['input'];
|
|
413
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
389
414
|
conditions: NftEventWebhookConditionInput;
|
|
415
|
+
/** 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. */
|
|
390
416
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
417
|
+
/** 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. */
|
|
391
418
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
419
|
+
/** The name of the webhook (max 128 characters). */
|
|
392
420
|
name: Scalars['String']['input'];
|
|
421
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
393
422
|
publishingType?: InputMaybe<PublishingType>;
|
|
423
|
+
/** The settings for retrying failed webhook messages. */
|
|
394
424
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
425
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
395
426
|
securityToken: Scalars['String']['input'];
|
|
396
427
|
};
|
|
428
|
+
/** Input for creating NFT event webhooks. */
|
|
397
429
|
export type CreateNftEventWebhooksInput = {
|
|
430
|
+
/** A list of NFT event webhooks to create. */
|
|
398
431
|
webhooks: Array<CreateNftEventWebhookArgs>;
|
|
399
432
|
};
|
|
433
|
+
/** Input for creating a price webhook. */
|
|
400
434
|
export type CreatePriceWebhookArgs = {
|
|
435
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
401
436
|
alertRecurrence: AlertRecurrence;
|
|
437
|
+
/** 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). */
|
|
402
438
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
439
|
+
/** 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). */
|
|
403
440
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
441
|
+
/** The url to which the webhook message should be sent. */
|
|
404
442
|
callbackUrl: Scalars['String']['input'];
|
|
443
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
405
444
|
conditions: PriceEventWebhookConditionInput;
|
|
445
|
+
/** 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. */
|
|
406
446
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
447
|
+
/** 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. */
|
|
407
448
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
449
|
+
/** The name of the webhook (max 128 characters). */
|
|
408
450
|
name: Scalars['String']['input'];
|
|
451
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
409
452
|
publishingType?: InputMaybe<PublishingType>;
|
|
453
|
+
/** The settings for retrying failed webhook messages. */
|
|
410
454
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
455
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
411
456
|
securityToken: Scalars['String']['input'];
|
|
412
457
|
};
|
|
458
|
+
/** Input for creating price webhooks. */
|
|
413
459
|
export type CreatePriceWebhooksInput = {
|
|
460
|
+
/** A list of price webhooks to create. */
|
|
414
461
|
webhooks: Array<CreatePriceWebhookArgs>;
|
|
415
462
|
};
|
|
463
|
+
/** Input for creating a Raw Transaction webhook. */
|
|
416
464
|
export type CreateRawTransactionWebhookArgs = {
|
|
465
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
417
466
|
alertRecurrence: AlertRecurrence;
|
|
467
|
+
/** 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). */
|
|
418
468
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
469
|
+
/** 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). */
|
|
419
470
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
471
|
+
/** The url to which the webhook message should be sent. */
|
|
420
472
|
callbackUrl: Scalars['String']['input'];
|
|
473
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
421
474
|
conditions: RawTransactionWebhookConditionInput;
|
|
475
|
+
/** 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. */
|
|
422
476
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
477
|
+
/** 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. */
|
|
423
478
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
479
|
+
/** The name of the webhook (max 128 characters). */
|
|
424
480
|
name: Scalars['String']['input'];
|
|
481
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
425
482
|
publishingType?: InputMaybe<PublishingType>;
|
|
483
|
+
/** The settings for retrying failed webhook messages. */
|
|
426
484
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
485
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
427
486
|
securityToken: Scalars['String']['input'];
|
|
428
487
|
};
|
|
488
|
+
/** Input for creating Raw Transaction webhooks. */
|
|
429
489
|
export type CreateRawTransactionWebhooksInput = {
|
|
490
|
+
/** A list of Raw Transaction webhooks to create. */
|
|
430
491
|
webhooks: Array<CreateRawTransactionWebhookArgs>;
|
|
431
492
|
};
|
|
493
|
+
/** Input for creating a token pair event webhook. */
|
|
432
494
|
export type CreateTokenPairEventWebhookArgs = {
|
|
495
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
433
496
|
alertRecurrence: AlertRecurrence;
|
|
497
|
+
/** 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). */
|
|
434
498
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
499
|
+
/** 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). */
|
|
435
500
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
501
|
+
/** The url to which the webhook message should be sent. */
|
|
436
502
|
callbackUrl: Scalars['String']['input'];
|
|
503
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
437
504
|
conditions: TokenPairEventWebhookConditionInput;
|
|
505
|
+
/** If enabled, new webhooks won't be created if a webhook with the same parameters already exists. If callbackUrl, conditions, publishingType, and alertRecurrence all match, then we return the existing webhook. */
|
|
438
506
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
507
|
+
/** 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. */
|
|
439
508
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
509
|
+
/** The name of the webhook (max 128 characters). */
|
|
440
510
|
name: Scalars['String']['input'];
|
|
511
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
441
512
|
publishingType?: InputMaybe<PublishingType>;
|
|
513
|
+
/** The settings for retrying failed webhook messages. */
|
|
442
514
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
515
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
443
516
|
securityToken: Scalars['String']['input'];
|
|
444
517
|
};
|
|
518
|
+
/** Input for creating token pair event webhooks. */
|
|
445
519
|
export type CreateTokenPairEventWebhooksInput = {
|
|
520
|
+
/** A list of token pair event webhooks to create. */
|
|
446
521
|
webhooks: Array<CreateTokenPairEventWebhookArgs>;
|
|
447
522
|
};
|
|
523
|
+
/** Input for creating webhooks. */
|
|
448
524
|
export type CreateWebhooksInput = {
|
|
525
|
+
/** Input for creating NFT event webhooks. */
|
|
449
526
|
nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
|
|
527
|
+
/** Input for creating price webhooks. */
|
|
450
528
|
priceWebhooksInput?: InputMaybe<CreatePriceWebhooksInput>;
|
|
529
|
+
/** Input for creating raw transaction webhooks. */
|
|
451
530
|
rawTransactionWebhooksInput?: InputMaybe<CreateRawTransactionWebhooksInput>;
|
|
531
|
+
/** Input for creating token pair event webhooks. */
|
|
452
532
|
tokenPairEventWebhooksInput?: InputMaybe<CreateTokenPairEventWebhooksInput>;
|
|
453
533
|
};
|
|
534
|
+
/** Result returned by `createWebhooks`. */
|
|
454
535
|
export type CreateWebhooksOutput = {
|
|
455
536
|
__typename?: 'CreateWebhooksOutput';
|
|
537
|
+
/** The list of NFT event webhooks that were created. */
|
|
456
538
|
nftEventWebhooks: Array<Maybe<Webhook>>;
|
|
539
|
+
/** The list of price webhooks that were created. */
|
|
457
540
|
priceWebhooks: Array<Maybe<Webhook>>;
|
|
541
|
+
/** The list of raw transaction webhooks that were created. */
|
|
458
542
|
rawTransactionWebhooks: Array<Maybe<Webhook>>;
|
|
543
|
+
/** The list of token pair event webhooks that were created. */
|
|
459
544
|
tokenPairEventWebhooks: Array<Maybe<Webhook>>;
|
|
460
545
|
};
|
|
461
546
|
export declare enum CreationContext {
|
|
@@ -473,11 +558,15 @@ export type CurrencyBarData = {
|
|
|
473
558
|
/** Bar chart data in USD. */
|
|
474
559
|
usd: IndividualBarData;
|
|
475
560
|
};
|
|
561
|
+
/** Input for deleting webhooks. */
|
|
476
562
|
export type DeleteWebhooksInput = {
|
|
563
|
+
/** A list of webhook IDs to delete. */
|
|
477
564
|
webhookIds: Array<Scalars['String']['input']>;
|
|
478
565
|
};
|
|
566
|
+
/** Result returned by `deleteWebhooks`. */
|
|
479
567
|
export type DeleteWebhooksOutput = {
|
|
480
568
|
__typename?: 'DeleteWebhooksOutput';
|
|
569
|
+
/** The list of webhook IDs that were deleted. */
|
|
481
570
|
deletedIds?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
482
571
|
};
|
|
483
572
|
/** Detailed stats for an NFT collection. */
|
|
@@ -742,6 +831,8 @@ export type EnhancedToken = {
|
|
|
742
831
|
* @deprecated Use the TokenInfo type
|
|
743
832
|
*/
|
|
744
833
|
explorerData?: Maybe<ExplorerTokenData>;
|
|
834
|
+
/** Whether or not the token is freezable */
|
|
835
|
+
freezable?: Maybe<Scalars['String']['output']>;
|
|
745
836
|
/** The ID of the token (`address:networkId`). */
|
|
746
837
|
id: Scalars['String']['output'];
|
|
747
838
|
/**
|
|
@@ -763,6 +854,8 @@ export type EnhancedToken = {
|
|
|
763
854
|
info?: Maybe<TokenInfo>;
|
|
764
855
|
/** Whether the token has been flagged as a scam. */
|
|
765
856
|
isScam?: Maybe<Scalars['Boolean']['output']>;
|
|
857
|
+
/** Whether or not the token is mintable */
|
|
858
|
+
mintable?: Maybe<Scalars['String']['output']>;
|
|
766
859
|
/** The token name. For example, `ApeCoin`. */
|
|
767
860
|
name?: Maybe<Scalars['String']['output']>;
|
|
768
861
|
/** The network ID the token is deployed on. */
|
|
@@ -1237,9 +1330,12 @@ export type GetTokensInfoInput = {
|
|
|
1237
1330
|
/** The network ID the token is deployed on. */
|
|
1238
1331
|
networkId: Scalars['Int']['input'];
|
|
1239
1332
|
};
|
|
1333
|
+
/** Response returned by `getWebhooks`. */
|
|
1240
1334
|
export type GetWebhooksResponse = {
|
|
1241
1335
|
__typename?: 'GetWebhooksResponse';
|
|
1336
|
+
/** A cursor for use in pagination. */
|
|
1242
1337
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
1338
|
+
/** A list of webhooks belonging to a user. */
|
|
1243
1339
|
items?: Maybe<Array<Maybe<Webhook>>>;
|
|
1244
1340
|
};
|
|
1245
1341
|
/** The pool variant. */
|
|
@@ -1318,11 +1414,15 @@ export type IndividualBarData = {
|
|
|
1318
1414
|
/** The volume in the network's base token */
|
|
1319
1415
|
volumeNativeToken: Scalars['String']['output'];
|
|
1320
1416
|
};
|
|
1417
|
+
/** Integer equals condition. */
|
|
1321
1418
|
export type IntEqualsCondition = {
|
|
1322
1419
|
__typename?: 'IntEqualsCondition';
|
|
1420
|
+
/** The integer to equal. */
|
|
1323
1421
|
eq: Scalars['Int']['output'];
|
|
1324
1422
|
};
|
|
1423
|
+
/** Input for integer equals condition. */
|
|
1325
1424
|
export type IntEqualsConditionInput = {
|
|
1425
|
+
/** The integer to equal. */
|
|
1326
1426
|
eq: Scalars['Int']['input'];
|
|
1327
1427
|
};
|
|
1328
1428
|
/** Event labels. Can be `sandwich` or `washtrade`. */
|
|
@@ -1644,9 +1744,11 @@ export type Mutation = {
|
|
|
1644
1744
|
__typename?: 'Mutation';
|
|
1645
1745
|
/** Create a new set of short-lived api access tokens */
|
|
1646
1746
|
createApiTokens: Array<ApiToken>;
|
|
1747
|
+
/** Create price, raw transaction, token/pair event, and NFT event webhooks. */
|
|
1647
1748
|
createWebhooks: CreateWebhooksOutput;
|
|
1648
1749
|
/** Delete a single short-lived api access token by id */
|
|
1649
1750
|
deleteApiToken: Scalars['String']['output'];
|
|
1751
|
+
/** Delete multiple webhooks. */
|
|
1650
1752
|
deleteWebhooks?: Maybe<DeleteWebhooksOutput>;
|
|
1651
1753
|
};
|
|
1652
1754
|
export type MutationCreateApiTokensArgs = {
|
|
@@ -2758,11 +2860,15 @@ export type NftEvent = {
|
|
|
2758
2860
|
/** The index of the transaction within the block. */
|
|
2759
2861
|
transactionIndex: Scalars['Int']['output'];
|
|
2760
2862
|
};
|
|
2863
|
+
/** NFT marketplaces for a webhook to listen on. */
|
|
2761
2864
|
export type NftEventFillSourceCondition = {
|
|
2762
2865
|
__typename?: 'NftEventFillSourceCondition';
|
|
2866
|
+
/** The list of NFT marketplaces. */
|
|
2763
2867
|
oneOf: Array<WebhookNftEventFillSource>;
|
|
2764
2868
|
};
|
|
2869
|
+
/** Input for NFT event fill source condition. */
|
|
2765
2870
|
export type NftEventFillSourceConditionInput = {
|
|
2871
|
+
/** The list of NFT marketplace to equal. */
|
|
2766
2872
|
oneOf: Array<WebhookNftEventFillSource>;
|
|
2767
2873
|
};
|
|
2768
2874
|
/** Details for an NFT offered or received as part of an nft trade. */
|
|
@@ -2831,34 +2937,58 @@ export declare enum NftEventTradeItemType {
|
|
|
2831
2937
|
Nft = "NFT",
|
|
2832
2938
|
Token = "TOKEN"
|
|
2833
2939
|
}
|
|
2940
|
+
/** An NFT event type for a webhook to listen for. */
|
|
2834
2941
|
export type NftEventTypeCondition = {
|
|
2835
2942
|
__typename?: 'NftEventTypeCondition';
|
|
2943
|
+
/** The NFT event type. */
|
|
2836
2944
|
eq: WebhookNftEventType;
|
|
2837
2945
|
};
|
|
2946
|
+
/** Input for NFT event type. */
|
|
2838
2947
|
export type NftEventTypeConditionInput = {
|
|
2948
|
+
/** The NFT event type to equal. */
|
|
2839
2949
|
eq: WebhookNftEventType;
|
|
2840
2950
|
};
|
|
2951
|
+
/** Webhook conditions for an NFT event. */
|
|
2841
2952
|
export type NftEventWebhookCondition = {
|
|
2842
2953
|
__typename?: 'NftEventWebhookCondition';
|
|
2954
|
+
/** The NFT collection contract address the webhook is listening for. */
|
|
2843
2955
|
contractAddress?: Maybe<StringEqualsCondition>;
|
|
2956
|
+
/** The NFT event type the webhook is listening for. */
|
|
2844
2957
|
eventType?: Maybe<NftEventTypeCondition>;
|
|
2958
|
+
/** The exchange contract address the webhook is listening for. */
|
|
2845
2959
|
exchangeAddress?: Maybe<StringEqualsCondition>;
|
|
2960
|
+
/** The NFT marketplaces the webhook is listening on. */
|
|
2846
2961
|
fillSource?: Maybe<NftEventFillSourceCondition>;
|
|
2962
|
+
/** Option to ignore all nft transfer events */
|
|
2847
2963
|
ignoreTransfers?: Maybe<Scalars['Boolean']['output']>;
|
|
2964
|
+
/** The base token price the webhook is listening for. */
|
|
2848
2965
|
individualBaseTokenPrice?: Maybe<ComparisonOperator>;
|
|
2966
|
+
/** The maker wallet address the webhook is listening for. */
|
|
2849
2967
|
maker?: Maybe<StringEqualsCondition>;
|
|
2968
|
+
/** The list of network IDs the webhook is listening on. */
|
|
2850
2969
|
networkId?: Maybe<OneOfNumberCondition>;
|
|
2970
|
+
/** The token contract address the webhook is listening for. */
|
|
2851
2971
|
tokenAddress?: Maybe<StringEqualsCondition>;
|
|
2972
|
+
/** The token ID the webhook is listening for. */
|
|
2852
2973
|
tokenId?: Maybe<StringEqualsCondition>;
|
|
2853
2974
|
};
|
|
2975
|
+
/** Input conditions for an NFT event webhook. */
|
|
2854
2976
|
export type NftEventWebhookConditionInput = {
|
|
2977
|
+
/** The NFT collection contract address to listen for. */
|
|
2855
2978
|
contractAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
2979
|
+
/** The NFT event type to listen for. */
|
|
2856
2980
|
eventType?: InputMaybe<NftEventTypeConditionInput>;
|
|
2981
|
+
/** The exchange contract address to listen for. */
|
|
2857
2982
|
exchangeAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
2983
|
+
/** The NFT marketplaces to listen for. */
|
|
2858
2984
|
fillSource?: InputMaybe<NftEventFillSourceConditionInput>;
|
|
2985
|
+
/** Option to ignore all nft transfer events */
|
|
2859
2986
|
ignoreTransfers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2987
|
+
/** The maker wallet address to listen for. */
|
|
2860
2988
|
maker?: InputMaybe<StringEqualsConditionInput>;
|
|
2989
|
+
/** A list of network IDs to listen on. */
|
|
2861
2990
|
networkId?: InputMaybe<OneOfNumberConditionInput>;
|
|
2991
|
+
/** The token ID to listen for. */
|
|
2862
2992
|
tokenId?: InputMaybe<StringEqualsConditionInput>;
|
|
2863
2993
|
};
|
|
2864
2994
|
/** Response returned by `getNftEvents`. */
|
|
@@ -4172,6 +4302,7 @@ export type OnBarsUpdatedResponse = {
|
|
|
4172
4302
|
export type OnPricesUpdatedInput = {
|
|
4173
4303
|
address: Scalars['String']['input'];
|
|
4174
4304
|
networkId: Scalars['Int']['input'];
|
|
4305
|
+
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
4175
4306
|
};
|
|
4176
4307
|
/** Response returned by `onBarsUpdated`. */
|
|
4177
4308
|
export type OnTokenBarsUpdatedResponse = {
|
|
@@ -4227,11 +4358,15 @@ export type OnUnconfirmedBarsUpdated = {
|
|
|
4227
4358
|
/** The unix timestamp for the new bar. */
|
|
4228
4359
|
timestamp: Scalars['Int']['output'];
|
|
4229
4360
|
};
|
|
4361
|
+
/** Integer list condition. */
|
|
4230
4362
|
export type OneOfNumberCondition = {
|
|
4231
4363
|
__typename?: 'OneOfNumberCondition';
|
|
4364
|
+
/** The list of integers. */
|
|
4232
4365
|
oneOf: Array<Scalars['Int']['output']>;
|
|
4233
4366
|
};
|
|
4367
|
+
/** Input for integer list condition. */
|
|
4234
4368
|
export type OneOfNumberConditionInput = {
|
|
4369
|
+
/** The list of integers. */
|
|
4235
4370
|
oneOf: Array<Scalars['Int']['input']>;
|
|
4236
4371
|
};
|
|
4237
4372
|
export declare enum OrderState {
|
|
@@ -4996,15 +5131,27 @@ export type Price = {
|
|
|
4996
5131
|
/** The unix timestamp for the price. */
|
|
4997
5132
|
timestamp: Scalars['Int']['output'];
|
|
4998
5133
|
};
|
|
5134
|
+
/** Webhook conditions for a price event. */
|
|
4999
5135
|
export type PriceEventWebhookCondition = {
|
|
5000
5136
|
__typename?: 'PriceEventWebhookCondition';
|
|
5137
|
+
/** The network ID the webhook is listening on. */
|
|
5001
5138
|
networkId: IntEqualsCondition;
|
|
5139
|
+
/** The pair contract address the webhook is listening for. */
|
|
5140
|
+
pairAddress?: Maybe<StringEqualsCondition>;
|
|
5141
|
+
/** The price condition that must be met in order for the webhook to send. */
|
|
5002
5142
|
priceUsd: ComparisonOperator;
|
|
5143
|
+
/** The token contract address the webhook is listening for. */
|
|
5003
5144
|
tokenAddress: StringEqualsCondition;
|
|
5004
5145
|
};
|
|
5146
|
+
/** Input conditions for a price event webhook. */
|
|
5005
5147
|
export type PriceEventWebhookConditionInput = {
|
|
5148
|
+
/** The network ID to listen on. */
|
|
5006
5149
|
networkId: IntEqualsConditionInput;
|
|
5150
|
+
/** The contract address of the pair to listen for. */
|
|
5151
|
+
pairAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
5152
|
+
/** The price conditions to listen for. */
|
|
5007
5153
|
priceUsd: ComparisonOperatorInput;
|
|
5154
|
+
/** The contract address of the token to listen for. */
|
|
5008
5155
|
tokenAddress: StringEqualsConditionInput;
|
|
5009
5156
|
};
|
|
5010
5157
|
/** Response returned by `primeHolders`. */
|
|
@@ -5573,6 +5720,7 @@ export type Query = {
|
|
|
5573
5720
|
getTokensInfo?: Maybe<Array<Maybe<TokenInfo>>>;
|
|
5574
5721
|
/** Returns tick data for a given Uniswap V3-style pool. */
|
|
5575
5722
|
getUniV3Ticks?: Maybe<UniV3TickConnection>;
|
|
5723
|
+
/** Returns a user's list of webhooks. */
|
|
5576
5724
|
getWebhooks?: Maybe<GetWebhooksResponse>;
|
|
5577
5725
|
/** Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token */
|
|
5578
5726
|
holders: HoldersResponse;
|
|
@@ -6040,23 +6188,39 @@ export type RawNftAssetData = {
|
|
|
6040
6188
|
/** An optional image field that may or may not be present on the requested NFT asset smart contract. */
|
|
6041
6189
|
imageUrl?: Maybe<Scalars['String']['output']>;
|
|
6042
6190
|
};
|
|
6191
|
+
/** Webhook conditions for a raw transaction. */
|
|
6043
6192
|
export type RawTransactionWebhookCondition = {
|
|
6044
6193
|
__typename?: 'RawTransactionWebhookCondition';
|
|
6194
|
+
/** The from address to listen for. */
|
|
6045
6195
|
from?: Maybe<StringEqualsCondition>;
|
|
6196
|
+
/** Do not trigger the webhook if the raw transaction is handled by the NftEvent webhook. */
|
|
6046
6197
|
ignoreNftEvents?: Maybe<Scalars['Boolean']['output']>;
|
|
6198
|
+
/** Do not trigger the webhook if the raw transaction is handled by the TokenPairEvent webhook. */
|
|
6047
6199
|
ignoreTokenPairEvents?: Maybe<Scalars['Boolean']['output']>;
|
|
6200
|
+
/** Trigger the webhook if the contains or doesn't contain the specified string. */
|
|
6048
6201
|
input?: Maybe<StringContainsCondition>;
|
|
6202
|
+
/** A list of network IDs to listen on. */
|
|
6049
6203
|
networkId?: Maybe<OneOfNumberCondition>;
|
|
6204
|
+
/** The to address to listen for. */
|
|
6050
6205
|
to?: Maybe<StringEqualsCondition>;
|
|
6206
|
+
/** Trigger the webhook if either the to or the from address matches. */
|
|
6051
6207
|
toOrFrom?: Maybe<StringEqualsCondition>;
|
|
6052
6208
|
};
|
|
6209
|
+
/** Input conditions for a Raw Transaction webhook. */
|
|
6053
6210
|
export type RawTransactionWebhookConditionInput = {
|
|
6211
|
+
/** The from address to listen for. */
|
|
6054
6212
|
from?: InputMaybe<StringEqualsConditionInput>;
|
|
6213
|
+
/** Do not trigger the webhook if the raw transaction is handled by the NftEvent webhook. */
|
|
6055
6214
|
ignoreNftEvents?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6215
|
+
/** Do not trigger the webhook if the raw transaction is handled by the TokenPairEvent webhook. */
|
|
6056
6216
|
ignoreTokenPairEvents?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6217
|
+
/** Trigger the webhook if the input contains or doesn't contain the specified string. */
|
|
6057
6218
|
input?: InputMaybe<StringContainsConditionInput>;
|
|
6219
|
+
/** A list of network IDs to listen on. */
|
|
6058
6220
|
networkId?: InputMaybe<OneOfNumberConditionInput>;
|
|
6221
|
+
/** The to address to listen for. */
|
|
6059
6222
|
to?: InputMaybe<StringEqualsConditionInput>;
|
|
6223
|
+
/** Trigger the webhook if either the to or the from address matches. */
|
|
6060
6224
|
toOrFrom?: InputMaybe<StringEqualsConditionInput>;
|
|
6061
6225
|
};
|
|
6062
6226
|
export type ReferralEventData = ReferralsEventPayoutData | ReferralsEventRewardData;
|
|
@@ -6083,6 +6247,9 @@ export type ReferralsPayoutData = {
|
|
|
6083
6247
|
tokenAddressNetworkIdPaid: Scalars['String']['output'];
|
|
6084
6248
|
tokenAmountPaid: Scalars['String']['output'];
|
|
6085
6249
|
};
|
|
6250
|
+
export type RemoveUserAchievementInput = {
|
|
6251
|
+
userId: Scalars['String']['input'];
|
|
6252
|
+
};
|
|
6086
6253
|
/** Price data for each supported resolution. */
|
|
6087
6254
|
export type ResolutionBarData = {
|
|
6088
6255
|
__typename?: 'ResolutionBarData';
|
|
@@ -6113,17 +6280,27 @@ export type ResolutionBarData = {
|
|
|
6113
6280
|
/** 12 hour resolution. */
|
|
6114
6281
|
r720?: Maybe<CurrencyBarData>;
|
|
6115
6282
|
};
|
|
6283
|
+
/** Config for retrying failed webhook messages */
|
|
6116
6284
|
export type RetrySettings = {
|
|
6117
6285
|
__typename?: 'RetrySettings';
|
|
6286
|
+
/** The maximum number of times the webhook will retry sending a message */
|
|
6118
6287
|
maxRetries?: Maybe<Scalars['Int']['output']>;
|
|
6288
|
+
/** The maximum time in seconds that the webhook will wait before retrying a failed message */
|
|
6119
6289
|
maxRetryDelay?: Maybe<Scalars['Int']['output']>;
|
|
6290
|
+
/** The maximum time in seconds that the webhook will retry sending a message */
|
|
6120
6291
|
maxTimeElapsed?: Maybe<Scalars['Int']['output']>;
|
|
6292
|
+
/** The minimum time in seconds that the webhook will wait before retrying a failed message */
|
|
6121
6293
|
minRetryDelay?: Maybe<Scalars['Int']['output']>;
|
|
6122
6294
|
};
|
|
6295
|
+
/** Config input for retrying failed webhook messages */
|
|
6123
6296
|
export type RetrySettingsInput = {
|
|
6297
|
+
/** The maximum number of times the webhook will retry sending a message */
|
|
6124
6298
|
maxRetries?: InputMaybe<Scalars['Int']['input']>;
|
|
6299
|
+
/** The maximum time in seconds that the webhook will wait before retrying a failed message */
|
|
6125
6300
|
maxRetryDelay?: InputMaybe<Scalars['Int']['input']>;
|
|
6301
|
+
/** The maximum time in seconds that the webhook will retry sending a message */
|
|
6126
6302
|
maxTimeElapsed?: InputMaybe<Scalars['Int']['input']>;
|
|
6303
|
+
/** The minimum time in seconds that the webhook will wait before retrying a failed message */
|
|
6127
6304
|
minRetryDelay?: InputMaybe<Scalars['Int']['input']>;
|
|
6128
6305
|
};
|
|
6129
6306
|
/** Metadata for a sandwich label. */
|
|
@@ -6394,20 +6571,30 @@ export type StatsFilter = {
|
|
|
6394
6571
|
/** The total value for the previous window. */
|
|
6395
6572
|
previous?: InputMaybe<NumberFilter>;
|
|
6396
6573
|
};
|
|
6574
|
+
/** String contains condition. */
|
|
6397
6575
|
export type StringContainsCondition = {
|
|
6398
6576
|
__typename?: 'StringContainsCondition';
|
|
6577
|
+
/** A list of substrings included within the string. */
|
|
6399
6578
|
contains?: Maybe<Array<Scalars['String']['output']>>;
|
|
6579
|
+
/** A list of substrings not included within the string. */
|
|
6400
6580
|
notContains?: Maybe<Array<Scalars['String']['output']>>;
|
|
6401
6581
|
};
|
|
6582
|
+
/** Input for string contains condition. */
|
|
6402
6583
|
export type StringContainsConditionInput = {
|
|
6584
|
+
/** A list of substrings to be included within the string. */
|
|
6403
6585
|
contains?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
6586
|
+
/** A list of substrings not to be included within the string. */
|
|
6404
6587
|
notContains?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
6405
6588
|
};
|
|
6589
|
+
/** String equals condition. */
|
|
6406
6590
|
export type StringEqualsCondition = {
|
|
6407
6591
|
__typename?: 'StringEqualsCondition';
|
|
6592
|
+
/** The string to equal. */
|
|
6408
6593
|
eq: Scalars['String']['output'];
|
|
6409
6594
|
};
|
|
6595
|
+
/** Input for string equals condition. */
|
|
6410
6596
|
export type StringEqualsConditionInput = {
|
|
6597
|
+
/** The string to equal. */
|
|
6411
6598
|
eq: Scalars['String']['input'];
|
|
6412
6599
|
};
|
|
6413
6600
|
/** Input type of `StringFilter`. */
|
|
@@ -6508,6 +6695,7 @@ export type SubscriptionOnPairMetadataUpdatedArgs = {
|
|
|
6508
6695
|
export type SubscriptionOnPriceUpdatedArgs = {
|
|
6509
6696
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6510
6697
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
6698
|
+
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6511
6699
|
};
|
|
6512
6700
|
export type SubscriptionOnPricesUpdatedArgs = {
|
|
6513
6701
|
input: Array<OnPricesUpdatedInput>;
|
|
@@ -6873,6 +7061,8 @@ export type TokenFilters = {
|
|
|
6873
7061
|
change24?: InputMaybe<NumberFilter>;
|
|
6874
7062
|
/** The unix timestamp for the creation of the token's first pair. */
|
|
6875
7063
|
createdAt?: InputMaybe<NumberFilter>;
|
|
7064
|
+
/** The address of the creator of the token */
|
|
7065
|
+
creatorAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6876
7066
|
/** The list of exchange contract addresses to filter by. */
|
|
6877
7067
|
exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
6878
7068
|
/** The list of exchange contract IDs to filter by. Applied in conjunction with `network` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
|
|
@@ -7074,6 +7264,7 @@ export declare enum TokenOfInterest {
|
|
|
7074
7264
|
Token0 = "token0",
|
|
7075
7265
|
Token1 = "token1"
|
|
7076
7266
|
}
|
|
7267
|
+
/** Token pair event types. */
|
|
7077
7268
|
export declare enum TokenPairEventType {
|
|
7078
7269
|
Burn = "BURN",
|
|
7079
7270
|
Buy = "BUY",
|
|
@@ -7084,30 +7275,50 @@ export declare enum TokenPairEventType {
|
|
|
7084
7275
|
Swap = "SWAP",
|
|
7085
7276
|
Sync = "SYNC"
|
|
7086
7277
|
}
|
|
7278
|
+
/** Webhook condition for token pair event type. */
|
|
7087
7279
|
export type TokenPairEventTypeCondition = {
|
|
7088
7280
|
__typename?: 'TokenPairEventTypeCondition';
|
|
7281
|
+
/** The list of token pair event types. */
|
|
7089
7282
|
oneOf: Array<TokenPairEventType>;
|
|
7090
7283
|
};
|
|
7284
|
+
/** Input for token pair event type condition. */
|
|
7091
7285
|
export type TokenPairEventTypeConditionInput = {
|
|
7286
|
+
/** The list of token event types to equal. */
|
|
7092
7287
|
oneOf: Array<TokenPairEventType>;
|
|
7093
7288
|
};
|
|
7289
|
+
/** Webhook conditions for a token pair event. */
|
|
7094
7290
|
export type TokenPairEventWebhookCondition = {
|
|
7095
7291
|
__typename?: 'TokenPairEventWebhookCondition';
|
|
7292
|
+
/** The event type the webhook is listening for. */
|
|
7096
7293
|
eventType?: Maybe<TokenPairEventTypeCondition>;
|
|
7294
|
+
/** The exchange contract address the webhook is listening for. */
|
|
7097
7295
|
exchangeAddress?: Maybe<StringEqualsCondition>;
|
|
7296
|
+
/** The maker wallet address the webhook is listening for. */
|
|
7098
7297
|
maker?: Maybe<StringEqualsCondition>;
|
|
7298
|
+
/** The list of network IDs the webhook is listening on. */
|
|
7099
7299
|
networkId?: Maybe<OneOfNumberCondition>;
|
|
7300
|
+
/** The pair contract address the webhook is listening for. */
|
|
7100
7301
|
pairAddress?: Maybe<StringEqualsCondition>;
|
|
7302
|
+
/** The swap values the webhook is listening for. */
|
|
7101
7303
|
swapValue?: Maybe<ComparisonOperator>;
|
|
7304
|
+
/** The token contract address the webhook is listening for. */
|
|
7102
7305
|
tokenAddress?: Maybe<StringEqualsCondition>;
|
|
7103
7306
|
};
|
|
7307
|
+
/** Input conditions for a token pair event webhook. */
|
|
7104
7308
|
export type TokenPairEventWebhookConditionInput = {
|
|
7309
|
+
/** The token event type to listen for. */
|
|
7105
7310
|
eventType?: InputMaybe<TokenPairEventTypeConditionInput>;
|
|
7311
|
+
/** The exchange contract address to listen for. */
|
|
7106
7312
|
exchangeAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
7313
|
+
/** The maker wallet address to listen for. */
|
|
7107
7314
|
maker?: InputMaybe<StringEqualsConditionInput>;
|
|
7315
|
+
/** A list of network IDs to listen on. */
|
|
7108
7316
|
networkId?: InputMaybe<OneOfNumberConditionInput>;
|
|
7317
|
+
/** The pair contract address to listen for. */
|
|
7109
7318
|
pairAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
7319
|
+
/** The swap values to listen for. */
|
|
7110
7320
|
swapValue?: InputMaybe<ComparisonOperatorInput>;
|
|
7321
|
+
/** The token contract address to listen for. */
|
|
7111
7322
|
tokenAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
7112
7323
|
};
|
|
7113
7324
|
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED` */
|
|
@@ -7453,23 +7664,39 @@ export type WashtradeLabelForEvent = {
|
|
|
7453
7664
|
/** The label type, 'washtrade' */
|
|
7454
7665
|
label: Scalars['String']['output'];
|
|
7455
7666
|
};
|
|
7667
|
+
/** Metadata for a webhook. */
|
|
7456
7668
|
export type Webhook = {
|
|
7457
7669
|
__typename?: 'Webhook';
|
|
7670
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
7458
7671
|
alertRecurrence: AlertRecurrence;
|
|
7672
|
+
/** 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). */
|
|
7459
7673
|
bucketId?: Maybe<Scalars['String']['output']>;
|
|
7674
|
+
/** 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). */
|
|
7460
7675
|
bucketSortkey?: Maybe<Scalars['String']['output']>;
|
|
7676
|
+
/** The url to which the webhook message should be sent. */
|
|
7461
7677
|
callbackUrl: Scalars['String']['output'];
|
|
7678
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
7462
7679
|
conditions: WebhookCondition;
|
|
7680
|
+
/** The unix timestamp for the time the webhook was created. */
|
|
7463
7681
|
created: Scalars['Int']['output'];
|
|
7682
|
+
/** The webhook group ID used to group webhooks together for ordered message sending. */
|
|
7464
7683
|
groupId?: Maybe<Scalars['String']['output']>;
|
|
7684
|
+
/** The ID of the webhook. */
|
|
7465
7685
|
id: Scalars['String']['output'];
|
|
7686
|
+
/** The given name of the webhook. */
|
|
7466
7687
|
name: Scalars['String']['output'];
|
|
7688
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
7467
7689
|
publishingType?: Maybe<PublishingType>;
|
|
7690
|
+
/** The settings for retrying failed webhook messages. */
|
|
7468
7691
|
retrySettings?: Maybe<RetrySettings>;
|
|
7692
|
+
/** The status of the webhook. Can be `ACTIVE` or `INACTIVE`. */
|
|
7469
7693
|
status: Scalars['String']['output'];
|
|
7694
|
+
/** The type of webhook. Can be `PRICE_EVENT`, `NFT_EVENT`, or `TOKEN_PAIR_EVENT`. */
|
|
7470
7695
|
webhookType: WebhookType;
|
|
7471
7696
|
};
|
|
7697
|
+
/** Webhook conditions that must be met for each webhook type. */
|
|
7472
7698
|
export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
|
|
7699
|
+
/** NFT marketplace names. */
|
|
7473
7700
|
export declare enum WebhookNftEventFillSource {
|
|
7474
7701
|
Blur = "BLUR",
|
|
7475
7702
|
Coinbase = "COINBASE",
|
|
@@ -7487,11 +7714,13 @@ export declare enum WebhookNftEventFillSource {
|
|
|
7487
7714
|
Reservoirtools = "RESERVOIRTOOLS",
|
|
7488
7715
|
Soundxyz = "SOUNDXYZ"
|
|
7489
7716
|
}
|
|
7717
|
+
/** NFT event types. */
|
|
7490
7718
|
export declare enum WebhookNftEventType {
|
|
7491
7719
|
Mint = "MINT",
|
|
7492
7720
|
Sale = "SALE",
|
|
7493
7721
|
Transfer = "TRANSFER"
|
|
7494
7722
|
}
|
|
7723
|
+
/** The type of webhook. */
|
|
7495
7724
|
export declare enum WebhookType {
|
|
7496
7725
|
NftEvent = "NFT_EVENT",
|
|
7497
7726
|
PriceEvent = "PRICE_EVENT",
|
|
@@ -9435,8 +9664,10 @@ export type FilterPairsQuery = {
|
|
|
9435
9664
|
createdAt?: number | null;
|
|
9436
9665
|
creatorAddress?: string | null;
|
|
9437
9666
|
decimals: number;
|
|
9667
|
+
freezable?: string | null;
|
|
9438
9668
|
id: string;
|
|
9439
9669
|
isScam?: boolean | null;
|
|
9670
|
+
mintable?: string | null;
|
|
9440
9671
|
name?: string | null;
|
|
9441
9672
|
networkId: number;
|
|
9442
9673
|
symbol?: string | null;
|
|
@@ -9500,8 +9731,10 @@ export type FilterPairsQuery = {
|
|
|
9500
9731
|
createdAt?: number | null;
|
|
9501
9732
|
creatorAddress?: string | null;
|
|
9502
9733
|
decimals: number;
|
|
9734
|
+
freezable?: string | null;
|
|
9503
9735
|
id: string;
|
|
9504
9736
|
isScam?: boolean | null;
|
|
9737
|
+
mintable?: string | null;
|
|
9505
9738
|
name?: string | null;
|
|
9506
9739
|
networkId: number;
|
|
9507
9740
|
symbol?: string | null;
|
|
@@ -9566,8 +9799,10 @@ export type FilterPairsQuery = {
|
|
|
9566
9799
|
createdAt?: number | null;
|
|
9567
9800
|
creatorAddress?: string | null;
|
|
9568
9801
|
decimals: number;
|
|
9802
|
+
freezable?: string | null;
|
|
9569
9803
|
id: string;
|
|
9570
9804
|
isScam?: boolean | null;
|
|
9805
|
+
mintable?: string | null;
|
|
9571
9806
|
name?: string | null;
|
|
9572
9807
|
networkId: number;
|
|
9573
9808
|
symbol?: string | null;
|
|
@@ -9631,8 +9866,10 @@ export type FilterPairsQuery = {
|
|
|
9631
9866
|
createdAt?: number | null;
|
|
9632
9867
|
creatorAddress?: string | null;
|
|
9633
9868
|
decimals: number;
|
|
9869
|
+
freezable?: string | null;
|
|
9634
9870
|
id: string;
|
|
9635
9871
|
isScam?: boolean | null;
|
|
9872
|
+
mintable?: string | null;
|
|
9636
9873
|
name?: string | null;
|
|
9637
9874
|
networkId: number;
|
|
9638
9875
|
symbol?: string | null;
|
|
@@ -9796,8 +10033,10 @@ export type FilterTokensQuery = {
|
|
|
9796
10033
|
createdAt?: number | null;
|
|
9797
10034
|
creatorAddress?: string | null;
|
|
9798
10035
|
decimals: number;
|
|
10036
|
+
freezable?: string | null;
|
|
9799
10037
|
id: string;
|
|
9800
10038
|
isScam?: boolean | null;
|
|
10039
|
+
mintable?: string | null;
|
|
9801
10040
|
name?: string | null;
|
|
9802
10041
|
networkId: number;
|
|
9803
10042
|
symbol?: string | null;
|
|
@@ -9861,8 +10100,10 @@ export type FilterTokensQuery = {
|
|
|
9861
10100
|
createdAt?: number | null;
|
|
9862
10101
|
creatorAddress?: string | null;
|
|
9863
10102
|
decimals: number;
|
|
10103
|
+
freezable?: string | null;
|
|
9864
10104
|
id: string;
|
|
9865
10105
|
isScam?: boolean | null;
|
|
10106
|
+
mintable?: string | null;
|
|
9866
10107
|
name?: string | null;
|
|
9867
10108
|
networkId: number;
|
|
9868
10109
|
symbol?: string | null;
|
|
@@ -9927,8 +10168,10 @@ export type FilterTokensQuery = {
|
|
|
9927
10168
|
createdAt?: number | null;
|
|
9928
10169
|
creatorAddress?: string | null;
|
|
9929
10170
|
decimals: number;
|
|
10171
|
+
freezable?: string | null;
|
|
9930
10172
|
id: string;
|
|
9931
10173
|
isScam?: boolean | null;
|
|
10174
|
+
mintable?: string | null;
|
|
9932
10175
|
name?: string | null;
|
|
9933
10176
|
networkId: number;
|
|
9934
10177
|
symbol?: string | null;
|
|
@@ -10093,8 +10336,10 @@ export type GetCommunityNotesQuery = {
|
|
|
10093
10336
|
createdAt?: number | null;
|
|
10094
10337
|
creatorAddress?: string | null;
|
|
10095
10338
|
decimals: number;
|
|
10339
|
+
freezable?: string | null;
|
|
10096
10340
|
id: string;
|
|
10097
10341
|
isScam?: boolean | null;
|
|
10342
|
+
mintable?: string | null;
|
|
10098
10343
|
name?: string | null;
|
|
10099
10344
|
networkId: number;
|
|
10100
10345
|
symbol?: string | null;
|
|
@@ -11174,8 +11419,10 @@ export type GetDetailedPairStatsQuery = {
|
|
|
11174
11419
|
createdAt?: number | null;
|
|
11175
11420
|
creatorAddress?: string | null;
|
|
11176
11421
|
decimals: number;
|
|
11422
|
+
freezable?: string | null;
|
|
11177
11423
|
id: string;
|
|
11178
11424
|
isScam?: boolean | null;
|
|
11425
|
+
mintable?: string | null;
|
|
11179
11426
|
name?: string | null;
|
|
11180
11427
|
networkId: number;
|
|
11181
11428
|
symbol?: string | null;
|
|
@@ -11239,8 +11486,10 @@ export type GetDetailedPairStatsQuery = {
|
|
|
11239
11486
|
createdAt?: number | null;
|
|
11240
11487
|
creatorAddress?: string | null;
|
|
11241
11488
|
decimals: number;
|
|
11489
|
+
freezable?: string | null;
|
|
11242
11490
|
id: string;
|
|
11243
11491
|
isScam?: boolean | null;
|
|
11492
|
+
mintable?: string | null;
|
|
11244
11493
|
name?: string | null;
|
|
11245
11494
|
networkId: number;
|
|
11246
11495
|
symbol?: string | null;
|
|
@@ -12257,8 +12506,10 @@ export type GetDetailedPairsStatsQuery = {
|
|
|
12257
12506
|
createdAt?: number | null;
|
|
12258
12507
|
creatorAddress?: string | null;
|
|
12259
12508
|
decimals: number;
|
|
12509
|
+
freezable?: string | null;
|
|
12260
12510
|
id: string;
|
|
12261
12511
|
isScam?: boolean | null;
|
|
12512
|
+
mintable?: string | null;
|
|
12262
12513
|
name?: string | null;
|
|
12263
12514
|
networkId: number;
|
|
12264
12515
|
symbol?: string | null;
|
|
@@ -12322,8 +12573,10 @@ export type GetDetailedPairsStatsQuery = {
|
|
|
12322
12573
|
createdAt?: number | null;
|
|
12323
12574
|
creatorAddress?: string | null;
|
|
12324
12575
|
decimals: number;
|
|
12576
|
+
freezable?: string | null;
|
|
12325
12577
|
id: string;
|
|
12326
12578
|
isScam?: boolean | null;
|
|
12579
|
+
mintable?: string | null;
|
|
12327
12580
|
name?: string | null;
|
|
12328
12581
|
networkId: number;
|
|
12329
12582
|
symbol?: string | null;
|
|
@@ -15721,8 +15974,10 @@ export type ListPairsForTokenQuery = {
|
|
|
15721
15974
|
createdAt?: number | null;
|
|
15722
15975
|
creatorAddress?: string | null;
|
|
15723
15976
|
decimals: number;
|
|
15977
|
+
freezable?: string | null;
|
|
15724
15978
|
id: string;
|
|
15725
15979
|
isScam?: boolean | null;
|
|
15980
|
+
mintable?: string | null;
|
|
15726
15981
|
name?: string | null;
|
|
15727
15982
|
networkId: number;
|
|
15728
15983
|
symbol?: string | null;
|
|
@@ -15786,8 +16041,10 @@ export type ListPairsForTokenQuery = {
|
|
|
15786
16041
|
createdAt?: number | null;
|
|
15787
16042
|
creatorAddress?: string | null;
|
|
15788
16043
|
decimals: number;
|
|
16044
|
+
freezable?: string | null;
|
|
15789
16045
|
id: string;
|
|
15790
16046
|
isScam?: boolean | null;
|
|
16047
|
+
mintable?: string | null;
|
|
15791
16048
|
name?: string | null;
|
|
15792
16049
|
networkId: number;
|
|
15793
16050
|
symbol?: string | null;
|
|
@@ -15867,8 +16124,10 @@ export type ListPairsWithMetadataForTokenQuery = {
|
|
|
15867
16124
|
createdAt?: number | null;
|
|
15868
16125
|
creatorAddress?: string | null;
|
|
15869
16126
|
decimals: number;
|
|
16127
|
+
freezable?: string | null;
|
|
15870
16128
|
id: string;
|
|
15871
16129
|
isScam?: boolean | null;
|
|
16130
|
+
mintable?: string | null;
|
|
15872
16131
|
name?: string | null;
|
|
15873
16132
|
networkId: number;
|
|
15874
16133
|
symbol?: string | null;
|
|
@@ -15959,8 +16218,10 @@ export type ListPairsWithMetadataForTokenQuery = {
|
|
|
15959
16218
|
createdAt?: number | null;
|
|
15960
16219
|
creatorAddress?: string | null;
|
|
15961
16220
|
decimals: number;
|
|
16221
|
+
freezable?: string | null;
|
|
15962
16222
|
id: string;
|
|
15963
16223
|
isScam?: boolean | null;
|
|
16224
|
+
mintable?: string | null;
|
|
15964
16225
|
name?: string | null;
|
|
15965
16226
|
networkId: number;
|
|
15966
16227
|
symbol?: string | null;
|
|
@@ -16024,8 +16285,10 @@ export type ListPairsWithMetadataForTokenQuery = {
|
|
|
16024
16285
|
createdAt?: number | null;
|
|
16025
16286
|
creatorAddress?: string | null;
|
|
16026
16287
|
decimals: number;
|
|
16288
|
+
freezable?: string | null;
|
|
16027
16289
|
id: string;
|
|
16028
16290
|
isScam?: boolean | null;
|
|
16291
|
+
mintable?: string | null;
|
|
16029
16292
|
name?: string | null;
|
|
16030
16293
|
networkId: number;
|
|
16031
16294
|
symbol?: string | null;
|
|
@@ -16090,8 +16353,10 @@ export type ListPairsWithMetadataForTokenQuery = {
|
|
|
16090
16353
|
createdAt?: number | null;
|
|
16091
16354
|
creatorAddress?: string | null;
|
|
16092
16355
|
decimals: number;
|
|
16356
|
+
freezable?: string | null;
|
|
16093
16357
|
id: string;
|
|
16094
16358
|
isScam?: boolean | null;
|
|
16359
|
+
mintable?: string | null;
|
|
16095
16360
|
name?: string | null;
|
|
16096
16361
|
networkId: number;
|
|
16097
16362
|
symbol?: string | null;
|
|
@@ -16385,8 +16650,10 @@ export type TokenQuery = {
|
|
|
16385
16650
|
createdAt?: number | null;
|
|
16386
16651
|
creatorAddress?: string | null;
|
|
16387
16652
|
decimals: number;
|
|
16653
|
+
freezable?: string | null;
|
|
16388
16654
|
id: string;
|
|
16389
16655
|
isScam?: boolean | null;
|
|
16656
|
+
mintable?: string | null;
|
|
16390
16657
|
name?: string | null;
|
|
16391
16658
|
networkId: number;
|
|
16392
16659
|
symbol?: string | null;
|
|
@@ -16509,8 +16776,10 @@ export type TokensQuery = {
|
|
|
16509
16776
|
createdAt?: number | null;
|
|
16510
16777
|
creatorAddress?: string | null;
|
|
16511
16778
|
decimals: number;
|
|
16779
|
+
freezable?: string | null;
|
|
16512
16780
|
id: string;
|
|
16513
16781
|
isScam?: boolean | null;
|
|
16782
|
+
mintable?: string | null;
|
|
16514
16783
|
name?: string | null;
|
|
16515
16784
|
networkId: number;
|
|
16516
16785
|
symbol?: string | null;
|
|
@@ -18442,6 +18711,7 @@ export type OnPairMetadataUpdatedSubscription = {
|
|
|
18442
18711
|
export type OnPriceUpdatedSubscriptionVariables = Exact<{
|
|
18443
18712
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
18444
18713
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
18714
|
+
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
18445
18715
|
}>;
|
|
18446
18716
|
export type OnPriceUpdatedSubscription = {
|
|
18447
18717
|
__typename?: 'Subscription';
|
|
@@ -19890,6 +20160,7 @@ export declare const OnPairMetadataUpdatedDocument: DocumentNode<OnPairMetadataU
|
|
|
19890
20160
|
export declare const OnPriceUpdatedDocument: DocumentNode<OnPriceUpdatedSubscription, Exact<{
|
|
19891
20161
|
address?: InputMaybe<string> | undefined;
|
|
19892
20162
|
networkId?: InputMaybe<number> | undefined;
|
|
20163
|
+
sourcePairAddress?: InputMaybe<string> | undefined;
|
|
19893
20164
|
}>>;
|
|
19894
20165
|
export declare const OnPricesUpdatedDocument: DocumentNode<OnPricesUpdatedSubscription, Exact<{
|
|
19895
20166
|
input: Array<OnPricesUpdatedInput> | OnPricesUpdatedInput;
|