@suigar/mcp 0.1.0 → 0.1.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.
Files changed (55) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/bin.cjs +1 -1
  3. package/dist/bin.mjs +1 -1
  4. package/dist/index.cjs +43 -50
  5. package/dist/index.d.cts +818 -8
  6. package/dist/index.d.mts +818 -8
  7. package/dist/index.mjs +1 -8
  8. package/{node_modules/@suigar/sui-rpc-pool/dist/index.cjs → dist/server-BD-123-u.mjs} +2084 -671
  9. package/{node_modules/@suigar/sui-rpc-pool/dist/index.mjs → dist/server-Cmo8UaHE.cjs} +2341 -645
  10. package/dist/server.cjs +3 -432
  11. package/dist/server.mjs +1 -430
  12. package/package.json +75 -61
  13. package/dist/client.cjs +0 -46
  14. package/dist/client.d.cts +0 -17
  15. package/dist/client.d.mts +0 -17
  16. package/dist/client.mjs +0 -43
  17. package/dist/coin.cjs +0 -86
  18. package/dist/coin.d.cts +0 -35
  19. package/dist/coin.d.mts +0 -35
  20. package/dist/coin.mjs +0 -86
  21. package/dist/config.cjs +0 -183
  22. package/dist/config.d.cts +0 -15
  23. package/dist/config.d.mts +0 -15
  24. package/dist/config.mjs +0 -174
  25. package/dist/mcp-support.cjs +0 -62
  26. package/dist/mcp-support.d.cts +0 -16
  27. package/dist/mcp-support.d.mts +0 -16
  28. package/dist/mcp-support.mjs +0 -60
  29. package/dist/metadata.cjs +0 -51
  30. package/dist/metadata.d.cts +0 -52
  31. package/dist/metadata.d.mts +0 -52
  32. package/dist/metadata.mjs +0 -47
  33. package/dist/tools.cjs +0 -617
  34. package/dist/tools.d.cts +0 -158
  35. package/dist/tools.d.mts +0 -158
  36. package/dist/tools.mjs +0 -608
  37. package/dist/transactions.cjs +0 -294
  38. package/dist/transactions.d.cts +0 -40
  39. package/dist/transactions.d.mts +0 -40
  40. package/dist/transactions.mjs +0 -286
  41. package/dist/types.d.cts +0 -111
  42. package/dist/types.d.mts +0 -111
  43. package/node_modules/@suigar/currency-registry/dist/index.cjs +0 -121
  44. package/node_modules/@suigar/currency-registry/dist/index.d.cts +0 -50
  45. package/node_modules/@suigar/currency-registry/dist/index.d.mts +0 -50
  46. package/node_modules/@suigar/currency-registry/dist/index.mjs +0 -110
  47. package/node_modules/@suigar/currency-registry/package.json +0 -31
  48. package/node_modules/@suigar/game-registry/dist/index.cjs +0 -310
  49. package/node_modules/@suigar/game-registry/dist/index.d.cts +0 -65
  50. package/node_modules/@suigar/game-registry/dist/index.d.mts +0 -65
  51. package/node_modules/@suigar/game-registry/dist/index.mjs +0 -292
  52. package/node_modules/@suigar/game-registry/package.json +0 -31
  53. package/node_modules/@suigar/sui-rpc-pool/dist/index.d.cts +0 -465
  54. package/node_modules/@suigar/sui-rpc-pool/dist/index.d.mts +0 -465
  55. package/node_modules/@suigar/sui-rpc-pool/package.json +0 -31
package/dist/server.mjs CHANGED
@@ -1,431 +1,2 @@
1
- import { buildCoinflipTransactionTool, buildLimboTransactionTool, buildPlinkoTransactionTool, buildPvpCoinflipCancelTransactionTool, buildPvpCoinflipCreateTransactionTool, buildPvpCoinflipJoinTransactionTool, buildRangeTransactionTool, buildWheelTransactionTool, readConfigTool, readGameMetadataTool } from "./tools.mjs";
2
- import { Server } from "@modelcontextprotocol/sdk/server/index.js";
3
- import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
- import { CallToolRequestSchema, ListToolsRequestSchema } from "@modelcontextprotocol/sdk/types.js";
5
- //#region src/server.ts
6
- const json = (value) => JSON.stringify(value, null, 2);
7
- const TOOL_DEFINITIONS = [
8
- {
9
- name: "read_config",
10
- description: "Resolve Suigar config for the target network, defaulting to testnet.",
11
- inputSchema: {
12
- type: "object",
13
- properties: {
14
- network: {
15
- type: "string",
16
- default: "testnet"
17
- },
18
- providerUrl: { type: "string" },
19
- graphqlUrl: { type: "string" },
20
- config: {
21
- type: "object",
22
- additionalProperties: true
23
- }
24
- },
25
- additionalProperties: true
26
- },
27
- handler: readConfigTool
28
- },
29
- {
30
- name: "read_game_metadata",
31
- description: "Read Suigar game metadata, on-chain settings metadata, and optional currency metadata.",
32
- inputSchema: {
33
- type: "object",
34
- properties: {
35
- game: { type: "string" },
36
- coinType: { type: "string" },
37
- network: {
38
- type: "string",
39
- default: "testnet"
40
- },
41
- config: {
42
- type: "object",
43
- additionalProperties: true
44
- }
45
- },
46
- additionalProperties: true
47
- },
48
- handler: readGameMetadataTool
49
- },
50
- {
51
- name: "build_coinflip_transaction",
52
- description: "Build, dry-run, or inspect a Suigar coinflip transaction on testnet by default.",
53
- inputSchema: {
54
- type: "object",
55
- properties: {
56
- mode: {
57
- type: "string",
58
- enum: [
59
- "build",
60
- "dry-run",
61
- "read-only"
62
- ],
63
- default: "build"
64
- },
65
- network: {
66
- type: "string",
67
- default: "testnet"
68
- },
69
- owner: { type: "string" },
70
- coinType: { type: "string" },
71
- stake: { type: "number" },
72
- cashStake: { type: "number" },
73
- betCount: { type: "number" },
74
- side: {
75
- type: "string",
76
- enum: ["heads", "tails"]
77
- },
78
- coinObjectIds: {
79
- type: "array",
80
- items: { type: "string" }
81
- },
82
- partner: { type: "string" },
83
- metadata: {
84
- type: "object",
85
- additionalProperties: true
86
- },
87
- config: {
88
- type: "object",
89
- additionalProperties: true
90
- }
91
- },
92
- additionalProperties: true
93
- },
94
- handler: buildCoinflipTransactionTool
95
- },
96
- {
97
- name: "build_limbo_transaction",
98
- description: "Build, dry-run, or inspect a Suigar limbo transaction.",
99
- inputSchema: {
100
- type: "object",
101
- properties: {
102
- mode: {
103
- type: "string",
104
- enum: [
105
- "build",
106
- "dry-run",
107
- "read-only"
108
- ],
109
- default: "build"
110
- },
111
- network: {
112
- type: "string",
113
- default: "testnet"
114
- },
115
- owner: { type: "string" },
116
- coinType: { type: "string" },
117
- stake: { type: "number" },
118
- cashStake: { type: "number" },
119
- betCount: { type: "number" },
120
- targetMultiplier: { type: "number" },
121
- coinObjectIds: {
122
- type: "array",
123
- items: { type: "string" }
124
- },
125
- partner: { type: "string" },
126
- metadata: {
127
- type: "object",
128
- additionalProperties: true
129
- },
130
- config: {
131
- type: "object",
132
- additionalProperties: true
133
- }
134
- },
135
- additionalProperties: true
136
- },
137
- handler: buildLimboTransactionTool
138
- },
139
- {
140
- name: "build_plinko_transaction",
141
- description: "Build, dry-run, or inspect a Suigar plinko transaction.",
142
- inputSchema: {
143
- type: "object",
144
- properties: {
145
- mode: {
146
- type: "string",
147
- enum: [
148
- "build",
149
- "dry-run",
150
- "read-only"
151
- ],
152
- default: "build"
153
- },
154
- network: {
155
- type: "string",
156
- default: "testnet"
157
- },
158
- owner: { type: "string" },
159
- coinType: { type: "string" },
160
- stake: { type: "number" },
161
- cashStake: { type: "number" },
162
- betCount: { type: "number" },
163
- configId: { type: "number" },
164
- coinObjectIds: {
165
- type: "array",
166
- items: { type: "string" }
167
- },
168
- partner: { type: "string" },
169
- metadata: {
170
- type: "object",
171
- additionalProperties: true
172
- },
173
- config: {
174
- type: "object",
175
- additionalProperties: true
176
- }
177
- },
178
- additionalProperties: true
179
- },
180
- handler: buildPlinkoTransactionTool
181
- },
182
- {
183
- name: "build_wheel_transaction",
184
- description: "Build, dry-run, or inspect a Suigar wheel transaction.",
185
- inputSchema: {
186
- type: "object",
187
- properties: {
188
- mode: {
189
- type: "string",
190
- enum: [
191
- "build",
192
- "dry-run",
193
- "read-only"
194
- ],
195
- default: "build"
196
- },
197
- network: {
198
- type: "string",
199
- default: "testnet"
200
- },
201
- owner: { type: "string" },
202
- coinType: { type: "string" },
203
- stake: { type: "number" },
204
- cashStake: { type: "number" },
205
- betCount: { type: "number" },
206
- configId: { type: "number" },
207
- coinObjectIds: {
208
- type: "array",
209
- items: { type: "string" }
210
- },
211
- partner: { type: "string" },
212
- metadata: {
213
- type: "object",
214
- additionalProperties: true
215
- },
216
- config: {
217
- type: "object",
218
- additionalProperties: true
219
- }
220
- },
221
- additionalProperties: true
222
- },
223
- handler: buildWheelTransactionTool
224
- },
225
- {
226
- name: "build_range_transaction",
227
- description: "Build, dry-run, or inspect a Suigar range transaction.",
228
- inputSchema: {
229
- type: "object",
230
- properties: {
231
- mode: {
232
- type: "string",
233
- enum: [
234
- "build",
235
- "dry-run",
236
- "read-only"
237
- ],
238
- default: "build"
239
- },
240
- network: {
241
- type: "string",
242
- default: "testnet"
243
- },
244
- owner: { type: "string" },
245
- coinType: { type: "string" },
246
- stake: { type: "number" },
247
- cashStake: { type: "number" },
248
- betCount: { type: "number" },
249
- leftPoint: { type: "number" },
250
- rightPoint: { type: "number" },
251
- outOfRange: { type: "boolean" },
252
- coinObjectIds: {
253
- type: "array",
254
- items: { type: "string" }
255
- },
256
- partner: { type: "string" },
257
- metadata: {
258
- type: "object",
259
- additionalProperties: true
260
- },
261
- config: {
262
- type: "object",
263
- additionalProperties: true
264
- }
265
- },
266
- additionalProperties: true
267
- },
268
- handler: buildRangeTransactionTool
269
- },
270
- {
271
- name: "build_pvp_coinflip_create_transaction",
272
- description: "Build, dry-run, or inspect a Suigar PvP coinflip create transaction.",
273
- inputSchema: {
274
- type: "object",
275
- properties: {
276
- mode: {
277
- type: "string",
278
- enum: [
279
- "build",
280
- "dry-run",
281
- "read-only"
282
- ],
283
- default: "build"
284
- },
285
- network: {
286
- type: "string",
287
- default: "testnet"
288
- },
289
- owner: { type: "string" },
290
- coinType: { type: "string" },
291
- stake: { type: "number" },
292
- creatorSide: {
293
- type: "string",
294
- enum: ["heads", "tails"]
295
- },
296
- isPrivate: { type: "boolean" },
297
- coinObjectIds: {
298
- type: "array",
299
- items: { type: "string" }
300
- },
301
- partner: { type: "string" },
302
- metadata: {
303
- type: "object",
304
- additionalProperties: true
305
- },
306
- config: {
307
- type: "object",
308
- additionalProperties: true
309
- }
310
- },
311
- additionalProperties: true
312
- },
313
- handler: buildPvpCoinflipCreateTransactionTool
314
- },
315
- {
316
- name: "build_pvp_coinflip_join_transaction",
317
- description: "Build, dry-run, or inspect a Suigar PvP coinflip join transaction.",
318
- inputSchema: {
319
- type: "object",
320
- properties: {
321
- mode: {
322
- type: "string",
323
- enum: [
324
- "build",
325
- "dry-run",
326
- "read-only"
327
- ],
328
- default: "build"
329
- },
330
- network: {
331
- type: "string",
332
- default: "testnet"
333
- },
334
- owner: { type: "string" },
335
- gameId: { type: "string" },
336
- coinType: { type: "string" },
337
- stake: { type: "number" },
338
- coinObjectIds: {
339
- type: "array",
340
- items: { type: "string" }
341
- },
342
- partner: { type: "string" },
343
- metadata: {
344
- type: "object",
345
- additionalProperties: true
346
- },
347
- config: {
348
- type: "object",
349
- additionalProperties: true
350
- }
351
- },
352
- additionalProperties: true
353
- },
354
- handler: buildPvpCoinflipJoinTransactionTool
355
- },
356
- {
357
- name: "build_pvp_coinflip_cancel_transaction",
358
- description: "Build, dry-run, or inspect a Suigar PvP coinflip cancel transaction.",
359
- inputSchema: {
360
- type: "object",
361
- properties: {
362
- mode: {
363
- type: "string",
364
- enum: [
365
- "build",
366
- "dry-run",
367
- "read-only"
368
- ],
369
- default: "build"
370
- },
371
- network: {
372
- type: "string",
373
- default: "testnet"
374
- },
375
- owner: { type: "string" },
376
- gameId: { type: "string" },
377
- coinType: { type: "string" },
378
- config: {
379
- type: "object",
380
- additionalProperties: true
381
- }
382
- },
383
- additionalProperties: true
384
- },
385
- handler: buildPvpCoinflipCancelTransactionTool
386
- }
387
- ];
388
- const createSuigarMcpServer = () => {
389
- const server = new Server({
390
- name: "suigar",
391
- version: "0.0.0"
392
- }, { capabilities: { tools: {} } });
393
- server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOL_DEFINITIONS.map(({ name, description, inputSchema }) => ({
394
- name,
395
- description,
396
- inputSchema
397
- })) }));
398
- server.setRequestHandler(CallToolRequestSchema, async (request) => {
399
- const tool = TOOL_DEFINITIONS.find((entry) => entry.name === request.params.name);
400
- if (!tool) return {
401
- isError: true,
402
- content: [{
403
- type: "text",
404
- text: `Unknown tool: ${request.params.name}`
405
- }]
406
- };
407
- try {
408
- return { content: [{
409
- type: "text",
410
- text: json(await tool.handler(request.params.arguments ?? {}))
411
- }] };
412
- } catch (error) {
413
- return {
414
- isError: true,
415
- content: [{
416
- type: "text",
417
- text: error instanceof Error ? error.message : String(error ?? "Unknown error")
418
- }]
419
- };
420
- }
421
- });
422
- return server;
423
- };
424
- const startSuigarMcpServer = async () => {
425
- const server = createSuigarMcpServer();
426
- const transport = new StdioServerTransport();
427
- await server.connect(transport);
428
- return server;
429
- };
430
- //#endregion
1
+ import { n as startSuigarMcpServer, t as createSuigarMcpServer } from "./server-BD-123-u.mjs";
431
2
  export { createSuigarMcpServer, startSuigarMcpServer };
package/package.json CHANGED
@@ -1,62 +1,76 @@
1
1
  {
2
- "name": "@suigar/mcp",
3
- "version": "0.1.0",
4
- "description": "Lightweight MCP tools and transaction builders for Suigar on Sui",
5
- "license": "UNLICENSED",
6
- "type": "module",
7
- "sideEffects": false,
8
- "main": "./dist/index.cjs",
9
- "module": "./dist/index.mjs",
10
- "types": "./dist/index.d.mts",
11
- "bin": {
12
- "suigar": "dist/bin.cjs"
13
- },
14
- "scripts": {
15
- "build:bundled-deps": "pnpm --filter @suigar/currency-registry run build && pnpm --filter @suigar/game-registry run build && pnpm --filter @suigar/sui-rpc-pool run build",
16
- "build": "tsdown",
17
- "clean": "rm -rf dist",
18
- "prepack": "pnpm build:bundled-deps && pnpm build && node scripts/stage-bundled-deps.mjs",
19
- "postpack": "node scripts/cleanup-bundled-deps.mjs",
20
- "typecheck": "tsc --noEmit",
21
- "test": "vitest run"
22
- },
23
- "dependencies": {
24
- "@modelcontextprotocol/sdk": "1.29.0",
25
- "@mysten/bcs": "2.1.0",
26
- "@mysten/sui": "2.20.0",
27
- "@suigar/currency-registry": "0.0.0",
28
- "@suigar/game-registry": "0.0.0",
29
- "@suigar/sdk": "2.0.0-beta.20",
30
- "@suigar/sui-rpc-pool": "0.0.0"
31
- },
32
- "devDependencies": {
33
- "@types/node": "catalog:tooling",
34
- "tsdown": "catalog:tooling",
35
- "typescript": "catalog:tooling",
36
- "vitest": "catalog:test"
37
- },
38
- "exports": {
39
- ".": {
40
- "types": "./dist/index.d.mts",
41
- "require": "./dist/index.cjs",
42
- "import": "./dist/index.mjs"
43
- },
44
- "./server": {
45
- "types": "./dist/server.d.mts",
46
- "require": "./dist/server.cjs",
47
- "import": "./dist/server.mjs"
48
- }
49
- },
50
- "files": [
51
- "dist",
52
- "README.md"
53
- ],
54
- "publishConfig": {
55
- "access": "public"
56
- },
57
- "bundleDependencies": [
58
- "@suigar/currency-registry",
59
- "@suigar/game-registry",
60
- "@suigar/sui-rpc-pool"
61
- ]
62
- }
2
+ "name": "@suigar/mcp",
3
+ "version": "0.1.1",
4
+ "description": "Lightweight MCP tools and transaction builders for Suigar on Sui",
5
+ "keywords": [
6
+ "suigar",
7
+ "sui",
8
+ "mcp",
9
+ "typescript",
10
+ "move",
11
+ "web3",
12
+ "games"
13
+ ],
14
+ "license": "Apache-2.0",
15
+ "type": "module",
16
+ "sideEffects": false,
17
+ "files": [
18
+ "dist",
19
+ "CHANGELOG.md",
20
+ "README.md"
21
+ ],
22
+ "main": "./dist/index.cjs",
23
+ "module": "./dist/index.mjs",
24
+ "types": "./dist/index.d.mts",
25
+ "exports": {
26
+ ".": {
27
+ "types": "./dist/index.d.mts",
28
+ "require": "./dist/index.cjs",
29
+ "import": "./dist/index.mjs"
30
+ },
31
+ "./server": {
32
+ "types": "./dist/server.d.mts",
33
+ "require": "./dist/server.cjs",
34
+ "import": "./dist/server.mjs"
35
+ }
36
+ },
37
+ "bin": {
38
+ "suigar": "dist/bin.cjs"
39
+ },
40
+ "engines": {
41
+ "node": "^22.18.0 || >=24.0.0"
42
+ },
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/Suigar-Gaming/suigar-skill.git"
46
+ },
47
+ "publishConfig": {
48
+ "access": "public"
49
+ },
50
+ "bugs": {
51
+ "url": "https://github.com/Suigar-Gaming/suigar-skill/issues"
52
+ },
53
+ "homepage": "https://docs.suigar.com",
54
+ "dependencies": {
55
+ "@modelcontextprotocol/sdk": "1.29.0",
56
+ "@mysten/bcs": "2.1.0",
57
+ "@mysten/sui": "2.20.1",
58
+ "@suigar/sdk": "2.0.0-beta.21"
59
+ },
60
+ "devDependencies": {
61
+ "@types/node": "24.13.2",
62
+ "tsdown": "0.22.3",
63
+ "typescript": "5.9.3",
64
+ "vitest": "4.1.9",
65
+ "@suigar/game-registry": "^0.0.0",
66
+ "@suigar/currency-registry": "^0.0.0",
67
+ "@suigar/sui-rpc-pool": "^0.0.0"
68
+ },
69
+ "scripts": {
70
+ "prebuild": "pnpm --filter @suigar/currency-registry build && pnpm --filter @suigar/game-registry build && pnpm --filter @suigar/sui-rpc-pool build",
71
+ "build": "pnpm clean && tsdown",
72
+ "clean": "rm -rf dist",
73
+ "typecheck": "tsc --noEmit",
74
+ "test": "vitest run"
75
+ }
76
+ }
package/dist/client.cjs DELETED
@@ -1,46 +0,0 @@
1
- const require_config = require("./config.cjs");
2
- let _suigar_sui_rpc_pool = require("@suigar/sui-rpc-pool");
3
- //#region src/client.ts
4
- const createReadOnlyClientBundle = (configInput = {}) => {
5
- const config = require_config.resolveSuigarConfig(configInput);
6
- const runtime = (0, _suigar_sui_rpc_pool.getOrCreateResilientSuiClientRuntime)({
7
- network: config.network,
8
- providerUrl: config.providerUrl
9
- });
10
- return {
11
- config,
12
- runtime,
13
- client: runtime.createCompatClient(),
14
- rawClient: runtime.getGrpcClient()
15
- };
16
- };
17
- const serializeTransactionToBase64 = async (transaction, client) => {
18
- const bytes = await transaction.build({ client });
19
- return Buffer.from(bytes).toString("base64");
20
- };
21
- const sanitizeForJson = (value) => {
22
- if (typeof value === "bigint") return value.toString();
23
- if (value instanceof Uint8Array) return Buffer.from(value).toString("base64");
24
- if (Array.isArray(value)) return value.map((entry) => sanitizeForJson(entry));
25
- if (value && typeof value === "object") return Object.fromEntries(Object.entries(value).map(([key, entry]) => [key, sanitizeForJson(entry)]));
26
- return value;
27
- };
28
- const dryRunTransaction = async (transaction, configInput = {}) => {
29
- const { rawClient } = createReadOnlyClientBundle(configInput);
30
- const bytes = await transaction.build({ client: rawClient });
31
- return sanitizeForJson(await rawClient.simulateTransaction({
32
- transaction: bytes,
33
- include: {
34
- effects: true,
35
- events: true,
36
- balanceChanges: true,
37
- objectChanges: true,
38
- input: true
39
- }
40
- }));
41
- };
42
- //#endregion
43
- exports.createReadOnlyClientBundle = createReadOnlyClientBundle;
44
- exports.dryRunTransaction = dryRunTransaction;
45
- exports.sanitizeForJson = sanitizeForJson;
46
- exports.serializeTransactionToBase64 = serializeTransactionToBase64;
package/dist/client.d.cts DELETED
@@ -1,17 +0,0 @@
1
- import { SuigarConfig, SuigarConfigInput } from "./types.cjs";
2
- import { SuiCompatClient } from "@suigar/sui-rpc-pool";
3
- import { Transaction } from "@mysten/sui/transactions";
4
- import { SuiGrpcClient } from "@mysten/sui/grpc";
5
-
6
- //#region src/client.d.ts
7
- declare const createReadOnlyClientBundle: (configInput?: SuigarConfigInput) => {
8
- config: SuigarConfig;
9
- runtime: import("@suigar/sui-rpc-pool").ResilientSuiClientRuntime;
10
- client: SuiCompatClient;
11
- rawClient: SuiGrpcClient;
12
- };
13
- declare const serializeTransactionToBase64: (transaction: Transaction, client: SuiGrpcClient) => Promise<string>;
14
- declare const sanitizeForJson: (value: unknown) => unknown;
15
- declare const dryRunTransaction: (transaction: Transaction, configInput?: SuigarConfigInput) => Promise<unknown>;
16
- //#endregion
17
- export { createReadOnlyClientBundle, dryRunTransaction, sanitizeForJson, serializeTransactionToBase64 };
package/dist/client.d.mts DELETED
@@ -1,17 +0,0 @@
1
- import { SuigarConfig, SuigarConfigInput } from "./types.mjs";
2
- import { SuiGrpcClient } from "@mysten/sui/grpc";
3
- import { SuiCompatClient } from "@suigar/sui-rpc-pool";
4
- import { Transaction } from "@mysten/sui/transactions";
5
-
6
- //#region src/client.d.ts
7
- declare const createReadOnlyClientBundle: (configInput?: SuigarConfigInput) => {
8
- config: SuigarConfig;
9
- runtime: import("@suigar/sui-rpc-pool").ResilientSuiClientRuntime;
10
- client: SuiCompatClient;
11
- rawClient: SuiGrpcClient;
12
- };
13
- declare const serializeTransactionToBase64: (transaction: Transaction, client: SuiGrpcClient) => Promise<string>;
14
- declare const sanitizeForJson: (value: unknown) => unknown;
15
- declare const dryRunTransaction: (transaction: Transaction, configInput?: SuigarConfigInput) => Promise<unknown>;
16
- //#endregion
17
- export { createReadOnlyClientBundle, dryRunTransaction, sanitizeForJson, serializeTransactionToBase64 };