@codex-data/sdk 1.0.28 → 1.0.30
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 +11 -3
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +11 -3
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/graphql.schema.json +55 -3
- package/src/resources/graphql.ts +11 -3
- package/src/resources/schema.graphql +11 -3
- package/src/sdk/generated/graphql.ts +11 -3
package/package.json
CHANGED
|
@@ -2976,7 +2976,7 @@
|
|
|
2976
2976
|
},
|
|
2977
2977
|
{
|
|
2978
2978
|
"name": "expiresIn",
|
|
2979
|
-
"description": "Number of
|
|
2979
|
+
"description": "Number of milliseconds until the token expires, defaults to 1 hour (3600000)",
|
|
2980
2980
|
"type": {
|
|
2981
2981
|
"kind": "SCALAR",
|
|
2982
2982
|
"name": "Int",
|
|
@@ -33743,6 +33743,22 @@
|
|
|
33743
33743
|
"isDeprecated": false,
|
|
33744
33744
|
"deprecationReason": null
|
|
33745
33745
|
},
|
|
33746
|
+
{
|
|
33747
|
+
"name": "priceNonQuoteToken",
|
|
33748
|
+
"description": "The non-quote token price in USD.",
|
|
33749
|
+
"args": [],
|
|
33750
|
+
"type": {
|
|
33751
|
+
"kind": "NON_NULL",
|
|
33752
|
+
"name": null,
|
|
33753
|
+
"ofType": {
|
|
33754
|
+
"kind": "SCALAR",
|
|
33755
|
+
"name": "String",
|
|
33756
|
+
"ofType": null
|
|
33757
|
+
}
|
|
33758
|
+
},
|
|
33759
|
+
"isDeprecated": false,
|
|
33760
|
+
"deprecationReason": null
|
|
33761
|
+
},
|
|
33746
33762
|
{
|
|
33747
33763
|
"name": "quoteToken",
|
|
33748
33764
|
"description": "The token of interest within the pair. Can be `token0` or `token1`.",
|
|
@@ -46138,7 +46154,7 @@
|
|
|
46138
46154
|
},
|
|
46139
46155
|
{
|
|
46140
46156
|
"name": "onEventsCreated",
|
|
46141
|
-
"description": "Live-streamed transactions for a
|
|
46157
|
+
"description": "Live-streamed transactions for a pair.",
|
|
46142
46158
|
"args": [
|
|
46143
46159
|
{
|
|
46144
46160
|
"name": "address",
|
|
@@ -54389,7 +54405,7 @@
|
|
|
54389
54405
|
},
|
|
54390
54406
|
{
|
|
54391
54407
|
"name": "tokenBalance",
|
|
54392
|
-
"description": "The
|
|
54408
|
+
"description": "The token balance in the wallet. This value does not update with every transfer and can be slightly stale. Use tokenBalanceLive for live data.",
|
|
54393
54409
|
"args": [],
|
|
54394
54410
|
"type": {
|
|
54395
54411
|
"kind": "NON_NULL",
|
|
@@ -54402,6 +54418,30 @@
|
|
|
54402
54418
|
},
|
|
54403
54419
|
"isDeprecated": false,
|
|
54404
54420
|
"deprecationReason": null
|
|
54421
|
+
},
|
|
54422
|
+
{
|
|
54423
|
+
"name": "tokenBalanceLive",
|
|
54424
|
+
"description": "The current token balance in the wallet.",
|
|
54425
|
+
"args": [],
|
|
54426
|
+
"type": {
|
|
54427
|
+
"kind": "SCALAR",
|
|
54428
|
+
"name": "String",
|
|
54429
|
+
"ofType": null
|
|
54430
|
+
},
|
|
54431
|
+
"isDeprecated": false,
|
|
54432
|
+
"deprecationReason": null
|
|
54433
|
+
},
|
|
54434
|
+
{
|
|
54435
|
+
"name": "tokenBalanceLiveUsd",
|
|
54436
|
+
"description": "The current USD value of the token balance.",
|
|
54437
|
+
"args": [],
|
|
54438
|
+
"type": {
|
|
54439
|
+
"kind": "SCALAR",
|
|
54440
|
+
"name": "String",
|
|
54441
|
+
"ofType": null
|
|
54442
|
+
},
|
|
54443
|
+
"isDeprecated": false,
|
|
54444
|
+
"deprecationReason": null
|
|
54405
54445
|
}
|
|
54406
54446
|
],
|
|
54407
54447
|
"inputFields": null,
|
|
@@ -55669,6 +55709,18 @@
|
|
|
55669
55709
|
"description": null,
|
|
55670
55710
|
"isOneOf": null,
|
|
55671
55711
|
"fields": [
|
|
55712
|
+
{
|
|
55713
|
+
"name": "isToken0NetworkToken",
|
|
55714
|
+
"description": "Whether the token is the network token for the Uniswap V4 pool.",
|
|
55715
|
+
"args": [],
|
|
55716
|
+
"type": {
|
|
55717
|
+
"kind": "SCALAR",
|
|
55718
|
+
"name": "Boolean",
|
|
55719
|
+
"ofType": null
|
|
55720
|
+
},
|
|
55721
|
+
"isDeprecated": false,
|
|
55722
|
+
"deprecationReason": null
|
|
55723
|
+
},
|
|
55672
55724
|
{
|
|
55673
55725
|
"name": "type",
|
|
55674
55726
|
"description": null,
|
package/src/resources/graphql.ts
CHANGED
|
@@ -481,7 +481,7 @@ export enum ContractType {
|
|
|
481
481
|
export type CreateApiTokensInput = {
|
|
482
482
|
/** Number of tokens to create, default is 1 */
|
|
483
483
|
count?: InputMaybe<Scalars['Int']['input']>;
|
|
484
|
-
/** Number of
|
|
484
|
+
/** Number of milliseconds until the token expires, defaults to 1 hour (3600000) */
|
|
485
485
|
expiresIn?: InputMaybe<Scalars['Int']['input']>;
|
|
486
486
|
/** Number of requests allowed per token, represented as a string, default is 5000 */
|
|
487
487
|
requestLimit?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5706,6 +5706,8 @@ export type PairMetadata = {
|
|
|
5706
5706
|
priceChange12?: Maybe<Scalars['Float']['output']>;
|
|
5707
5707
|
/** The percent price change in the past 24 hours. Decimal format. */
|
|
5708
5708
|
priceChange24?: Maybe<Scalars['Float']['output']>;
|
|
5709
|
+
/** The non-quote token price in USD. */
|
|
5710
|
+
priceNonQuoteToken: Scalars['String']['output'];
|
|
5709
5711
|
/** The token of interest within the pair. Can be `token0` or `token1`. */
|
|
5710
5712
|
quoteToken?: Maybe<QuoteToken>;
|
|
5711
5713
|
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED` */
|
|
@@ -7681,7 +7683,7 @@ export type Subscription = {
|
|
|
7681
7683
|
onDetailedStatsUpdated?: Maybe<DetailedStats>;
|
|
7682
7684
|
/** Live-streamed event labels for a token. */
|
|
7683
7685
|
onEventLabelCreated?: Maybe<EventLabel>;
|
|
7684
|
-
/** Live-streamed transactions for a
|
|
7686
|
+
/** Live-streamed transactions for a pair. */
|
|
7685
7687
|
onEventsCreated?: Maybe<AddEventsOutput>;
|
|
7686
7688
|
/** Live-streamed transactions for a maker. */
|
|
7687
7689
|
onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
|
|
@@ -9022,8 +9024,12 @@ export type TokenWalletFilterResult = {
|
|
|
9022
9024
|
tokenAmountSoldAll1y: Scalars['String']['output'];
|
|
9023
9025
|
/** Token amount sold all in the past 30 days */
|
|
9024
9026
|
tokenAmountSoldAll30d: Scalars['String']['output'];
|
|
9025
|
-
/** The
|
|
9027
|
+
/** The token balance in the wallet. This value does not update with every transfer and can be slightly stale. Use tokenBalanceLive for live data. */
|
|
9026
9028
|
tokenBalance: Scalars['String']['output'];
|
|
9029
|
+
/** The current token balance in the wallet. */
|
|
9030
|
+
tokenBalanceLive?: Maybe<Scalars['String']['output']>;
|
|
9031
|
+
/** The current USD value of the token balance. */
|
|
9032
|
+
tokenBalanceLiveUsd?: Maybe<Scalars['String']['output']>;
|
|
9027
9033
|
};
|
|
9028
9034
|
|
|
9029
9035
|
/** A token with metadata. */
|
|
@@ -9234,6 +9240,8 @@ export type UnconfirmedSwapEventData = {
|
|
|
9234
9240
|
|
|
9235
9241
|
export type UniswapV4Data = {
|
|
9236
9242
|
__typename?: 'UniswapV4Data';
|
|
9243
|
+
/** Whether the token is the network token for the Uniswap V4 pool. */
|
|
9244
|
+
isToken0NetworkToken?: Maybe<Scalars['Boolean']['output']>;
|
|
9237
9245
|
type: Scalars['String']['output'];
|
|
9238
9246
|
/** The address of the hook contract for Uniswap V4 pools. */
|
|
9239
9247
|
uniswapV4HookAddress?: Maybe<Scalars['String']['output']>;
|
|
@@ -760,7 +760,7 @@ type Subscription {
|
|
|
760
760
|
"""The networkId to use when getting all bars per network"""
|
|
761
761
|
networkId: Int
|
|
762
762
|
): OnTokenBarsUpdatedResponse
|
|
763
|
-
"""Live-streamed transactions for a
|
|
763
|
+
"""Live-streamed transactions for a pair."""
|
|
764
764
|
onEventsCreated(
|
|
765
765
|
"""The pair contract address."""
|
|
766
766
|
address: String
|
|
@@ -1299,7 +1299,7 @@ input CreateApiTokensInput {
|
|
|
1299
1299
|
count: Int
|
|
1300
1300
|
"""Number of requests allowed per token, represented as a string, default is 5000"""
|
|
1301
1301
|
requestLimit: String
|
|
1302
|
-
"""Number of
|
|
1302
|
+
"""Number of milliseconds until the token expires, defaults to 1 hour (3600000)"""
|
|
1303
1303
|
expiresIn: Int
|
|
1304
1304
|
}
|
|
1305
1305
|
|
|
@@ -6195,6 +6195,8 @@ type PairMetadata {
|
|
|
6195
6195
|
statsType: TokenPairStatisticsType!
|
|
6196
6196
|
"""The quote token price in USD."""
|
|
6197
6197
|
price: String!
|
|
6198
|
+
"""The non-quote token price in USD."""
|
|
6199
|
+
priceNonQuoteToken: String!
|
|
6198
6200
|
"""The percent price change in the past 5 minutes. Decimal format."""
|
|
6199
6201
|
priceChange5m: Float
|
|
6200
6202
|
"""The percent price change in the past hour. Decimal format."""
|
|
@@ -8612,8 +8614,12 @@ type TokenWalletFilterResult {
|
|
|
8612
8614
|
purchasedTokenBalance: String!
|
|
8613
8615
|
"""The token acquisition cost in USD"""
|
|
8614
8616
|
tokenAcquisitionCostUsd: String!
|
|
8615
|
-
"""The
|
|
8617
|
+
"""The token balance in the wallet. This value does not update with every transfer and can be slightly stale. Use tokenBalanceLive for live data."""
|
|
8616
8618
|
tokenBalance: String!
|
|
8619
|
+
"""The current token balance in the wallet."""
|
|
8620
|
+
tokenBalanceLive: String
|
|
8621
|
+
"""The current USD value of the token balance."""
|
|
8622
|
+
tokenBalanceLiveUsd: String
|
|
8617
8623
|
"""The token metadata"""
|
|
8618
8624
|
token: EnhancedToken!
|
|
8619
8625
|
"""The scammer score for the wallet."""
|
|
@@ -8827,6 +8833,8 @@ type UnconfirmedSwapEventData {
|
|
|
8827
8833
|
type UniswapV4Data {
|
|
8828
8834
|
"""The address of the hook contract for Uniswap V4 pools."""
|
|
8829
8835
|
uniswapV4HookAddress: String
|
|
8836
|
+
"""Whether the token is the network token for the Uniswap V4 pool."""
|
|
8837
|
+
isToken0NetworkToken: Boolean
|
|
8830
8838
|
type: String!
|
|
8831
8839
|
}
|
|
8832
8840
|
|
|
@@ -483,7 +483,7 @@ export enum ContractType {
|
|
|
483
483
|
export type CreateApiTokensInput = {
|
|
484
484
|
/** Number of tokens to create, default is 1 */
|
|
485
485
|
count?: InputMaybe<Scalars['Int']['input']>;
|
|
486
|
-
/** Number of
|
|
486
|
+
/** Number of milliseconds until the token expires, defaults to 1 hour (3600000) */
|
|
487
487
|
expiresIn?: InputMaybe<Scalars['Int']['input']>;
|
|
488
488
|
/** Number of requests allowed per token, represented as a string, default is 5000 */
|
|
489
489
|
requestLimit?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5708,6 +5708,8 @@ export type PairMetadata = {
|
|
|
5708
5708
|
priceChange12?: Maybe<Scalars['Float']['output']>;
|
|
5709
5709
|
/** The percent price change in the past 24 hours. Decimal format. */
|
|
5710
5710
|
priceChange24?: Maybe<Scalars['Float']['output']>;
|
|
5711
|
+
/** The non-quote token price in USD. */
|
|
5712
|
+
priceNonQuoteToken: Scalars['String']['output'];
|
|
5711
5713
|
/** The token of interest within the pair. Can be `token0` or `token1`. */
|
|
5712
5714
|
quoteToken?: Maybe<QuoteToken>;
|
|
5713
5715
|
/** The type of statistics returned. Can be `FILTERED` or `UNFILTERED` */
|
|
@@ -7683,7 +7685,7 @@ export type Subscription = {
|
|
|
7683
7685
|
onDetailedStatsUpdated?: Maybe<DetailedStats>;
|
|
7684
7686
|
/** Live-streamed event labels for a token. */
|
|
7685
7687
|
onEventLabelCreated?: Maybe<EventLabel>;
|
|
7686
|
-
/** Live-streamed transactions for a
|
|
7688
|
+
/** Live-streamed transactions for a pair. */
|
|
7687
7689
|
onEventsCreated?: Maybe<AddEventsOutput>;
|
|
7688
7690
|
/** Live-streamed transactions for a maker. */
|
|
7689
7691
|
onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
|
|
@@ -9024,8 +9026,12 @@ export type TokenWalletFilterResult = {
|
|
|
9024
9026
|
tokenAmountSoldAll1y: Scalars['String']['output'];
|
|
9025
9027
|
/** Token amount sold all in the past 30 days */
|
|
9026
9028
|
tokenAmountSoldAll30d: Scalars['String']['output'];
|
|
9027
|
-
/** The
|
|
9029
|
+
/** The token balance in the wallet. This value does not update with every transfer and can be slightly stale. Use tokenBalanceLive for live data. */
|
|
9028
9030
|
tokenBalance: Scalars['String']['output'];
|
|
9031
|
+
/** The current token balance in the wallet. */
|
|
9032
|
+
tokenBalanceLive?: Maybe<Scalars['String']['output']>;
|
|
9033
|
+
/** The current USD value of the token balance. */
|
|
9034
|
+
tokenBalanceLiveUsd?: Maybe<Scalars['String']['output']>;
|
|
9029
9035
|
};
|
|
9030
9036
|
|
|
9031
9037
|
/** A token with metadata. */
|
|
@@ -9236,6 +9242,8 @@ export type UnconfirmedSwapEventData = {
|
|
|
9236
9242
|
|
|
9237
9243
|
export type UniswapV4Data = {
|
|
9238
9244
|
__typename?: 'UniswapV4Data';
|
|
9245
|
+
/** Whether the token is the network token for the Uniswap V4 pool. */
|
|
9246
|
+
isToken0NetworkToken?: Maybe<Scalars['Boolean']['output']>;
|
|
9239
9247
|
type: Scalars['String']['output'];
|
|
9240
9248
|
/** The address of the hook contract for Uniswap V4 pools. */
|
|
9241
9249
|
uniswapV4HookAddress?: Maybe<Scalars['String']['output']>;
|