@codex-data/sdk 1.0.0-rc1 → 1.0.0-rc2
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/generated_queries/FilterPairs.graphql +4 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +3 -0
- package/dist/resources/generated_queries/GetDetailedPairStats.graphql +2 -0
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +2 -0
- package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +49 -0
- package/dist/resources/generated_queries/GetTokenInfo.graphql +1 -0
- package/dist/resources/generated_queries/GetTokensInfo.graphql +1 -0
- package/dist/resources/generated_queries/ListFavoriteTokens.graphql +1 -0
- package/dist/resources/generated_queries/ListPairsForToken.graphql +2 -0
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -0
- package/dist/resources/generated_queries/ListTopTokens.graphql +1 -0
- package/dist/resources/generated_queries/Token.graphql +1 -0
- package/dist/resources/generated_queries/Tokens.graphql +1 -0
- package/dist/resources/graphql.d.ts +44 -1
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +334 -5
- package/dist/resources/graphql.ts +51 -1
- package/dist/resources/schema.graphql +48 -3
- package/dist/sdk/Mutation.d.ts +1 -1
- package/dist/sdk/Mutation.js +1 -1
- package/dist/sdk/Query.d.ts +55 -54
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +54 -53
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +10 -10
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +53 -53
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +34 -24
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +13 -12
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +124 -1
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +15 -14
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/FilterPairs.graphql +4 -0
- package/src/resources/generated_queries/FilterTokens.graphql +3 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +2 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +2 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +49 -0
- package/src/resources/generated_queries/GetTokenInfo.graphql +1 -0
- package/src/resources/generated_queries/GetTokensInfo.graphql +1 -0
- package/src/resources/generated_queries/ListFavoriteTokens.graphql +1 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +2 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -0
- package/src/resources/generated_queries/ListTopTokens.graphql +1 -0
- package/src/resources/generated_queries/Token.graphql +1 -0
- package/src/resources/generated_queries/Tokens.graphql +1 -0
- package/src/resources/graphql.schema.json +334 -5
- package/src/resources/graphql.ts +51 -1
- package/src/resources/schema.graphql +48 -3
- package/src/sdk/Mutation.ts +2 -2
- package/src/sdk/Query.ts +117 -113
- package/src/sdk/Subscribe.ts +84 -84
- package/src/sdk/generated/gql.ts +29 -24
- package/src/sdk/generated/graphql.ts +86 -25
package/src/resources/graphql.ts
CHANGED
|
@@ -68,6 +68,11 @@ export type AddTokenLifecycleEventsOutput = {
|
|
|
68
68
|
id: Scalars['String']['output'];
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
+
export type AddTrackedWalletEventsOutput = {
|
|
72
|
+
__typename?: 'AddTrackedWalletEventsOutput';
|
|
73
|
+
userId: Scalars['String']['output'];
|
|
74
|
+
};
|
|
75
|
+
|
|
71
76
|
/** Response returned by `onUnconfirmedEventsCreated`. */
|
|
72
77
|
export type AddUnconfirmedEventsOutput = {
|
|
73
78
|
__typename?: 'AddUnconfirmedEventsOutput';
|
|
@@ -1153,9 +1158,10 @@ export type FrontRunLabelData = {
|
|
|
1153
1158
|
|
|
1154
1159
|
export type GasEstimate = {
|
|
1155
1160
|
__typename?: 'GasEstimate';
|
|
1156
|
-
approveTxHash?: Maybe<Scalars['String']['output']>;
|
|
1157
1161
|
error?: Maybe<Scalars['String']['output']>;
|
|
1162
|
+
errorReason?: Maybe<Scalars['String']['output']>;
|
|
1158
1163
|
gasLimitEstimate?: Maybe<Scalars['String']['output']>;
|
|
1164
|
+
gasPrice?: Maybe<Scalars['String']['output']>;
|
|
1159
1165
|
totalFee?: Maybe<Scalars['String']['output']>;
|
|
1160
1166
|
};
|
|
1161
1167
|
|
|
@@ -1657,6 +1663,24 @@ export type LockedLiquidityData = {
|
|
|
1657
1663
|
lockBreakdown: Array<Maybe<LockBreakdown>>;
|
|
1658
1664
|
};
|
|
1659
1665
|
|
|
1666
|
+
/** Response returned by `getTokenEventsForMaker`. */
|
|
1667
|
+
export type MakerEventConnection = {
|
|
1668
|
+
__typename?: 'MakerEventConnection';
|
|
1669
|
+
/** A cursor for use in pagination. */
|
|
1670
|
+
cursor?: Maybe<Scalars['String']['output']>;
|
|
1671
|
+
/** A list of transactions for a token's top pair. */
|
|
1672
|
+
items?: Maybe<Array<Maybe<Event>>>;
|
|
1673
|
+
};
|
|
1674
|
+
|
|
1675
|
+
export type MakerEventsQueryInput = {
|
|
1676
|
+
/** The specific wallet address to filter by. */
|
|
1677
|
+
maker: Scalars['String']['input'];
|
|
1678
|
+
/** The network ID to filter by. */
|
|
1679
|
+
networkId: Scalars['Int']['input'];
|
|
1680
|
+
/** The token of interest. Can be `token0` or `token1`. */
|
|
1681
|
+
quoteToken?: InputMaybe<QuoteToken>;
|
|
1682
|
+
};
|
|
1683
|
+
|
|
1660
1684
|
/** The status for a network supported on Defined. */
|
|
1661
1685
|
export type MetadataResponse = {
|
|
1662
1686
|
__typename?: 'MetadataResponse';
|
|
@@ -1670,6 +1694,18 @@ export type MetadataResponse = {
|
|
|
1670
1694
|
networkName: Scalars['String']['output'];
|
|
1671
1695
|
};
|
|
1672
1696
|
|
|
1697
|
+
export type MigrateTrackedWalletsInput = {
|
|
1698
|
+
fromUserId: Scalars['String']['input'];
|
|
1699
|
+
toUserId: Scalars['String']['input'];
|
|
1700
|
+
};
|
|
1701
|
+
|
|
1702
|
+
export type MigrateTrackedWalletsOutput = {
|
|
1703
|
+
__typename?: 'MigrateTrackedWalletsOutput';
|
|
1704
|
+
fromUserId: Scalars['String']['output'];
|
|
1705
|
+
status: Scalars['String']['output'];
|
|
1706
|
+
toUserId: Scalars['String']['output'];
|
|
1707
|
+
};
|
|
1708
|
+
|
|
1673
1709
|
/** Event data for a token mint event. */
|
|
1674
1710
|
export type MintEventData = {
|
|
1675
1711
|
__typename?: 'MintEventData';
|
|
@@ -5673,6 +5709,7 @@ export type Query = {
|
|
|
5673
5709
|
/** Returns new tokens listed over the last three days. */
|
|
5674
5710
|
getLatestPairs?: Maybe<LatestPairConnection>;
|
|
5675
5711
|
getLatestTokens?: Maybe<LatestTokenConnection>;
|
|
5712
|
+
/** Returns metadata for a given network. */
|
|
5676
5713
|
getNetworkStats?: Maybe<GetNetworkStatsResponse>;
|
|
5677
5714
|
/** Returns the status of a list of networks supported on Defined. */
|
|
5678
5715
|
getNetworkStatus?: Maybe<Array<MetadataResponse>>;
|
|
@@ -5717,6 +5754,7 @@ export type Query = {
|
|
|
5717
5754
|
getTokenCount: Scalars['String']['output'];
|
|
5718
5755
|
/** Returns transactions for a pair. */
|
|
5719
5756
|
getTokenEvents?: Maybe<EventConnection>;
|
|
5757
|
+
getTokenEventsForMaker?: Maybe<MakerEventConnection>;
|
|
5720
5758
|
/** Returns metadata for a given token. */
|
|
5721
5759
|
getTokenInfo?: Maybe<TokenInfo>;
|
|
5722
5760
|
/** Returns real-time or historical prices for a list of tokens, fetched in batches. */
|
|
@@ -6115,6 +6153,14 @@ export type QueryGetTokenEventsArgs = {
|
|
|
6115
6153
|
};
|
|
6116
6154
|
|
|
6117
6155
|
|
|
6156
|
+
export type QueryGetTokenEventsForMakerArgs = {
|
|
6157
|
+
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
6158
|
+
direction?: InputMaybe<RankingDirection>;
|
|
6159
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6160
|
+
query: MakerEventsQueryInput;
|
|
6161
|
+
};
|
|
6162
|
+
|
|
6163
|
+
|
|
6118
6164
|
export type QueryGetTokenInfoArgs = {
|
|
6119
6165
|
address: Scalars['String']['input'];
|
|
6120
6166
|
networkId: Scalars['Int']['input'];
|
|
@@ -7339,6 +7385,8 @@ export type TokenInfo = {
|
|
|
7339
7385
|
description?: Maybe<Scalars['String']['output']>;
|
|
7340
7386
|
/** Uniquely identifies the token. */
|
|
7341
7387
|
id: Scalars['String']['output'];
|
|
7388
|
+
/** The token banner URL. */
|
|
7389
|
+
imageBannerUrl?: Maybe<Scalars['String']['output']>;
|
|
7342
7390
|
/** The large token logo URL. */
|
|
7343
7391
|
imageLargeUrl?: Maybe<Scalars['String']['output']>;
|
|
7344
7392
|
/** The small token logo URL. */
|
|
@@ -7586,6 +7634,8 @@ export type TokenWithMetadata = {
|
|
|
7586
7634
|
exchanges: Array<Exchange>;
|
|
7587
7635
|
/** The ID of the token (`address:networkId`). For example, `0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1`. */
|
|
7588
7636
|
id: Scalars['String']['output'];
|
|
7637
|
+
/** The token banner URL. */
|
|
7638
|
+
imageBannerUrl?: Maybe<Scalars['String']['output']>;
|
|
7589
7639
|
/** The token logo URL. */
|
|
7590
7640
|
imageLargeUrl?: Maybe<Scalars['String']['output']>;
|
|
7591
7641
|
/** The token logo URL. */
|
|
@@ -68,6 +68,10 @@ type AddTokenLifecycleEventsOutput {
|
|
|
68
68
|
events: [TokenLifecycleEvent!]!
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
type AddTrackedWalletEventsOutput {
|
|
72
|
+
userId: String!
|
|
73
|
+
}
|
|
74
|
+
|
|
71
75
|
"""Response returned by `onUnconfirmedEventsCreated`."""
|
|
72
76
|
type AddUnconfirmedEventsOutput {
|
|
73
77
|
"""The contract address of the pair."""
|
|
@@ -1406,8 +1410,9 @@ type FrontRunLabelData {
|
|
|
1406
1410
|
|
|
1407
1411
|
type GasEstimate {
|
|
1408
1412
|
gasLimitEstimate: String
|
|
1413
|
+
gasPrice: String
|
|
1409
1414
|
error: String
|
|
1410
|
-
|
|
1415
|
+
errorReason: String
|
|
1411
1416
|
totalFee: String
|
|
1412
1417
|
}
|
|
1413
1418
|
|
|
@@ -2055,6 +2060,26 @@ type LockedLiquidityData {
|
|
|
2055
2060
|
lockBreakdown: [LockBreakdown]!
|
|
2056
2061
|
}
|
|
2057
2062
|
|
|
2063
|
+
"""Response returned by `getTokenEventsForMaker`."""
|
|
2064
|
+
type MakerEventConnection {
|
|
2065
|
+
"""A list of transactions for a token's top pair."""
|
|
2066
|
+
items: [Event]
|
|
2067
|
+
|
|
2068
|
+
"""A cursor for use in pagination."""
|
|
2069
|
+
cursor: String
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
input MakerEventsQueryInput {
|
|
2073
|
+
"""The specific wallet address to filter by."""
|
|
2074
|
+
maker: String!
|
|
2075
|
+
|
|
2076
|
+
"""The network ID to filter by."""
|
|
2077
|
+
networkId: Int!
|
|
2078
|
+
|
|
2079
|
+
"""The token of interest. Can be `token0` or `token1`."""
|
|
2080
|
+
quoteToken: QuoteToken
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2058
2083
|
"""The status for a network supported on Defined."""
|
|
2059
2084
|
type MetadataResponse {
|
|
2060
2085
|
"""The last processed block on the network."""
|
|
@@ -2070,6 +2095,17 @@ type MetadataResponse {
|
|
|
2070
2095
|
networkName: String!
|
|
2071
2096
|
}
|
|
2072
2097
|
|
|
2098
|
+
input MigrateTrackedWalletsInput {
|
|
2099
|
+
fromUserId: String!
|
|
2100
|
+
toUserId: String!
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
type MigrateTrackedWalletsOutput {
|
|
2104
|
+
fromUserId: String!
|
|
2105
|
+
toUserId: String!
|
|
2106
|
+
status: String!
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2073
2109
|
"""Event data for a token mint event."""
|
|
2074
2110
|
type MintEventData {
|
|
2075
2111
|
"""The amount of `token0` added to the pair."""
|
|
@@ -8027,11 +8063,13 @@ type Query {
|
|
|
8027
8063
|
"""
|
|
8028
8064
|
currencyCode: String
|
|
8029
8065
|
): SymbolResponse
|
|
8066
|
+
|
|
8067
|
+
"""Returns metadata for a given network."""
|
|
8030
8068
|
getNetworkStats(
|
|
8031
|
-
"""The network Id to filter by"""
|
|
8069
|
+
"""The network Id to filter by."""
|
|
8032
8070
|
networkId: Int!
|
|
8033
8071
|
|
|
8034
|
-
"""The
|
|
8072
|
+
"""The exchange address to filter by (optional)."""
|
|
8035
8073
|
exchangeAddress: String
|
|
8036
8074
|
): GetNetworkStatsResponse
|
|
8037
8075
|
|
|
@@ -8051,6 +8089,7 @@ type Query {
|
|
|
8051
8089
|
"""
|
|
8052
8090
|
direction: RankingDirection
|
|
8053
8091
|
): EventConnection
|
|
8092
|
+
getTokenEventsForMaker(limit: Int, query: MakerEventsQueryInput!, cursor: String, direction: RankingDirection): MakerEventConnection
|
|
8054
8093
|
|
|
8055
8094
|
"""
|
|
8056
8095
|
Returns real-time or historical prices for a list of tokens, fetched in batches.
|
|
@@ -9718,6 +9757,9 @@ type TokenInfo {
|
|
|
9718
9757
|
"""The large token logo URL."""
|
|
9719
9758
|
imageLargeUrl: String
|
|
9720
9759
|
|
|
9760
|
+
"""The token banner URL."""
|
|
9761
|
+
imageBannerUrl: String
|
|
9762
|
+
|
|
9721
9763
|
"""A description of the token."""
|
|
9722
9764
|
description: String
|
|
9723
9765
|
}
|
|
@@ -10071,6 +10113,9 @@ type TokenWithMetadata {
|
|
|
10071
10113
|
"""The token logo URL."""
|
|
10072
10114
|
imageLargeUrl: String
|
|
10073
10115
|
|
|
10116
|
+
"""The token banner URL."""
|
|
10117
|
+
imageBannerUrl: String
|
|
10118
|
+
|
|
10074
10119
|
"""The unix timestamp for the creation of the token's first pair."""
|
|
10075
10120
|
createdAt: Int
|
|
10076
10121
|
|
package/src/sdk/Mutation.ts
CHANGED
|
@@ -13,10 +13,10 @@ import { Codex } from "./index";
|
|
|
13
13
|
|
|
14
14
|
export class Mutation {
|
|
15
15
|
constructor(private sdk: Codex) {}
|
|
16
|
-
createWebhooks = async (vars: CreateWebhooksMutationVariables) =>
|
|
17
|
-
this.sdk.mutation(CreateWebhooksDocument, vars);
|
|
18
16
|
deleteApiToken = async (vars: DeleteApiTokenMutationVariables) =>
|
|
19
17
|
this.sdk.mutation(DeleteApiTokenDocument, vars);
|
|
18
|
+
createWebhooks = async (vars: CreateWebhooksMutationVariables) =>
|
|
19
|
+
this.sdk.mutation(CreateWebhooksDocument, vars);
|
|
20
20
|
createApiTokens = async (vars: CreateApiTokensMutationVariables) =>
|
|
21
21
|
this.sdk.mutation(CreateApiTokensDocument, vars);
|
|
22
22
|
deleteWebhooks = async (vars: DeleteWebhooksMutationVariables) =>
|
package/src/sdk/Query.ts
CHANGED
|
@@ -85,6 +85,8 @@ import {
|
|
|
85
85
|
GetTokenCountDocument,
|
|
86
86
|
GetTokenCountQueryVariables,
|
|
87
87
|
GetTokenEventsDocument,
|
|
88
|
+
GetTokenEventsForMakerDocument,
|
|
89
|
+
GetTokenEventsForMakerQueryVariables,
|
|
88
90
|
GetTokenEventsQueryVariables,
|
|
89
91
|
GetTokenInfoDocument,
|
|
90
92
|
GetTokenInfoQueryVariables,
|
|
@@ -137,144 +139,146 @@ import { Codex } from "./index";
|
|
|
137
139
|
|
|
138
140
|
export class Query {
|
|
139
141
|
constructor(private sdk: Codex) {}
|
|
140
|
-
|
|
141
|
-
this.sdk.query(
|
|
142
|
-
|
|
143
|
-
this.sdk.query(
|
|
144
|
-
getNftPoolStats = async (vars: GetNftPoolStatsQueryVariables) =>
|
|
145
|
-
this.sdk.query(GetNftPoolStatsDocument, vars);
|
|
146
|
-
liquidityMetadata = async (vars: LiquidityMetadataQueryVariables) =>
|
|
147
|
-
this.sdk.query(LiquidityMetadataDocument, vars);
|
|
148
|
-
primeHolders = async (vars: PrimeHoldersQueryVariables) =>
|
|
149
|
-
this.sdk.query(PrimeHoldersDocument, vars);
|
|
142
|
+
filterTokens = async (vars: FilterTokensQueryVariables) =>
|
|
143
|
+
this.sdk.query(FilterTokensDocument, vars);
|
|
144
|
+
filterNftPools = async (vars: FilterNftPoolsQueryVariables) =>
|
|
145
|
+
this.sdk.query(FilterNftPoolsDocument, vars);
|
|
150
146
|
filterNftPoolCollections = async (
|
|
151
147
|
vars: FilterNftPoolCollectionsQueryVariables,
|
|
152
148
|
) => this.sdk.query(FilterNftPoolCollectionsDocument, vars);
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
this.sdk.query(SearchNftsDocument, vars);
|
|
157
|
-
getSimulateTokenContractResults = async (
|
|
158
|
-
vars: GetSimulateTokenContractResultsQueryVariables,
|
|
159
|
-
) => this.sdk.query(GetSimulateTokenContractResultsDocument, vars);
|
|
160
|
-
filterNftPools = async (vars: FilterNftPoolsQueryVariables) =>
|
|
161
|
-
this.sdk.query(FilterNftPoolsDocument, vars);
|
|
162
|
-
getTokenEvents = async (vars: GetTokenEventsQueryVariables) =>
|
|
163
|
-
this.sdk.query(GetTokenEventsDocument, vars);
|
|
164
|
-
balances = async (vars: BalancesQueryVariables) =>
|
|
165
|
-
this.sdk.query(BalancesDocument, vars);
|
|
166
|
-
getDetailedPairsStats = async (vars: GetDetailedPairsStatsQueryVariables) =>
|
|
167
|
-
this.sdk.query(GetDetailedPairsStatsDocument, vars);
|
|
168
|
-
getNftEvents = async (vars: GetNftEventsQueryVariables) =>
|
|
169
|
-
this.sdk.query(GetNftEventsDocument, vars);
|
|
170
|
-
getNftPoolsByCollectionAndExchange = async (
|
|
171
|
-
vars: GetNftPoolsByCollectionAndExchangeQueryVariables,
|
|
172
|
-
) => this.sdk.query(GetNftPoolsByCollectionAndExchangeDocument, vars);
|
|
173
|
-
getNftPoolCollectionsByExchange = async (
|
|
174
|
-
vars: GetNftPoolCollectionsByExchangeQueryVariables,
|
|
175
|
-
) => this.sdk.query(GetNftPoolCollectionsByExchangeDocument, vars);
|
|
176
|
-
walletNftCollections = async (vars: WalletNftCollectionsQueryVariables) =>
|
|
177
|
-
this.sdk.query(WalletNftCollectionsDocument, vars);
|
|
178
|
-
filterPairs = async (vars: FilterPairsQueryVariables) =>
|
|
179
|
-
this.sdk.query(FilterPairsDocument, vars);
|
|
180
|
-
filterTokens = async (vars: FilterTokensQueryVariables) =>
|
|
181
|
-
this.sdk.query(FilterTokensDocument, vars);
|
|
182
|
-
getNftCollectionMetadata = async (
|
|
183
|
-
vars: GetNftCollectionMetadataQueryVariables,
|
|
184
|
-
) => this.sdk.query(GetNftCollectionMetadataDocument, vars);
|
|
149
|
+
listPairsWithMetadataForToken = async (
|
|
150
|
+
vars: ListPairsWithMetadataForTokenQueryVariables,
|
|
151
|
+
) => this.sdk.query(ListPairsWithMetadataForTokenDocument, vars);
|
|
185
152
|
getTokenCount = async (vars: GetTokenCountQueryVariables) =>
|
|
186
153
|
this.sdk.query(GetTokenCountDocument, vars);
|
|
187
|
-
|
|
188
|
-
this.sdk.query(
|
|
189
|
-
|
|
190
|
-
this.sdk.query(
|
|
154
|
+
tokens = async (vars: TokensQueryVariables) =>
|
|
155
|
+
this.sdk.query(TokensDocument, vars);
|
|
156
|
+
getNftPoolStats = async (vars: GetNftPoolStatsQueryVariables) =>
|
|
157
|
+
this.sdk.query(GetNftPoolStatsDocument, vars);
|
|
158
|
+
listTopTokens = async (vars: ListTopTokensQueryVariables) =>
|
|
159
|
+
this.sdk.query(ListTopTokensDocument, vars);
|
|
160
|
+
getNftPoolEvents = async (vars: GetNftPoolEventsQueryVariables) =>
|
|
161
|
+
this.sdk.query(GetNftPoolEventsDocument, vars);
|
|
162
|
+
getLatestPairs = async (vars: GetLatestPairsQueryVariables) =>
|
|
163
|
+
this.sdk.query(GetLatestPairsDocument, vars);
|
|
164
|
+
balances = async (vars: BalancesQueryVariables) =>
|
|
165
|
+
this.sdk.query(BalancesDocument, vars);
|
|
166
|
+
getDetailedPairStats = async (vars: GetDetailedPairStatsQueryVariables) =>
|
|
167
|
+
this.sdk.query(GetDetailedPairStatsDocument, vars);
|
|
191
168
|
getNftPoolsByOwner = async (vars: GetNftPoolsByOwnerQueryVariables) =>
|
|
192
169
|
this.sdk.query(GetNftPoolsByOwnerDocument, vars);
|
|
193
|
-
|
|
194
|
-
this.sdk.query(
|
|
195
|
-
|
|
196
|
-
vars
|
|
197
|
-
) => this.sdk.query(WalletNftCollectionAssetsDocument, vars);
|
|
198
|
-
getTokenInfo = async (vars: GetTokenInfoQueryVariables) =>
|
|
199
|
-
this.sdk.query(GetTokenInfoDocument, vars);
|
|
200
|
-
getEventLabels = async (vars: GetEventLabelsQueryVariables) =>
|
|
201
|
-
this.sdk.query(GetEventLabelsDocument, vars);
|
|
170
|
+
token = async (vars: TokenQueryVariables) =>
|
|
171
|
+
this.sdk.query(TokenDocument, vars);
|
|
172
|
+
primeBalance = async (vars: PrimeBalanceQueryVariables) =>
|
|
173
|
+
this.sdk.query(PrimeBalanceDocument, vars);
|
|
202
174
|
getUniV3Ticks = async (vars: GetUniV3TicksQueryVariables) =>
|
|
203
175
|
this.sdk.query(GetUniV3TicksDocument, vars);
|
|
176
|
+
getExchanges = async (vars: GetExchangesQueryVariables) =>
|
|
177
|
+
this.sdk.query(GetExchangesDocument, vars);
|
|
204
178
|
getSymbol = async (vars: GetSymbolQueryVariables) =>
|
|
205
179
|
this.sdk.query(GetSymbolDocument, vars);
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
180
|
+
getNftPoolsByCollectionAndExchange = async (
|
|
181
|
+
vars: GetNftPoolsByCollectionAndExchangeQueryVariables,
|
|
182
|
+
) => this.sdk.query(GetNftPoolsByCollectionAndExchangeDocument, vars);
|
|
183
|
+
liquidityMetadata = async (vars: LiquidityMetadataQueryVariables) =>
|
|
184
|
+
this.sdk.query(LiquidityMetadataDocument, vars);
|
|
185
|
+
getNftContracts = async (vars: GetNftContractsQueryVariables) =>
|
|
186
|
+
this.sdk.query(GetNftContractsDocument, vars);
|
|
187
|
+
listPairsForToken = async (vars: ListPairsForTokenQueryVariables) =>
|
|
188
|
+
this.sdk.query(ListPairsForTokenDocument, vars);
|
|
189
|
+
getNetworks = async (vars: GetNetworksQueryVariables) =>
|
|
190
|
+
this.sdk.query(GetNetworksDocument, vars);
|
|
191
|
+
getTokensInfo = async (vars: GetTokensInfoQueryVariables) =>
|
|
192
|
+
this.sdk.query(GetTokensInfoDocument, vars);
|
|
193
|
+
getNftPoolCollectionsByExchange = async (
|
|
194
|
+
vars: GetNftPoolCollectionsByExchangeQueryVariables,
|
|
195
|
+
) => this.sdk.query(GetNftPoolCollectionsByExchangeDocument, vars);
|
|
196
|
+
getTokenPrices = async (vars: GetTokenPricesQueryVariables) =>
|
|
197
|
+
this.sdk.query(GetTokenPricesDocument, vars);
|
|
198
|
+
getWebhooks = async (vars: GetWebhooksQueryVariables) =>
|
|
199
|
+
this.sdk.query(GetWebhooksDocument, vars);
|
|
200
|
+
getBars = async (vars: GetBarsQueryVariables) =>
|
|
201
|
+
this.sdk.query(GetBarsDocument, vars);
|
|
202
|
+
searchNfts = async (vars: SearchNftsQueryVariables) =>
|
|
203
|
+
this.sdk.query(SearchNftsDocument, vars);
|
|
214
204
|
chartUrls = async (vars: ChartUrlsQueryVariables) =>
|
|
215
205
|
this.sdk.query(ChartUrlsDocument, vars);
|
|
216
206
|
apiToken = async (vars: ApiTokenQueryVariables) =>
|
|
217
207
|
this.sdk.query(ApiTokenDocument, vars);
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
this.sdk.query(LiquidityLocksDocument, vars);
|
|
224
|
-
tokenSparklines = async (vars: TokenSparklinesQueryVariables) =>
|
|
225
|
-
this.sdk.query(TokenSparklinesDocument, vars);
|
|
226
|
-
primeBalance = async (vars: PrimeBalanceQueryVariables) =>
|
|
227
|
-
this.sdk.query(PrimeBalanceDocument, vars);
|
|
228
|
-
nftHolders = async (vars: NftHoldersQueryVariables) =>
|
|
229
|
-
this.sdk.query(NftHoldersDocument, vars);
|
|
230
|
-
listPairsForToken = async (vars: ListPairsForTokenQueryVariables) =>
|
|
231
|
-
this.sdk.query(ListPairsForTokenDocument, vars);
|
|
232
|
-
getDetailedPairStats = async (vars: GetDetailedPairStatsQueryVariables) =>
|
|
233
|
-
this.sdk.query(GetDetailedPairStatsDocument, vars);
|
|
208
|
+
filterNftParallelAssets = async (
|
|
209
|
+
vars: FilterNftParallelAssetsQueryVariables,
|
|
210
|
+
) => this.sdk.query(FilterNftParallelAssetsDocument, vars);
|
|
211
|
+
getTokenEventsForMaker = async (vars: GetTokenEventsForMakerQueryVariables) =>
|
|
212
|
+
this.sdk.query(GetTokenEventsForMakerDocument, vars);
|
|
234
213
|
filterNftCollections = async (vars: FilterNftCollectionsQueryVariables) =>
|
|
235
214
|
this.sdk.query(FilterNftCollectionsDocument, vars);
|
|
236
|
-
|
|
237
|
-
this.sdk.query(
|
|
215
|
+
getPrimePools = async (vars: GetPrimePoolsQueryVariables) =>
|
|
216
|
+
this.sdk.query(GetPrimePoolsDocument, vars);
|
|
217
|
+
tokenLifecycleEvents = async (vars: TokenLifecycleEventsQueryVariables) =>
|
|
218
|
+
this.sdk.query(TokenLifecycleEventsDocument, vars);
|
|
238
219
|
getPrimePoolAssets = async (vars: GetPrimePoolAssetsQueryVariables) =>
|
|
239
220
|
this.sdk.query(GetPrimePoolAssetsDocument, vars);
|
|
240
|
-
|
|
241
|
-
this.sdk.query(
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
221
|
+
getPrimePoolEvents = async (vars: GetPrimePoolEventsQueryVariables) =>
|
|
222
|
+
this.sdk.query(GetPrimePoolEventsDocument, vars);
|
|
223
|
+
walletNftCollectionAssets = async (
|
|
224
|
+
vars: WalletNftCollectionAssetsQueryVariables,
|
|
225
|
+
) => this.sdk.query(WalletNftCollectionAssetsDocument, vars);
|
|
226
|
+
getEventLabels = async (vars: GetEventLabelsQueryVariables) =>
|
|
227
|
+
this.sdk.query(GetEventLabelsDocument, vars);
|
|
246
228
|
getCommunityNotes = async (vars: GetCommunityNotesQueryVariables) =>
|
|
247
229
|
this.sdk.query(GetCommunityNotesDocument, vars);
|
|
248
|
-
|
|
249
|
-
this.sdk.query(
|
|
250
|
-
|
|
251
|
-
this.sdk.query(
|
|
230
|
+
walletNftCollections = async (vars: WalletNftCollectionsQueryVariables) =>
|
|
231
|
+
this.sdk.query(WalletNftCollectionsDocument, vars);
|
|
232
|
+
getNftAssets = async (vars: GetNftAssetsQueryVariables) =>
|
|
233
|
+
this.sdk.query(GetNftAssetsDocument, vars);
|
|
252
234
|
pairMetadata = async (vars: PairMetadataQueryVariables) =>
|
|
253
235
|
this.sdk.query(PairMetadataDocument, vars);
|
|
236
|
+
filterExchanges = async (vars: FilterExchangesQueryVariables) =>
|
|
237
|
+
this.sdk.query(FilterExchangesDocument, vars);
|
|
238
|
+
getNftCollectionMetadata = async (
|
|
239
|
+
vars: GetNftCollectionMetadataQueryVariables,
|
|
240
|
+
) => this.sdk.query(GetNftCollectionMetadataDocument, vars);
|
|
241
|
+
nftHolders = async (vars: NftHoldersQueryVariables) =>
|
|
242
|
+
this.sdk.query(NftHoldersDocument, vars);
|
|
243
|
+
getNftPoolCollection = async (vars: GetNftPoolCollectionQueryVariables) =>
|
|
244
|
+
this.sdk.query(GetNftPoolCollectionDocument, vars);
|
|
245
|
+
getParallelAssets = async (vars: GetParallelAssetsQueryVariables) =>
|
|
246
|
+
this.sdk.query(GetParallelAssetsDocument, vars);
|
|
247
|
+
getNftEvents = async (vars: GetNftEventsQueryVariables) =>
|
|
248
|
+
this.sdk.query(GetNftEventsDocument, vars);
|
|
254
249
|
listFavoriteTokens = async (vars: ListFavoriteTokensQueryVariables) =>
|
|
255
250
|
this.sdk.query(ListFavoriteTokensDocument, vars);
|
|
256
|
-
|
|
257
|
-
this.sdk.query(
|
|
251
|
+
getTokenEvents = async (vars: GetTokenEventsQueryVariables) =>
|
|
252
|
+
this.sdk.query(GetTokenEventsDocument, vars);
|
|
253
|
+
liquidityLocks = async (vars: LiquidityLocksQueryVariables) =>
|
|
254
|
+
this.sdk.query(LiquidityLocksDocument, vars);
|
|
255
|
+
getDetailedPairsStats = async (vars: GetDetailedPairsStatsQueryVariables) =>
|
|
256
|
+
this.sdk.query(GetDetailedPairsStatsDocument, vars);
|
|
257
|
+
getParallelCardChanges = async (vars: GetParallelCardChangesQueryVariables) =>
|
|
258
|
+
this.sdk.query(GetParallelCardChangesDocument, vars);
|
|
259
|
+
apiTokens = async (vars: ApiTokensQueryVariables) =>
|
|
260
|
+
this.sdk.query(ApiTokensDocument, vars);
|
|
261
|
+
primeHolders = async (vars: PrimeHoldersQueryVariables) =>
|
|
262
|
+
this.sdk.query(PrimeHoldersDocument, vars);
|
|
258
263
|
getDetailedNftStats = async (vars: GetDetailedNftStatsQueryVariables) =>
|
|
259
264
|
this.sdk.query(GetDetailedNftStatsDocument, vars);
|
|
260
|
-
|
|
261
|
-
this.sdk.query(
|
|
262
|
-
|
|
263
|
-
vars:
|
|
264
|
-
) => this.sdk.query(
|
|
265
|
-
|
|
266
|
-
vars
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
this.sdk.query(GetBarsDocument, vars);
|
|
265
|
+
filterPairs = async (vars: FilterPairsQueryVariables) =>
|
|
266
|
+
this.sdk.query(FilterPairsDocument, vars);
|
|
267
|
+
getSimulateTokenContractResults = async (
|
|
268
|
+
vars: GetSimulateTokenContractResultsQueryVariables,
|
|
269
|
+
) => this.sdk.query(GetSimulateTokenContractResultsDocument, vars);
|
|
270
|
+
getLatestTokens = async (vars: GetLatestTokensQueryVariables) =>
|
|
271
|
+
this.sdk.query(GetLatestTokensDocument, vars);
|
|
272
|
+
getNetworkStats = async (vars: GetNetworkStatsQueryVariables) =>
|
|
273
|
+
this.sdk.query(GetNetworkStatsDocument, vars);
|
|
274
|
+
tokenSparklines = async (vars: TokenSparklinesQueryVariables) =>
|
|
275
|
+
this.sdk.query(TokenSparklinesDocument, vars);
|
|
276
|
+
getNftPool = async (vars: GetNftPoolQueryVariables) =>
|
|
277
|
+
this.sdk.query(GetNftPoolDocument, vars);
|
|
278
|
+
holders = async (vars: HoldersQueryVariables) =>
|
|
279
|
+
this.sdk.query(HoldersDocument, vars);
|
|
280
|
+
getNetworkStatus = async (vars: GetNetworkStatusQueryVariables) =>
|
|
281
|
+
this.sdk.query(GetNetworkStatusDocument, vars);
|
|
282
|
+
getTokenInfo = async (vars: GetTokenInfoQueryVariables) =>
|
|
283
|
+
this.sdk.query(GetTokenInfoDocument, vars);
|
|
280
284
|
}
|