@codex-data/sdk 1.0.0-rc2 → 1.0.0-rc3

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.
Files changed (85) hide show
  1. package/dist/resources/generated_mutations/CreateWebhooks.graphql +392 -0
  2. package/dist/resources/generated_queries/FilterPairs.graphql +4 -0
  3. package/dist/resources/generated_queries/FilterTokens.graphql +4 -0
  4. package/dist/resources/generated_queries/GetCommunityNotes.graphql +100 -0
  5. package/dist/resources/generated_queries/GetEventLabels.graphql +11 -0
  6. package/dist/resources/generated_queries/GetNftEvents.graphql +46 -0
  7. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +375 -0
  8. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +118 -0
  9. package/dist/resources/generated_queries/GetTokenEvents.graphql +49 -0
  10. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +49 -0
  11. package/dist/resources/generated_queries/GetWebhooks.graphql +98 -0
  12. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +12 -0
  13. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +42 -0
  14. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  15. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +49 -0
  16. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +46 -0
  17. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +375 -0
  18. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +551 -0
  19. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +49 -0
  20. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +12 -0
  21. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +17 -0
  22. package/dist/resources/graphql.d.ts +94 -12
  23. package/dist/resources/graphql.d.ts.map +1 -1
  24. package/dist/resources/graphql.js +8 -0
  25. package/dist/resources/graphql.js.map +1 -1
  26. package/dist/resources/graphql.schema.json +606 -117
  27. package/dist/resources/graphql.ts +97 -13
  28. package/dist/resources/mutations_override/CreateWebhooks.graphql +472 -0
  29. package/dist/resources/queries_override/GetEventLabels.graphql +35 -0
  30. package/dist/resources/queries_override/GetWebhooks.graphql +134 -0
  31. package/dist/resources/schema.graphql +137 -13
  32. package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +22 -0
  33. package/dist/scripts/generateGraphql.d.ts +1 -0
  34. package/dist/scripts/generateGraphql.d.ts.map +1 -1
  35. package/dist/scripts/generateGraphql.js +48 -12
  36. package/dist/scripts/generateGraphql.js.map +1 -1
  37. package/dist/sdk/Subscribe.d.ts +2 -1
  38. package/dist/sdk/Subscribe.d.ts.map +1 -1
  39. package/dist/sdk/Subscribe.js +35 -10
  40. package/dist/sdk/Subscribe.js.map +1 -1
  41. package/dist/sdk/generated/gql.d.ts +48 -40
  42. package/dist/sdk/generated/gql.d.ts.map +1 -1
  43. package/dist/sdk/generated/gql.js +21 -20
  44. package/dist/sdk/generated/gql.js.map +1 -1
  45. package/dist/sdk/generated/graphql.d.ts +2842 -147
  46. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  47. package/dist/sdk/generated/graphql.js +30 -21
  48. package/dist/sdk/generated/graphql.js.map +1 -1
  49. package/dist/sdk/index.d.ts.map +1 -1
  50. package/dist/sdk/index.js +1 -0
  51. package/dist/sdk/index.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/resources/generated_mutations/CreateWebhooks.graphql +392 -0
  54. package/src/resources/generated_queries/FilterPairs.graphql +4 -0
  55. package/src/resources/generated_queries/FilterTokens.graphql +4 -0
  56. package/src/resources/generated_queries/GetCommunityNotes.graphql +100 -0
  57. package/src/resources/generated_queries/GetEventLabels.graphql +11 -0
  58. package/src/resources/generated_queries/GetNftEvents.graphql +46 -0
  59. package/src/resources/generated_queries/GetNftPoolEvents.graphql +375 -0
  60. package/src/resources/generated_queries/GetPrimePoolEvents.graphql +118 -0
  61. package/src/resources/generated_queries/GetTokenEvents.graphql +49 -0
  62. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +49 -0
  63. package/src/resources/generated_queries/GetWebhooks.graphql +98 -0
  64. package/src/resources/generated_queries/TokenLifecycleEvents.graphql +12 -0
  65. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +42 -0
  66. package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  67. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +49 -0
  68. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +46 -0
  69. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +375 -0
  70. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +551 -0
  71. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +49 -0
  72. package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +12 -0
  73. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +17 -0
  74. package/src/resources/graphql.schema.json +606 -117
  75. package/src/resources/graphql.ts +97 -13
  76. package/src/resources/mutations_override/CreateWebhooks.graphql +472 -0
  77. package/src/resources/queries_override/GetEventLabels.graphql +35 -0
  78. package/src/resources/queries_override/GetWebhooks.graphql +134 -0
  79. package/src/resources/schema.graphql +137 -13
  80. package/src/resources/subscriptions_override/OnEventLabelCreated.graphql +22 -0
  81. package/src/scripts/generateGraphql.ts +87 -17
  82. package/src/sdk/Subscribe.ts +43 -10
  83. package/src/sdk/generated/gql.ts +45 -40
  84. package/src/sdk/generated/graphql.ts +146 -53
  85. package/src/sdk/index.ts +1 -0
@@ -367,7 +367,7 @@ export enum CostBasisMethod {
367
367
  export type CreateApiTokensInput = {
368
368
  /** Number of tokens to create, default is 1 */
369
369
  count?: InputMaybe<Scalars['Int']['input']>;
370
- /** Number of milliseconds until the token expires, defaults to 1 hour (3600000) */
370
+ /** Number of seconds until the token expires, defaults to 1 hour (3600) */
371
371
  expiresIn?: InputMaybe<Scalars['Int']['input']>;
372
372
  /** Number of requests allowed per token, represented as a string, default is 5000 */
373
373
  requestLimit?: InputMaybe<Scalars['String']['input']>;
@@ -379,6 +379,7 @@ export type CreateNftEventWebhookArgs = {
379
379
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
380
380
  callbackUrl: Scalars['String']['input'];
381
381
  conditions: NftEventWebhookConditionInput;
382
+ deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
382
383
  groupId?: InputMaybe<Scalars['String']['input']>;
383
384
  name: Scalars['String']['input'];
384
385
  publishingType?: InputMaybe<PublishingType>;
@@ -396,6 +397,7 @@ export type CreatePriceWebhookArgs = {
396
397
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
397
398
  callbackUrl: Scalars['String']['input'];
398
399
  conditions: PriceEventWebhookConditionInput;
400
+ deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
399
401
  groupId?: InputMaybe<Scalars['String']['input']>;
400
402
  name: Scalars['String']['input'];
401
403
  publishingType?: InputMaybe<PublishingType>;
@@ -413,6 +415,7 @@ export type CreateRawTransactionWebhookArgs = {
413
415
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
414
416
  callbackUrl: Scalars['String']['input'];
415
417
  conditions: RawTransactionWebhookConditionInput;
418
+ deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
416
419
  groupId?: InputMaybe<Scalars['String']['input']>;
417
420
  name: Scalars['String']['input'];
418
421
  publishingType?: InputMaybe<PublishingType>;
@@ -430,6 +433,7 @@ export type CreateTokenPairEventWebhookArgs = {
430
433
  bucketSortkey?: InputMaybe<Scalars['String']['input']>;
431
434
  callbackUrl: Scalars['String']['input'];
432
435
  conditions: TokenPairEventWebhookConditionInput;
436
+ deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
433
437
  groupId?: InputMaybe<Scalars['String']['input']>;
434
438
  name: Scalars['String']['input'];
435
439
  publishingType?: InputMaybe<PublishingType>;
@@ -1212,6 +1216,7 @@ export type GetGasEstimateInput = {
1212
1216
  outputTokenAddress: Scalars['String']['input'];
1213
1217
  poolAddress?: InputMaybe<Scalars['String']['input']>;
1214
1218
  sendWithPrivateRpc?: InputMaybe<Scalars['Boolean']['input']>;
1219
+ slippage?: InputMaybe<Scalars['Float']['input']>;
1215
1220
  userId?: InputMaybe<Scalars['Int']['input']>;
1216
1221
  walletId?: InputMaybe<Scalars['Int']['input']>;
1217
1222
  };
@@ -1271,6 +1276,7 @@ export type GetQuoteInput = {
1271
1276
  networkId: Scalars['Int']['input'];
1272
1277
  outputTokenAddress: Scalars['String']['input'];
1273
1278
  poolAddress?: InputMaybe<Scalars['String']['input']>;
1279
+ slippage?: InputMaybe<Scalars['Float']['input']>;
1274
1280
  userId?: InputMaybe<Scalars['Int']['input']>;
1275
1281
  };
1276
1282
 
@@ -4349,6 +4355,8 @@ export type OnBarsUpdatedResponse = {
4349
4355
  pairId: Scalars['String']['output'];
4350
4356
  /** The quote token within the pair. */
4351
4357
  quoteToken?: Maybe<QuoteToken>;
4358
+ /** The address of the token being quoted */
4359
+ quoteTokenAddress: Scalars['String']['output'];
4352
4360
  /** The type of statistics used. Can be `Filtered` or `Unfiltered`. */
4353
4361
  statsType: TokenPairStatisticsType;
4354
4362
  /** The unix timestamp for the new bar. */
@@ -4360,6 +4368,34 @@ export type OnPricesUpdatedInput = {
4360
4368
  networkId: Scalars['Int']['input'];
4361
4369
  };
4362
4370
 
4371
+ /** Response returned by `onBarsUpdated`. */
4372
+ export type OnTokenBarsUpdatedResponse = {
4373
+ __typename?: 'OnTokenBarsUpdatedResponse';
4374
+ /** Price data broken down by resolution. */
4375
+ aggregates: ResolutionBarData;
4376
+ /**
4377
+ * The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
4378
+ * For example, `0000000016414564#00000224#00000413`.
4379
+ */
4380
+ eventSortKey: Scalars['String']['output'];
4381
+ /** The network ID the pair is deployed on. */
4382
+ networkId: Scalars['Int']['output'];
4383
+ /** The contract address for the pair. */
4384
+ pairAddress: Scalars['String']['output'];
4385
+ /** The ID for the pair (`pairAddress`:`networkId`). */
4386
+ pairId: Scalars['String']['output'];
4387
+ /** The quote token within the pair. */
4388
+ quoteToken?: Maybe<QuoteToken>;
4389
+ /** The type of statistics used. Can be `Filtered` or `Unfiltered`. */
4390
+ statsType: TokenPairStatisticsType;
4391
+ /** The unix timestamp for the new bar. */
4392
+ timestamp: Scalars['Int']['output'];
4393
+ /** The address of the token being quoted */
4394
+ tokenAddress: Scalars['String']['output'];
4395
+ /** The address of the token being quoted */
4396
+ tokenId: Scalars['String']['output'];
4397
+ };
4398
+
4363
4399
  export type OnTokenEventsCreatedInput = {
4364
4400
  networkId: Scalars['Int']['input'];
4365
4401
  tokenAddress: Scalars['String']['input'];
@@ -4560,6 +4596,14 @@ export type PairFilterResult = {
4560
4596
  uniqueTransactions12?: Maybe<Scalars['Int']['output']>;
4561
4597
  /** The unique number of transactions in the past 24 hours. */
4562
4598
  uniqueTransactions24?: Maybe<Scalars['Int']['output']>;
4599
+ /** The percent volume change in the past hour. Decimal format. */
4600
+ volumeChange1?: Maybe<Scalars['String']['output']>;
4601
+ /** The percent volume change in the past 4 hours. Decimal format. */
4602
+ volumeChange4?: Maybe<Scalars['String']['output']>;
4603
+ /** The percent volume change in the past 12 hours. Decimal format. */
4604
+ volumeChange12?: Maybe<Scalars['String']['output']>;
4605
+ /** The percent volume change in the past 24 hours. Decimal format. */
4606
+ volumeChange24?: Maybe<Scalars['String']['output']>;
4563
4607
  /** The trade volume in USD in the past hour. */
4564
4608
  volumeUSD1?: Maybe<Scalars['String']['output']>;
4565
4609
  /** The trade volume in USD in the past 4 hours. */
@@ -4664,6 +4708,14 @@ export type PairFilters = {
4664
4708
  uniqueTransactions12?: InputMaybe<NumberFilter>;
4665
4709
  /** The unique number of transactions in the past 24 hours. */
4666
4710
  uniqueTransactions24?: InputMaybe<NumberFilter>;
4711
+ /** The percent volume change in the past hour. Decimal format. */
4712
+ volumeChange1?: InputMaybe<NumberFilter>;
4713
+ /** The percent volume change in the past 4 hours. Decimal format. */
4714
+ volumeChange4?: InputMaybe<NumberFilter>;
4715
+ /** The percent volume change in the past 12 hours. Decimal format. */
4716
+ volumeChange12?: InputMaybe<NumberFilter>;
4717
+ /** The percent volume change in the past 24 hours. Decimal format. */
4718
+ volumeChange24?: InputMaybe<NumberFilter>;
4667
4719
  /** The trade volume in USD in the past hour. */
4668
4720
  volumeUSD1?: InputMaybe<NumberFilter>;
4669
4721
  /** The trade volume in USD in the past 4 hours. */
@@ -4782,6 +4834,10 @@ export enum PairRankingAttribute {
4782
4834
  UniqueTransactions4 = 'uniqueTransactions4',
4783
4835
  UniqueTransactions12 = 'uniqueTransactions12',
4784
4836
  UniqueTransactions24 = 'uniqueTransactions24',
4837
+ VolumeChange1 = 'volumeChange1',
4838
+ VolumeChange4 = 'volumeChange4',
4839
+ VolumeChange12 = 'volumeChange12',
4840
+ VolumeChange24 = 'volumeChange24',
4785
4841
  VolumeUsd1 = 'volumeUSD1',
4786
4842
  VolumeUsd4 = 'volumeUSD4',
4787
4843
  VolumeUsd12 = 'volumeUSD12',
@@ -6315,6 +6371,7 @@ export type QueryWalletNftCollectionsArgs = {
6315
6371
  export type Quote = {
6316
6372
  __typename?: 'Quote';
6317
6373
  exchange: QuoteExchange;
6374
+ outputAmountMin?: Maybe<Scalars['String']['output']>;
6318
6375
  poolFee?: Maybe<Scalars['String']['output']>;
6319
6376
  poolFeeBps?: Maybe<Scalars['Float']['output']>;
6320
6377
  quoteType: QuoteType;
@@ -6351,17 +6408,6 @@ export enum QuoteType {
6351
6408
  Output = 'OUTPUT'
6352
6409
  }
6353
6410
 
6354
- export type QuoteV2 = {
6355
- __typename?: 'QuoteV2';
6356
- exchange: QuoteExchange;
6357
- poolFee?: Maybe<Scalars['String']['output']>;
6358
- poolFeeBps?: Maybe<Scalars['Float']['output']>;
6359
- quoteType: QuoteType;
6360
- quotedAmount: Scalars['String']['output'];
6361
- tradeFee: Scalars['String']['output'];
6362
- tradeFeeBps: Scalars['Float']['output'];
6363
- };
6364
-
6365
6411
  /** The order of ranking. */
6366
6412
  export enum RankingDirection {
6367
6413
  Asc = 'ASC',
@@ -6450,6 +6496,8 @@ export type ResolutionBarData = {
6450
6496
  r15S?: Maybe<CurrencyBarData>;
6451
6497
  /** 30 minute resolution. */
6452
6498
  r30?: Maybe<CurrencyBarData>;
6499
+ /** 30 second resolution. */
6500
+ r30S?: Maybe<CurrencyBarData>;
6453
6501
  /** 60 minute resolution. */
6454
6502
  r60?: Maybe<CurrencyBarData>;
6455
6503
  /** 4 hour resolution. */
@@ -6832,6 +6880,8 @@ export type Subscription = {
6832
6880
  /** Live-streamed price updates for multiple tokens. */
6833
6881
  onPricesUpdated: Price;
6834
6882
  onSimulateTokenContract: SimulateTokenContractResult;
6883
+ /** Live-streamed bar chart data to track price changes over time for a token. */
6884
+ onTokenBarsUpdated?: Maybe<OnTokenBarsUpdatedResponse>;
6835
6885
  /** Live streamed events for a given token across all it's pools */
6836
6886
  onTokenEventsCreated: AddTokenEventsOutput;
6837
6887
  /** Live-streamed token lifecycle events (mints and burns) */
@@ -6926,6 +6976,12 @@ export type SubscriptionOnSimulateTokenContractArgs = {
6926
6976
  };
6927
6977
 
6928
6978
 
6979
+ export type SubscriptionOnTokenBarsUpdatedArgs = {
6980
+ statsType?: InputMaybe<TokenPairStatisticsType>;
6981
+ tokenId?: InputMaybe<Scalars['String']['input']>;
6982
+ };
6983
+
6984
+
6929
6985
  export type SubscriptionOnTokenEventsCreatedArgs = {
6930
6986
  input: OnTokenEventsCreatedInput;
6931
6987
  };
@@ -7256,6 +7312,14 @@ export type TokenFilterResult = {
7256
7312
  volume12?: Maybe<Scalars['String']['output']>;
7257
7313
  /** The trade volume in USD in the past 24 hours. */
7258
7314
  volume24?: Maybe<Scalars['String']['output']>;
7315
+ /** The percent volume change in the past hour. Decimal format. */
7316
+ volumeChange1?: Maybe<Scalars['String']['output']>;
7317
+ /** The percent volume change in the past 4 hours. Decimal format. */
7318
+ volumeChange4?: Maybe<Scalars['String']['output']>;
7319
+ /** The percent volume change in the past 12 hours. Decimal format. */
7320
+ volumeChange12?: Maybe<Scalars['String']['output']>;
7321
+ /** The percent volume change in the past 24 hours. Decimal format. */
7322
+ volumeChange24?: Maybe<Scalars['String']['output']>;
7259
7323
  };
7260
7324
 
7261
7325
  /** Input type of `TokenFilters`. */
@@ -7370,6 +7434,14 @@ export type TokenFilters = {
7370
7434
  volume12?: InputMaybe<NumberFilter>;
7371
7435
  /** The trade volume in USD in the past 24 hours. */
7372
7436
  volume24?: InputMaybe<NumberFilter>;
7437
+ /** The percent volume change in the past hour. Decimal format. */
7438
+ volumeChange1?: InputMaybe<NumberFilter>;
7439
+ /** The percent volume change in the past 4 hours. Decimal format. */
7440
+ volumeChange4?: InputMaybe<NumberFilter>;
7441
+ /** The percent volume change in the past 12 hours. Decimal format. */
7442
+ volumeChange12?: InputMaybe<NumberFilter>;
7443
+ /** The percent volume change in the past 24 hours. Decimal format. */
7444
+ volumeChange24?: InputMaybe<NumberFilter>;
7373
7445
  };
7374
7446
 
7375
7447
  /** Metadata for a token. */
@@ -7592,7 +7664,11 @@ export enum TokenRankingAttribute {
7592
7664
  Volume1 = 'volume1',
7593
7665
  Volume4 = 'volume4',
7594
7666
  Volume12 = 'volume12',
7595
- Volume24 = 'volume24'
7667
+ Volume24 = 'volume24',
7668
+ VolumeChange1 = 'volumeChange1',
7669
+ VolumeChange4 = 'volumeChange4',
7670
+ VolumeChange12 = 'volumeChange12',
7671
+ VolumeChange24 = 'volumeChange24'
7596
7672
  }
7597
7673
 
7598
7674
  /** Response returned by `searchTokens`. */
@@ -7757,6 +7833,14 @@ export type UnconfirmedSwapEventData = {
7757
7833
  __typename?: 'UnconfirmedSwapEventData';
7758
7834
  /** The amount of `quoteToken` involved in the swap. For example, if `quoteToken` is USDC for a USDC/WETH pair, `amountNonLiquidityToken` would be the amount of USDC involved in the swap. */
7759
7835
  amountNonLiquidityToken?: Maybe<Scalars['String']['output']>;
7836
+ /** The price per `quoteToken` at the time of the swap in the network's base token. For example, if `quoteToken` is USDC for a USDC/WETH pair on ETH network, `priceBaseToken` would the price of USDC in ETH. */
7837
+ priceBaseToken?: Maybe<Scalars['String']['output']>;
7838
+ /** The total amount of `quoteToken` involved in the swap in the network's base token (`amountNonLiquidityToken` x `priceBaseToken`). */
7839
+ priceBaseTokenTotal?: Maybe<Scalars['String']['output']>;
7840
+ /** The price per `quoteToken` at the time of the swap in USD. For example, if `quoteToken` is USDC for a USDC/WETH pair on ETH network, `priceBaseToken` would the price of USDC in USD ($1.00). */
7841
+ priceUsd?: Maybe<Scalars['String']['output']>;
7842
+ /** The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`). */
7843
+ priceUsdTotal?: Maybe<Scalars['String']['output']>;
7760
7844
  /** The type of token event, `Swap`. */
7761
7845
  type: EventType;
7762
7846
  };
@@ -0,0 +1,472 @@
1
+ mutation CreateWebhooks($input: CreateWebhooksInput!) {
2
+ createWebhooks(input: $input) {
3
+ nftEventWebhooks {
4
+ alertRecurrence
5
+ bucketId
6
+ bucketSortkey
7
+ callbackUrl
8
+ conditions {
9
+ ... on NftEventWebhookCondition {
10
+ contractAddress {
11
+ eq
12
+ }
13
+ eventType {
14
+ eq
15
+ }
16
+ exchangeAddress {
17
+ eq
18
+ }
19
+ fillSource {
20
+ oneOf
21
+ }
22
+ ignoreTransfers
23
+ individualBaseTokenPrice {
24
+ eq
25
+ gt
26
+ gte
27
+ lt
28
+ lte
29
+ }
30
+ maker {
31
+ eq
32
+ }
33
+ networkId {
34
+ oneOf
35
+ }
36
+ nftTokenAddress: tokenAddress {
37
+ eq
38
+ }
39
+ tokenId {
40
+ eq
41
+ }
42
+ }
43
+ ... on PriceEventWebhookCondition {
44
+ priceNetworkId: networkId {
45
+ eq
46
+ }
47
+ priceUsd {
48
+ eq
49
+ gt
50
+ gte
51
+ lt
52
+ lte
53
+ }
54
+ priceTokenAddress: tokenAddress {
55
+ eq
56
+ }
57
+ }
58
+ ... on RawTransactionWebhookCondition {
59
+ from {
60
+ eq
61
+ }
62
+ ignoreNftEvents
63
+ ignoreTokenPairEvents
64
+ input {
65
+ contains
66
+ notContains
67
+ }
68
+ networkId {
69
+ oneOf
70
+ }
71
+ to {
72
+ eq
73
+ }
74
+ toOrFrom {
75
+ eq
76
+ }
77
+ }
78
+ ... on TokenPairEventWebhookCondition {
79
+ eventType {
80
+ oneOf
81
+ }
82
+ exchangeAddress {
83
+ eq
84
+ }
85
+ maker {
86
+ eq
87
+ }
88
+ networkId {
89
+ oneOf
90
+ }
91
+ pairAddress {
92
+ eq
93
+ }
94
+ swapValue {
95
+ eq
96
+ gt
97
+ gte
98
+ lt
99
+ lte
100
+ }
101
+ tokenAddress {
102
+ eq
103
+ }
104
+ }
105
+ }
106
+ created
107
+ groupId
108
+ id
109
+ name
110
+ publishingType
111
+ retrySettings {
112
+ maxRetries
113
+ maxRetryDelay
114
+ maxTimeElapsed
115
+ minRetryDelay
116
+ }
117
+ status
118
+ webhookType
119
+ }
120
+ priceWebhooks {
121
+ alertRecurrence
122
+ bucketId
123
+ bucketSortkey
124
+ callbackUrl
125
+ conditions {
126
+ ... on NftEventWebhookCondition {
127
+ contractAddress {
128
+ eq
129
+ }
130
+ eventType {
131
+ eq
132
+ }
133
+ exchangeAddress {
134
+ eq
135
+ }
136
+ fillSource {
137
+ oneOf
138
+ }
139
+ ignoreTransfers
140
+ individualBaseTokenPrice {
141
+ eq
142
+ gt
143
+ gte
144
+ lt
145
+ lte
146
+ }
147
+ maker {
148
+ eq
149
+ }
150
+ networkId {
151
+ oneOf
152
+ }
153
+ nftTokenAddress: tokenAddress {
154
+ eq
155
+ }
156
+ tokenId {
157
+ eq
158
+ }
159
+ }
160
+ ... on PriceEventWebhookCondition {
161
+ priceNetworkId: networkId {
162
+ eq
163
+ }
164
+ priceUsd {
165
+ eq
166
+ gt
167
+ gte
168
+ lt
169
+ lte
170
+ }
171
+ priceTokenAddress: tokenAddress {
172
+ eq
173
+ }
174
+ }
175
+ ... on RawTransactionWebhookCondition {
176
+ from {
177
+ eq
178
+ }
179
+ ignoreNftEvents
180
+ ignoreTokenPairEvents
181
+ input {
182
+ contains
183
+ notContains
184
+ }
185
+ networkId {
186
+ oneOf
187
+ }
188
+ to {
189
+ eq
190
+ }
191
+ toOrFrom {
192
+ eq
193
+ }
194
+ }
195
+ ... on TokenPairEventWebhookCondition {
196
+ eventType {
197
+ oneOf
198
+ }
199
+ exchangeAddress {
200
+ eq
201
+ }
202
+ maker {
203
+ eq
204
+ }
205
+ networkId {
206
+ oneOf
207
+ }
208
+ pairAddress {
209
+ eq
210
+ }
211
+ swapValue {
212
+ eq
213
+ gt
214
+ gte
215
+ lt
216
+ lte
217
+ }
218
+ tokenAddress {
219
+ eq
220
+ }
221
+ }
222
+ }
223
+ created
224
+ groupId
225
+ id
226
+ name
227
+ publishingType
228
+ retrySettings {
229
+ maxRetries
230
+ maxRetryDelay
231
+ maxTimeElapsed
232
+ minRetryDelay
233
+ }
234
+ status
235
+ webhookType
236
+ }
237
+ rawTransactionWebhooks {
238
+ alertRecurrence
239
+ bucketId
240
+ bucketSortkey
241
+ callbackUrl
242
+ conditions {
243
+ ... on NftEventWebhookCondition {
244
+ contractAddress {
245
+ eq
246
+ }
247
+ eventType {
248
+ eq
249
+ }
250
+ exchangeAddress {
251
+ eq
252
+ }
253
+ fillSource {
254
+ oneOf
255
+ }
256
+ ignoreTransfers
257
+ individualBaseTokenPrice {
258
+ eq
259
+ gt
260
+ gte
261
+ lt
262
+ lte
263
+ }
264
+ maker {
265
+ eq
266
+ }
267
+ networkId {
268
+ oneOf
269
+ }
270
+ tokenAddress {
271
+ eq
272
+ }
273
+ tokenId {
274
+ eq
275
+ }
276
+ }
277
+ ... on PriceEventWebhookCondition {
278
+ priceEventNetworkId: networkId {
279
+ eq
280
+ }
281
+ priceUsd {
282
+ eq
283
+ gt
284
+ gte
285
+ lt
286
+ lte
287
+ }
288
+ priceEventTokenAddress: tokenAddress {
289
+ eq
290
+ }
291
+ }
292
+ ... on RawTransactionWebhookCondition {
293
+ from {
294
+ eq
295
+ }
296
+ ignoreNftEvents
297
+ ignoreTokenPairEvents
298
+ input {
299
+ contains
300
+ notContains
301
+ }
302
+ networkId {
303
+ oneOf
304
+ }
305
+ to {
306
+ eq
307
+ }
308
+ toOrFrom {
309
+ eq
310
+ }
311
+ }
312
+ ... on TokenPairEventWebhookCondition {
313
+ eventType {
314
+ oneOf
315
+ }
316
+ exchangeAddress {
317
+ eq
318
+ }
319
+ maker {
320
+ eq
321
+ }
322
+ networkId {
323
+ oneOf
324
+ }
325
+ pairAddress {
326
+ eq
327
+ }
328
+ swapValue {
329
+ eq
330
+ gt
331
+ gte
332
+ lt
333
+ lte
334
+ }
335
+ tokenAddress {
336
+ eq
337
+ }
338
+ }
339
+ }
340
+ created
341
+ groupId
342
+ id
343
+ name
344
+ publishingType
345
+ retrySettings {
346
+ maxRetries
347
+ maxRetryDelay
348
+ maxTimeElapsed
349
+ minRetryDelay
350
+ }
351
+ status
352
+ webhookType
353
+ }
354
+ tokenPairEventWebhooks {
355
+ alertRecurrence
356
+ bucketId
357
+ bucketSortkey
358
+ callbackUrl
359
+ conditions {
360
+ ... on NftEventWebhookCondition {
361
+ contractAddress {
362
+ eq
363
+ }
364
+ eventType {
365
+ eq
366
+ }
367
+ exchangeAddress {
368
+ eq
369
+ }
370
+ fillSource {
371
+ oneOf
372
+ }
373
+ ignoreTransfers
374
+ individualBaseTokenPrice {
375
+ eq
376
+ gt
377
+ gte
378
+ lt
379
+ lte
380
+ }
381
+ maker {
382
+ eq
383
+ }
384
+ networkId {
385
+ oneOf
386
+ }
387
+ tokenAddress {
388
+ eq
389
+ }
390
+ tokenId {
391
+ eq
392
+ }
393
+ }
394
+ ... on PriceEventWebhookCondition {
395
+ priceEventNetworkId: networkId {
396
+ eq
397
+ }
398
+ priceUsd {
399
+ eq
400
+ gt
401
+ gte
402
+ lt
403
+ lte
404
+ }
405
+ priceEventTokenAddress: tokenAddress {
406
+ eq
407
+ }
408
+ }
409
+ ... on RawTransactionWebhookCondition {
410
+ from {
411
+ eq
412
+ }
413
+ ignoreNftEvents
414
+ ignoreTokenPairEvents
415
+ input {
416
+ contains
417
+ notContains
418
+ }
419
+ networkId {
420
+ oneOf
421
+ }
422
+ to {
423
+ eq
424
+ }
425
+ toOrFrom {
426
+ eq
427
+ }
428
+ }
429
+ ... on TokenPairEventWebhookCondition {
430
+ eventType {
431
+ oneOf
432
+ }
433
+ exchangeAddress {
434
+ eq
435
+ }
436
+ maker {
437
+ eq
438
+ }
439
+ networkId {
440
+ oneOf
441
+ }
442
+ pairAddress {
443
+ eq
444
+ }
445
+ swapValue {
446
+ eq
447
+ gt
448
+ gte
449
+ lt
450
+ lte
451
+ }
452
+ tokenAddress {
453
+ eq
454
+ }
455
+ }
456
+ }
457
+ created
458
+ groupId
459
+ id
460
+ name
461
+ publishingType
462
+ retrySettings {
463
+ maxRetries
464
+ maxRetryDelay
465
+ maxTimeElapsed
466
+ minRetryDelay
467
+ }
468
+ status
469
+ webhookType
470
+ }
471
+ }
472
+ }