@codex-data/sdk 0.5.8 → 0.6.0
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/dist/resources/graphql.d.ts +18 -114
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +2 -6
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +135 -1208
- package/dist/resources/graphql.ts +22 -131
- package/dist/resources/schema.graphql +19 -128
- package/dist/sdk/generated/gql.d.ts +12 -10
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +5 -5
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +68 -1032
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +7 -11
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/graphql.schema.json +135 -1208
- package/src/resources/graphql.ts +22 -131
- package/src/resources/schema.graphql +19 -128
- package/src/sdk/generated/gql.ts +10 -10
- package/src/sdk/generated/graphql.ts +32 -139
- package/src/sdk/graphql/CreateWebhooks.graphql +0 -681
- package/src/sdk/graphql/FilterPairs.graphql +2 -0
- package/src/sdk/graphql/FilterTokens.graphql +2 -0
- package/src/sdk/graphql/GetPairEvents.graphql +39 -1
- package/src/sdk/graphql/GetWebhooks.graphql +0 -48
package/src/resources/graphql.ts
CHANGED
|
@@ -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>;
|
|
@@ -345,38 +351,6 @@ export type CreateApiTokensInput = {
|
|
|
345
351
|
requestLimit?: InputMaybe<Scalars['String']['input']>;
|
|
346
352
|
};
|
|
347
353
|
|
|
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
354
|
export type CreateNftEventWebhookArgs = {
|
|
381
355
|
alertRecurrence: AlertRecurrence;
|
|
382
356
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -409,22 +383,6 @@ export type CreatePriceWebhooksInput = {
|
|
|
409
383
|
webhooks: Array<CreatePriceWebhookArgs>;
|
|
410
384
|
};
|
|
411
385
|
|
|
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
386
|
export type CreateRawTransactionWebhookArgs = {
|
|
429
387
|
alertRecurrence: AlertRecurrence;
|
|
430
388
|
bucketId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -458,22 +416,16 @@ export type CreateTokenPairEventWebhooksInput = {
|
|
|
458
416
|
};
|
|
459
417
|
|
|
460
418
|
export type CreateWebhooksInput = {
|
|
461
|
-
decodedCallWebhooksInput?: InputMaybe<CreateDecodedCallWebhooksInput>;
|
|
462
|
-
decodedLogWebhooksInput?: InputMaybe<CreateDecodedLogWebhooksInput>;
|
|
463
419
|
nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
|
|
464
420
|
priceWebhooksInput?: InputMaybe<CreatePriceWebhooksInput>;
|
|
465
|
-
rawCallTraceWebhooksInput?: InputMaybe<CreateRawCallTraceWebhooksInput>;
|
|
466
421
|
rawTransactionWebhooksInput?: InputMaybe<CreateRawTransactionWebhooksInput>;
|
|
467
422
|
tokenPairEventWebhooksInput?: InputMaybe<CreateTokenPairEventWebhooksInput>;
|
|
468
423
|
};
|
|
469
424
|
|
|
470
425
|
export type CreateWebhooksOutput = {
|
|
471
426
|
__typename?: 'CreateWebhooksOutput';
|
|
472
|
-
decodedCallWebhooks: Array<Maybe<Webhook>>;
|
|
473
|
-
decodedLogWebhooks: Array<Maybe<Webhook>>;
|
|
474
427
|
nftEventWebhooks: Array<Maybe<Webhook>>;
|
|
475
428
|
priceWebhooks: Array<Maybe<Webhook>>;
|
|
476
|
-
rawCallTraceWebhooks: Array<Maybe<Webhook>>;
|
|
477
429
|
rawTransactionWebhooks: Array<Maybe<Webhook>>;
|
|
478
430
|
tokenPairEventWebhooks: Array<Maybe<Webhook>>;
|
|
479
431
|
};
|
|
@@ -495,44 +447,6 @@ export type CurrencyBarData = {
|
|
|
495
447
|
usd: IndividualBarData;
|
|
496
448
|
};
|
|
497
449
|
|
|
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
450
|
export type DeleteWebhooksInput = {
|
|
537
451
|
webhookIds: Array<Scalars['String']['input']>;
|
|
538
452
|
};
|
|
@@ -996,7 +910,7 @@ export enum EventType {
|
|
|
996
910
|
|
|
997
911
|
/** Input type of `EventsQuery`. */
|
|
998
912
|
export type EventsQueryInput = {
|
|
999
|
-
/** The pair contract address to filter by. */
|
|
913
|
+
/** 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
914
|
address: Scalars['String']['input'];
|
|
1001
915
|
/** The amount of `quoteToken` involved in the swap. */
|
|
1002
916
|
amountNonLiquidityToken?: InputMaybe<NumberFilter>;
|
|
@@ -1302,7 +1216,7 @@ export type GetPriceInput = {
|
|
|
1302
1216
|
maxDeviations?: InputMaybe<Scalars['Float']['input']>;
|
|
1303
1217
|
/** The network ID the token is deployed on. */
|
|
1304
1218
|
networkId: Scalars['Int']['input'];
|
|
1305
|
-
/** The unix timestamp for the price.
|
|
1219
|
+
/** The unix timestamp for the price. */
|
|
1306
1220
|
timestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
1307
1221
|
};
|
|
1308
1222
|
|
|
@@ -1613,6 +1527,7 @@ export type LiquidityLockConnection = {
|
|
|
1613
1527
|
/** Protocols that can lock liquidity */
|
|
1614
1528
|
export enum LiquidityLockProtocol {
|
|
1615
1529
|
BasecampV1 = 'BASECAMP_V1',
|
|
1530
|
+
Bitbond = 'BITBOND',
|
|
1616
1531
|
Burn = 'BURN',
|
|
1617
1532
|
UncxV2 = 'UNCX_V2',
|
|
1618
1533
|
UncxV3 = 'UNCX_V3'
|
|
@@ -4353,6 +4268,11 @@ export type OnBarsUpdatedResponse = {
|
|
|
4353
4268
|
timestamp: Scalars['Int']['output'];
|
|
4354
4269
|
};
|
|
4355
4270
|
|
|
4271
|
+
export type OnTokenEventsCreatedInput = {
|
|
4272
|
+
networkId: Scalars['Int']['input'];
|
|
4273
|
+
tokenAddress: Scalars['String']['input'];
|
|
4274
|
+
};
|
|
4275
|
+
|
|
4356
4276
|
export type OneOfNumberCondition = {
|
|
4357
4277
|
__typename?: 'OneOfNumberCondition';
|
|
4358
4278
|
oneOf: Array<Scalars['Int']['output']>;
|
|
@@ -6332,41 +6252,6 @@ export enum RankingDirection {
|
|
|
6332
6252
|
Desc = 'DESC'
|
|
6333
6253
|
}
|
|
6334
6254
|
|
|
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
6255
|
export type RawNftAssetData = {
|
|
6371
6256
|
__typename?: 'RawNftAssetData';
|
|
6372
6257
|
/** An optional image field that may or may not be present on the requested NFT asset smart contract. */
|
|
@@ -6801,6 +6686,8 @@ export type Subscription = {
|
|
|
6801
6686
|
/** Live-streamed price updates for a token. */
|
|
6802
6687
|
onPriceUpdated?: Maybe<Price>;
|
|
6803
6688
|
onSimulateTokenContract: SimulateTokenContractResult;
|
|
6689
|
+
/** Live streamed events for a given token across all it's pools */
|
|
6690
|
+
onTokenEventsCreated: AddTokenEventsOutput;
|
|
6804
6691
|
/** Live-streamed token lifecycle events (mints and burns) */
|
|
6805
6692
|
onTokenLifecycleEventsCreated: AddTokenLifecycleEventsOutput;
|
|
6806
6693
|
};
|
|
@@ -6886,6 +6773,11 @@ export type SubscriptionOnSimulateTokenContractArgs = {
|
|
|
6886
6773
|
};
|
|
6887
6774
|
|
|
6888
6775
|
|
|
6776
|
+
export type SubscriptionOnTokenEventsCreatedArgs = {
|
|
6777
|
+
input: OnTokenEventsCreatedInput;
|
|
6778
|
+
};
|
|
6779
|
+
|
|
6780
|
+
|
|
6889
6781
|
export type SubscriptionOnTokenLifecycleEventsCreatedArgs = {
|
|
6890
6782
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6891
6783
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -7742,7 +7634,7 @@ export type Webhook = {
|
|
|
7742
7634
|
webhookType: WebhookType;
|
|
7743
7635
|
};
|
|
7744
7636
|
|
|
7745
|
-
export type WebhookCondition =
|
|
7637
|
+
export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
|
|
7746
7638
|
|
|
7747
7639
|
export enum WebhookNftEventFillSource {
|
|
7748
7640
|
Blur = 'BLUR',
|
|
@@ -7771,7 +7663,6 @@ export enum WebhookNftEventType {
|
|
|
7771
7663
|
export enum WebhookType {
|
|
7772
7664
|
NftEvent = 'NFT_EVENT',
|
|
7773
7665
|
PriceEvent = 'PRICE_EVENT',
|
|
7774
|
-
RawCallTrace = 'RAW_CALL_TRACE',
|
|
7775
7666
|
RawTransaction = 'RAW_TRANSACTION',
|
|
7776
7667
|
TokenPairEvent = 'TOKEN_PAIR_EVENT'
|
|
7777
7668
|
}
|
|
@@ -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!]!
|
|
@@ -417,38 +422,6 @@ input CreateApiTokensInput {
|
|
|
417
422
|
expiresIn: Int
|
|
418
423
|
}
|
|
419
424
|
|
|
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
425
|
input CreateNftEventWebhookArgs {
|
|
453
426
|
name: String!
|
|
454
427
|
callbackUrl: String!
|
|
@@ -481,22 +454,6 @@ input CreatePriceWebhooksInput {
|
|
|
481
454
|
webhooks: [CreatePriceWebhookArgs!]!
|
|
482
455
|
}
|
|
483
456
|
|
|
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
457
|
input CreateRawTransactionWebhookArgs {
|
|
501
458
|
name: String!
|
|
502
459
|
callbackUrl: String!
|
|
@@ -531,9 +488,6 @@ input CreateTokenPairEventWebhooksInput {
|
|
|
531
488
|
|
|
532
489
|
input CreateWebhooksInput {
|
|
533
490
|
priceWebhooksInput: CreatePriceWebhooksInput
|
|
534
|
-
decodedLogWebhooksInput: CreateDecodedLogWebhooksInput
|
|
535
|
-
decodedCallWebhooksInput: CreateDecodedCallWebhooksInput
|
|
536
|
-
rawCallTraceWebhooksInput: CreateRawCallTraceWebhooksInput
|
|
537
491
|
tokenPairEventWebhooksInput: CreateTokenPairEventWebhooksInput
|
|
538
492
|
nftEventWebhooksInput: CreateNftEventWebhooksInput
|
|
539
493
|
rawTransactionWebhooksInput: CreateRawTransactionWebhooksInput
|
|
@@ -541,9 +495,6 @@ input CreateWebhooksInput {
|
|
|
541
495
|
|
|
542
496
|
type CreateWebhooksOutput {
|
|
543
497
|
priceWebhooks: [Webhook]!
|
|
544
|
-
decodedLogWebhooks: [Webhook]!
|
|
545
|
-
decodedCallWebhooks: [Webhook]!
|
|
546
|
-
rawCallTraceWebhooks: [Webhook]!
|
|
547
498
|
tokenPairEventWebhooks: [Webhook]!
|
|
548
499
|
nftEventWebhooks: [Webhook]!
|
|
549
500
|
rawTransactionWebhooks: [Webhook]!
|
|
@@ -567,42 +518,6 @@ type CurrencyBarData {
|
|
|
567
518
|
token: IndividualBarData!
|
|
568
519
|
}
|
|
569
520
|
|
|
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
521
|
input DeleteWebhooksInput {
|
|
607
522
|
webhookIds: [String!]!
|
|
608
523
|
}
|
|
@@ -1164,7 +1079,9 @@ input EventQueryTimestampInput {
|
|
|
1164
1079
|
|
|
1165
1080
|
"""Input type of `EventsQuery`."""
|
|
1166
1081
|
input EventsQueryInput {
|
|
1167
|
-
"""
|
|
1082
|
+
"""
|
|
1083
|
+
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.
|
|
1084
|
+
"""
|
|
1168
1085
|
address: String!
|
|
1169
1086
|
|
|
1170
1087
|
"""The token of interest. Can be `token0` or `token1`."""
|
|
@@ -1552,9 +1469,7 @@ input GetPriceInput {
|
|
|
1552
1469
|
"""The network ID the token is deployed on."""
|
|
1553
1470
|
networkId: Int!
|
|
1554
1471
|
|
|
1555
|
-
"""
|
|
1556
|
-
The unix timestamp for the price. Lookup is limited to the last three months.
|
|
1557
|
-
"""
|
|
1472
|
+
"""The unix timestamp for the price."""
|
|
1558
1473
|
timestamp: Int
|
|
1559
1474
|
|
|
1560
1475
|
"""
|
|
@@ -2000,6 +1915,7 @@ enum LiquidityLockProtocol {
|
|
|
2000
1915
|
UNCX_V2
|
|
2001
1916
|
UNCX_V3
|
|
2002
1917
|
BURN
|
|
1918
|
+
BITBOND
|
|
2003
1919
|
}
|
|
2004
1920
|
|
|
2005
1921
|
"""Metadata about a pair's liquidity. Includes locked liquidity data."""
|
|
@@ -5667,6 +5583,11 @@ input OneOfNumberConditionInput {
|
|
|
5667
5583
|
oneOf: [Int!]!
|
|
5668
5584
|
}
|
|
5669
5585
|
|
|
5586
|
+
input OnTokenEventsCreatedInput {
|
|
5587
|
+
tokenAddress: String!
|
|
5588
|
+
networkId: Int!
|
|
5589
|
+
}
|
|
5590
|
+
|
|
5670
5591
|
enum OrderState {
|
|
5671
5592
|
CREATED
|
|
5672
5593
|
PENDING
|
|
@@ -8367,38 +8288,6 @@ enum RankingDirection {
|
|
|
8367
8288
|
DESC
|
|
8368
8289
|
}
|
|
8369
8290
|
|
|
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
8291
|
type RawNftAssetData {
|
|
8403
8292
|
"""
|
|
8404
8293
|
An optional image field that may or may not be present on the requested NFT asset smart contract.
|
|
@@ -8991,6 +8880,9 @@ type Subscription {
|
|
|
8991
8880
|
): EventLabel
|
|
8992
8881
|
onSimulateTokenContract(contractAddress: String, networkId: Int!, simulationId: String): SimulateTokenContractResult!
|
|
8993
8882
|
|
|
8883
|
+
"""Live streamed events for a given token across all it's pools"""
|
|
8884
|
+
onTokenEventsCreated(input: OnTokenEventsCreatedInput!): AddTokenEventsOutput!
|
|
8885
|
+
|
|
8994
8886
|
"""Live-streamed token lifecycle events (mints and burns)"""
|
|
8995
8887
|
onTokenLifecycleEventsCreated(
|
|
8996
8888
|
"""The token contract address."""
|
|
@@ -10167,7 +10059,7 @@ type Webhook {
|
|
|
10167
10059
|
bucketSortkey: String
|
|
10168
10060
|
}
|
|
10169
10061
|
|
|
10170
|
-
union WebhookCondition = PriceEventWebhookCondition |
|
|
10062
|
+
union WebhookCondition = PriceEventWebhookCondition | TokenPairEventWebhookCondition | NftEventWebhookCondition | RawTransactionWebhookCondition
|
|
10171
10063
|
|
|
10172
10064
|
enum WebhookNftEventFillSource {
|
|
10173
10065
|
GEM
|
|
@@ -10195,7 +10087,6 @@ enum WebhookNftEventType {
|
|
|
10195
10087
|
|
|
10196
10088
|
enum WebhookType {
|
|
10197
10089
|
PRICE_EVENT
|
|
10198
|
-
RAW_CALL_TRACE
|
|
10199
10090
|
NFT_EVENT
|
|
10200
10091
|
TOKEN_PAIR_EVENT
|
|
10201
10092
|
RAW_TRANSACTION
|