@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
|
@@ -88,6 +88,12 @@ export type AddUnconfirmedEventsOutput = {
|
|
|
88
88
|
quoteToken?: Maybe<QuoteToken>;
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
+
export type AddUserAchievementInput = {
|
|
92
|
+
quantity: Scalars['Int']['input'];
|
|
93
|
+
userId: Scalars['String']['input'];
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
91
97
|
export enum AlertRecurrence {
|
|
92
98
|
Indefinite = 'INDEFINITE',
|
|
93
99
|
Once = 'ONCE'
|
|
@@ -127,6 +133,8 @@ export type BalancesInput = {
|
|
|
127
133
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
128
134
|
/** Optional token specifically request the balance for */
|
|
129
135
|
filterToken?: InputMaybe<Scalars['String']['input']>;
|
|
136
|
+
/** If set to true, native tokens in the response, they will have the id: native:<networkId> */
|
|
137
|
+
includeNative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
130
138
|
/** The ID of the wallet (`walletAddress:networkId`). */
|
|
131
139
|
walletId: Scalars['String']['input'];
|
|
132
140
|
};
|
|
@@ -313,20 +321,32 @@ export type CommunityNotesResponse = {
|
|
|
313
321
|
items: Array<CommunityNote>;
|
|
314
322
|
};
|
|
315
323
|
|
|
324
|
+
/** Comparison operators. */
|
|
316
325
|
export type ComparisonOperator = {
|
|
317
326
|
__typename?: 'ComparisonOperator';
|
|
327
|
+
/** Equal to. */
|
|
318
328
|
eq?: Maybe<Scalars['String']['output']>;
|
|
329
|
+
/** Greater than. */
|
|
319
330
|
gt?: Maybe<Scalars['String']['output']>;
|
|
331
|
+
/** Greater than or equal to. */
|
|
320
332
|
gte?: Maybe<Scalars['String']['output']>;
|
|
333
|
+
/** Less than. */
|
|
321
334
|
lt?: Maybe<Scalars['String']['output']>;
|
|
335
|
+
/** Less than or equal to. */
|
|
322
336
|
lte?: Maybe<Scalars['String']['output']>;
|
|
323
337
|
};
|
|
324
338
|
|
|
339
|
+
/** Input for comparison operators. */
|
|
325
340
|
export type ComparisonOperatorInput = {
|
|
341
|
+
/** Equal to. */
|
|
326
342
|
eq?: InputMaybe<Scalars['String']['input']>;
|
|
343
|
+
/** Greater than. */
|
|
327
344
|
gt?: InputMaybe<Scalars['String']['input']>;
|
|
345
|
+
/** Greater than or equal. */
|
|
328
346
|
gte?: InputMaybe<Scalars['String']['input']>;
|
|
347
|
+
/** Less than. */
|
|
329
348
|
lt?: InputMaybe<Scalars['String']['input']>;
|
|
349
|
+
/** Less than or equal. */
|
|
330
350
|
lte?: InputMaybe<Scalars['String']['input']>;
|
|
331
351
|
};
|
|
332
352
|
|
|
@@ -373,90 +393,156 @@ export type CreateApiTokensInput = {
|
|
|
373
393
|
requestLimit?: InputMaybe<Scalars['String']['input']>;
|
|
374
394
|
};
|
|
375
395
|
|
|
396
|
+
/** Input for creating an NFT event webhook. */
|
|
376
397
|
export type CreateNftEventWebhookArgs = {
|
|
398
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
377
399
|
alertRecurrence: AlertRecurrence;
|
|
400
|
+
/** 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). */
|
|
378
401
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
402
|
+
/** 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). */
|
|
379
403
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
404
|
+
/** The url to which the webhook message should be sent. */
|
|
380
405
|
callbackUrl: Scalars['String']['input'];
|
|
406
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
381
407
|
conditions: NftEventWebhookConditionInput;
|
|
408
|
+
/** 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. */
|
|
382
409
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
410
|
+
/** 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. */
|
|
383
411
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
412
|
+
/** The name of the webhook (max 128 characters). */
|
|
384
413
|
name: Scalars['String']['input'];
|
|
414
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
385
415
|
publishingType?: InputMaybe<PublishingType>;
|
|
416
|
+
/** The settings for retrying failed webhook messages. */
|
|
386
417
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
418
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
387
419
|
securityToken: Scalars['String']['input'];
|
|
388
420
|
};
|
|
389
421
|
|
|
422
|
+
/** Input for creating NFT event webhooks. */
|
|
390
423
|
export type CreateNftEventWebhooksInput = {
|
|
424
|
+
/** A list of NFT event webhooks to create. */
|
|
391
425
|
webhooks: Array<CreateNftEventWebhookArgs>;
|
|
392
426
|
};
|
|
393
427
|
|
|
428
|
+
/** Input for creating a price webhook. */
|
|
394
429
|
export type CreatePriceWebhookArgs = {
|
|
430
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
395
431
|
alertRecurrence: AlertRecurrence;
|
|
432
|
+
/** 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). */
|
|
396
433
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
434
|
+
/** 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). */
|
|
397
435
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
436
|
+
/** The url to which the webhook message should be sent. */
|
|
398
437
|
callbackUrl: Scalars['String']['input'];
|
|
438
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
399
439
|
conditions: PriceEventWebhookConditionInput;
|
|
440
|
+
/** 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. */
|
|
400
441
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
442
|
+
/** 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. */
|
|
401
443
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
444
|
+
/** The name of the webhook (max 128 characters). */
|
|
402
445
|
name: Scalars['String']['input'];
|
|
446
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
403
447
|
publishingType?: InputMaybe<PublishingType>;
|
|
448
|
+
/** The settings for retrying failed webhook messages. */
|
|
404
449
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
450
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
405
451
|
securityToken: Scalars['String']['input'];
|
|
406
452
|
};
|
|
407
453
|
|
|
454
|
+
/** Input for creating price webhooks. */
|
|
408
455
|
export type CreatePriceWebhooksInput = {
|
|
456
|
+
/** A list of price webhooks to create. */
|
|
409
457
|
webhooks: Array<CreatePriceWebhookArgs>;
|
|
410
458
|
};
|
|
411
459
|
|
|
460
|
+
/** Input for creating a Raw Transaction webhook. */
|
|
412
461
|
export type CreateRawTransactionWebhookArgs = {
|
|
462
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
413
463
|
alertRecurrence: AlertRecurrence;
|
|
464
|
+
/** 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). */
|
|
414
465
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
466
|
+
/** 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). */
|
|
415
467
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
468
|
+
/** The url to which the webhook message should be sent. */
|
|
416
469
|
callbackUrl: Scalars['String']['input'];
|
|
470
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
417
471
|
conditions: RawTransactionWebhookConditionInput;
|
|
472
|
+
/** If enabled, new webhooks won't be created if a webhook with the same parameters already exists. If callbackUrl, conditions, publishingType, and alertRecurrence all match, then we return the existing webhook. */
|
|
418
473
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
474
|
+
/** 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. */
|
|
419
475
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
476
|
+
/** The name of the webhook (max 128 characters). */
|
|
420
477
|
name: Scalars['String']['input'];
|
|
478
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
421
479
|
publishingType?: InputMaybe<PublishingType>;
|
|
480
|
+
/** The settings for retrying failed webhook messages. */
|
|
422
481
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
482
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
423
483
|
securityToken: Scalars['String']['input'];
|
|
424
484
|
};
|
|
425
485
|
|
|
486
|
+
/** Input for creating Raw Transaction webhooks. */
|
|
426
487
|
export type CreateRawTransactionWebhooksInput = {
|
|
488
|
+
/** A list of Raw Transaction webhooks to create. */
|
|
427
489
|
webhooks: Array<CreateRawTransactionWebhookArgs>;
|
|
428
490
|
};
|
|
429
491
|
|
|
492
|
+
/** Input for creating a token pair event webhook. */
|
|
430
493
|
export type CreateTokenPairEventWebhookArgs = {
|
|
494
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
431
495
|
alertRecurrence: AlertRecurrence;
|
|
496
|
+
/** 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). */
|
|
432
497
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
498
|
+
/** 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). */
|
|
433
499
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
500
|
+
/** The url to which the webhook message should be sent. */
|
|
434
501
|
callbackUrl: Scalars['String']['input'];
|
|
502
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
435
503
|
conditions: TokenPairEventWebhookConditionInput;
|
|
504
|
+
/** 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. */
|
|
436
505
|
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
506
|
+
/** 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. */
|
|
437
507
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
508
|
+
/** The name of the webhook (max 128 characters). */
|
|
438
509
|
name: Scalars['String']['input'];
|
|
510
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
439
511
|
publishingType?: InputMaybe<PublishingType>;
|
|
512
|
+
/** The settings for retrying failed webhook messages. */
|
|
440
513
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
514
|
+
/** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
|
|
441
515
|
securityToken: Scalars['String']['input'];
|
|
442
516
|
};
|
|
443
517
|
|
|
518
|
+
/** Input for creating token pair event webhooks. */
|
|
444
519
|
export type CreateTokenPairEventWebhooksInput = {
|
|
520
|
+
/** A list of token pair event webhooks to create. */
|
|
445
521
|
webhooks: Array<CreateTokenPairEventWebhookArgs>;
|
|
446
522
|
};
|
|
447
523
|
|
|
524
|
+
/** Input for creating webhooks. */
|
|
448
525
|
export type CreateWebhooksInput = {
|
|
526
|
+
/** Input for creating NFT event webhooks. */
|
|
449
527
|
nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
|
|
528
|
+
/** Input for creating price webhooks. */
|
|
450
529
|
priceWebhooksInput?: InputMaybe<CreatePriceWebhooksInput>;
|
|
530
|
+
/** Input for creating raw transaction webhooks. */
|
|
451
531
|
rawTransactionWebhooksInput?: InputMaybe<CreateRawTransactionWebhooksInput>;
|
|
532
|
+
/** Input for creating token pair event webhooks. */
|
|
452
533
|
tokenPairEventWebhooksInput?: InputMaybe<CreateTokenPairEventWebhooksInput>;
|
|
453
534
|
};
|
|
454
535
|
|
|
536
|
+
/** Result returned by `createWebhooks`. */
|
|
455
537
|
export type CreateWebhooksOutput = {
|
|
456
538
|
__typename?: 'CreateWebhooksOutput';
|
|
539
|
+
/** The list of NFT event webhooks that were created. */
|
|
457
540
|
nftEventWebhooks: Array<Maybe<Webhook>>;
|
|
541
|
+
/** The list of price webhooks that were created. */
|
|
458
542
|
priceWebhooks: Array<Maybe<Webhook>>;
|
|
543
|
+
/** The list of raw transaction webhooks that were created. */
|
|
459
544
|
rawTransactionWebhooks: Array<Maybe<Webhook>>;
|
|
545
|
+
/** The list of token pair event webhooks that were created. */
|
|
460
546
|
tokenPairEventWebhooks: Array<Maybe<Webhook>>;
|
|
461
547
|
};
|
|
462
548
|
|
|
@@ -477,12 +563,16 @@ export type CurrencyBarData = {
|
|
|
477
563
|
usd: IndividualBarData;
|
|
478
564
|
};
|
|
479
565
|
|
|
566
|
+
/** Input for deleting webhooks. */
|
|
480
567
|
export type DeleteWebhooksInput = {
|
|
568
|
+
/** A list of webhook IDs to delete. */
|
|
481
569
|
webhookIds: Array<Scalars['String']['input']>;
|
|
482
570
|
};
|
|
483
571
|
|
|
572
|
+
/** Result returned by `deleteWebhooks`. */
|
|
484
573
|
export type DeleteWebhooksOutput = {
|
|
485
574
|
__typename?: 'DeleteWebhooksOutput';
|
|
575
|
+
/** The list of webhook IDs that were deleted. */
|
|
486
576
|
deletedIds?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
487
577
|
};
|
|
488
578
|
|
|
@@ -765,6 +855,8 @@ export type EnhancedToken = {
|
|
|
765
855
|
* @deprecated Use the TokenInfo type
|
|
766
856
|
*/
|
|
767
857
|
explorerData?: Maybe<ExplorerTokenData>;
|
|
858
|
+
/** Whether or not the token is freezable */
|
|
859
|
+
freezable?: Maybe<Scalars['String']['output']>;
|
|
768
860
|
/** The ID of the token (`address:networkId`). */
|
|
769
861
|
id: Scalars['String']['output'];
|
|
770
862
|
/**
|
|
@@ -786,6 +878,8 @@ export type EnhancedToken = {
|
|
|
786
878
|
info?: Maybe<TokenInfo>;
|
|
787
879
|
/** Whether the token has been flagged as a scam. */
|
|
788
880
|
isScam?: Maybe<Scalars['Boolean']['output']>;
|
|
881
|
+
/** Whether or not the token is mintable */
|
|
882
|
+
mintable?: Maybe<Scalars['String']['output']>;
|
|
789
883
|
/** The token name. For example, `ApeCoin`. */
|
|
790
884
|
name?: Maybe<Scalars['String']['output']>;
|
|
791
885
|
/** The network ID the token is deployed on. */
|
|
@@ -1296,9 +1390,12 @@ export type GetTokensInfoInput = {
|
|
|
1296
1390
|
networkId: Scalars['Int']['input'];
|
|
1297
1391
|
};
|
|
1298
1392
|
|
|
1393
|
+
/** Response returned by `getWebhooks`. */
|
|
1299
1394
|
export type GetWebhooksResponse = {
|
|
1300
1395
|
__typename?: 'GetWebhooksResponse';
|
|
1396
|
+
/** A cursor for use in pagination. */
|
|
1301
1397
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
1398
|
+
/** A list of webhooks belonging to a user. */
|
|
1302
1399
|
items?: Maybe<Array<Maybe<Webhook>>>;
|
|
1303
1400
|
};
|
|
1304
1401
|
|
|
@@ -1385,12 +1482,16 @@ export type IndividualBarData = {
|
|
|
1385
1482
|
volumeNativeToken: Scalars['String']['output'];
|
|
1386
1483
|
};
|
|
1387
1484
|
|
|
1485
|
+
/** Integer equals condition. */
|
|
1388
1486
|
export type IntEqualsCondition = {
|
|
1389
1487
|
__typename?: 'IntEqualsCondition';
|
|
1488
|
+
/** The integer to equal. */
|
|
1390
1489
|
eq: Scalars['Int']['output'];
|
|
1391
1490
|
};
|
|
1392
1491
|
|
|
1492
|
+
/** Input for integer equals condition. */
|
|
1393
1493
|
export type IntEqualsConditionInput = {
|
|
1494
|
+
/** The integer to equal. */
|
|
1394
1495
|
eq: Scalars['Int']['input'];
|
|
1395
1496
|
};
|
|
1396
1497
|
|
|
@@ -1737,9 +1838,11 @@ export type Mutation = {
|
|
|
1737
1838
|
__typename?: 'Mutation';
|
|
1738
1839
|
/** Create a new set of short-lived api access tokens */
|
|
1739
1840
|
createApiTokens: Array<ApiToken>;
|
|
1841
|
+
/** Create price, raw transaction, token/pair event, and NFT event webhooks. */
|
|
1740
1842
|
createWebhooks: CreateWebhooksOutput;
|
|
1741
1843
|
/** Delete a single short-lived api access token by id */
|
|
1742
1844
|
deleteApiToken: Scalars['String']['output'];
|
|
1845
|
+
/** Delete multiple webhooks. */
|
|
1743
1846
|
deleteWebhooks?: Maybe<DeleteWebhooksOutput>;
|
|
1744
1847
|
};
|
|
1745
1848
|
|
|
@@ -2890,12 +2993,16 @@ export type NftEvent = {
|
|
|
2890
2993
|
transactionIndex: Scalars['Int']['output'];
|
|
2891
2994
|
};
|
|
2892
2995
|
|
|
2996
|
+
/** NFT marketplaces for a webhook to listen on. */
|
|
2893
2997
|
export type NftEventFillSourceCondition = {
|
|
2894
2998
|
__typename?: 'NftEventFillSourceCondition';
|
|
2999
|
+
/** The list of NFT marketplaces. */
|
|
2895
3000
|
oneOf: Array<WebhookNftEventFillSource>;
|
|
2896
3001
|
};
|
|
2897
3002
|
|
|
3003
|
+
/** Input for NFT event fill source condition. */
|
|
2898
3004
|
export type NftEventFillSourceConditionInput = {
|
|
3005
|
+
/** The list of NFT marketplace to equal. */
|
|
2899
3006
|
oneOf: Array<WebhookNftEventFillSource>;
|
|
2900
3007
|
};
|
|
2901
3008
|
|
|
@@ -2971,37 +3078,61 @@ export enum NftEventTradeItemType {
|
|
|
2971
3078
|
Token = 'TOKEN'
|
|
2972
3079
|
}
|
|
2973
3080
|
|
|
3081
|
+
/** An NFT event type for a webhook to listen for. */
|
|
2974
3082
|
export type NftEventTypeCondition = {
|
|
2975
3083
|
__typename?: 'NftEventTypeCondition';
|
|
3084
|
+
/** The NFT event type. */
|
|
2976
3085
|
eq: WebhookNftEventType;
|
|
2977
3086
|
};
|
|
2978
3087
|
|
|
3088
|
+
/** Input for NFT event type. */
|
|
2979
3089
|
export type NftEventTypeConditionInput = {
|
|
3090
|
+
/** The NFT event type to equal. */
|
|
2980
3091
|
eq: WebhookNftEventType;
|
|
2981
3092
|
};
|
|
2982
3093
|
|
|
3094
|
+
/** Webhook conditions for an NFT event. */
|
|
2983
3095
|
export type NftEventWebhookCondition = {
|
|
2984
3096
|
__typename?: 'NftEventWebhookCondition';
|
|
3097
|
+
/** The NFT collection contract address the webhook is listening for. */
|
|
2985
3098
|
contractAddress?: Maybe<StringEqualsCondition>;
|
|
3099
|
+
/** The NFT event type the webhook is listening for. */
|
|
2986
3100
|
eventType?: Maybe<NftEventTypeCondition>;
|
|
3101
|
+
/** The exchange contract address the webhook is listening for. */
|
|
2987
3102
|
exchangeAddress?: Maybe<StringEqualsCondition>;
|
|
3103
|
+
/** The NFT marketplaces the webhook is listening on. */
|
|
2988
3104
|
fillSource?: Maybe<NftEventFillSourceCondition>;
|
|
3105
|
+
/** Option to ignore all nft transfer events */
|
|
2989
3106
|
ignoreTransfers?: Maybe<Scalars['Boolean']['output']>;
|
|
3107
|
+
/** The base token price the webhook is listening for. */
|
|
2990
3108
|
individualBaseTokenPrice?: Maybe<ComparisonOperator>;
|
|
3109
|
+
/** The maker wallet address the webhook is listening for. */
|
|
2991
3110
|
maker?: Maybe<StringEqualsCondition>;
|
|
3111
|
+
/** The list of network IDs the webhook is listening on. */
|
|
2992
3112
|
networkId?: Maybe<OneOfNumberCondition>;
|
|
3113
|
+
/** The token contract address the webhook is listening for. */
|
|
2993
3114
|
tokenAddress?: Maybe<StringEqualsCondition>;
|
|
3115
|
+
/** The token ID the webhook is listening for. */
|
|
2994
3116
|
tokenId?: Maybe<StringEqualsCondition>;
|
|
2995
3117
|
};
|
|
2996
3118
|
|
|
3119
|
+
/** Input conditions for an NFT event webhook. */
|
|
2997
3120
|
export type NftEventWebhookConditionInput = {
|
|
3121
|
+
/** The NFT collection contract address to listen for. */
|
|
2998
3122
|
contractAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
3123
|
+
/** The NFT event type to listen for. */
|
|
2999
3124
|
eventType?: InputMaybe<NftEventTypeConditionInput>;
|
|
3125
|
+
/** The exchange contract address to listen for. */
|
|
3000
3126
|
exchangeAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
3127
|
+
/** The NFT marketplaces to listen for. */
|
|
3001
3128
|
fillSource?: InputMaybe<NftEventFillSourceConditionInput>;
|
|
3129
|
+
/** Option to ignore all nft transfer events */
|
|
3002
3130
|
ignoreTransfers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3131
|
+
/** The maker wallet address to listen for. */
|
|
3003
3132
|
maker?: InputMaybe<StringEqualsConditionInput>;
|
|
3133
|
+
/** A list of network IDs to listen on. */
|
|
3004
3134
|
networkId?: InputMaybe<OneOfNumberConditionInput>;
|
|
3135
|
+
/** The token ID to listen for. */
|
|
3005
3136
|
tokenId?: InputMaybe<StringEqualsConditionInput>;
|
|
3006
3137
|
};
|
|
3007
3138
|
|
|
@@ -4368,6 +4499,7 @@ export type OnBarsUpdatedResponse = {
|
|
|
4368
4499
|
export type OnPricesUpdatedInput = {
|
|
4369
4500
|
address: Scalars['String']['input'];
|
|
4370
4501
|
networkId: Scalars['Int']['input'];
|
|
4502
|
+
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
4371
4503
|
};
|
|
4372
4504
|
|
|
4373
4505
|
/** Response returned by `onBarsUpdated`. */
|
|
@@ -4427,12 +4559,16 @@ export type OnUnconfirmedBarsUpdated = {
|
|
|
4427
4559
|
timestamp: Scalars['Int']['output'];
|
|
4428
4560
|
};
|
|
4429
4561
|
|
|
4562
|
+
/** Integer list condition. */
|
|
4430
4563
|
export type OneOfNumberCondition = {
|
|
4431
4564
|
__typename?: 'OneOfNumberCondition';
|
|
4565
|
+
/** The list of integers. */
|
|
4432
4566
|
oneOf: Array<Scalars['Int']['output']>;
|
|
4433
4567
|
};
|
|
4434
4568
|
|
|
4569
|
+
/** Input for integer list condition. */
|
|
4435
4570
|
export type OneOfNumberConditionInput = {
|
|
4571
|
+
/** The list of integers. */
|
|
4436
4572
|
oneOf: Array<Scalars['Int']['input']>;
|
|
4437
4573
|
};
|
|
4438
4574
|
|
|
@@ -5236,16 +5372,28 @@ export type Price = {
|
|
|
5236
5372
|
timestamp: Scalars['Int']['output'];
|
|
5237
5373
|
};
|
|
5238
5374
|
|
|
5375
|
+
/** Webhook conditions for a price event. */
|
|
5239
5376
|
export type PriceEventWebhookCondition = {
|
|
5240
5377
|
__typename?: 'PriceEventWebhookCondition';
|
|
5378
|
+
/** The network ID the webhook is listening on. */
|
|
5241
5379
|
networkId: IntEqualsCondition;
|
|
5380
|
+
/** The pair contract address the webhook is listening for. */
|
|
5381
|
+
pairAddress?: Maybe<StringEqualsCondition>;
|
|
5382
|
+
/** The price condition that must be met in order for the webhook to send. */
|
|
5242
5383
|
priceUsd: ComparisonOperator;
|
|
5384
|
+
/** The token contract address the webhook is listening for. */
|
|
5243
5385
|
tokenAddress: StringEqualsCondition;
|
|
5244
5386
|
};
|
|
5245
5387
|
|
|
5388
|
+
/** Input conditions for a price event webhook. */
|
|
5246
5389
|
export type PriceEventWebhookConditionInput = {
|
|
5390
|
+
/** The network ID to listen on. */
|
|
5247
5391
|
networkId: IntEqualsConditionInput;
|
|
5392
|
+
/** The contract address of the pair to listen for. */
|
|
5393
|
+
pairAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
5394
|
+
/** The price conditions to listen for. */
|
|
5248
5395
|
priceUsd: ComparisonOperatorInput;
|
|
5396
|
+
/** The contract address of the token to listen for. */
|
|
5249
5397
|
tokenAddress: StringEqualsConditionInput;
|
|
5250
5398
|
};
|
|
5251
5399
|
|
|
@@ -5847,6 +5995,7 @@ export type Query = {
|
|
|
5847
5995
|
getTokensInfo?: Maybe<Array<Maybe<TokenInfo>>>;
|
|
5848
5996
|
/** Returns tick data for a given Uniswap V3-style pool. */
|
|
5849
5997
|
getUniV3Ticks?: Maybe<UniV3TickConnection>;
|
|
5998
|
+
/** Returns a user's list of webhooks. */
|
|
5850
5999
|
getWebhooks?: Maybe<GetWebhooksResponse>;
|
|
5851
6000
|
/** Returns list of wallets that hold a given token, ordered by holdings descending. Also has the unique count of holders for that token */
|
|
5852
6001
|
holders: HoldersResponse;
|
|
@@ -6454,24 +6603,40 @@ export type RawNftAssetData = {
|
|
|
6454
6603
|
imageUrl?: Maybe<Scalars['String']['output']>;
|
|
6455
6604
|
};
|
|
6456
6605
|
|
|
6606
|
+
/** Webhook conditions for a raw transaction. */
|
|
6457
6607
|
export type RawTransactionWebhookCondition = {
|
|
6458
6608
|
__typename?: 'RawTransactionWebhookCondition';
|
|
6609
|
+
/** The from address to listen for. */
|
|
6459
6610
|
from?: Maybe<StringEqualsCondition>;
|
|
6611
|
+
/** Do not trigger the webhook if the raw transaction is handled by the NftEvent webhook. */
|
|
6460
6612
|
ignoreNftEvents?: Maybe<Scalars['Boolean']['output']>;
|
|
6613
|
+
/** Do not trigger the webhook if the raw transaction is handled by the TokenPairEvent webhook. */
|
|
6461
6614
|
ignoreTokenPairEvents?: Maybe<Scalars['Boolean']['output']>;
|
|
6615
|
+
/** Trigger the webhook if the contains or doesn't contain the specified string. */
|
|
6462
6616
|
input?: Maybe<StringContainsCondition>;
|
|
6617
|
+
/** A list of network IDs to listen on. */
|
|
6463
6618
|
networkId?: Maybe<OneOfNumberCondition>;
|
|
6619
|
+
/** The to address to listen for. */
|
|
6464
6620
|
to?: Maybe<StringEqualsCondition>;
|
|
6621
|
+
/** Trigger the webhook if either the to or the from address matches. */
|
|
6465
6622
|
toOrFrom?: Maybe<StringEqualsCondition>;
|
|
6466
6623
|
};
|
|
6467
6624
|
|
|
6625
|
+
/** Input conditions for a Raw Transaction webhook. */
|
|
6468
6626
|
export type RawTransactionWebhookConditionInput = {
|
|
6627
|
+
/** The from address to listen for. */
|
|
6469
6628
|
from?: InputMaybe<StringEqualsConditionInput>;
|
|
6629
|
+
/** Do not trigger the webhook if the raw transaction is handled by the NftEvent webhook. */
|
|
6470
6630
|
ignoreNftEvents?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6631
|
+
/** Do not trigger the webhook if the raw transaction is handled by the TokenPairEvent webhook. */
|
|
6471
6632
|
ignoreTokenPairEvents?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6633
|
+
/** Trigger the webhook if the input contains or doesn't contain the specified string. */
|
|
6472
6634
|
input?: InputMaybe<StringContainsConditionInput>;
|
|
6635
|
+
/** A list of network IDs to listen on. */
|
|
6473
6636
|
networkId?: InputMaybe<OneOfNumberConditionInput>;
|
|
6637
|
+
/** The to address to listen for. */
|
|
6474
6638
|
to?: InputMaybe<StringEqualsConditionInput>;
|
|
6639
|
+
/** Trigger the webhook if either the to or the from address matches. */
|
|
6475
6640
|
toOrFrom?: InputMaybe<StringEqualsConditionInput>;
|
|
6476
6641
|
};
|
|
6477
6642
|
|
|
@@ -6503,6 +6668,10 @@ export type ReferralsPayoutData = {
|
|
|
6503
6668
|
tokenAmountPaid: Scalars['String']['output'];
|
|
6504
6669
|
};
|
|
6505
6670
|
|
|
6671
|
+
export type RemoveUserAchievementInput = {
|
|
6672
|
+
userId: Scalars['String']['input'];
|
|
6673
|
+
};
|
|
6674
|
+
|
|
6506
6675
|
/** Price data for each supported resolution. */
|
|
6507
6676
|
export type ResolutionBarData = {
|
|
6508
6677
|
__typename?: 'ResolutionBarData';
|
|
@@ -6534,18 +6703,28 @@ export type ResolutionBarData = {
|
|
|
6534
6703
|
r720?: Maybe<CurrencyBarData>;
|
|
6535
6704
|
};
|
|
6536
6705
|
|
|
6706
|
+
/** Config for retrying failed webhook messages */
|
|
6537
6707
|
export type RetrySettings = {
|
|
6538
6708
|
__typename?: 'RetrySettings';
|
|
6709
|
+
/** The maximum number of times the webhook will retry sending a message */
|
|
6539
6710
|
maxRetries?: Maybe<Scalars['Int']['output']>;
|
|
6711
|
+
/** The maximum time in seconds that the webhook will wait before retrying a failed message */
|
|
6540
6712
|
maxRetryDelay?: Maybe<Scalars['Int']['output']>;
|
|
6713
|
+
/** The maximum time in seconds that the webhook will retry sending a message */
|
|
6541
6714
|
maxTimeElapsed?: Maybe<Scalars['Int']['output']>;
|
|
6715
|
+
/** The minimum time in seconds that the webhook will wait before retrying a failed message */
|
|
6542
6716
|
minRetryDelay?: Maybe<Scalars['Int']['output']>;
|
|
6543
6717
|
};
|
|
6544
6718
|
|
|
6719
|
+
/** Config input for retrying failed webhook messages */
|
|
6545
6720
|
export type RetrySettingsInput = {
|
|
6721
|
+
/** The maximum number of times the webhook will retry sending a message */
|
|
6546
6722
|
maxRetries?: InputMaybe<Scalars['Int']['input']>;
|
|
6723
|
+
/** The maximum time in seconds that the webhook will wait before retrying a failed message */
|
|
6547
6724
|
maxRetryDelay?: InputMaybe<Scalars['Int']['input']>;
|
|
6725
|
+
/** The maximum time in seconds that the webhook will retry sending a message */
|
|
6548
6726
|
maxTimeElapsed?: InputMaybe<Scalars['Int']['input']>;
|
|
6727
|
+
/** The minimum time in seconds that the webhook will wait before retrying a failed message */
|
|
6549
6728
|
minRetryDelay?: InputMaybe<Scalars['Int']['input']>;
|
|
6550
6729
|
};
|
|
6551
6730
|
|
|
@@ -6850,23 +7029,33 @@ export type StatsFilter = {
|
|
|
6850
7029
|
previous?: InputMaybe<NumberFilter>;
|
|
6851
7030
|
};
|
|
6852
7031
|
|
|
7032
|
+
/** String contains condition. */
|
|
6853
7033
|
export type StringContainsCondition = {
|
|
6854
7034
|
__typename?: 'StringContainsCondition';
|
|
7035
|
+
/** A list of substrings included within the string. */
|
|
6855
7036
|
contains?: Maybe<Array<Scalars['String']['output']>>;
|
|
7037
|
+
/** A list of substrings not included within the string. */
|
|
6856
7038
|
notContains?: Maybe<Array<Scalars['String']['output']>>;
|
|
6857
7039
|
};
|
|
6858
7040
|
|
|
7041
|
+
/** Input for string contains condition. */
|
|
6859
7042
|
export type StringContainsConditionInput = {
|
|
7043
|
+
/** A list of substrings to be included within the string. */
|
|
6860
7044
|
contains?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
7045
|
+
/** A list of substrings not to be included within the string. */
|
|
6861
7046
|
notContains?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
6862
7047
|
};
|
|
6863
7048
|
|
|
7049
|
+
/** String equals condition. */
|
|
6864
7050
|
export type StringEqualsCondition = {
|
|
6865
7051
|
__typename?: 'StringEqualsCondition';
|
|
7052
|
+
/** The string to equal. */
|
|
6866
7053
|
eq: Scalars['String']['output'];
|
|
6867
7054
|
};
|
|
6868
7055
|
|
|
7056
|
+
/** Input for string equals condition. */
|
|
6869
7057
|
export type StringEqualsConditionInput = {
|
|
7058
|
+
/** The string to equal. */
|
|
6870
7059
|
eq: Scalars['String']['input'];
|
|
6871
7060
|
};
|
|
6872
7061
|
|
|
@@ -6991,6 +7180,7 @@ export type SubscriptionOnPairMetadataUpdatedArgs = {
|
|
|
6991
7180
|
export type SubscriptionOnPriceUpdatedArgs = {
|
|
6992
7181
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6993
7182
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
7183
|
+
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6994
7184
|
};
|
|
6995
7185
|
|
|
6996
7186
|
|
|
@@ -7380,6 +7570,8 @@ export type TokenFilters = {
|
|
|
7380
7570
|
change24?: InputMaybe<NumberFilter>;
|
|
7381
7571
|
/** The unix timestamp for the creation of the token's first pair. */
|
|
7382
7572
|
createdAt?: InputMaybe<NumberFilter>;
|
|
7573
|
+
/** The address of the creator of the token */
|
|
7574
|
+
creatorAddress?: InputMaybe<Scalars['String']['input']>;
|
|
7383
7575
|
/** The list of exchange contract addresses to filter by. */
|
|
7384
7576
|
exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7385
7577
|
/** 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. */
|
|
@@ -7591,6 +7783,7 @@ export enum TokenOfInterest {
|
|
|
7591
7783
|
Token1 = 'token1'
|
|
7592
7784
|
}
|
|
7593
7785
|
|
|
7786
|
+
/** Token pair event types. */
|
|
7594
7787
|
export enum TokenPairEventType {
|
|
7595
7788
|
Burn = 'BURN',
|
|
7596
7789
|
Buy = 'BUY',
|
|
@@ -7602,33 +7795,53 @@ export enum TokenPairEventType {
|
|
|
7602
7795
|
Sync = 'SYNC'
|
|
7603
7796
|
}
|
|
7604
7797
|
|
|
7798
|
+
/** Webhook condition for token pair event type. */
|
|
7605
7799
|
export type TokenPairEventTypeCondition = {
|
|
7606
7800
|
__typename?: 'TokenPairEventTypeCondition';
|
|
7801
|
+
/** The list of token pair event types. */
|
|
7607
7802
|
oneOf: Array<TokenPairEventType>;
|
|
7608
7803
|
};
|
|
7609
7804
|
|
|
7805
|
+
/** Input for token pair event type condition. */
|
|
7610
7806
|
export type TokenPairEventTypeConditionInput = {
|
|
7807
|
+
/** The list of token event types to equal. */
|
|
7611
7808
|
oneOf: Array<TokenPairEventType>;
|
|
7612
7809
|
};
|
|
7613
7810
|
|
|
7811
|
+
/** Webhook conditions for a token pair event. */
|
|
7614
7812
|
export type TokenPairEventWebhookCondition = {
|
|
7615
7813
|
__typename?: 'TokenPairEventWebhookCondition';
|
|
7814
|
+
/** The event type the webhook is listening for. */
|
|
7616
7815
|
eventType?: Maybe<TokenPairEventTypeCondition>;
|
|
7816
|
+
/** The exchange contract address the webhook is listening for. */
|
|
7617
7817
|
exchangeAddress?: Maybe<StringEqualsCondition>;
|
|
7818
|
+
/** The maker wallet address the webhook is listening for. */
|
|
7618
7819
|
maker?: Maybe<StringEqualsCondition>;
|
|
7820
|
+
/** The list of network IDs the webhook is listening on. */
|
|
7619
7821
|
networkId?: Maybe<OneOfNumberCondition>;
|
|
7822
|
+
/** The pair contract address the webhook is listening for. */
|
|
7620
7823
|
pairAddress?: Maybe<StringEqualsCondition>;
|
|
7824
|
+
/** The swap values the webhook is listening for. */
|
|
7621
7825
|
swapValue?: Maybe<ComparisonOperator>;
|
|
7826
|
+
/** The token contract address the webhook is listening for. */
|
|
7622
7827
|
tokenAddress?: Maybe<StringEqualsCondition>;
|
|
7623
7828
|
};
|
|
7624
7829
|
|
|
7830
|
+
/** Input conditions for a token pair event webhook. */
|
|
7625
7831
|
export type TokenPairEventWebhookConditionInput = {
|
|
7832
|
+
/** The token event type to listen for. */
|
|
7626
7833
|
eventType?: InputMaybe<TokenPairEventTypeConditionInput>;
|
|
7834
|
+
/** The exchange contract address to listen for. */
|
|
7627
7835
|
exchangeAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
7836
|
+
/** The maker wallet address to listen for. */
|
|
7628
7837
|
maker?: InputMaybe<StringEqualsConditionInput>;
|
|
7838
|
+
/** A list of network IDs to listen on. */
|
|
7629
7839
|
networkId?: InputMaybe<OneOfNumberConditionInput>;
|
|
7840
|
+
/** The pair contract address to listen for. */
|
|
7630
7841
|
pairAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
7842
|
+
/** The swap values to listen for. */
|
|
7631
7843
|
swapValue?: InputMaybe<ComparisonOperatorInput>;
|
|
7844
|
+
/** The token contract address to listen for. */
|
|
7632
7845
|
tokenAddress?: InputMaybe<StringEqualsConditionInput>;
|
|
7633
7846
|
};
|
|
7634
7847
|
|
|
@@ -7997,25 +8210,41 @@ export type WashtradeLabelForEvent = {
|
|
|
7997
8210
|
label: Scalars['String']['output'];
|
|
7998
8211
|
};
|
|
7999
8212
|
|
|
8213
|
+
/** Metadata for a webhook. */
|
|
8000
8214
|
export type Webhook = {
|
|
8001
8215
|
__typename?: 'Webhook';
|
|
8216
|
+
/** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
|
|
8002
8217
|
alertRecurrence: AlertRecurrence;
|
|
8218
|
+
/** 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). */
|
|
8003
8219
|
bucketId?: Maybe<Scalars['String']['output']>;
|
|
8220
|
+
/** 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). */
|
|
8004
8221
|
bucketSortkey?: Maybe<Scalars['String']['output']>;
|
|
8222
|
+
/** The url to which the webhook message should be sent. */
|
|
8005
8223
|
callbackUrl: Scalars['String']['output'];
|
|
8224
|
+
/** The conditions which must be met in order for the webhook to send a message. */
|
|
8006
8225
|
conditions: WebhookCondition;
|
|
8226
|
+
/** The unix timestamp for the time the webhook was created. */
|
|
8007
8227
|
created: Scalars['Int']['output'];
|
|
8228
|
+
/** The webhook group ID used to group webhooks together for ordered message sending. */
|
|
8008
8229
|
groupId?: Maybe<Scalars['String']['output']>;
|
|
8230
|
+
/** The ID of the webhook. */
|
|
8009
8231
|
id: Scalars['String']['output'];
|
|
8232
|
+
/** The given name of the webhook. */
|
|
8010
8233
|
name: Scalars['String']['output'];
|
|
8234
|
+
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
8011
8235
|
publishingType?: Maybe<PublishingType>;
|
|
8236
|
+
/** The settings for retrying failed webhook messages. */
|
|
8012
8237
|
retrySettings?: Maybe<RetrySettings>;
|
|
8238
|
+
/** The status of the webhook. Can be `ACTIVE` or `INACTIVE`. */
|
|
8013
8239
|
status: Scalars['String']['output'];
|
|
8240
|
+
/** The type of webhook. Can be `PRICE_EVENT`, `NFT_EVENT`, or `TOKEN_PAIR_EVENT`. */
|
|
8014
8241
|
webhookType: WebhookType;
|
|
8015
8242
|
};
|
|
8016
8243
|
|
|
8244
|
+
/** Webhook conditions that must be met for each webhook type. */
|
|
8017
8245
|
export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
|
|
8018
8246
|
|
|
8247
|
+
/** NFT marketplace names. */
|
|
8019
8248
|
export enum WebhookNftEventFillSource {
|
|
8020
8249
|
Blur = 'BLUR',
|
|
8021
8250
|
Coinbase = 'COINBASE',
|
|
@@ -8034,12 +8263,14 @@ export enum WebhookNftEventFillSource {
|
|
|
8034
8263
|
Soundxyz = 'SOUNDXYZ'
|
|
8035
8264
|
}
|
|
8036
8265
|
|
|
8266
|
+
/** NFT event types. */
|
|
8037
8267
|
export enum WebhookNftEventType {
|
|
8038
8268
|
Mint = 'MINT',
|
|
8039
8269
|
Sale = 'SALE',
|
|
8040
8270
|
Transfer = 'TRANSFER'
|
|
8041
8271
|
}
|
|
8042
8272
|
|
|
8273
|
+
/** The type of webhook. */
|
|
8043
8274
|
export enum WebhookType {
|
|
8044
8275
|
NftEvent = 'NFT_EVENT',
|
|
8045
8276
|
PriceEvent = 'PRICE_EVENT',
|