@codex-data/sdk 1.0.39 → 1.1.0-beta.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/README.md +137 -39
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -26
- package/dist/index.mjs +4 -0
- package/dist/sdk/Mutation.d.ts +3 -3
- package/dist/sdk/Mutation.js +2 -2
- package/dist/sdk/Mutation.mjs +13 -0
- package/dist/sdk/Query.d.ts +53 -54
- package/dist/sdk/Query.js +53 -54
- package/dist/sdk/Query.mjs +74 -0
- package/dist/sdk/Subscribe.d.ts +17 -18
- package/dist/sdk/Subscribe.js +84 -177
- package/dist/sdk/Subscribe.mjs +138 -0
- package/dist/sdk/generated/gql.d.ts +47 -43
- package/dist/sdk/generated/gql.js +22 -22
- package/dist/sdk/generated/gql.mjs +103 -0
- package/dist/sdk/generated/graphql.d.ts +215 -11
- package/dist/sdk/generated/graphql.js +33 -25
- package/dist/sdk/generated/graphql.mjs +1739 -0
- package/dist/sdk/generated/index.d.ts +0 -2
- package/dist/sdk/generated/index.js +0 -2
- package/dist/sdk/generated/index.mjs +1 -0
- package/dist/sdk/index.d.ts +0 -1
- package/dist/sdk/index.js +0 -1
- package/dist/sdk/index.mjs +150 -0
- package/dist/sdk/invariant.d.ts +0 -1
- package/dist/sdk/invariant.js +0 -1
- package/dist/sdk/invariant.mjs +26 -0
- package/package.json +54 -26
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/resources/graphql.d.ts +0 -9875
- package/dist/resources/graphql.d.ts.map +0 -1
- package/dist/resources/graphql.js +0 -1640
- package/dist/resources/graphql.js.map +0 -1
- package/dist/sdk/Mutation.d.ts.map +0 -1
- package/dist/sdk/Mutation.js.map +0 -1
- package/dist/sdk/Query.d.ts.map +0 -1
- package/dist/sdk/Query.js.map +0 -1
- package/dist/sdk/Subscribe.d.ts.map +0 -1
- package/dist/sdk/Subscribe.js.map +0 -1
- package/dist/sdk/generated/fragment-masking.d.ts +0 -20
- package/dist/sdk/generated/fragment-masking.d.ts.map +0 -1
- package/dist/sdk/generated/fragment-masking.js +0 -22
- package/dist/sdk/generated/fragment-masking.js.map +0 -1
- package/dist/sdk/generated/gql.d.ts.map +0 -1
- package/dist/sdk/generated/gql.js.map +0 -1
- package/dist/sdk/generated/graphql.d.ts.map +0 -1
- package/dist/sdk/generated/graphql.js.map +0 -1
- package/dist/sdk/generated/index.d.ts.map +0 -1
- package/dist/sdk/generated/index.js.map +0 -1
- package/dist/sdk/index.d.ts.map +0 -1
- package/dist/sdk/index.js.map +0 -1
- package/dist/sdk/index.test.d.ts +0 -2
- package/dist/sdk/index.test.d.ts.map +0 -1
- package/dist/sdk/index.test.js +0 -321
- package/dist/sdk/index.test.js.map +0 -1
- package/dist/sdk/invariant.d.ts.map +0 -1
- package/dist/sdk/invariant.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,20 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
This package exists to help you develop on top of the Codex API (https://docs.codex.io).
|
|
4
4
|
|
|
5
|
-
It provides
|
|
5
|
+
It provides generated TypeScript types and convenient methods to access the GraphQL API with full type safety.
|
|
6
6
|
|
|
7
7
|
> [!NOTE]
|
|
8
8
|
> We've changed our name from Defined to Codex.
|
|
9
9
|
>
|
|
10
10
|
> You will see references to our previous company name, Defined, while we make the switch to Codex.
|
|
11
11
|
|
|
12
|
+
## Features
|
|
13
|
+
|
|
14
|
+
- 🚀 **Fully Typed**: Generated TypeScript types for all GraphQL operations
|
|
15
|
+
- 📦 **Tree Shakeable**: ESM support with optimized bundle size
|
|
16
|
+
- 🔄 **Real-time**: WebSocket subscriptions support
|
|
17
|
+
- 🛠 **Developer Friendly**: Comprehensive examples and documentation
|
|
18
|
+
|
|
12
19
|
## Installation
|
|
13
20
|
|
|
14
|
-
|
|
|
15
|
-
| ----------------------------- |
|
|
16
|
-
| [npm](https://www.npmjs.com/) | `npm
|
|
17
|
-
| [yarn](https://yarnpkg.com/) | `yarn add @codex-data/sdk`
|
|
18
|
-
| [
|
|
21
|
+
| Package Manager | Command |
|
|
22
|
+
| ----------------------------- | ----------------------------- |
|
|
23
|
+
| [npm](https://www.npmjs.com/) | `npm install @codex-data/sdk` |
|
|
24
|
+
| [yarn](https://yarnpkg.com/) | `yarn add @codex-data/sdk` |
|
|
25
|
+
| [pnpm](https://pnpm.io/) | `pnpm add @codex-data/sdk` |
|
|
19
26
|
|
|
20
27
|
## Usage
|
|
21
28
|
|
|
@@ -41,70 +48,161 @@ sdk.queries
|
|
|
41
48
|
Use your own GraphQL selections
|
|
42
49
|
|
|
43
50
|
```typescript
|
|
44
|
-
import {
|
|
45
|
-
import { Codex } from "@codex-data/sdk/dist/sdk";
|
|
51
|
+
import { Codex } from "@codex-data/sdk";
|
|
46
52
|
|
|
47
53
|
const sdk = new Codex(process.env.CODEX_API_KEY || "");
|
|
48
54
|
|
|
55
|
+
// Using the raw GraphQL client
|
|
49
56
|
sdk
|
|
50
|
-
.send<{ getNetworks:
|
|
57
|
+
.send<{ getNetworks: Array<{ id: string; name: string }> }>(
|
|
51
58
|
`
|
|
52
59
|
query GetNetworks {
|
|
53
60
|
getNetworks { id name }
|
|
54
61
|
}
|
|
55
62
|
`,
|
|
56
|
-
{}
|
|
63
|
+
{},
|
|
57
64
|
)
|
|
58
65
|
.then((res) => {
|
|
59
66
|
console.log("Networks: ", res.getNetworks);
|
|
60
67
|
});
|
|
61
68
|
```
|
|
62
69
|
|
|
63
|
-
|
|
70
|
+
Subscribe to real-time data
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import { Codex } from "@codex-data/sdk";
|
|
74
|
+
|
|
75
|
+
const sdk = new Codex(process.env.CODEX_API_KEY || "");
|
|
76
|
+
|
|
77
|
+
// Subscribe to price updates
|
|
78
|
+
sdk.subscriptions.onPriceUpdated(
|
|
79
|
+
{
|
|
80
|
+
address: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
|
|
81
|
+
networkId: 56,
|
|
82
|
+
},
|
|
83
|
+
(result) => {
|
|
84
|
+
if (result.data) {
|
|
85
|
+
console.log("Price updated:", result.data.onPriceUpdated);
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
);
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Development
|
|
64
92
|
|
|
65
|
-
|
|
93
|
+
### Prerequisites
|
|
66
94
|
|
|
67
|
-
|
|
95
|
+
- [Node.js](https://nodejs.org/) >= 17.5.0
|
|
96
|
+
- [pnpm](https://pnpm.io/) (recommended) or npm/yarn
|
|
97
|
+
- [`curl`](https://curl.se/) for fetching the GraphQL schema
|
|
68
98
|
|
|
69
|
-
|
|
99
|
+
### Building from Source
|
|
70
100
|
|
|
71
|
-
|
|
72
|
-
|
|
101
|
+
```bash
|
|
102
|
+
# Install dependencies
|
|
103
|
+
pnpm install
|
|
73
104
|
|
|
74
|
-
|
|
105
|
+
# Build the SDK
|
|
106
|
+
pnpm run build
|
|
107
|
+
```
|
|
75
108
|
|
|
76
|
-
|
|
109
|
+
### Running Examples
|
|
77
110
|
|
|
78
|
-
|
|
79
|
-
- `bun i`
|
|
80
|
-
- `CODEX_API_KEY=xyz bun run index.ts`
|
|
111
|
+
All examples require a Codex API key. Get your API key at [docs.codex.io](https://docs.codex.io).
|
|
81
112
|
|
|
82
|
-
|
|
83
|
-
examples do not include all of the fields for every query.
|
|
113
|
+
#### Simple Example
|
|
84
114
|
|
|
85
|
-
|
|
115
|
+
Basic usage with inline GraphQL queries:
|
|
86
116
|
|
|
87
|
-
|
|
117
|
+
```bash
|
|
118
|
+
cd examples/simple
|
|
119
|
+
pnpm install
|
|
120
|
+
CODEX_API_KEY=your_api_key pnpm run dev
|
|
121
|
+
```
|
|
88
122
|
|
|
89
|
-
|
|
90
|
-
- `bun i`
|
|
91
|
-
- `bun run codegen`
|
|
92
|
-
- `CODEX_API_KEY=xyz bun run src/index.ts`
|
|
123
|
+
#### Codegen Example
|
|
93
124
|
|
|
94
|
-
|
|
125
|
+
Shows how to use GraphQL Code Generator for fully typed queries:
|
|
95
126
|
|
|
96
|
-
|
|
127
|
+
```bash
|
|
128
|
+
cd examples/codegen
|
|
129
|
+
pnpm install
|
|
130
|
+
pnpm run codegen
|
|
131
|
+
CODEX_API_KEY=your_api_key pnpm run dev
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
#### Next.js Example
|
|
135
|
+
|
|
136
|
+
Full-stack example with a Next.js application:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
cd examples/next
|
|
140
|
+
pnpm install
|
|
141
|
+
NEXT_PUBLIC_CODEX_API_KEY=your_api_key pnpm run dev
|
|
142
|
+
```
|
|
97
143
|
|
|
98
|
-
|
|
99
|
-
- `bun i`
|
|
100
|
-
- `NEXT_PUBLIC_CODEX_API_KEY=xyz bun run dev`
|
|
144
|
+
## Package Structure
|
|
101
145
|
|
|
102
|
-
|
|
146
|
+
The SDK is built with modern tooling and provides both CommonJS and ESM builds:
|
|
103
147
|
|
|
104
|
-
|
|
105
|
-
-
|
|
106
|
-
|
|
148
|
+
```
|
|
149
|
+
@codex-data/sdk/
|
|
150
|
+
├── dist/
|
|
151
|
+
│ ├── index.js # CommonJS entry point
|
|
152
|
+
│ ├── index.mjs # ESM entry point
|
|
153
|
+
│ ├── index.d.ts # TypeScript definitions
|
|
154
|
+
│ └── sdk/ # SDK implementation
|
|
155
|
+
├── README.md
|
|
156
|
+
└── package.json
|
|
157
|
+
```
|
|
107
158
|
|
|
108
159
|
## Contributing
|
|
109
160
|
|
|
110
|
-
|
|
161
|
+
We welcome contributions! Please feel free to submit a Pull Request.
|
|
162
|
+
|
|
163
|
+
### Development Scripts
|
|
164
|
+
|
|
165
|
+
- `pnpm run build` - Build the SDK for production
|
|
166
|
+
- `pnpm run test` - Run the test suite
|
|
167
|
+
- `pnpm run lint` - Lint the codebase
|
|
168
|
+
- `pnpm run clean` - Clean build artifacts
|
|
169
|
+
|
|
170
|
+
## Releasing
|
|
171
|
+
|
|
172
|
+
### Publishing Beta Versions
|
|
173
|
+
|
|
174
|
+
For testing releases before making them public:
|
|
175
|
+
|
|
176
|
+
1. Update the version in `package.json` to a beta version:
|
|
177
|
+
|
|
178
|
+
```json
|
|
179
|
+
"version": "2.0.0-beta.0"
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
2. Publish to the beta tag:
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
pnpm run publish:beta
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
3. Test the beta version:
|
|
189
|
+
```bash
|
|
190
|
+
npm install @codex-data/sdk@beta
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
Users installing without the `@beta` tag will continue to receive the latest stable version.
|
|
194
|
+
|
|
195
|
+
### Publishing Production Releases
|
|
196
|
+
|
|
197
|
+
1. Update the version in `package.json` to a production version:
|
|
198
|
+
|
|
199
|
+
```json
|
|
200
|
+
"version": "2.0.0"
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
2. Publish to the latest tag:
|
|
204
|
+
```bash
|
|
205
|
+
pnpm run publish:latest
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
> **Note:** The `prepublishOnly` script automatically runs the full build before publishing, ensuring the package is always built before release.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
|
|
1
|
+
export { Codex } from "./sdk";
|
|
2
|
+
export type { ApiConfig, CleanupFunction } from "./sdk";
|
|
3
|
+
export * from "./sdk/generated/graphql";
|
package/dist/index.js
CHANGED
|
@@ -10,33 +10,13 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
15
|
};
|
|
38
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
17
|
+
exports.Codex = void 0;
|
|
18
|
+
// Main SDK exports
|
|
19
|
+
var sdk_1 = require("./sdk");
|
|
20
|
+
Object.defineProperty(exports, "Codex", { enumerable: true, get: function () { return sdk_1.Codex; } });
|
|
21
|
+
// Export GraphQL types for use in applications
|
|
22
|
+
__exportStar(require("./sdk/generated/graphql"), exports);
|
package/dist/index.mjs
ADDED
package/dist/sdk/Mutation.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BackfillWalletAggregatesMutationVariables, CreateApiTokensMutationVariables, CreateWebhooksMutationVariables, DeleteApiTokenMutationVariables, DeleteWebhooksMutationVariables } from "./generated/graphql";
|
|
1
|
+
import { BackfillWalletAggregatesMutationVariables, CreateApiTokensMutationVariables, CreateWebhooksMutationVariables, DeleteApiTokenMutationVariables, DeleteWebhooksMutationVariables, RefreshBalancesMutationVariables } from "./generated/graphql";
|
|
2
2
|
import { Codex } from "./index";
|
|
3
3
|
export declare class Mutation {
|
|
4
4
|
private sdk;
|
|
5
5
|
constructor(sdk: Codex);
|
|
6
6
|
backfillWalletAggregates: (vars: BackfillWalletAggregatesMutationVariables) => Promise<import("./generated/graphql").BackfillWalletAggregatesMutation>;
|
|
7
7
|
createApiTokens: (vars: CreateApiTokensMutationVariables) => Promise<import("./generated/graphql").CreateApiTokensMutation>;
|
|
8
|
-
deleteApiToken: (vars: DeleteApiTokenMutationVariables) => Promise<import("./generated/graphql").DeleteApiTokenMutation>;
|
|
9
8
|
createWebhooks: (vars: CreateWebhooksMutationVariables) => Promise<import("./generated/graphql").CreateWebhooksMutation>;
|
|
9
|
+
deleteApiToken: (vars: DeleteApiTokenMutationVariables) => Promise<import("./generated/graphql").DeleteApiTokenMutation>;
|
|
10
10
|
deleteWebhooks: (vars: DeleteWebhooksMutationVariables) => Promise<import("./generated/graphql").DeleteWebhooksMutation>;
|
|
11
|
+
refreshBalances: (vars: RefreshBalancesMutationVariables) => Promise<import("./generated/graphql").RefreshBalancesMutation>;
|
|
11
12
|
}
|
|
12
|
-
//# sourceMappingURL=Mutation.d.ts.map
|
package/dist/sdk/Mutation.js
CHANGED
|
@@ -17,10 +17,10 @@ class Mutation {
|
|
|
17
17
|
this.sdk = sdk;
|
|
18
18
|
this.backfillWalletAggregates = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.mutation(graphql_1.BackfillWalletAggregatesDocument, vars); });
|
|
19
19
|
this.createApiTokens = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.mutation(graphql_1.CreateApiTokensDocument, vars); });
|
|
20
|
-
this.deleteApiToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.mutation(graphql_1.DeleteApiTokenDocument, vars); });
|
|
21
20
|
this.createWebhooks = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.mutation(graphql_1.CreateWebhooksDocument, vars); });
|
|
21
|
+
this.deleteApiToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.mutation(graphql_1.DeleteApiTokenDocument, vars); });
|
|
22
22
|
this.deleteWebhooks = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.mutation(graphql_1.DeleteWebhooksDocument, vars); });
|
|
23
|
+
this.refreshBalances = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.mutation(graphql_1.RefreshBalancesDocument, vars); });
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
exports.Mutation = Mutation;
|
|
26
|
-
//# sourceMappingURL=Mutation.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT EDIT IT DIRECTLY
|
|
2
|
+
import { BackfillWalletAggregatesDocument, CreateApiTokensDocument, CreateWebhooksDocument, DeleteApiTokenDocument, DeleteWebhooksDocument, RefreshBalancesDocument, } from "./generated/graphql";
|
|
3
|
+
export class Mutation {
|
|
4
|
+
constructor(sdk) {
|
|
5
|
+
this.sdk = sdk;
|
|
6
|
+
this.backfillWalletAggregates = async (vars) => this.sdk.mutation(BackfillWalletAggregatesDocument, vars);
|
|
7
|
+
this.createApiTokens = async (vars) => this.sdk.mutation(CreateApiTokensDocument, vars);
|
|
8
|
+
this.createWebhooks = async (vars) => this.sdk.mutation(CreateWebhooksDocument, vars);
|
|
9
|
+
this.deleteApiToken = async (vars) => this.sdk.mutation(DeleteApiTokenDocument, vars);
|
|
10
|
+
this.deleteWebhooks = async (vars) => this.sdk.mutation(DeleteWebhooksDocument, vars);
|
|
11
|
+
this.refreshBalances = async (vars) => this.sdk.mutation(RefreshBalancesDocument, vars);
|
|
12
|
+
}
|
|
13
|
+
}
|
package/dist/sdk/Query.d.ts
CHANGED
|
@@ -3,72 +3,71 @@ import { Codex } from "./index";
|
|
|
3
3
|
export declare class Query {
|
|
4
4
|
private sdk;
|
|
5
5
|
constructor(sdk: Codex);
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
primeHolders: (vars: PrimeHoldersQueryVariables) => Promise<import("./generated/graphql").PrimeHoldersQuery>;
|
|
6
|
+
apiToken: (vars: ApiTokenQueryVariables) => Promise<import("./generated/graphql").ApiTokenQuery>;
|
|
7
|
+
apiTokens: (vars: ApiTokensQueryVariables) => Promise<import("./generated/graphql").ApiTokensQuery>;
|
|
9
8
|
balances: (vars: BalancesQueryVariables) => Promise<import("./generated/graphql").BalancesQuery>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
blocks: (vars: BlocksQueryVariables) => Promise<import("./generated/graphql").BlocksQuery>;
|
|
10
|
+
chartUrls: (vars: ChartUrlsQueryVariables) => Promise<import("./generated/graphql").ChartUrlsQuery>;
|
|
11
|
+
detailedWalletStats: (vars: DetailedWalletStatsQueryVariables) => Promise<import("./generated/graphql").DetailedWalletStatsQuery>;
|
|
12
|
+
filterExchanges: (vars: FilterExchangesQueryVariables) => Promise<import("./generated/graphql").FilterExchangesQuery>;
|
|
13
|
+
filterNftCollections: (vars: FilterNftCollectionsQueryVariables) => Promise<import("./generated/graphql").FilterNftCollectionsQuery>;
|
|
14
|
+
filterNftParallelAssets: (vars: FilterNftParallelAssetsQueryVariables) => Promise<import("./generated/graphql").FilterNftParallelAssetsQuery>;
|
|
15
|
+
filterNftPoolCollections: (vars: FilterNftPoolCollectionsQueryVariables) => Promise<import("./generated/graphql").FilterNftPoolCollectionsQuery>;
|
|
17
16
|
filterNftPools: (vars: FilterNftPoolsQueryVariables) => Promise<import("./generated/graphql").FilterNftPoolsQuery>;
|
|
17
|
+
filterPairs: (vars: FilterPairsQueryVariables) => Promise<import("./generated/graphql").FilterPairsQuery>;
|
|
18
18
|
filterTokenWallets: (vars: FilterTokenWalletsQueryVariables) => Promise<import("./generated/graphql").FilterTokenWalletsQuery>;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
filterTokens: (vars: FilterTokensQueryVariables) => Promise<import("./generated/graphql").FilterTokensQuery>;
|
|
20
|
+
filterWallets: (vars: FilterWalletsQueryVariables) => Promise<import("./generated/graphql").FilterWalletsQuery>;
|
|
21
|
+
getBars: (vars: GetBarsQueryVariables) => Promise<import("./generated/graphql").GetBarsQuery>;
|
|
22
|
+
getCommunityNotes: (vars: GetCommunityNotesQueryVariables) => Promise<import("./generated/graphql").GetCommunityNotesQuery>;
|
|
23
|
+
getDetailedNftStats: (vars: GetDetailedNftStatsQueryVariables) => Promise<import("./generated/graphql").GetDetailedNftStatsQuery>;
|
|
24
|
+
getDetailedPairStats: (vars: GetDetailedPairStatsQueryVariables) => Promise<import("./generated/graphql").GetDetailedPairStatsQuery>;
|
|
25
|
+
getDetailedPairsStats: (vars: GetDetailedPairsStatsQueryVariables) => Promise<import("./generated/graphql").GetDetailedPairsStatsQuery>;
|
|
26
|
+
getEventLabels: (vars: GetEventLabelsQueryVariables) => Promise<import("./generated/graphql").GetEventLabelsQuery>;
|
|
27
|
+
getExchanges: (vars: GetExchangesQueryVariables) => Promise<import("./generated/graphql").GetExchangesQuery>;
|
|
28
|
+
getNetworkConfigs: (vars: GetNetworkConfigsQueryVariables) => Promise<import("./generated/graphql").GetNetworkConfigsQuery>;
|
|
29
|
+
getNetworkStats: (vars: GetNetworkStatsQueryVariables) => Promise<import("./generated/graphql").GetNetworkStatsQuery>;
|
|
30
|
+
getNetworkStatus: (vars: GetNetworkStatusQueryVariables) => Promise<import("./generated/graphql").GetNetworkStatusQuery>;
|
|
31
|
+
getNetworks: (vars: GetNetworksQueryVariables) => Promise<import("./generated/graphql").GetNetworksQuery>;
|
|
32
|
+
getNftAssets: (vars: GetNftAssetsQueryVariables) => Promise<import("./generated/graphql").GetNftAssetsQuery>;
|
|
33
|
+
getNftCollectionMetadata: (vars: GetNftCollectionMetadataQueryVariables) => Promise<import("./generated/graphql").GetNftCollectionMetadataQuery>;
|
|
34
|
+
getNftContracts: (vars: GetNftContractsQueryVariables) => Promise<import("./generated/graphql").GetNftContractsQuery>;
|
|
35
|
+
getNftEvents: (vars: GetNftEventsQueryVariables) => Promise<import("./generated/graphql").GetNftEventsQuery>;
|
|
36
|
+
getNftPool: (vars: GetNftPoolQueryVariables) => Promise<import("./generated/graphql").GetNftPoolQuery>;
|
|
37
|
+
getNftPoolCollection: (vars: GetNftPoolCollectionQueryVariables) => Promise<import("./generated/graphql").GetNftPoolCollectionQuery>;
|
|
38
|
+
getNftPoolCollectionsByExchange: (vars: GetNftPoolCollectionsByExchangeQueryVariables) => Promise<import("./generated/graphql").GetNftPoolCollectionsByExchangeQuery>;
|
|
39
|
+
getNftPoolEvents: (vars: GetNftPoolEventsQueryVariables) => Promise<import("./generated/graphql").GetNftPoolEventsQuery>;
|
|
40
|
+
getNftPoolStats: (vars: GetNftPoolStatsQueryVariables) => Promise<import("./generated/graphql").GetNftPoolStatsQuery>;
|
|
21
41
|
getNftPoolsByCollectionAndExchange: (vars: GetNftPoolsByCollectionAndExchangeQueryVariables) => Promise<import("./generated/graphql").GetNftPoolsByCollectionAndExchangeQuery>;
|
|
22
|
-
walletNftCollectionAssets: (vars: WalletNftCollectionAssetsQueryVariables) => Promise<import("./generated/graphql").WalletNftCollectionAssetsQuery>;
|
|
23
|
-
filterPairs: (vars: FilterPairsQueryVariables) => Promise<import("./generated/graphql").FilterPairsQuery>;
|
|
24
42
|
getNftPoolsByOwner: (vars: GetNftPoolsByOwnerQueryVariables) => Promise<import("./generated/graphql").GetNftPoolsByOwnerQuery>;
|
|
25
|
-
|
|
26
|
-
|
|
43
|
+
getParallelCardChanges: (vars: GetParallelCardChangesQueryVariables) => Promise<import("./generated/graphql").GetParallelCardChangesQuery>;
|
|
44
|
+
getPrimePoolAssets: (vars: GetPrimePoolAssetsQueryVariables) => Promise<import("./generated/graphql").GetPrimePoolAssetsQuery>;
|
|
45
|
+
getPrimePoolEvents: (vars: GetPrimePoolEventsQueryVariables) => Promise<import("./generated/graphql").GetPrimePoolEventsQuery>;
|
|
27
46
|
getPrimePools: (vars: GetPrimePoolsQueryVariables) => Promise<import("./generated/graphql").GetPrimePoolsQuery>;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
47
|
+
getSymbol: (vars: GetSymbolQueryVariables) => Promise<import("./generated/graphql").GetSymbolQuery>;
|
|
48
|
+
getTokenBars: (vars: GetTokenBarsQueryVariables) => Promise<import("./generated/graphql").GetTokenBarsQuery>;
|
|
49
|
+
getTokenEvents: (vars: GetTokenEventsQueryVariables) => Promise<import("./generated/graphql").GetTokenEventsQuery>;
|
|
50
|
+
getTokenEventsForMaker: (vars: GetTokenEventsForMakerQueryVariables) => Promise<import("./generated/graphql").GetTokenEventsForMakerQuery>;
|
|
51
|
+
getTokenPrices: (vars: GetTokenPricesQueryVariables) => Promise<import("./generated/graphql").GetTokenPricesQuery>;
|
|
52
|
+
getWebhooks: (vars: GetWebhooksQueryVariables) => Promise<import("./generated/graphql").GetWebhooksQuery>;
|
|
53
|
+
holders: (vars: HoldersQueryVariables) => Promise<import("./generated/graphql").HoldersQuery>;
|
|
32
54
|
liquidityLocks: (vars: LiquidityLocksQueryVariables) => Promise<import("./generated/graphql").LiquidityLocksQuery>;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
55
|
+
liquidityMetadata: (vars: LiquidityMetadataQueryVariables) => Promise<import("./generated/graphql").LiquidityMetadataQuery>;
|
|
56
|
+
liquidityMetadataByToken: (vars: LiquidityMetadataByTokenQueryVariables) => Promise<import("./generated/graphql").LiquidityMetadataByTokenQuery>;
|
|
57
|
+
listPairsForToken: (vars: ListPairsForTokenQueryVariables) => Promise<import("./generated/graphql").ListPairsForTokenQuery>;
|
|
58
|
+
listPairsWithMetadataForToken: (vars: ListPairsWithMetadataForTokenQueryVariables) => Promise<import("./generated/graphql").ListPairsWithMetadataForTokenQuery>;
|
|
36
59
|
nftHolders: (vars: NftHoldersQueryVariables) => Promise<import("./generated/graphql").NftHoldersQuery>;
|
|
37
|
-
getExchanges: (vars: GetExchangesQueryVariables) => Promise<import("./generated/graphql").GetExchangesQuery>;
|
|
38
|
-
blocks: (vars: BlocksQueryVariables) => Promise<import("./generated/graphql").BlocksQuery>;
|
|
39
|
-
token: (vars: TokenQueryVariables) => Promise<import("./generated/graphql").TokenQuery>;
|
|
40
|
-
apiTokens: (vars: ApiTokensQueryVariables) => Promise<import("./generated/graphql").ApiTokensQuery>;
|
|
41
|
-
getTokenPrices: (vars: GetTokenPricesQueryVariables) => Promise<import("./generated/graphql").GetTokenPricesQuery>;
|
|
42
60
|
pairMetadata: (vars: PairMetadataQueryVariables) => Promise<import("./generated/graphql").PairMetadataQuery>;
|
|
61
|
+
primeHolders: (vars: PrimeHoldersQueryVariables) => Promise<import("./generated/graphql").PrimeHoldersQuery>;
|
|
62
|
+
searchNfts: (vars: SearchNftsQueryVariables) => Promise<import("./generated/graphql").SearchNftsQuery>;
|
|
63
|
+
token: (vars: TokenQueryVariables) => Promise<import("./generated/graphql").TokenQuery>;
|
|
43
64
|
tokenLifecycleEvents: (vars: TokenLifecycleEventsQueryVariables) => Promise<import("./generated/graphql").TokenLifecycleEventsQuery>;
|
|
44
|
-
|
|
45
|
-
|
|
65
|
+
tokenSparklines: (vars: TokenSparklinesQueryVariables) => Promise<import("./generated/graphql").TokenSparklinesQuery>;
|
|
66
|
+
tokenTopTraders: (vars: TokenTopTradersQueryVariables) => Promise<import("./generated/graphql").TokenTopTradersQuery>;
|
|
46
67
|
tokens: (vars: TokensQueryVariables) => Promise<import("./generated/graphql").TokensQuery>;
|
|
47
|
-
liquidityMetadataByToken: (vars: LiquidityMetadataByTokenQueryVariables) => Promise<import("./generated/graphql").LiquidityMetadataByTokenQuery>;
|
|
48
|
-
getTokenBars: (vars: GetTokenBarsQueryVariables) => Promise<import("./generated/graphql").GetTokenBarsQuery>;
|
|
49
|
-
getNetworkConfigs: (vars: GetNetworkConfigsQueryVariables) => Promise<import("./generated/graphql").GetNetworkConfigsQuery>;
|
|
50
|
-
filterWallets: (vars: FilterWalletsQueryVariables) => Promise<import("./generated/graphql").FilterWalletsQuery>;
|
|
51
|
-
listPairsForToken: (vars: ListPairsForTokenQueryVariables) => Promise<import("./generated/graphql").ListPairsForTokenQuery>;
|
|
52
|
-
getTokenEventsForMaker: (vars: GetTokenEventsForMakerQueryVariables) => Promise<import("./generated/graphql").GetTokenEventsForMakerQuery>;
|
|
53
|
-
filterNftPoolCollections: (vars: FilterNftPoolCollectionsQueryVariables) => Promise<import("./generated/graphql").FilterNftPoolCollectionsQuery>;
|
|
54
|
-
searchNfts: (vars: SearchNftsQueryVariables) => Promise<import("./generated/graphql").SearchNftsQuery>;
|
|
55
|
-
getNftContracts: (vars: GetNftContractsQueryVariables) => Promise<import("./generated/graphql").GetNftContractsQuery>;
|
|
56
68
|
top10HoldersPercent: (vars: Top10HoldersPercentQueryVariables) => Promise<import("./generated/graphql").Top10HoldersPercentQuery>;
|
|
57
|
-
listPairsWithMetadataForToken: (vars: ListPairsWithMetadataForTokenQueryVariables) => Promise<import("./generated/graphql").ListPairsWithMetadataForTokenQuery>;
|
|
58
|
-
getDetailedNftStats: (vars: GetDetailedNftStatsQueryVariables) => Promise<import("./generated/graphql").GetDetailedNftStatsQuery>;
|
|
59
|
-
getPrimePoolEvents: (vars: GetPrimePoolEventsQueryVariables) => Promise<import("./generated/graphql").GetPrimePoolEventsQuery>;
|
|
60
|
-
getTokenEvents: (vars: GetTokenEventsQueryVariables) => Promise<import("./generated/graphql").GetTokenEventsQuery>;
|
|
61
|
-
getNftPoolCollection: (vars: GetNftPoolCollectionQueryVariables) => Promise<import("./generated/graphql").GetNftPoolCollectionQuery>;
|
|
62
|
-
getWebhooks: (vars: GetWebhooksQueryVariables) => Promise<import("./generated/graphql").GetWebhooksQuery>;
|
|
63
|
-
getNftAssets: (vars: GetNftAssetsQueryVariables) => Promise<import("./generated/graphql").GetNftAssetsQuery>;
|
|
64
|
-
getBars: (vars: GetBarsQueryVariables) => Promise<import("./generated/graphql").GetBarsQuery>;
|
|
65
|
-
getNftEvents: (vars: GetNftEventsQueryVariables) => Promise<import("./generated/graphql").GetNftEventsQuery>;
|
|
66
69
|
walletAggregateBackfillState: (vars: WalletAggregateBackfillStateQueryVariables) => Promise<import("./generated/graphql").WalletAggregateBackfillStateQuery>;
|
|
67
|
-
getNetworkStatus: (vars: GetNetworkStatusQueryVariables) => Promise<import("./generated/graphql").GetNetworkStatusQuery>;
|
|
68
|
-
chartUrls: (vars: ChartUrlsQueryVariables) => Promise<import("./generated/graphql").ChartUrlsQuery>;
|
|
69
70
|
walletChart: (vars: WalletChartQueryVariables) => Promise<import("./generated/graphql").WalletChartQuery>;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
getParallelCardChanges: (vars: GetParallelCardChangesQueryVariables) => Promise<import("./generated/graphql").GetParallelCardChangesQuery>;
|
|
71
|
+
walletNftCollectionAssets: (vars: WalletNftCollectionAssetsQueryVariables) => Promise<import("./generated/graphql").WalletNftCollectionAssetsQuery>;
|
|
72
|
+
walletNftCollections: (vars: WalletNftCollectionsQueryVariables) => Promise<import("./generated/graphql").WalletNftCollectionsQuery>;
|
|
73
73
|
}
|
|
74
|
-
//# sourceMappingURL=Query.d.ts.map
|
package/dist/sdk/Query.js
CHANGED
|
@@ -15,74 +15,73 @@ const graphql_1 = require("./generated/graphql");
|
|
|
15
15
|
class Query {
|
|
16
16
|
constructor(sdk) {
|
|
17
17
|
this.sdk = sdk;
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.primeHolders = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PrimeHoldersDocument, vars); });
|
|
18
|
+
this.apiToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ApiTokenDocument, vars); });
|
|
19
|
+
this.apiTokens = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ApiTokensDocument, vars); });
|
|
21
20
|
this.balances = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.BalancesDocument, vars); });
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
21
|
+
this.blocks = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.BlocksDocument, vars); });
|
|
22
|
+
this.chartUrls = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ChartUrlsDocument, vars); });
|
|
23
|
+
this.detailedWalletStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.DetailedWalletStatsDocument, vars); });
|
|
24
|
+
this.filterExchanges = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterExchangesDocument, vars); });
|
|
25
|
+
this.filterNftCollections = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterNftCollectionsDocument, vars); });
|
|
26
|
+
this.filterNftParallelAssets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterNftParallelAssetsDocument, vars); });
|
|
27
|
+
this.filterNftPoolCollections = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterNftPoolCollectionsDocument, vars); });
|
|
29
28
|
this.filterNftPools = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterNftPoolsDocument, vars); });
|
|
29
|
+
this.filterPairs = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterPairsDocument, vars); });
|
|
30
30
|
this.filterTokenWallets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterTokenWalletsDocument, vars); });
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
31
|
+
this.filterTokens = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterTokensDocument, vars); });
|
|
32
|
+
this.filterWallets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterWalletsDocument, vars); });
|
|
33
|
+
this.getBars = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetBarsDocument, vars); });
|
|
34
|
+
this.getCommunityNotes = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetCommunityNotesDocument, vars); });
|
|
35
|
+
this.getDetailedNftStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetDetailedNftStatsDocument, vars); });
|
|
36
|
+
this.getDetailedPairStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetDetailedPairStatsDocument, vars); });
|
|
37
|
+
this.getDetailedPairsStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetDetailedPairsStatsDocument, vars); });
|
|
38
|
+
this.getEventLabels = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetEventLabelsDocument, vars); });
|
|
39
|
+
this.getExchanges = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetExchangesDocument, vars); });
|
|
40
|
+
this.getNetworkConfigs = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNetworkConfigsDocument, vars); });
|
|
41
|
+
this.getNetworkStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNetworkStatsDocument, vars); });
|
|
42
|
+
this.getNetworkStatus = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNetworkStatusDocument, vars); });
|
|
43
|
+
this.getNetworks = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNetworksDocument, vars); });
|
|
44
|
+
this.getNftAssets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftAssetsDocument, vars); });
|
|
45
|
+
this.getNftCollectionMetadata = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftCollectionMetadataDocument, vars); });
|
|
46
|
+
this.getNftContracts = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftContractsDocument, vars); });
|
|
47
|
+
this.getNftEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftEventsDocument, vars); });
|
|
48
|
+
this.getNftPool = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolDocument, vars); });
|
|
49
|
+
this.getNftPoolCollection = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolCollectionDocument, vars); });
|
|
50
|
+
this.getNftPoolCollectionsByExchange = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolCollectionsByExchangeDocument, vars); });
|
|
51
|
+
this.getNftPoolEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolEventsDocument, vars); });
|
|
52
|
+
this.getNftPoolStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolStatsDocument, vars); });
|
|
33
53
|
this.getNftPoolsByCollectionAndExchange = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolsByCollectionAndExchangeDocument, vars); });
|
|
34
|
-
this.walletNftCollectionAssets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.WalletNftCollectionAssetsDocument, vars); });
|
|
35
|
-
this.filterPairs = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterPairsDocument, vars); });
|
|
36
54
|
this.getNftPoolsByOwner = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolsByOwnerDocument, vars); });
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
55
|
+
this.getParallelCardChanges = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetParallelCardChangesDocument, vars); });
|
|
56
|
+
this.getPrimePoolAssets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetPrimePoolAssetsDocument, vars); });
|
|
57
|
+
this.getPrimePoolEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetPrimePoolEventsDocument, vars); });
|
|
39
58
|
this.getPrimePools = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetPrimePoolsDocument, vars); });
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
59
|
+
this.getSymbol = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetSymbolDocument, vars); });
|
|
60
|
+
this.getTokenBars = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetTokenBarsDocument, vars); });
|
|
61
|
+
this.getTokenEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetTokenEventsDocument, vars); });
|
|
62
|
+
this.getTokenEventsForMaker = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetTokenEventsForMakerDocument, vars); });
|
|
63
|
+
this.getTokenPrices = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetTokenPricesDocument, vars); });
|
|
64
|
+
this.getWebhooks = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetWebhooksDocument, vars); });
|
|
65
|
+
this.holders = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.HoldersDocument, vars); });
|
|
44
66
|
this.liquidityLocks = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.LiquidityLocksDocument, vars); });
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
67
|
+
this.liquidityMetadata = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.LiquidityMetadataDocument, vars); });
|
|
68
|
+
this.liquidityMetadataByToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.LiquidityMetadataByTokenDocument, vars); });
|
|
69
|
+
this.listPairsForToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ListPairsForTokenDocument, vars); });
|
|
70
|
+
this.listPairsWithMetadataForToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ListPairsWithMetadataForTokenDocument, vars); });
|
|
48
71
|
this.nftHolders = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.NftHoldersDocument, vars); });
|
|
49
|
-
this.getExchanges = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetExchangesDocument, vars); });
|
|
50
|
-
this.blocks = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.BlocksDocument, vars); });
|
|
51
|
-
this.token = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.TokenDocument, vars); });
|
|
52
|
-
this.apiTokens = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ApiTokensDocument, vars); });
|
|
53
|
-
this.getTokenPrices = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetTokenPricesDocument, vars); });
|
|
54
72
|
this.pairMetadata = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PairMetadataDocument, vars); });
|
|
73
|
+
this.primeHolders = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PrimeHoldersDocument, vars); });
|
|
74
|
+
this.searchNfts = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.SearchNftsDocument, vars); });
|
|
75
|
+
this.token = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.TokenDocument, vars); });
|
|
55
76
|
this.tokenLifecycleEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.TokenLifecycleEventsDocument, vars); });
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
77
|
+
this.tokenSparklines = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.TokenSparklinesDocument, vars); });
|
|
78
|
+
this.tokenTopTraders = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.TokenTopTradersDocument, vars); });
|
|
58
79
|
this.tokens = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.TokensDocument, vars); });
|
|
59
|
-
this.liquidityMetadataByToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.LiquidityMetadataByTokenDocument, vars); });
|
|
60
|
-
this.getTokenBars = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetTokenBarsDocument, vars); });
|
|
61
|
-
this.getNetworkConfigs = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNetworkConfigsDocument, vars); });
|
|
62
|
-
this.filterWallets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterWalletsDocument, vars); });
|
|
63
|
-
this.listPairsForToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ListPairsForTokenDocument, vars); });
|
|
64
|
-
this.getTokenEventsForMaker = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetTokenEventsForMakerDocument, vars); });
|
|
65
|
-
this.filterNftPoolCollections = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterNftPoolCollectionsDocument, vars); });
|
|
66
|
-
this.searchNfts = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.SearchNftsDocument, vars); });
|
|
67
|
-
this.getNftContracts = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftContractsDocument, vars); });
|
|
68
80
|
this.top10HoldersPercent = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.Top10HoldersPercentDocument, vars); });
|
|
69
|
-
this.listPairsWithMetadataForToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ListPairsWithMetadataForTokenDocument, vars); });
|
|
70
|
-
this.getDetailedNftStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetDetailedNftStatsDocument, vars); });
|
|
71
|
-
this.getPrimePoolEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetPrimePoolEventsDocument, vars); });
|
|
72
|
-
this.getTokenEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetTokenEventsDocument, vars); });
|
|
73
|
-
this.getNftPoolCollection = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolCollectionDocument, vars); });
|
|
74
|
-
this.getWebhooks = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetWebhooksDocument, vars); });
|
|
75
|
-
this.getNftAssets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftAssetsDocument, vars); });
|
|
76
|
-
this.getBars = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetBarsDocument, vars); });
|
|
77
|
-
this.getNftEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftEventsDocument, vars); });
|
|
78
81
|
this.walletAggregateBackfillState = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.WalletAggregateBackfillStateDocument, vars); });
|
|
79
|
-
this.getNetworkStatus = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNetworkStatusDocument, vars); });
|
|
80
|
-
this.chartUrls = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ChartUrlsDocument, vars); });
|
|
81
82
|
this.walletChart = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.WalletChartDocument, vars); });
|
|
82
|
-
this.
|
|
83
|
-
this.
|
|
84
|
-
this.getParallelCardChanges = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetParallelCardChangesDocument, vars); });
|
|
83
|
+
this.walletNftCollectionAssets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.WalletNftCollectionAssetsDocument, vars); });
|
|
84
|
+
this.walletNftCollections = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.WalletNftCollectionsDocument, vars); });
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
exports.Query = Query;
|
|
88
|
-
//# sourceMappingURL=Query.js.map
|