@codex-data/sdk 0.6.0 → 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.
- package/dist/resources/graphql.d.ts +24 -1
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +12 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +166 -1
- package/dist/resources/graphql.ts +27 -1
- package/dist/resources/schema.graphql +32 -1
- package/dist/sdk/generated/gql.d.ts +7 -4
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +2 -2
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +118 -181
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +16 -4
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/graphql.schema.json +166 -1
- package/src/resources/graphql.ts +27 -1
- package/src/resources/schema.graphql +32 -1
- package/src/sdk/generated/gql.ts +4 -4
- package/src/sdk/generated/graphql.ts +72 -5
- package/src/sdk/graphql/GetPairEvents.graphql +1 -1
- package/src/sdk/graphql/OnBarsUpdated.graphql +38 -153
|
@@ -125,6 +125,8 @@ export type Balance = {
|
|
|
125
125
|
__typename?: 'Balance';
|
|
126
126
|
/** The balance held by the wallet. */
|
|
127
127
|
balance: Scalars['String']['output'];
|
|
128
|
+
/** The time that this address first held a token */
|
|
129
|
+
firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
|
|
128
130
|
/** The balance held by the wallet, adjusted by the number of decimals in the token. */
|
|
129
131
|
shiftedBalance: Scalars['Float']['output'];
|
|
130
132
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
@@ -368,6 +370,7 @@ export type CreateNftEventWebhookArgs = {
|
|
|
368
370
|
conditions: NftEventWebhookConditionInput;
|
|
369
371
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
370
372
|
name: Scalars['String']['input'];
|
|
373
|
+
publishingType?: InputMaybe<PublishingType>;
|
|
371
374
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
372
375
|
securityToken: Scalars['String']['input'];
|
|
373
376
|
};
|
|
@@ -382,6 +385,7 @@ export type CreatePriceWebhookArgs = {
|
|
|
382
385
|
conditions: PriceEventWebhookConditionInput;
|
|
383
386
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
384
387
|
name: Scalars['String']['input'];
|
|
388
|
+
publishingType?: InputMaybe<PublishingType>;
|
|
385
389
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
386
390
|
securityToken: Scalars['String']['input'];
|
|
387
391
|
};
|
|
@@ -396,6 +400,7 @@ export type CreateRawTransactionWebhookArgs = {
|
|
|
396
400
|
conditions: RawTransactionWebhookConditionInput;
|
|
397
401
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
398
402
|
name: Scalars['String']['input'];
|
|
403
|
+
publishingType?: InputMaybe<PublishingType>;
|
|
399
404
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
400
405
|
securityToken: Scalars['String']['input'];
|
|
401
406
|
};
|
|
@@ -410,6 +415,7 @@ export type CreateTokenPairEventWebhookArgs = {
|
|
|
410
415
|
conditions: TokenPairEventWebhookConditionInput;
|
|
411
416
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
412
417
|
name: Scalars['String']['input'];
|
|
418
|
+
publishingType?: InputMaybe<PublishingType>;
|
|
413
419
|
retrySettings?: InputMaybe<RetrySettingsInput>;
|
|
414
420
|
securityToken: Scalars['String']['input'];
|
|
415
421
|
};
|
|
@@ -1201,9 +1207,17 @@ export declare enum GraphQlNftPoolVariant {
|
|
|
1201
1207
|
export type HoldersInput = {
|
|
1202
1208
|
/** A cursor for use in pagination. */
|
|
1203
1209
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
1210
|
+
/** The attribute to sort the list on */
|
|
1211
|
+
sort?: InputMaybe<HoldersInputSort>;
|
|
1204
1212
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
1205
1213
|
tokenId: Scalars['String']['input'];
|
|
1206
1214
|
};
|
|
1215
|
+
export type HoldersInputSort = {
|
|
1216
|
+
/** The attribute to sort the list on */
|
|
1217
|
+
attribute?: InputMaybe<HoldersSortAttribute>;
|
|
1218
|
+
/** The direction to apply to the ranking attribute. */
|
|
1219
|
+
direction?: InputMaybe<RankingDirection>;
|
|
1220
|
+
};
|
|
1207
1221
|
export type HoldersResponse = {
|
|
1208
1222
|
__typename?: 'HoldersResponse';
|
|
1209
1223
|
/** the unique count of holders for the token. */
|
|
@@ -1215,6 +1229,10 @@ export type HoldersResponse = {
|
|
|
1215
1229
|
/** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
|
|
1216
1230
|
status: HoldersStatus;
|
|
1217
1231
|
};
|
|
1232
|
+
export declare enum HoldersSortAttribute {
|
|
1233
|
+
Balance = "BALANCE",
|
|
1234
|
+
Date = "DATE"
|
|
1235
|
+
}
|
|
1218
1236
|
export declare enum HoldersStatus {
|
|
1219
1237
|
Disabled = "DISABLED",
|
|
1220
1238
|
Enabled = "ENABLED"
|
|
@@ -5304,6 +5322,10 @@ export type PrimePoolWithdrawData = {
|
|
|
5304
5322
|
/** The amount of PRIME the user is not eligible for either from having already harvesting or from not caching in the past. */
|
|
5305
5323
|
userPrimeRewardDebt: Scalars['String']['output'];
|
|
5306
5324
|
};
|
|
5325
|
+
export declare enum PublishingType {
|
|
5326
|
+
Batch = "BATCH",
|
|
5327
|
+
Single = "SINGLE"
|
|
5328
|
+
}
|
|
5307
5329
|
export type Query = {
|
|
5308
5330
|
__typename?: 'Query';
|
|
5309
5331
|
/** Get the active short-lived api token for this api key by the short-lived token */
|
|
@@ -6559,7 +6581,7 @@ export type TokenFilterResult = {
|
|
|
6559
6581
|
low12?: Maybe<Scalars['String']['output']>;
|
|
6560
6582
|
/** The lowest price in USD in the past 24 hours. */
|
|
6561
6583
|
low24?: Maybe<Scalars['String']['output']>;
|
|
6562
|
-
/** The market cap
|
|
6584
|
+
/** The fully diluted market cap. For circulating market cap multiply `token { info { circulatingSupply } }` by `priceUSD`. */
|
|
6563
6585
|
marketCap?: Maybe<Scalars['String']['output']>;
|
|
6564
6586
|
/** Metadata for the token's top pair. */
|
|
6565
6587
|
pair?: Maybe<Pair>;
|
|
@@ -7118,6 +7140,7 @@ export type Webhook = {
|
|
|
7118
7140
|
groupId?: Maybe<Scalars['String']['output']>;
|
|
7119
7141
|
id: Scalars['String']['output'];
|
|
7120
7142
|
name: Scalars['String']['output'];
|
|
7143
|
+
publishingType?: Maybe<PublishingType>;
|
|
7121
7144
|
retrySettings?: Maybe<RetrySettings>;
|
|
7122
7145
|
status: Scalars['String']['output'];
|
|
7123
7146
|
webhookType: WebhookType;
|