@codex-data/sdk 0.6.1 → 0.6.3
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 +228 -12
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +2172 -483
- package/dist/resources/graphql.ts +255 -13
- package/dist/resources/schema.graphql +311 -14
- package/dist/sdk/generated/gql.d.ts +2 -2
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +1 -1
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +228 -12
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +1 -1
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -0
- package/dist/sdk/index.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/graphql.schema.json +2172 -483
- package/src/resources/graphql.ts +255 -13
- package/src/resources/schema.graphql +311 -14
- package/src/sdk/generated/gql.ts +2 -2
- package/src/sdk/generated/graphql.ts +256 -14
- package/src/sdk/graphql/GetPairEvents.graphql +6 -1
- package/src/sdk/index.ts +1 -0
|
@@ -68,6 +68,30 @@ type AddTokenLifecycleEventsOutput {
|
|
|
68
68
|
events: [TokenLifecycleEvent!]!
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
type AddTrackedWalletEventsOutput {
|
|
72
|
+
userId: String!
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
"""Response returned by `onUnconfirmedEventsCreated`."""
|
|
76
|
+
type AddUnconfirmedEventsOutput {
|
|
77
|
+
"""The contract address of the pair."""
|
|
78
|
+
address: String!
|
|
79
|
+
|
|
80
|
+
"""The network ID that the token is deployed on."""
|
|
81
|
+
networkId: Int!
|
|
82
|
+
|
|
83
|
+
"""
|
|
84
|
+
The ID of the event (`address`:`networkId`). For example, `0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1`.
|
|
85
|
+
"""
|
|
86
|
+
id: String!
|
|
87
|
+
|
|
88
|
+
"""The token of interest within the pair. Can be `token0` or `token1`."""
|
|
89
|
+
quoteToken: QuoteToken
|
|
90
|
+
|
|
91
|
+
"""A list of transactions for the token."""
|
|
92
|
+
events: [UnconfirmedEvent]!
|
|
93
|
+
}
|
|
94
|
+
|
|
71
95
|
enum AlertRecurrence {
|
|
72
96
|
INDEFINITE
|
|
73
97
|
ONCE
|
|
@@ -419,9 +443,7 @@ input CreateApiTokensInput {
|
|
|
419
443
|
"""
|
|
420
444
|
requestLimit: String
|
|
421
445
|
|
|
422
|
-
"""
|
|
423
|
-
Number of milliseconds until the token expires, defaults to 1 hour (3600000)
|
|
424
|
-
"""
|
|
446
|
+
"""Number of seconds until the token expires, defaults to 1 hour (3600)"""
|
|
425
447
|
expiresIn: Int
|
|
426
448
|
}
|
|
427
449
|
|
|
@@ -436,6 +458,7 @@ input CreateNftEventWebhookArgs {
|
|
|
436
458
|
bucketId: String
|
|
437
459
|
bucketSortkey: String
|
|
438
460
|
publishingType: PublishingType
|
|
461
|
+
deduplicate: Boolean
|
|
439
462
|
}
|
|
440
463
|
|
|
441
464
|
input CreateNftEventWebhooksInput {
|
|
@@ -453,6 +476,7 @@ input CreatePriceWebhookArgs {
|
|
|
453
476
|
bucketId: String
|
|
454
477
|
bucketSortkey: String
|
|
455
478
|
publishingType: PublishingType
|
|
479
|
+
deduplicate: Boolean
|
|
456
480
|
}
|
|
457
481
|
|
|
458
482
|
input CreatePriceWebhooksInput {
|
|
@@ -470,6 +494,7 @@ input CreateRawTransactionWebhookArgs {
|
|
|
470
494
|
bucketId: String
|
|
471
495
|
bucketSortkey: String
|
|
472
496
|
publishingType: PublishingType
|
|
497
|
+
deduplicate: Boolean
|
|
473
498
|
}
|
|
474
499
|
|
|
475
500
|
input CreateRawTransactionWebhooksInput {
|
|
@@ -487,6 +512,7 @@ input CreateTokenPairEventWebhookArgs {
|
|
|
487
512
|
bucketId: String
|
|
488
513
|
bucketSortkey: String
|
|
489
514
|
publishingType: PublishingType
|
|
515
|
+
deduplicate: Boolean
|
|
490
516
|
}
|
|
491
517
|
|
|
492
518
|
input CreateTokenPairEventWebhooksInput {
|
|
@@ -1386,8 +1412,10 @@ type FrontRunLabelData {
|
|
|
1386
1412
|
|
|
1387
1413
|
type GasEstimate {
|
|
1388
1414
|
gasLimitEstimate: String
|
|
1415
|
+
gasPrice: String
|
|
1389
1416
|
error: String
|
|
1390
|
-
|
|
1417
|
+
errorReason: String
|
|
1418
|
+
totalFee: String
|
|
1391
1419
|
}
|
|
1392
1420
|
|
|
1393
1421
|
type GasFee {
|
|
@@ -1446,6 +1474,21 @@ input GetGasEstimateInput {
|
|
|
1446
1474
|
userId: Int
|
|
1447
1475
|
walletId: Int
|
|
1448
1476
|
customGas: String
|
|
1477
|
+
sendWithPrivateRpc: Boolean
|
|
1478
|
+
slippage: Float
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
"""Response returned by `getNetworkStats`."""
|
|
1482
|
+
type GetNetworkStatsResponse {
|
|
1483
|
+
volume24: Float!
|
|
1484
|
+
volume12: Float!
|
|
1485
|
+
volume4: Float!
|
|
1486
|
+
volume1: Float!
|
|
1487
|
+
liquidity: Float!
|
|
1488
|
+
transactions24: Int!
|
|
1489
|
+
transactions12: Int!
|
|
1490
|
+
transactions4: Int!
|
|
1491
|
+
transactions1: Int!
|
|
1449
1492
|
}
|
|
1450
1493
|
|
|
1451
1494
|
"""Response returned by `getNftPoolCollectionsByExchange`."""
|
|
@@ -1494,6 +1537,7 @@ input GetQuoteInput {
|
|
|
1494
1537
|
exchangeAddress: String
|
|
1495
1538
|
userId: Int
|
|
1496
1539
|
customGas: String
|
|
1540
|
+
slippage: Float
|
|
1497
1541
|
}
|
|
1498
1542
|
|
|
1499
1543
|
type GetSimulateTokenContractResultsConnection {
|
|
@@ -2020,6 +2064,26 @@ type LockedLiquidityData {
|
|
|
2020
2064
|
lockBreakdown: [LockBreakdown]!
|
|
2021
2065
|
}
|
|
2022
2066
|
|
|
2067
|
+
"""Response returned by `getTokenEventsForMaker`."""
|
|
2068
|
+
type MakerEventConnection {
|
|
2069
|
+
"""A list of transactions for a token's top pair."""
|
|
2070
|
+
items: [Event]
|
|
2071
|
+
|
|
2072
|
+
"""A cursor for use in pagination."""
|
|
2073
|
+
cursor: String
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
input MakerEventsQueryInput {
|
|
2077
|
+
"""The specific wallet address to filter by."""
|
|
2078
|
+
maker: String!
|
|
2079
|
+
|
|
2080
|
+
"""The network ID to filter by."""
|
|
2081
|
+
networkId: Int!
|
|
2082
|
+
|
|
2083
|
+
"""The token of interest. Can be `token0` or `token1`."""
|
|
2084
|
+
quoteToken: QuoteToken
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2023
2087
|
"""The status for a network supported on Defined."""
|
|
2024
2088
|
type MetadataResponse {
|
|
2025
2089
|
"""The last processed block on the network."""
|
|
@@ -2035,6 +2099,17 @@ type MetadataResponse {
|
|
|
2035
2099
|
networkName: String!
|
|
2036
2100
|
}
|
|
2037
2101
|
|
|
2102
|
+
input MigrateTrackedWalletsInput {
|
|
2103
|
+
fromUserId: String!
|
|
2104
|
+
toUserId: String!
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
type MigrateTrackedWalletsOutput {
|
|
2108
|
+
fromUserId: String!
|
|
2109
|
+
toUserId: String!
|
|
2110
|
+
status: String!
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2038
2113
|
"""Event data for a token mint event."""
|
|
2039
2114
|
type MintEventData {
|
|
2040
2115
|
"""The amount of `token0` added to the pair."""
|
|
@@ -5596,6 +5671,9 @@ type OnBarsUpdatedResponse {
|
|
|
5596
5671
|
|
|
5597
5672
|
"""The quote token within the pair."""
|
|
5598
5673
|
quoteToken: QuoteToken
|
|
5674
|
+
|
|
5675
|
+
"""The address of the token being quoted"""
|
|
5676
|
+
quoteTokenAddress: String!
|
|
5599
5677
|
}
|
|
5600
5678
|
|
|
5601
5679
|
type OneOfNumberCondition {
|
|
@@ -5606,6 +5684,47 @@ input OneOfNumberConditionInput {
|
|
|
5606
5684
|
oneOf: [Int!]!
|
|
5607
5685
|
}
|
|
5608
5686
|
|
|
5687
|
+
input OnPricesUpdatedInput {
|
|
5688
|
+
address: String!
|
|
5689
|
+
networkId: Int!
|
|
5690
|
+
}
|
|
5691
|
+
|
|
5692
|
+
"""Response returned by `onBarsUpdated`."""
|
|
5693
|
+
type OnTokenBarsUpdatedResponse {
|
|
5694
|
+
"""The contract address for the pair."""
|
|
5695
|
+
pairAddress: String!
|
|
5696
|
+
|
|
5697
|
+
"""The network ID the pair is deployed on."""
|
|
5698
|
+
networkId: Int!
|
|
5699
|
+
|
|
5700
|
+
"""The ID for the pair (`pairAddress`:`networkId`)."""
|
|
5701
|
+
pairId: String!
|
|
5702
|
+
|
|
5703
|
+
"""The unix timestamp for the new bar."""
|
|
5704
|
+
timestamp: Int!
|
|
5705
|
+
|
|
5706
|
+
"""The type of statistics used. Can be `Filtered` or `Unfiltered`."""
|
|
5707
|
+
statsType: TokenPairStatisticsType!
|
|
5708
|
+
|
|
5709
|
+
"""
|
|
5710
|
+
The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
|
|
5711
|
+
For example, `0000000016414564#00000224#00000413`.
|
|
5712
|
+
"""
|
|
5713
|
+
eventSortKey: String!
|
|
5714
|
+
|
|
5715
|
+
"""Price data broken down by resolution."""
|
|
5716
|
+
aggregates: ResolutionBarData!
|
|
5717
|
+
|
|
5718
|
+
"""The quote token within the pair."""
|
|
5719
|
+
quoteToken: QuoteToken
|
|
5720
|
+
|
|
5721
|
+
"""The address of the token being quoted"""
|
|
5722
|
+
tokenAddress: String!
|
|
5723
|
+
|
|
5724
|
+
"""The address of the token being quoted"""
|
|
5725
|
+
tokenId: String!
|
|
5726
|
+
}
|
|
5727
|
+
|
|
5609
5728
|
input OnTokenEventsCreatedInput {
|
|
5610
5729
|
tokenAddress: String!
|
|
5611
5730
|
networkId: Int!
|
|
@@ -7358,6 +7477,9 @@ type Query {
|
|
|
7358
7477
|
"""The event types to filter by."""
|
|
7359
7478
|
eventTypes: [NftPoolEventType!]
|
|
7360
7479
|
|
|
7480
|
+
"""The time range to filter by."""
|
|
7481
|
+
timestamp: EventQueryTimestampInput
|
|
7482
|
+
|
|
7361
7483
|
"""The cursor to use for pagination."""
|
|
7362
7484
|
cursor: String
|
|
7363
7485
|
|
|
@@ -7793,6 +7915,9 @@ type Query {
|
|
|
7793
7915
|
"""
|
|
7794
7916
|
tokens: [String]
|
|
7795
7917
|
|
|
7918
|
+
"""A list of token IDs to exclude from results (`address:networkId`)"""
|
|
7919
|
+
excludeTokens: [String]
|
|
7920
|
+
|
|
7796
7921
|
"""A list of ranking attributes to apply."""
|
|
7797
7922
|
rankings: [TokenRanking]
|
|
7798
7923
|
|
|
@@ -7982,6 +8107,15 @@ type Query {
|
|
|
7982
8107
|
currencyCode: String
|
|
7983
8108
|
): SymbolResponse
|
|
7984
8109
|
|
|
8110
|
+
"""Returns metadata for a given network."""
|
|
8111
|
+
getNetworkStats(
|
|
8112
|
+
"""The network Id to filter by."""
|
|
8113
|
+
networkId: Int!
|
|
8114
|
+
|
|
8115
|
+
"""The exchange address to filter by (optional)."""
|
|
8116
|
+
exchangeAddress: String
|
|
8117
|
+
): GetNetworkStatsResponse
|
|
8118
|
+
|
|
7985
8119
|
"""Returns transactions for a pair."""
|
|
7986
8120
|
getTokenEvents(
|
|
7987
8121
|
"""The maximum number of transactions to return."""
|
|
@@ -7998,6 +8132,7 @@ type Query {
|
|
|
7998
8132
|
"""
|
|
7999
8133
|
direction: RankingDirection
|
|
8000
8134
|
): EventConnection
|
|
8135
|
+
getTokenEventsForMaker(limit: Int, query: MakerEventsQueryInput!, cursor: String, direction: RankingDirection): MakerEventConnection
|
|
8001
8136
|
|
|
8002
8137
|
"""
|
|
8003
8138
|
Returns real-time or historical prices for a list of tokens, fetched in batches.
|
|
@@ -8267,6 +8402,7 @@ type Quote {
|
|
|
8267
8402
|
poolFee: String
|
|
8268
8403
|
poolFeeBps: Float
|
|
8269
8404
|
quotedAmount: String!
|
|
8405
|
+
outputAmountMin: String
|
|
8270
8406
|
quoteType: QuoteType!
|
|
8271
8407
|
tradeFee: String!
|
|
8272
8408
|
tradeFeeBps: Float!
|
|
@@ -8300,16 +8436,6 @@ enum QuoteType {
|
|
|
8300
8436
|
OUTPUT
|
|
8301
8437
|
}
|
|
8302
8438
|
|
|
8303
|
-
type QuoteV2 {
|
|
8304
|
-
poolFee: String
|
|
8305
|
-
poolFeeBps: Float
|
|
8306
|
-
quotedAmount: String!
|
|
8307
|
-
quoteType: QuoteType!
|
|
8308
|
-
tradeFee: String!
|
|
8309
|
-
tradeFeeBps: Float!
|
|
8310
|
-
exchange: QuoteExchange!
|
|
8311
|
-
}
|
|
8312
|
-
|
|
8313
8439
|
"""The order of ranking."""
|
|
8314
8440
|
enum RankingDirection {
|
|
8315
8441
|
ASC
|
|
@@ -8358,6 +8484,31 @@ input RawTransactionWebhookConditionInput {
|
|
|
8358
8484
|
ignoreNftEvents: Boolean
|
|
8359
8485
|
}
|
|
8360
8486
|
|
|
8487
|
+
union ReferralEventData = ReferralsEventRewardData | ReferralsEventPayoutData
|
|
8488
|
+
|
|
8489
|
+
type ReferralsEventPayoutData {
|
|
8490
|
+
payouts: [ReferralsPayoutData!]!
|
|
8491
|
+
}
|
|
8492
|
+
|
|
8493
|
+
type ReferralsEventRewardData {
|
|
8494
|
+
networkId: Int!
|
|
8495
|
+
inputTokenAddress: String!
|
|
8496
|
+
outputTokenAddress: String!
|
|
8497
|
+
transactionId: String!
|
|
8498
|
+
transactionTokenAmount: String!
|
|
8499
|
+
transactionTokenAddress: String!
|
|
8500
|
+
transactionFee: String!
|
|
8501
|
+
referralUserId: String!
|
|
8502
|
+
payoutPercent: Float!
|
|
8503
|
+
rewardTokenAmount: String
|
|
8504
|
+
rewardTokenAddress: String
|
|
8505
|
+
}
|
|
8506
|
+
|
|
8507
|
+
type ReferralsPayoutData {
|
|
8508
|
+
tokenAmountPaid: String!
|
|
8509
|
+
tokenAddressNetworkIdPaid: String!
|
|
8510
|
+
}
|
|
8511
|
+
|
|
8361
8512
|
"""Price data for each supported resolution."""
|
|
8362
8513
|
type ResolutionBarData {
|
|
8363
8514
|
"""1 second resolution."""
|
|
@@ -8369,6 +8520,9 @@ type ResolutionBarData {
|
|
|
8369
8520
|
"""15 second resolution."""
|
|
8370
8521
|
r15S: CurrencyBarData
|
|
8371
8522
|
|
|
8523
|
+
"""30 second resolution."""
|
|
8524
|
+
r30S: CurrencyBarData
|
|
8525
|
+
|
|
8372
8526
|
"""1 minute resolution."""
|
|
8373
8527
|
r1: CurrencyBarData
|
|
8374
8528
|
|
|
@@ -8837,6 +8991,17 @@ type Subscription {
|
|
|
8837
8991
|
statsType: TokenPairStatisticsType
|
|
8838
8992
|
): OnBarsUpdatedResponse
|
|
8839
8993
|
|
|
8994
|
+
"""
|
|
8995
|
+
Live-streamed bar chart data to track price changes over time for a token.
|
|
8996
|
+
"""
|
|
8997
|
+
onTokenBarsUpdated(
|
|
8998
|
+
"""The ID of the pair (`address`:`networkId`)."""
|
|
8999
|
+
tokenId: String
|
|
9000
|
+
|
|
9001
|
+
"""docs: hide"""
|
|
9002
|
+
statsType: TokenPairStatisticsType
|
|
9003
|
+
): OnTokenBarsUpdatedResponse
|
|
9004
|
+
|
|
8840
9005
|
"""Live-streamed transactions for a token."""
|
|
8841
9006
|
onEventsCreated(
|
|
8842
9007
|
"""The pair contract address."""
|
|
@@ -8849,6 +9014,18 @@ type Subscription {
|
|
|
8849
9014
|
quoteToken: QuoteToken
|
|
8850
9015
|
): AddEventsOutput
|
|
8851
9016
|
|
|
9017
|
+
"""Live-streamed unconfirmed transactions for a token. (Solana only)"""
|
|
9018
|
+
onUnconfirmedEventsCreated(
|
|
9019
|
+
"""The pair contract address."""
|
|
9020
|
+
address: String
|
|
9021
|
+
|
|
9022
|
+
"""The ID of the pair (`address`:`networkId`)."""
|
|
9023
|
+
id: String
|
|
9024
|
+
|
|
9025
|
+
"""The token of interest within the pair. Can be `token0` or `token1`."""
|
|
9026
|
+
quoteToken: QuoteToken
|
|
9027
|
+
): AddUnconfirmedEventsOutput
|
|
9028
|
+
|
|
8852
9029
|
"""Live-streamed price updates for a token."""
|
|
8853
9030
|
onPriceUpdated(
|
|
8854
9031
|
"""The token contract address."""
|
|
@@ -8858,6 +9035,9 @@ type Subscription {
|
|
|
8858
9035
|
networkId: Int
|
|
8859
9036
|
): Price
|
|
8860
9037
|
|
|
9038
|
+
"""Live-streamed price updates for multiple tokens."""
|
|
9039
|
+
onPricesUpdated(input: [OnPricesUpdatedInput!]!): Price!
|
|
9040
|
+
|
|
8861
9041
|
"""Live-streamed stat updates for a given token within a pair."""
|
|
8862
9042
|
onPairMetadataUpdated(
|
|
8863
9043
|
"""The ID of the pair (`address`:`networkId`)."""
|
|
@@ -9625,6 +9805,9 @@ type TokenInfo {
|
|
|
9625
9805
|
"""The large token logo URL."""
|
|
9626
9806
|
imageLargeUrl: String
|
|
9627
9807
|
|
|
9808
|
+
"""The token banner URL."""
|
|
9809
|
+
imageBannerUrl: String
|
|
9810
|
+
|
|
9628
9811
|
"""A description of the token."""
|
|
9629
9812
|
description: String
|
|
9630
9813
|
}
|
|
@@ -9978,6 +10161,9 @@ type TokenWithMetadata {
|
|
|
9978
10161
|
"""The token logo URL."""
|
|
9979
10162
|
imageLargeUrl: String
|
|
9980
10163
|
|
|
10164
|
+
"""The token banner URL."""
|
|
10165
|
+
imageBannerUrl: String
|
|
10166
|
+
|
|
9981
10167
|
"""The unix timestamp for the creation of the token's first pair."""
|
|
9982
10168
|
createdAt: Int
|
|
9983
10169
|
|
|
@@ -9985,6 +10171,117 @@ type TokenWithMetadata {
|
|
|
9985
10171
|
lastTransaction: Int
|
|
9986
10172
|
}
|
|
9987
10173
|
|
|
10174
|
+
"""An unconfirmed token transaction."""
|
|
10175
|
+
type UnconfirmedEvent {
|
|
10176
|
+
"""The contract address of the token's top pair."""
|
|
10177
|
+
address: String!
|
|
10178
|
+
|
|
10179
|
+
"""The hash of the block where the transaction occurred."""
|
|
10180
|
+
blockHash: String!
|
|
10181
|
+
|
|
10182
|
+
"""The block number for the transaction."""
|
|
10183
|
+
blockNumber: Int!
|
|
10184
|
+
|
|
10185
|
+
"""
|
|
10186
|
+
The type of transaction event. Can be `Burn`, `Mint`, `Swap`, `Sync`, `Collect`, or `CollectProtocol`.
|
|
10187
|
+
"""
|
|
10188
|
+
eventType: EventType!
|
|
10189
|
+
|
|
10190
|
+
"""
|
|
10191
|
+
The ID of the event (`address:networkId`). For example, `0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1`.
|
|
10192
|
+
"""
|
|
10193
|
+
id: String!
|
|
10194
|
+
|
|
10195
|
+
"""The index of the log in the block."""
|
|
10196
|
+
logIndex: Int!
|
|
10197
|
+
|
|
10198
|
+
"""The wallet address that performed the transaction."""
|
|
10199
|
+
maker: String
|
|
10200
|
+
|
|
10201
|
+
"""The network ID that the token is deployed on."""
|
|
10202
|
+
networkId: Int!
|
|
10203
|
+
|
|
10204
|
+
"""
|
|
10205
|
+
The token of interest within the token's top pair. Can be `token0` or `token1`.
|
|
10206
|
+
"""
|
|
10207
|
+
quoteToken: QuoteToken
|
|
10208
|
+
|
|
10209
|
+
"""The unix timestamp for when the transaction occurred."""
|
|
10210
|
+
timestamp: Int!
|
|
10211
|
+
|
|
10212
|
+
"""The unique hash for the transaction."""
|
|
10213
|
+
transactionHash: String!
|
|
10214
|
+
|
|
10215
|
+
"""The index of the transaction within the block."""
|
|
10216
|
+
transactionIndex: Int!
|
|
10217
|
+
|
|
10218
|
+
"""
|
|
10219
|
+
A optional unique identifier of where the event is within the transaction.
|
|
10220
|
+
"""
|
|
10221
|
+
supplementalIndex: Int
|
|
10222
|
+
|
|
10223
|
+
"""
|
|
10224
|
+
A more specific breakdown of `eventType`. Splits `Swap` into `Buy` or `Sell`.
|
|
10225
|
+
"""
|
|
10226
|
+
eventDisplayType: EventDisplayType
|
|
10227
|
+
|
|
10228
|
+
"""The event-specific data for the transaction."""
|
|
10229
|
+
data: UnconfirmedEventData
|
|
10230
|
+
}
|
|
10231
|
+
|
|
10232
|
+
union UnconfirmedEventData = UnconfirmedSwapEventData | UnconfirmedLiquidityChangeEventData
|
|
10233
|
+
|
|
10234
|
+
type UnconfirmedLiquidityChangeEventData {
|
|
10235
|
+
"""The amount of `token0` added or removed from the pair."""
|
|
10236
|
+
amount0: String
|
|
10237
|
+
|
|
10238
|
+
"""The amount of `token1` added or removed from the pair."""
|
|
10239
|
+
amount1: String
|
|
10240
|
+
|
|
10241
|
+
"""
|
|
10242
|
+
The amount of `token0` added or removed from the pair, adjusted by the number of decimals in the token. For example, if `amount0` is in WEI, `amount0Shifted` will be in ETH.
|
|
10243
|
+
"""
|
|
10244
|
+
amount0Shifted: String
|
|
10245
|
+
|
|
10246
|
+
"""
|
|
10247
|
+
The amount of `token1` added or removed from the pair, adjusted by the number of decimals in the token. For example, USDC `amount1Shifted` will be by 6 decimals.
|
|
10248
|
+
"""
|
|
10249
|
+
amount1Shifted: String
|
|
10250
|
+
|
|
10251
|
+
"""The type of token event, `Mint` or 'Burn'."""
|
|
10252
|
+
type: EventType!
|
|
10253
|
+
}
|
|
10254
|
+
|
|
10255
|
+
type UnconfirmedSwapEventData {
|
|
10256
|
+
"""
|
|
10257
|
+
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.
|
|
10258
|
+
"""
|
|
10259
|
+
amountNonLiquidityToken: String
|
|
10260
|
+
|
|
10261
|
+
"""
|
|
10262
|
+
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.
|
|
10263
|
+
"""
|
|
10264
|
+
priceBaseToken: String
|
|
10265
|
+
|
|
10266
|
+
"""
|
|
10267
|
+
The total amount of `quoteToken` involved in the swap in the network's base token (`amountNonLiquidityToken` x `priceBaseToken`).
|
|
10268
|
+
"""
|
|
10269
|
+
priceBaseTokenTotal: String
|
|
10270
|
+
|
|
10271
|
+
"""
|
|
10272
|
+
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).
|
|
10273
|
+
"""
|
|
10274
|
+
priceUsd: String
|
|
10275
|
+
|
|
10276
|
+
"""
|
|
10277
|
+
The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`).
|
|
10278
|
+
"""
|
|
10279
|
+
priceUsdTotal: String
|
|
10280
|
+
|
|
10281
|
+
"""The type of token event, `Swap`."""
|
|
10282
|
+
type: EventType!
|
|
10283
|
+
}
|
|
10284
|
+
|
|
9988
10285
|
type UniV3Tick {
|
|
9989
10286
|
tick: Int
|
|
9990
10287
|
liquidityNet: String
|
package/src/sdk/generated/gql.ts
CHANGED
|
@@ -22,7 +22,7 @@ const documents = {
|
|
|
22
22
|
"query GetDetailedPairStats($pairAddress: String!, $networkId: Int!, $tokenOfInterest: TokenOfInterest, $timestamp: Int, $durations: [DetailedPairStatsDuration], $bucketCount: Int) {\n getDetailedPairStats(\n pairAddress: $pairAddress\n networkId: $networkId\n tokenOfInterest: $tokenOfInterest\n timestamp: $timestamp\n durations: $durations\n bucketCount: $bucketCount\n ) {\n pairAddress\n networkId\n tokenOfInterest\n lastTransaction\n pair {\n address\n exchangeHash\n fee\n id\n networkId\n tickSpacing\n token0\n token1\n createdAt\n token0Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n totalSupply\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n token1Data {\n address\n cmcId\n decimals\n id\n isScam\n name\n networkId\n symbol\n totalSupply\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n info {\n id\n address\n circulatingSupply\n cmcId\n isScam\n name\n networkId\n symbol\n totalSupply\n imageThumbUrl\n imageSmallUrl\n imageLargeUrl\n }\n explorerData {\n id\n blueCheckmark\n description\n divisor\n tokenPriceUSD\n tokenType\n }\n exchanges {\n address\n color\n id\n name\n exchangeVersion\n iconUrl\n networkId\n tradeUrl\n }\n }\n pooled {\n token0\n token1\n }\n }\n stats_day1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_day30 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour12 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_hour4 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_min15 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_min5 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n stats_week1 {\n duration\n start\n end\n timestamps {\n start\n end\n }\n statsUsd {\n volume {\n change\n currentValue\n previousValue\n buckets\n }\n buyVolume {\n change\n currentValue\n previousValue\n buckets\n }\n sellVolume {\n change\n currentValue\n previousValue\n buckets\n }\n open {\n change\n currentValue\n previousValue\n buckets\n }\n highest {\n change\n currentValue\n previousValue\n buckets\n }\n lowest {\n change\n currentValue\n previousValue\n buckets\n }\n close {\n change\n currentValue\n previousValue\n buckets\n }\n liquidity {\n change\n currentValue\n previousValue\n buckets\n }\n }\n statsNonCurrency {\n transactions {\n change\n currentValue\n previousValue\n buckets\n }\n buys {\n change\n currentValue\n previousValue\n buckets\n }\n sells {\n change\n currentValue\n previousValue\n buckets\n }\n traders {\n change\n currentValue\n previousValue\n buckets\n }\n buyers {\n change\n currentValue\n previousValue\n buckets\n }\n sellers {\n change\n currentValue\n previousValue\n buckets\n }\n }\n }\n }\n}": types.GetDetailedPairStatsDocument,
|
|
23
23
|
"query GetNetworkStatus($networkIds: [Int!]!) {\n getNetworkStatus(networkIds: $networkIds) {\n networkName\n lastProcessedBlock\n lastProcessedTimestamp\n }\n}": types.GetNetworkStatusDocument,
|
|
24
24
|
"query GetNetworks {\n getNetworks {\n id\n name\n }\n}": types.GetNetworksDocument,
|
|
25
|
-
"query PairEvents($cursor: String, $limit: Int, $direction: RankingDirection, $query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}": types.PairEventsDocument,
|
|
25
|
+
"query PairEvents($cursor: String, $limit: Int, $direction: RankingDirection, $query: EventsQueryInput!) {\n pairEvents: getTokenEvents(\n query: $query\n cursor: $cursor\n limit: $limit\n direction: $direction\n ) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}": types.PairEventsDocument,
|
|
26
26
|
"query GetTokenPrice($inputs: [GetPriceInput]) {\n getTokenPrices(inputs: $inputs) {\n address\n networkId\n priceUsd\n }\n}": types.GetTokenPriceDocument,
|
|
27
27
|
"query GetSparklines($input: TokenSparklineInput!) {\n tokenSparklines(input: $input) {\n attribute\n id\n sparkline {\n timestamp\n value\n }\n }\n}": types.GetSparklinesDocument,
|
|
28
28
|
"query GetSymbol($symbol: String!, $currencyCode: String) {\n getSymbol(symbol: $symbol, currencyCode: $currencyCode) {\n name\n description\n currency_code\n supported_resolutions\n pricescale\n ticker\n original_currency_code\n }\n}": types.GetSymbolDocument,
|
|
@@ -92,7 +92,7 @@ export function graphql(source: "query GetNetworks {\n getNetworks {\n id\n
|
|
|
92
92
|
/**
|
|
93
93
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
94
94
|
*/
|
|
95
|
-
export function graphql(source: "query PairEvents($cursor: String, $limit: Int, $direction: RankingDirection, $query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}"): (typeof documents)["query PairEvents($cursor: String, $limit: Int, $direction: RankingDirection, $query: EventsQueryInput!) {\n pairEvents: getTokenEvents(query: $query) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}"];
|
|
95
|
+
export function graphql(source: "query PairEvents($cursor: String, $limit: Int, $direction: RankingDirection, $query: EventsQueryInput!) {\n pairEvents: getTokenEvents(\n query: $query\n cursor: $cursor\n limit: $limit\n direction: $direction\n ) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}"): (typeof documents)["query PairEvents($cursor: String, $limit: Int, $direction: RankingDirection, $query: EventsQueryInput!) {\n pairEvents: getTokenEvents(\n query: $query\n cursor: $cursor\n limit: $limit\n direction: $direction\n ) {\n cursor\n items {\n address\n baseTokenPrice\n blockHash\n blockNumber\n eventDisplayType\n eventType\n id\n liquidityToken\n maker\n networkId\n quoteToken\n token0PoolValueUsd\n token0SwapValueUsd\n timestamp\n token0ValueBase\n token1PoolValueUsd\n token1SwapValueUsd\n token1ValueBase\n transactionHash\n transactionIndex\n logIndex\n data {\n __typename\n ... on BurnEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on MintEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on PoolBalanceChangedEventData {\n amount0\n amount1\n amount0Shifted\n amount1Shifted\n type\n }\n ... on SwapEventData {\n amount0In\n amount0Out\n amount1In\n amount1Out\n amount0\n amount1\n amountNonLiquidityToken\n priceUsd\n priceUsdTotal\n priceBaseToken\n priceBaseTokenTotal\n type\n }\n }\n }\n }\n}"];
|
|
96
96
|
/**
|
|
97
97
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
98
98
|
*/
|