@bitgo/sdk-coin-sui 3.0.5 → 3.0.7
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/CHANGELOG.md +14 -0
- package/dist/src/lib/mystenlab/builder/Inputs.d.ts +3 -3
- package/dist/src/lib/mystenlab/builder/TransactionBlock.d.ts +68 -68
- package/dist/src/lib/mystenlab/builder/TransactionDataBlock.d.ts +79 -79
- package/dist/src/lib/mystenlab/builder/Transactions.d.ts +91 -91
- package/dist/src/lib/mystenlab/types/coin.d.ts +4 -4
- package/dist/src/lib/mystenlab/types/events.d.ts +12 -12
- package/dist/src/lib/mystenlab/types/objects.d.ts +88 -88
- package/dist/src/lib/mystenlab/types/transactions.d.ts +893 -893
- package/dist/src/lib/transferTransaction.d.ts.map +1 -1
- package/dist/src/lib/transferTransaction.js +3 -12
- package/dist/src/lib/utils.d.ts.map +1 -1
- package/dist/src/lib/utils.js +4 -14
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@3.0.6...@bitgo/sdk-coin-sui@3.0.7) (2023-06-05)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **sdk-coin-sui:** add src/lib/mystenlab to .prettierignore ([a90139b](https://github.com/BitGo/BitGoJS/commit/a90139ba7fe07129a1eaa63531c9a61ac23a6759))
|
|
11
|
+
|
|
12
|
+
## [3.0.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@3.0.5...@bitgo/sdk-coin-sui@3.0.6) (2023-05-25)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **sdk-coin-sui:** fix amount parsing ([b7e2b40](https://github.com/BitGo/BitGoJS/commit/b7e2b40711161a9f9fe739bcb71f5af00da2c689))
|
|
17
|
+
- **sdk-coin-sui:** fix large transaction ([050f66d](https://github.com/BitGo/BitGoJS/commit/050f66d58e4ad15f16ba94a6d9cc07d4e0ea19c6))
|
|
18
|
+
- **sdk-coin-sui:** fix split transaction ([a46eaff](https://github.com/BitGo/BitGoJS/commit/a46eaffc48506ba568e4c36237e874c32b5a0a24))
|
|
19
|
+
|
|
6
20
|
## [3.0.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@3.0.4...@bitgo/sdk-coin-sui@3.0.5) (2023-05-17)
|
|
7
21
|
|
|
8
22
|
### Bug Fixes
|
|
@@ -8,9 +8,9 @@ export declare const PureCallArg: import("superstruct").Struct<{
|
|
|
8
8
|
export declare const ObjectCallArg: import("superstruct").Struct<{
|
|
9
9
|
Object: {
|
|
10
10
|
ImmOrOwned: {
|
|
11
|
-
digest: string;
|
|
12
11
|
objectId: string;
|
|
13
12
|
version: string | number;
|
|
13
|
+
digest: string;
|
|
14
14
|
};
|
|
15
15
|
} | {
|
|
16
16
|
Shared: {
|
|
@@ -22,9 +22,9 @@ export declare const ObjectCallArg: import("superstruct").Struct<{
|
|
|
22
22
|
}, {
|
|
23
23
|
Object: import("superstruct").Struct<{
|
|
24
24
|
ImmOrOwned: {
|
|
25
|
-
digest: string;
|
|
26
25
|
objectId: string;
|
|
27
26
|
version: string | number;
|
|
27
|
+
digest: string;
|
|
28
28
|
};
|
|
29
29
|
} | {
|
|
30
30
|
Shared: {
|
|
@@ -41,9 +41,9 @@ export declare const BuilderCallArg: import("superstruct").Struct<{
|
|
|
41
41
|
} | {
|
|
42
42
|
Object: {
|
|
43
43
|
ImmOrOwned: {
|
|
44
|
-
digest: string;
|
|
45
44
|
objectId: string;
|
|
46
45
|
version: string | number;
|
|
46
|
+
digest: string;
|
|
47
47
|
};
|
|
48
48
|
} | {
|
|
49
49
|
Shared: {
|
|
@@ -29,14 +29,11 @@ export declare class TransactionBlock {
|
|
|
29
29
|
/** A helper to retrieve the Transaction builder `Transactions` */
|
|
30
30
|
static get Transactions(): {
|
|
31
31
|
MoveCall(input: Omit<{
|
|
32
|
-
kind: "MoveCall";
|
|
33
|
-
target: `${string}::${string}::${string}`;
|
|
34
|
-
typeArguments: string[];
|
|
35
32
|
arguments: ({
|
|
36
33
|
kind: "Input";
|
|
37
34
|
index: number;
|
|
38
|
-
value?: any;
|
|
39
35
|
type?: "object" | "pure" | undefined;
|
|
36
|
+
value?: any;
|
|
40
37
|
} | {
|
|
41
38
|
kind: "GasCoin";
|
|
42
39
|
} | {
|
|
@@ -47,12 +44,15 @@ export declare class TransactionBlock {
|
|
|
47
44
|
index: number;
|
|
48
45
|
resultIndex: number;
|
|
49
46
|
})[];
|
|
50
|
-
|
|
47
|
+
kind: "MoveCall";
|
|
48
|
+
target: `${string}::${string}::${string}`;
|
|
49
|
+
typeArguments: string[];
|
|
50
|
+
}, "arguments" | "kind" | "typeArguments"> & {
|
|
51
51
|
arguments?: ({
|
|
52
52
|
kind: "Input";
|
|
53
53
|
index: number;
|
|
54
|
-
value?: any;
|
|
55
54
|
type?: "object" | "pure" | undefined;
|
|
55
|
+
value?: any;
|
|
56
56
|
} | {
|
|
57
57
|
kind: "GasCoin";
|
|
58
58
|
} | {
|
|
@@ -65,14 +65,11 @@ export declare class TransactionBlock {
|
|
|
65
65
|
})[] | undefined;
|
|
66
66
|
typeArguments?: string[] | undefined;
|
|
67
67
|
}): {
|
|
68
|
-
kind: "MoveCall";
|
|
69
|
-
target: `${string}::${string}::${string}`;
|
|
70
|
-
typeArguments: string[];
|
|
71
68
|
arguments: ({
|
|
72
69
|
kind: "Input";
|
|
73
70
|
index: number;
|
|
74
|
-
value?: any;
|
|
75
71
|
type?: "object" | "pure" | undefined;
|
|
72
|
+
value?: any;
|
|
76
73
|
} | {
|
|
77
74
|
kind: "GasCoin";
|
|
78
75
|
} | {
|
|
@@ -83,12 +80,15 @@ export declare class TransactionBlock {
|
|
|
83
80
|
index: number;
|
|
84
81
|
resultIndex: number;
|
|
85
82
|
})[];
|
|
83
|
+
kind: "MoveCall";
|
|
84
|
+
target: `${string}::${string}::${string}`;
|
|
85
|
+
typeArguments: string[];
|
|
86
86
|
};
|
|
87
87
|
TransferObjects(objects: ({
|
|
88
88
|
kind: "Input";
|
|
89
89
|
index: number;
|
|
90
|
-
value?: any;
|
|
91
90
|
type?: "object" | "pure" | undefined;
|
|
91
|
+
value?: any;
|
|
92
92
|
} | {
|
|
93
93
|
kind: "GasCoin";
|
|
94
94
|
} | {
|
|
@@ -101,8 +101,8 @@ export declare class TransactionBlock {
|
|
|
101
101
|
})[], address: {
|
|
102
102
|
kind: "Input";
|
|
103
103
|
index: number;
|
|
104
|
-
value?: any;
|
|
105
104
|
type?: "object" | "pure" | undefined;
|
|
105
|
+
value?: any;
|
|
106
106
|
} | {
|
|
107
107
|
kind: "GasCoin";
|
|
108
108
|
} | {
|
|
@@ -113,12 +113,11 @@ export declare class TransactionBlock {
|
|
|
113
113
|
index: number;
|
|
114
114
|
resultIndex: number;
|
|
115
115
|
}): {
|
|
116
|
-
kind: "TransferObjects";
|
|
117
116
|
objects: ({
|
|
118
117
|
kind: "Input";
|
|
119
118
|
index: number;
|
|
120
|
-
value?: any;
|
|
121
119
|
type?: "object" | "pure" | undefined;
|
|
120
|
+
value?: any;
|
|
122
121
|
} | {
|
|
123
122
|
kind: "GasCoin";
|
|
124
123
|
} | {
|
|
@@ -129,11 +128,12 @@ export declare class TransactionBlock {
|
|
|
129
128
|
index: number;
|
|
130
129
|
resultIndex: number;
|
|
131
130
|
})[];
|
|
131
|
+
kind: "TransferObjects";
|
|
132
132
|
address: {
|
|
133
133
|
kind: "Input";
|
|
134
134
|
index: number;
|
|
135
|
-
value?: any;
|
|
136
135
|
type?: "object" | "pure" | undefined;
|
|
136
|
+
value?: any;
|
|
137
137
|
} | {
|
|
138
138
|
kind: "GasCoin";
|
|
139
139
|
} | {
|
|
@@ -148,8 +148,8 @@ export declare class TransactionBlock {
|
|
|
148
148
|
SplitCoins(coin: {
|
|
149
149
|
kind: "Input";
|
|
150
150
|
index: number;
|
|
151
|
-
value?: any;
|
|
152
151
|
type?: "object" | "pure" | undefined;
|
|
152
|
+
value?: any;
|
|
153
153
|
} | {
|
|
154
154
|
kind: "GasCoin";
|
|
155
155
|
} | {
|
|
@@ -162,8 +162,8 @@ export declare class TransactionBlock {
|
|
|
162
162
|
}, amounts: ({
|
|
163
163
|
kind: "Input";
|
|
164
164
|
index: number;
|
|
165
|
-
value?: any;
|
|
166
165
|
type?: "object" | "pure" | undefined;
|
|
166
|
+
value?: any;
|
|
167
167
|
} | {
|
|
168
168
|
kind: "GasCoin";
|
|
169
169
|
} | {
|
|
@@ -178,8 +178,8 @@ export declare class TransactionBlock {
|
|
|
178
178
|
coin: {
|
|
179
179
|
kind: "Input";
|
|
180
180
|
index: number;
|
|
181
|
-
value?: any;
|
|
182
181
|
type?: "object" | "pure" | undefined;
|
|
182
|
+
value?: any;
|
|
183
183
|
} | {
|
|
184
184
|
kind: "GasCoin";
|
|
185
185
|
} | {
|
|
@@ -193,8 +193,8 @@ export declare class TransactionBlock {
|
|
|
193
193
|
amounts: ({
|
|
194
194
|
kind: "Input";
|
|
195
195
|
index: number;
|
|
196
|
-
value?: any;
|
|
197
196
|
type?: "object" | "pure" | undefined;
|
|
197
|
+
value?: any;
|
|
198
198
|
} | {
|
|
199
199
|
kind: "GasCoin";
|
|
200
200
|
} | {
|
|
@@ -209,8 +209,8 @@ export declare class TransactionBlock {
|
|
|
209
209
|
MergeCoins(destination: {
|
|
210
210
|
kind: "Input";
|
|
211
211
|
index: number;
|
|
212
|
-
value?: any;
|
|
213
212
|
type?: "object" | "pure" | undefined;
|
|
213
|
+
value?: any;
|
|
214
214
|
} | {
|
|
215
215
|
kind: "GasCoin";
|
|
216
216
|
} | {
|
|
@@ -223,8 +223,8 @@ export declare class TransactionBlock {
|
|
|
223
223
|
}, sources: ({
|
|
224
224
|
kind: "Input";
|
|
225
225
|
index: number;
|
|
226
|
-
value?: any;
|
|
227
226
|
type?: "object" | "pure" | undefined;
|
|
227
|
+
value?: any;
|
|
228
228
|
} | {
|
|
229
229
|
kind: "GasCoin";
|
|
230
230
|
} | {
|
|
@@ -239,8 +239,8 @@ export declare class TransactionBlock {
|
|
|
239
239
|
destination: {
|
|
240
240
|
kind: "Input";
|
|
241
241
|
index: number;
|
|
242
|
-
value?: any;
|
|
243
242
|
type?: "object" | "pure" | undefined;
|
|
243
|
+
value?: any;
|
|
244
244
|
} | {
|
|
245
245
|
kind: "GasCoin";
|
|
246
246
|
} | {
|
|
@@ -254,8 +254,8 @@ export declare class TransactionBlock {
|
|
|
254
254
|
sources: ({
|
|
255
255
|
kind: "Input";
|
|
256
256
|
index: number;
|
|
257
|
-
value?: any;
|
|
258
257
|
type?: "object" | "pure" | undefined;
|
|
258
|
+
value?: any;
|
|
259
259
|
} | {
|
|
260
260
|
kind: "GasCoin";
|
|
261
261
|
} | {
|
|
@@ -269,16 +269,15 @@ export declare class TransactionBlock {
|
|
|
269
269
|
};
|
|
270
270
|
Publish(modules: number[][], dependencies: string[]): {
|
|
271
271
|
kind: "Publish";
|
|
272
|
-
modules: number[][];
|
|
273
272
|
dependencies: string[];
|
|
273
|
+
modules: number[][];
|
|
274
274
|
};
|
|
275
275
|
MakeMoveVec({ type, objects, }: Omit<{
|
|
276
|
-
kind: "MakeMoveVec";
|
|
277
276
|
objects: ({
|
|
278
277
|
kind: "Input";
|
|
279
278
|
index: number;
|
|
280
|
-
value?: any;
|
|
281
279
|
type?: "object" | "pure" | undefined;
|
|
280
|
+
value?: any;
|
|
282
281
|
} | {
|
|
283
282
|
kind: "GasCoin";
|
|
284
283
|
} | {
|
|
@@ -289,20 +288,20 @@ export declare class TransactionBlock {
|
|
|
289
288
|
index: number;
|
|
290
289
|
resultIndex: number;
|
|
291
290
|
})[];
|
|
291
|
+
kind: "MakeMoveVec";
|
|
292
292
|
type?: {
|
|
293
293
|
None: null;
|
|
294
294
|
} | {
|
|
295
295
|
Some: string;
|
|
296
296
|
} | undefined;
|
|
297
|
-
}, "
|
|
297
|
+
}, "type" | "kind"> & {
|
|
298
298
|
type?: string | undefined;
|
|
299
299
|
}): {
|
|
300
|
-
kind: "MakeMoveVec";
|
|
301
300
|
objects: ({
|
|
302
301
|
kind: "Input";
|
|
303
302
|
index: number;
|
|
304
|
-
value?: any;
|
|
305
303
|
type?: "object" | "pure" | undefined;
|
|
304
|
+
value?: any;
|
|
306
305
|
} | {
|
|
307
306
|
kind: "GasCoin";
|
|
308
307
|
} | {
|
|
@@ -313,6 +312,7 @@ export declare class TransactionBlock {
|
|
|
313
312
|
index: number;
|
|
314
313
|
resultIndex: number;
|
|
315
314
|
})[];
|
|
315
|
+
kind: "MakeMoveVec";
|
|
316
316
|
type?: {
|
|
317
317
|
None: null;
|
|
318
318
|
} | {
|
|
@@ -326,15 +326,15 @@ export declare class TransactionBlock {
|
|
|
326
326
|
Pure: number[];
|
|
327
327
|
};
|
|
328
328
|
ObjectRef(ref: {
|
|
329
|
-
digest: string;
|
|
330
329
|
objectId: string;
|
|
331
330
|
version: string | number;
|
|
331
|
+
digest: string;
|
|
332
332
|
}): {
|
|
333
333
|
Object: {
|
|
334
334
|
ImmOrOwned: {
|
|
335
|
-
digest: string;
|
|
336
335
|
objectId: string;
|
|
337
336
|
version: string | number;
|
|
337
|
+
digest: string;
|
|
338
338
|
};
|
|
339
339
|
} | {
|
|
340
340
|
Shared: {
|
|
@@ -347,9 +347,9 @@ export declare class TransactionBlock {
|
|
|
347
347
|
SharedObjectRef(ref: import("../types").SharedObjectRef): {
|
|
348
348
|
Object: {
|
|
349
349
|
ImmOrOwned: {
|
|
350
|
-
digest: string;
|
|
351
350
|
objectId: string;
|
|
352
351
|
version: string | number;
|
|
352
|
+
digest: string;
|
|
353
353
|
};
|
|
354
354
|
} | {
|
|
355
355
|
Shared: {
|
|
@@ -374,31 +374,12 @@ export declare class TransactionBlock {
|
|
|
374
374
|
/** Get a snapshot of the transaction data, in JSON form: */
|
|
375
375
|
get blockData(): {
|
|
376
376
|
version: 1;
|
|
377
|
-
gasConfig: {
|
|
378
|
-
budget?: string | undefined;
|
|
379
|
-
price?: string | undefined;
|
|
380
|
-
payment?: {
|
|
381
|
-
digest: string;
|
|
382
|
-
objectId: string;
|
|
383
|
-
version: string | number;
|
|
384
|
-
}[] | undefined;
|
|
385
|
-
owner?: string | undefined;
|
|
386
|
-
};
|
|
387
|
-
inputs: {
|
|
388
|
-
kind: "Input";
|
|
389
|
-
index: number;
|
|
390
|
-
value?: any;
|
|
391
|
-
type?: "object" | "pure" | undefined;
|
|
392
|
-
}[];
|
|
393
377
|
transactions: ({
|
|
394
|
-
kind: "MoveCall";
|
|
395
|
-
target: `${string}::${string}::${string}`;
|
|
396
|
-
typeArguments: string[];
|
|
397
378
|
arguments: ({
|
|
398
379
|
kind: "Input";
|
|
399
380
|
index: number;
|
|
400
|
-
value?: any;
|
|
401
381
|
type?: "object" | "pure" | undefined;
|
|
382
|
+
value?: any;
|
|
402
383
|
} | {
|
|
403
384
|
kind: "GasCoin";
|
|
404
385
|
} | {
|
|
@@ -409,13 +390,15 @@ export declare class TransactionBlock {
|
|
|
409
390
|
index: number;
|
|
410
391
|
resultIndex: number;
|
|
411
392
|
})[];
|
|
393
|
+
kind: "MoveCall";
|
|
394
|
+
target: `${string}::${string}::${string}`;
|
|
395
|
+
typeArguments: string[];
|
|
412
396
|
} | {
|
|
413
|
-
kind: "TransferObjects";
|
|
414
397
|
objects: ({
|
|
415
398
|
kind: "Input";
|
|
416
399
|
index: number;
|
|
417
|
-
value?: any;
|
|
418
400
|
type?: "object" | "pure" | undefined;
|
|
401
|
+
value?: any;
|
|
419
402
|
} | {
|
|
420
403
|
kind: "GasCoin";
|
|
421
404
|
} | {
|
|
@@ -426,11 +409,12 @@ export declare class TransactionBlock {
|
|
|
426
409
|
index: number;
|
|
427
410
|
resultIndex: number;
|
|
428
411
|
})[];
|
|
412
|
+
kind: "TransferObjects";
|
|
429
413
|
address: {
|
|
430
414
|
kind: "Input";
|
|
431
415
|
index: number;
|
|
432
|
-
value?: any;
|
|
433
416
|
type?: "object" | "pure" | undefined;
|
|
417
|
+
value?: any;
|
|
434
418
|
} | {
|
|
435
419
|
kind: "GasCoin";
|
|
436
420
|
} | {
|
|
@@ -446,8 +430,8 @@ export declare class TransactionBlock {
|
|
|
446
430
|
coin: {
|
|
447
431
|
kind: "Input";
|
|
448
432
|
index: number;
|
|
449
|
-
value?: any;
|
|
450
433
|
type?: "object" | "pure" | undefined;
|
|
434
|
+
value?: any;
|
|
451
435
|
} | {
|
|
452
436
|
kind: "GasCoin";
|
|
453
437
|
} | {
|
|
@@ -461,8 +445,8 @@ export declare class TransactionBlock {
|
|
|
461
445
|
amounts: ({
|
|
462
446
|
kind: "Input";
|
|
463
447
|
index: number;
|
|
464
|
-
value?: any;
|
|
465
448
|
type?: "object" | "pure" | undefined;
|
|
449
|
+
value?: any;
|
|
466
450
|
} | {
|
|
467
451
|
kind: "GasCoin";
|
|
468
452
|
} | {
|
|
@@ -478,8 +462,8 @@ export declare class TransactionBlock {
|
|
|
478
462
|
destination: {
|
|
479
463
|
kind: "Input";
|
|
480
464
|
index: number;
|
|
481
|
-
value?: any;
|
|
482
465
|
type?: "object" | "pure" | undefined;
|
|
466
|
+
value?: any;
|
|
483
467
|
} | {
|
|
484
468
|
kind: "GasCoin";
|
|
485
469
|
} | {
|
|
@@ -493,8 +477,8 @@ export declare class TransactionBlock {
|
|
|
493
477
|
sources: ({
|
|
494
478
|
kind: "Input";
|
|
495
479
|
index: number;
|
|
496
|
-
value?: any;
|
|
497
480
|
type?: "object" | "pure" | undefined;
|
|
481
|
+
value?: any;
|
|
498
482
|
} | {
|
|
499
483
|
kind: "GasCoin";
|
|
500
484
|
} | {
|
|
@@ -506,16 +490,11 @@ export declare class TransactionBlock {
|
|
|
506
490
|
resultIndex: number;
|
|
507
491
|
})[];
|
|
508
492
|
} | {
|
|
509
|
-
kind: "Publish";
|
|
510
|
-
modules: number[][];
|
|
511
|
-
dependencies: string[];
|
|
512
|
-
} | {
|
|
513
|
-
kind: "MakeMoveVec";
|
|
514
493
|
objects: ({
|
|
515
494
|
kind: "Input";
|
|
516
495
|
index: number;
|
|
517
|
-
value?: any;
|
|
518
496
|
type?: "object" | "pure" | undefined;
|
|
497
|
+
value?: any;
|
|
519
498
|
} | {
|
|
520
499
|
kind: "GasCoin";
|
|
521
500
|
} | {
|
|
@@ -526,12 +505,33 @@ export declare class TransactionBlock {
|
|
|
526
505
|
index: number;
|
|
527
506
|
resultIndex: number;
|
|
528
507
|
})[];
|
|
508
|
+
kind: "MakeMoveVec";
|
|
529
509
|
type?: {
|
|
530
510
|
None: null;
|
|
531
511
|
} | {
|
|
532
512
|
Some: string;
|
|
533
513
|
} | undefined;
|
|
514
|
+
} | {
|
|
515
|
+
kind: "Publish";
|
|
516
|
+
dependencies: string[];
|
|
517
|
+
modules: number[][];
|
|
534
518
|
})[];
|
|
519
|
+
inputs: {
|
|
520
|
+
kind: "Input";
|
|
521
|
+
index: number;
|
|
522
|
+
type?: "object" | "pure" | undefined;
|
|
523
|
+
value?: any;
|
|
524
|
+
}[];
|
|
525
|
+
gasConfig: {
|
|
526
|
+
payment?: {
|
|
527
|
+
objectId: string;
|
|
528
|
+
version: string | number;
|
|
529
|
+
digest: string;
|
|
530
|
+
}[] | undefined;
|
|
531
|
+
owner?: string | undefined;
|
|
532
|
+
price?: string | undefined;
|
|
533
|
+
budget?: string | undefined;
|
|
534
|
+
};
|
|
535
535
|
sender?: string | undefined;
|
|
536
536
|
expiration?: {
|
|
537
537
|
Epoch: number;
|
|
@@ -555,8 +555,8 @@ export declare class TransactionBlock {
|
|
|
555
555
|
input(type: 'object' | 'pure', value?: unknown): {
|
|
556
556
|
kind: "Input";
|
|
557
557
|
index: number;
|
|
558
|
-
value?: any;
|
|
559
558
|
type?: "object" | "pure" | undefined;
|
|
559
|
+
value?: any;
|
|
560
560
|
};
|
|
561
561
|
/**
|
|
562
562
|
* Add a new object input to the transaction.
|
|
@@ -564,8 +564,8 @@ export declare class TransactionBlock {
|
|
|
564
564
|
object(value: ObjectId | ObjectCallArg): {
|
|
565
565
|
kind: "Input";
|
|
566
566
|
index: number;
|
|
567
|
-
value?: any;
|
|
568
567
|
type?: "object" | "pure" | undefined;
|
|
568
|
+
value?: any;
|
|
569
569
|
};
|
|
570
570
|
/**
|
|
571
571
|
* Add a new non-object input to the transaction.
|
|
@@ -583,8 +583,8 @@ export declare class TransactionBlock {
|
|
|
583
583
|
type?: string): {
|
|
584
584
|
kind: "Input";
|
|
585
585
|
index: number;
|
|
586
|
-
value?: any;
|
|
587
586
|
type?: "object" | "pure" | undefined;
|
|
587
|
+
value?: any;
|
|
588
588
|
};
|
|
589
589
|
/** Add a transaction to the transaction block. */
|
|
590
590
|
add(transaction: TransactionType): TransactionResult;
|