@codex-data/sdk 0.5.8 → 0.6.1

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.
@@ -56,6 +56,12 @@ export type AddNftPoolEventsOutput = {
56
56
  poolAddress: Scalars['String']['output'];
57
57
  };
58
58
 
59
+ export type AddTokenEventsOutput = {
60
+ __typename?: 'AddTokenEventsOutput';
61
+ events: Array<Event>;
62
+ id: Scalars['String']['output'];
63
+ };
64
+
59
65
  export type AddTokenLifecycleEventsOutput = {
60
66
  __typename?: 'AddTokenLifecycleEventsOutput';
61
67
  events: Array<TokenLifecycleEvent>;
@@ -86,6 +92,8 @@ export type Balance = {
86
92
  __typename?: 'Balance';
87
93
  /** The balance held by the wallet. */
88
94
  balance: Scalars['String']['output'];
95
+ /** The time that this address first held a token */
96
+ firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
89
97
  /** The balance held by the wallet, adjusted by the number of decimals in the token. */
90
98
  shiftedBalance: Scalars['Float']['output'];
91
99
  /** The ID of the token (`tokenAddress:networkId`). */
@@ -345,38 +353,6 @@ export type CreateApiTokensInput = {
345
353
  requestLimit?: InputMaybe<Scalars['String']['input']>;
346
354
  };
347
355
 
348
- export type CreateDecodedCallWebhookArgs = {
349
- alertRecurrence: AlertRecurrence;
350
- bucketId?: InputMaybe<Scalars['String']['input']>;
351
- bucketSortkey?: InputMaybe<Scalars['String']['input']>;
352
- callbackUrl: Scalars['String']['input'];
353
- conditions: DecodedCallWebhookConditionInput;
354
- groupId?: InputMaybe<Scalars['String']['input']>;
355
- name: Scalars['String']['input'];
356
- retrySettings?: InputMaybe<RetrySettingsInput>;
357
- securityToken: Scalars['String']['input'];
358
- };
359
-
360
- export type CreateDecodedCallWebhooksInput = {
361
- webhooks: Array<CreateDecodedCallWebhookArgs>;
362
- };
363
-
364
- export type CreateDecodedLogWebhookArgs = {
365
- alertRecurrence: AlertRecurrence;
366
- bucketId?: InputMaybe<Scalars['String']['input']>;
367
- bucketSortkey?: InputMaybe<Scalars['String']['input']>;
368
- callbackUrl: Scalars['String']['input'];
369
- conditions: DecodedLogWebhookConditionInput;
370
- groupId?: InputMaybe<Scalars['String']['input']>;
371
- name: Scalars['String']['input'];
372
- retrySettings?: InputMaybe<RetrySettingsInput>;
373
- securityToken: Scalars['String']['input'];
374
- };
375
-
376
- export type CreateDecodedLogWebhooksInput = {
377
- webhooks: Array<CreateDecodedLogWebhookArgs>;
378
- };
379
-
380
356
  export type CreateNftEventWebhookArgs = {
381
357
  alertRecurrence: AlertRecurrence;
382
358
  bucketId?: InputMaybe<Scalars['String']['input']>;
@@ -385,6 +361,7 @@ export type CreateNftEventWebhookArgs = {
385
361
  conditions: NftEventWebhookConditionInput;
386
362
  groupId?: InputMaybe<Scalars['String']['input']>;
387
363
  name: Scalars['String']['input'];
364
+ publishingType?: InputMaybe<PublishingType>;
388
365
  retrySettings?: InputMaybe<RetrySettingsInput>;
389
366
  securityToken: Scalars['String']['input'];
390
367
  };
@@ -401,6 +378,7 @@ export type CreatePriceWebhookArgs = {
401
378
  conditions: PriceEventWebhookConditionInput;
402
379
  groupId?: InputMaybe<Scalars['String']['input']>;
403
380
  name: Scalars['String']['input'];
381
+ publishingType?: InputMaybe<PublishingType>;
404
382
  retrySettings?: InputMaybe<RetrySettingsInput>;
405
383
  securityToken: Scalars['String']['input'];
406
384
  };
@@ -409,22 +387,6 @@ export type CreatePriceWebhooksInput = {
409
387
  webhooks: Array<CreatePriceWebhookArgs>;
410
388
  };
411
389
 
412
- export type CreateRawCallTraceWebhookArgs = {
413
- alertRecurrence: AlertRecurrence;
414
- bucketId?: InputMaybe<Scalars['String']['input']>;
415
- bucketSortkey?: InputMaybe<Scalars['String']['input']>;
416
- callbackUrl: Scalars['String']['input'];
417
- conditions: RawCallTraceWebhookConditionInput;
418
- groupId?: InputMaybe<Scalars['String']['input']>;
419
- name: Scalars['String']['input'];
420
- retrySettings?: InputMaybe<RetrySettingsInput>;
421
- securityToken: Scalars['String']['input'];
422
- };
423
-
424
- export type CreateRawCallTraceWebhooksInput = {
425
- webhooks: Array<CreateRawCallTraceWebhookArgs>;
426
- };
427
-
428
390
  export type CreateRawTransactionWebhookArgs = {
429
391
  alertRecurrence: AlertRecurrence;
430
392
  bucketId?: InputMaybe<Scalars['String']['input']>;
@@ -433,6 +395,7 @@ export type CreateRawTransactionWebhookArgs = {
433
395
  conditions: RawTransactionWebhookConditionInput;
434
396
  groupId?: InputMaybe<Scalars['String']['input']>;
435
397
  name: Scalars['String']['input'];
398
+ publishingType?: InputMaybe<PublishingType>;
436
399
  retrySettings?: InputMaybe<RetrySettingsInput>;
437
400
  securityToken: Scalars['String']['input'];
438
401
  };
@@ -449,6 +412,7 @@ export type CreateTokenPairEventWebhookArgs = {
449
412
  conditions: TokenPairEventWebhookConditionInput;
450
413
  groupId?: InputMaybe<Scalars['String']['input']>;
451
414
  name: Scalars['String']['input'];
415
+ publishingType?: InputMaybe<PublishingType>;
452
416
  retrySettings?: InputMaybe<RetrySettingsInput>;
453
417
  securityToken: Scalars['String']['input'];
454
418
  };
@@ -458,22 +422,16 @@ export type CreateTokenPairEventWebhooksInput = {
458
422
  };
459
423
 
460
424
  export type CreateWebhooksInput = {
461
- decodedCallWebhooksInput?: InputMaybe<CreateDecodedCallWebhooksInput>;
462
- decodedLogWebhooksInput?: InputMaybe<CreateDecodedLogWebhooksInput>;
463
425
  nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
464
426
  priceWebhooksInput?: InputMaybe<CreatePriceWebhooksInput>;
465
- rawCallTraceWebhooksInput?: InputMaybe<CreateRawCallTraceWebhooksInput>;
466
427
  rawTransactionWebhooksInput?: InputMaybe<CreateRawTransactionWebhooksInput>;
467
428
  tokenPairEventWebhooksInput?: InputMaybe<CreateTokenPairEventWebhooksInput>;
468
429
  };
469
430
 
470
431
  export type CreateWebhooksOutput = {
471
432
  __typename?: 'CreateWebhooksOutput';
472
- decodedCallWebhooks: Array<Maybe<Webhook>>;
473
- decodedLogWebhooks: Array<Maybe<Webhook>>;
474
433
  nftEventWebhooks: Array<Maybe<Webhook>>;
475
434
  priceWebhooks: Array<Maybe<Webhook>>;
476
- rawCallTraceWebhooks: Array<Maybe<Webhook>>;
477
435
  rawTransactionWebhooks: Array<Maybe<Webhook>>;
478
436
  tokenPairEventWebhooks: Array<Maybe<Webhook>>;
479
437
  };
@@ -495,44 +453,6 @@ export type CurrencyBarData = {
495
453
  usd: IndividualBarData;
496
454
  };
497
455
 
498
- export type DecodedCallWebhookCondition = {
499
- __typename?: 'DecodedCallWebhookCondition';
500
- address?: Maybe<StringEqualsCondition>;
501
- decodingId: StringEqualsCondition;
502
- from?: Maybe<StringEqualsCondition>;
503
- input?: Maybe<Scalars['JSON']['output']>;
504
- methodId?: Maybe<StringEqualsCondition>;
505
- methodName?: Maybe<StringEqualsCondition>;
506
- output?: Maybe<Scalars['JSON']['output']>;
507
- to?: Maybe<StringEqualsCondition>;
508
- };
509
-
510
- export type DecodedCallWebhookConditionInput = {
511
- address?: InputMaybe<StringEqualsConditionInput>;
512
- decodingId: StringEqualsConditionInput;
513
- from?: InputMaybe<StringEqualsConditionInput>;
514
- input?: InputMaybe<Scalars['JSON']['input']>;
515
- methodId?: InputMaybe<StringEqualsConditionInput>;
516
- methodName?: InputMaybe<StringEqualsConditionInput>;
517
- output?: InputMaybe<Scalars['JSON']['input']>;
518
- to?: InputMaybe<StringEqualsConditionInput>;
519
- };
520
-
521
- export type DecodedLogWebhookCondition = {
522
- __typename?: 'DecodedLogWebhookCondition';
523
- address?: Maybe<StringEqualsCondition>;
524
- decodingId: StringEqualsCondition;
525
- event?: Maybe<Scalars['JSON']['output']>;
526
- eventName?: Maybe<StringEqualsCondition>;
527
- };
528
-
529
- export type DecodedLogWebhookConditionInput = {
530
- address?: InputMaybe<StringEqualsConditionInput>;
531
- decodingId: StringEqualsConditionInput;
532
- event?: InputMaybe<Scalars['JSON']['input']>;
533
- eventName?: InputMaybe<StringEqualsConditionInput>;
534
- };
535
-
536
456
  export type DeleteWebhooksInput = {
537
457
  webhookIds: Array<Scalars['String']['input']>;
538
458
  };
@@ -996,7 +916,7 @@ export enum EventType {
996
916
 
997
917
  /** Input type of `EventsQuery`. */
998
918
  export type EventsQueryInput = {
999
- /** The pair contract address to filter by. */
919
+ /** The pair contract address to filter by. If you pass a token address in here, it will instead find the top pair for that token and use that. */
1000
920
  address: Scalars['String']['input'];
1001
921
  /** The amount of `quoteToken` involved in the swap. */
1002
922
  amountNonLiquidityToken?: InputMaybe<NumberFilter>;
@@ -1302,7 +1222,7 @@ export type GetPriceInput = {
1302
1222
  maxDeviations?: InputMaybe<Scalars['Float']['input']>;
1303
1223
  /** The network ID the token is deployed on. */
1304
1224
  networkId: Scalars['Int']['input'];
1305
- /** The unix timestamp for the price. Lookup is limited to the last three months. */
1225
+ /** The unix timestamp for the price. */
1306
1226
  timestamp?: InputMaybe<Scalars['Int']['input']>;
1307
1227
  };
1308
1228
 
@@ -1346,10 +1266,19 @@ export enum GraphQlNftPoolVariant {
1346
1266
  export type HoldersInput = {
1347
1267
  /** A cursor for use in pagination. */
1348
1268
  cursor?: InputMaybe<Scalars['String']['input']>;
1269
+ /** The attribute to sort the list on */
1270
+ sort?: InputMaybe<HoldersInputSort>;
1349
1271
  /** The ID of the token (`tokenAddress:networkId`). */
1350
1272
  tokenId: Scalars['String']['input'];
1351
1273
  };
1352
1274
 
1275
+ export type HoldersInputSort = {
1276
+ /** The attribute to sort the list on */
1277
+ attribute?: InputMaybe<HoldersSortAttribute>;
1278
+ /** The direction to apply to the ranking attribute. */
1279
+ direction?: InputMaybe<RankingDirection>;
1280
+ };
1281
+
1353
1282
  export type HoldersResponse = {
1354
1283
  __typename?: 'HoldersResponse';
1355
1284
  /** the unique count of holders for the token. */
@@ -1362,6 +1291,11 @@ export type HoldersResponse = {
1362
1291
  status: HoldersStatus;
1363
1292
  };
1364
1293
 
1294
+ export enum HoldersSortAttribute {
1295
+ Balance = 'BALANCE',
1296
+ Date = 'DATE'
1297
+ }
1298
+
1365
1299
  export enum HoldersStatus {
1366
1300
  Disabled = 'DISABLED',
1367
1301
  Enabled = 'ENABLED'
@@ -1613,6 +1547,7 @@ export type LiquidityLockConnection = {
1613
1547
  /** Protocols that can lock liquidity */
1614
1548
  export enum LiquidityLockProtocol {
1615
1549
  BasecampV1 = 'BASECAMP_V1',
1550
+ Bitbond = 'BITBOND',
1616
1551
  Burn = 'BURN',
1617
1552
  UncxV2 = 'UNCX_V2',
1618
1553
  UncxV3 = 'UNCX_V3'
@@ -4353,6 +4288,11 @@ export type OnBarsUpdatedResponse = {
4353
4288
  timestamp: Scalars['Int']['output'];
4354
4289
  };
4355
4290
 
4291
+ export type OnTokenEventsCreatedInput = {
4292
+ networkId: Scalars['Int']['input'];
4293
+ tokenAddress: Scalars['String']['input'];
4294
+ };
4295
+
4356
4296
  export type OneOfNumberCondition = {
4357
4297
  __typename?: 'OneOfNumberCondition';
4358
4298
  oneOf: Array<Scalars['Int']['output']>;
@@ -5646,6 +5586,11 @@ export type PrimePoolWithdrawData = {
5646
5586
  userPrimeRewardDebt: Scalars['String']['output'];
5647
5587
  };
5648
5588
 
5589
+ export enum PublishingType {
5590
+ Batch = 'BATCH',
5591
+ Single = 'SINGLE'
5592
+ }
5593
+
5649
5594
  export type Query = {
5650
5595
  __typename?: 'Query';
5651
5596
  /** Get the active short-lived api token for this api key by the short-lived token */
@@ -6332,41 +6277,6 @@ export enum RankingDirection {
6332
6277
  Desc = 'DESC'
6333
6278
  }
6334
6279
 
6335
- export enum RawCallTraceType {
6336
- Create = 'create'
6337
- }
6338
-
6339
- export type RawCallTraceTypeConditionInput = {
6340
- eq: RawCallTraceType;
6341
- };
6342
-
6343
- export type RawCallTraceTypeCondtion = {
6344
- __typename?: 'RawCallTraceTypeCondtion';
6345
- eq: RawCallTraceType;
6346
- };
6347
-
6348
- export type RawCallTraceWebhookCondition = {
6349
- __typename?: 'RawCallTraceWebhookCondition';
6350
- networkId?: Maybe<OneOfNumberCondition>;
6351
- result?: Maybe<RawCallTraceWebhookConditionResult>;
6352
- traceType: RawCallTraceTypeCondtion;
6353
- };
6354
-
6355
- export type RawCallTraceWebhookConditionInput = {
6356
- networkId?: InputMaybe<OneOfNumberConditionInput>;
6357
- result?: InputMaybe<RawCallTraceWebhookConditionResultInput>;
6358
- traceType: RawCallTraceTypeConditionInput;
6359
- };
6360
-
6361
- export type RawCallTraceWebhookConditionResult = {
6362
- __typename?: 'RawCallTraceWebhookConditionResult';
6363
- code?: Maybe<StringContainsCondition>;
6364
- };
6365
-
6366
- export type RawCallTraceWebhookConditionResultInput = {
6367
- code?: InputMaybe<StringContainsConditionInput>;
6368
- };
6369
-
6370
6280
  export type RawNftAssetData = {
6371
6281
  __typename?: 'RawNftAssetData';
6372
6282
  /** An optional image field that may or may not be present on the requested NFT asset smart contract. */
@@ -6801,6 +6711,8 @@ export type Subscription = {
6801
6711
  /** Live-streamed price updates for a token. */
6802
6712
  onPriceUpdated?: Maybe<Price>;
6803
6713
  onSimulateTokenContract: SimulateTokenContractResult;
6714
+ /** Live streamed events for a given token across all it's pools */
6715
+ onTokenEventsCreated: AddTokenEventsOutput;
6804
6716
  /** Live-streamed token lifecycle events (mints and burns) */
6805
6717
  onTokenLifecycleEventsCreated: AddTokenLifecycleEventsOutput;
6806
6718
  };
@@ -6886,6 +6798,11 @@ export type SubscriptionOnSimulateTokenContractArgs = {
6886
6798
  };
6887
6799
 
6888
6800
 
6801
+ export type SubscriptionOnTokenEventsCreatedArgs = {
6802
+ input: OnTokenEventsCreatedInput;
6803
+ };
6804
+
6805
+
6889
6806
  export type SubscriptionOnTokenLifecycleEventsCreatedArgs = {
6890
6807
  address?: InputMaybe<Scalars['String']['input']>;
6891
6808
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -7146,7 +7063,7 @@ export type TokenFilterResult = {
7146
7063
  low12?: Maybe<Scalars['String']['output']>;
7147
7064
  /** The lowest price in USD in the past 24 hours. */
7148
7065
  low24?: Maybe<Scalars['String']['output']>;
7149
- /** The market cap of circulating supply. */
7066
+ /** The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`. */
7150
7067
  marketCap?: Maybe<Scalars['String']['output']>;
7151
7068
  /** Metadata for the token's top pair. */
7152
7069
  pair?: Maybe<Pair>;
@@ -7737,12 +7654,13 @@ export type Webhook = {
7737
7654
  groupId?: Maybe<Scalars['String']['output']>;
7738
7655
  id: Scalars['String']['output'];
7739
7656
  name: Scalars['String']['output'];
7657
+ publishingType?: Maybe<PublishingType>;
7740
7658
  retrySettings?: Maybe<RetrySettings>;
7741
7659
  status: Scalars['String']['output'];
7742
7660
  webhookType: WebhookType;
7743
7661
  };
7744
7662
 
7745
- export type WebhookCondition = DecodedCallWebhookCondition | DecodedLogWebhookCondition | NftEventWebhookCondition | PriceEventWebhookCondition | RawCallTraceWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
7663
+ export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
7746
7664
 
7747
7665
  export enum WebhookNftEventFillSource {
7748
7666
  Blur = 'BLUR',
@@ -7771,7 +7689,6 @@ export enum WebhookNftEventType {
7771
7689
  export enum WebhookType {
7772
7690
  NftEvent = 'NFT_EVENT',
7773
7691
  PriceEvent = 'PRICE_EVENT',
7774
- RawCallTrace = 'RAW_CALL_TRACE',
7775
7692
  RawTransaction = 'RAW_TRANSACTION',
7776
7693
  TokenPairEvent = 'TOKEN_PAIR_EVENT'
7777
7694
  }
@@ -58,6 +58,11 @@ type AddNftPoolEventsOutput {
58
58
  events: [NftPoolEvent]!
59
59
  }
60
60
 
61
+ type AddTokenEventsOutput {
62
+ id: String!
63
+ events: [Event!]!
64
+ }
65
+
61
66
  type AddTokenLifecycleEventsOutput {
62
67
  id: String!
63
68
  events: [TokenLifecycleEvent!]!
@@ -104,6 +109,9 @@ type Balance {
104
109
  The balance held by the wallet, adjusted by the number of decimals in the token.
105
110
  """
106
111
  shiftedBalance: Float!
112
+
113
+ """The time that this address first held a token"""
114
+ firstHeldTimestamp: Int
107
115
  }
108
116
 
109
117
  input BalancesInput {
@@ -417,38 +425,6 @@ input CreateApiTokensInput {
417
425
  expiresIn: Int
418
426
  }
419
427
 
420
- input CreateDecodedCallWebhookArgs {
421
- name: String!
422
- callbackUrl: String!
423
- securityToken: String!
424
- alertRecurrence: AlertRecurrence!
425
- groupId: String
426
- conditions: DecodedCallWebhookConditionInput!
427
- retrySettings: RetrySettingsInput
428
- bucketId: String
429
- bucketSortkey: String
430
- }
431
-
432
- input CreateDecodedCallWebhooksInput {
433
- webhooks: [CreateDecodedCallWebhookArgs!]!
434
- }
435
-
436
- input CreateDecodedLogWebhookArgs {
437
- name: String!
438
- callbackUrl: String!
439
- securityToken: String!
440
- alertRecurrence: AlertRecurrence!
441
- groupId: String
442
- conditions: DecodedLogWebhookConditionInput!
443
- retrySettings: RetrySettingsInput
444
- bucketId: String
445
- bucketSortkey: String
446
- }
447
-
448
- input CreateDecodedLogWebhooksInput {
449
- webhooks: [CreateDecodedLogWebhookArgs!]!
450
- }
451
-
452
428
  input CreateNftEventWebhookArgs {
453
429
  name: String!
454
430
  callbackUrl: String!
@@ -459,6 +435,7 @@ input CreateNftEventWebhookArgs {
459
435
  retrySettings: RetrySettingsInput
460
436
  bucketId: String
461
437
  bucketSortkey: String
438
+ publishingType: PublishingType
462
439
  }
463
440
 
464
441
  input CreateNftEventWebhooksInput {
@@ -475,28 +452,13 @@ input CreatePriceWebhookArgs {
475
452
  retrySettings: RetrySettingsInput
476
453
  bucketId: String
477
454
  bucketSortkey: String
455
+ publishingType: PublishingType
478
456
  }
479
457
 
480
458
  input CreatePriceWebhooksInput {
481
459
  webhooks: [CreatePriceWebhookArgs!]!
482
460
  }
483
461
 
484
- input CreateRawCallTraceWebhookArgs {
485
- name: String!
486
- callbackUrl: String!
487
- securityToken: String!
488
- alertRecurrence: AlertRecurrence!
489
- groupId: String
490
- conditions: RawCallTraceWebhookConditionInput!
491
- retrySettings: RetrySettingsInput
492
- bucketId: String
493
- bucketSortkey: String
494
- }
495
-
496
- input CreateRawCallTraceWebhooksInput {
497
- webhooks: [CreateRawCallTraceWebhookArgs!]!
498
- }
499
-
500
462
  input CreateRawTransactionWebhookArgs {
501
463
  name: String!
502
464
  callbackUrl: String!
@@ -507,6 +469,7 @@ input CreateRawTransactionWebhookArgs {
507
469
  retrySettings: RetrySettingsInput
508
470
  bucketId: String
509
471
  bucketSortkey: String
472
+ publishingType: PublishingType
510
473
  }
511
474
 
512
475
  input CreateRawTransactionWebhooksInput {
@@ -523,6 +486,7 @@ input CreateTokenPairEventWebhookArgs {
523
486
  retrySettings: RetrySettingsInput
524
487
  bucketId: String
525
488
  bucketSortkey: String
489
+ publishingType: PublishingType
526
490
  }
527
491
 
528
492
  input CreateTokenPairEventWebhooksInput {
@@ -531,9 +495,6 @@ input CreateTokenPairEventWebhooksInput {
531
495
 
532
496
  input CreateWebhooksInput {
533
497
  priceWebhooksInput: CreatePriceWebhooksInput
534
- decodedLogWebhooksInput: CreateDecodedLogWebhooksInput
535
- decodedCallWebhooksInput: CreateDecodedCallWebhooksInput
536
- rawCallTraceWebhooksInput: CreateRawCallTraceWebhooksInput
537
498
  tokenPairEventWebhooksInput: CreateTokenPairEventWebhooksInput
538
499
  nftEventWebhooksInput: CreateNftEventWebhooksInput
539
500
  rawTransactionWebhooksInput: CreateRawTransactionWebhooksInput
@@ -541,9 +502,6 @@ input CreateWebhooksInput {
541
502
 
542
503
  type CreateWebhooksOutput {
543
504
  priceWebhooks: [Webhook]!
544
- decodedLogWebhooks: [Webhook]!
545
- decodedCallWebhooks: [Webhook]!
546
- rawCallTraceWebhooks: [Webhook]!
547
505
  tokenPairEventWebhooks: [Webhook]!
548
506
  nftEventWebhooks: [Webhook]!
549
507
  rawTransactionWebhooks: [Webhook]!
@@ -567,42 +525,6 @@ type CurrencyBarData {
567
525
  token: IndividualBarData!
568
526
  }
569
527
 
570
- type DecodedCallWebhookCondition {
571
- decodingId: StringEqualsCondition!
572
- methodName: StringEqualsCondition
573
- address: StringEqualsCondition
574
- from: StringEqualsCondition
575
- to: StringEqualsCondition
576
- methodId: StringEqualsCondition
577
- input: JSON
578
- output: JSON
579
- }
580
-
581
- input DecodedCallWebhookConditionInput {
582
- decodingId: StringEqualsConditionInput!
583
- methodName: StringEqualsConditionInput
584
- address: StringEqualsConditionInput
585
- from: StringEqualsConditionInput
586
- to: StringEqualsConditionInput
587
- methodId: StringEqualsConditionInput
588
- input: JSON
589
- output: JSON
590
- }
591
-
592
- type DecodedLogWebhookCondition {
593
- decodingId: StringEqualsCondition!
594
- eventName: StringEqualsCondition
595
- address: StringEqualsCondition
596
- event: JSON
597
- }
598
-
599
- input DecodedLogWebhookConditionInput {
600
- decodingId: StringEqualsConditionInput!
601
- eventName: StringEqualsConditionInput
602
- address: StringEqualsConditionInput
603
- event: JSON
604
- }
605
-
606
528
  input DeleteWebhooksInput {
607
529
  webhookIds: [String!]!
608
530
  }
@@ -1164,7 +1086,9 @@ input EventQueryTimestampInput {
1164
1086
 
1165
1087
  """Input type of `EventsQuery`."""
1166
1088
  input EventsQueryInput {
1167
- """The pair contract address to filter by."""
1089
+ """
1090
+ The pair contract address to filter by. If you pass a token address in here, it will instead find the top pair for that token and use that.
1091
+ """
1168
1092
  address: String!
1169
1093
 
1170
1094
  """The token of interest. Can be `token0` or `token1`."""
@@ -1552,9 +1476,7 @@ input GetPriceInput {
1552
1476
  """The network ID the token is deployed on."""
1553
1477
  networkId: Int!
1554
1478
 
1555
- """
1556
- The unix timestamp for the price. Lookup is limited to the last three months.
1557
- """
1479
+ """The unix timestamp for the price."""
1558
1480
  timestamp: Int
1559
1481
 
1560
1482
  """
@@ -1605,6 +1527,17 @@ input HoldersInput {
1605
1527
 
1606
1528
  """A cursor for use in pagination."""
1607
1529
  cursor: String
1530
+
1531
+ """The attribute to sort the list on"""
1532
+ sort: HoldersInputSort
1533
+ }
1534
+
1535
+ input HoldersInputSort {
1536
+ """The attribute to sort the list on"""
1537
+ attribute: HoldersSortAttribute
1538
+
1539
+ """The direction to apply to the ranking attribute."""
1540
+ direction: RankingDirection
1608
1541
  }
1609
1542
 
1610
1543
  type HoldersResponse {
@@ -1623,6 +1556,11 @@ type HoldersResponse {
1623
1556
  status: HoldersStatus!
1624
1557
  }
1625
1558
 
1559
+ enum HoldersSortAttribute {
1560
+ BALANCE
1561
+ DATE
1562
+ }
1563
+
1626
1564
  enum HoldersStatus {
1627
1565
  ENABLED
1628
1566
  DISABLED
@@ -2000,6 +1938,7 @@ enum LiquidityLockProtocol {
2000
1938
  UNCX_V2
2001
1939
  UNCX_V3
2002
1940
  BURN
1941
+ BITBOND
2003
1942
  }
2004
1943
 
2005
1944
  """Metadata about a pair's liquidity. Includes locked liquidity data."""
@@ -5667,6 +5606,11 @@ input OneOfNumberConditionInput {
5667
5606
  oneOf: [Int!]!
5668
5607
  }
5669
5608
 
5609
+ input OnTokenEventsCreatedInput {
5610
+ tokenAddress: String!
5611
+ networkId: Int!
5612
+ }
5613
+
5670
5614
  enum OrderState {
5671
5615
  CREATED
5672
5616
  PENDING
@@ -7362,6 +7306,11 @@ type PrimePoolWithdrawData {
7362
7306
  userCachedAmount: String!
7363
7307
  }
7364
7308
 
7309
+ enum PublishingType {
7310
+ BATCH
7311
+ SINGLE
7312
+ }
7313
+
7365
7314
  type Query {
7366
7315
  """Get all active short-lived api tokens for this api key"""
7367
7316
  apiTokens: [ApiToken!]!
@@ -8367,38 +8316,6 @@ enum RankingDirection {
8367
8316
  DESC
8368
8317
  }
8369
8318
 
8370
- enum RawCallTraceType {
8371
- create
8372
- }
8373
-
8374
- input RawCallTraceTypeConditionInput {
8375
- eq: RawCallTraceType!
8376
- }
8377
-
8378
- type RawCallTraceTypeCondtion {
8379
- eq: RawCallTraceType!
8380
- }
8381
-
8382
- type RawCallTraceWebhookCondition {
8383
- traceType: RawCallTraceTypeCondtion!
8384
- result: RawCallTraceWebhookConditionResult
8385
- networkId: OneOfNumberCondition
8386
- }
8387
-
8388
- input RawCallTraceWebhookConditionInput {
8389
- traceType: RawCallTraceTypeConditionInput!
8390
- result: RawCallTraceWebhookConditionResultInput
8391
- networkId: OneOfNumberConditionInput
8392
- }
8393
-
8394
- type RawCallTraceWebhookConditionResult {
8395
- code: StringContainsCondition
8396
- }
8397
-
8398
- input RawCallTraceWebhookConditionResultInput {
8399
- code: StringContainsConditionInput
8400
- }
8401
-
8402
8319
  type RawNftAssetData {
8403
8320
  """
8404
8321
  An optional image field that may or may not be present on the requested NFT asset smart contract.
@@ -8991,6 +8908,9 @@ type Subscription {
8991
8908
  ): EventLabel
8992
8909
  onSimulateTokenContract(contractAddress: String, networkId: Int!, simulationId: String): SimulateTokenContractResult!
8993
8910
 
8911
+ """Live streamed events for a given token across all it's pools"""
8912
+ onTokenEventsCreated(input: OnTokenEventsCreatedInput!): AddTokenEventsOutput!
8913
+
8994
8914
  """Live-streamed token lifecycle events (mints and burns)"""
8995
8915
  onTokenLifecycleEventsCreated(
8996
8916
  """The token contract address."""
@@ -9404,7 +9324,9 @@ type TokenFilterResult {
9404
9324
  """The lowest price in USD in the past 4 hours."""
9405
9325
  low4: String
9406
9326
 
9407
- """The market cap of circulating supply."""
9327
+ """
9328
+ The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`.
9329
+ """
9408
9330
  marketCap: String
9409
9331
 
9410
9332
  """Metadata for the token's top pair."""
@@ -10165,9 +10087,10 @@ type Webhook {
10165
10087
  retrySettings: RetrySettings
10166
10088
  bucketId: String
10167
10089
  bucketSortkey: String
10090
+ publishingType: PublishingType
10168
10091
  }
10169
10092
 
10170
- union WebhookCondition = PriceEventWebhookCondition | DecodedLogWebhookCondition | DecodedCallWebhookCondition | RawCallTraceWebhookCondition | TokenPairEventWebhookCondition | NftEventWebhookCondition | RawTransactionWebhookCondition
10093
+ union WebhookCondition = PriceEventWebhookCondition | TokenPairEventWebhookCondition | NftEventWebhookCondition | RawTransactionWebhookCondition
10171
10094
 
10172
10095
  enum WebhookNftEventFillSource {
10173
10096
  GEM
@@ -10195,7 +10118,6 @@ enum WebhookNftEventType {
10195
10118
 
10196
10119
  enum WebhookType {
10197
10120
  PRICE_EVENT
10198
- RAW_CALL_TRACE
10199
10121
  NFT_EVENT
10200
10122
  TOKEN_PAIR_EVENT
10201
10123
  RAW_TRANSACTION