@bitgo/sdk-coin-sui 3.0.2 → 3.0.4
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 +8 -0
- package/dist/src/lib/mystenlab/builder/Inputs.d.ts +3 -3
- package/dist/src/lib/mystenlab/builder/TransactionBlock.d.ts +74 -74
- package/dist/src/lib/mystenlab/builder/TransactionBlock.d.ts.map +1 -1
- package/dist/src/lib/mystenlab/builder/TransactionBlock.js +1 -1
- 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 +877 -877
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Infer } from 'superstruct';
|
|
2
2
|
export declare const CoinStruct: import("superstruct").Struct<{
|
|
3
|
-
version: number;
|
|
4
3
|
digest: string;
|
|
4
|
+
version: number;
|
|
5
5
|
coinType: string;
|
|
6
6
|
previousTransaction: string;
|
|
7
7
|
coinObjectId: string;
|
|
@@ -19,8 +19,8 @@ export declare const CoinStruct: import("superstruct").Struct<{
|
|
|
19
19
|
export declare type CoinStruct = Infer<typeof CoinStruct>;
|
|
20
20
|
export declare const PaginatedCoins: import("superstruct").Struct<{
|
|
21
21
|
data: {
|
|
22
|
-
version: number;
|
|
23
22
|
digest: string;
|
|
23
|
+
version: number;
|
|
24
24
|
coinType: string;
|
|
25
25
|
previousTransaction: string;
|
|
26
26
|
coinObjectId: string;
|
|
@@ -31,16 +31,16 @@ export declare const PaginatedCoins: import("superstruct").Struct<{
|
|
|
31
31
|
hasNextPage: boolean;
|
|
32
32
|
}, {
|
|
33
33
|
data: import("superstruct").Struct<{
|
|
34
|
-
version: number;
|
|
35
34
|
digest: string;
|
|
35
|
+
version: number;
|
|
36
36
|
coinType: string;
|
|
37
37
|
previousTransaction: string;
|
|
38
38
|
coinObjectId: string;
|
|
39
39
|
balance: number;
|
|
40
40
|
lockedUntilEpoch: number | null;
|
|
41
41
|
}[], import("superstruct").Struct<{
|
|
42
|
-
version: number;
|
|
43
42
|
digest: string;
|
|
43
|
+
version: number;
|
|
44
44
|
coinType: string;
|
|
45
45
|
previousTransaction: string;
|
|
46
46
|
coinObjectId: string;
|
|
@@ -8,14 +8,14 @@ export declare const EventId: import("superstruct").Struct<{
|
|
|
8
8
|
eventSeq: import("superstruct").Struct<number, null>;
|
|
9
9
|
}>;
|
|
10
10
|
export declare const SuiEvent: import("superstruct").Struct<{
|
|
11
|
+
type: string;
|
|
12
|
+
sender: string;
|
|
11
13
|
id: {
|
|
12
14
|
txDigest: string;
|
|
13
15
|
eventSeq: number;
|
|
14
16
|
};
|
|
15
17
|
packageId: string;
|
|
16
18
|
transactionModule: string;
|
|
17
|
-
sender: string;
|
|
18
|
-
type: string;
|
|
19
19
|
parsedJson?: Record<string, any> | undefined;
|
|
20
20
|
bcs?: string | undefined;
|
|
21
21
|
timestampMs?: number | undefined;
|
|
@@ -79,14 +79,14 @@ export declare type SuiEventFilter = {
|
|
|
79
79
|
};
|
|
80
80
|
export declare const PaginatedEvents: import("superstruct").Struct<{
|
|
81
81
|
data: {
|
|
82
|
+
type: string;
|
|
83
|
+
sender: string;
|
|
82
84
|
id: {
|
|
83
85
|
txDigest: string;
|
|
84
86
|
eventSeq: number;
|
|
85
87
|
};
|
|
86
88
|
packageId: string;
|
|
87
89
|
transactionModule: string;
|
|
88
|
-
sender: string;
|
|
89
|
-
type: string;
|
|
90
90
|
parsedJson?: Record<string, any> | undefined;
|
|
91
91
|
bcs?: string | undefined;
|
|
92
92
|
timestampMs?: number | undefined;
|
|
@@ -98,26 +98,26 @@ export declare const PaginatedEvents: import("superstruct").Struct<{
|
|
|
98
98
|
hasNextPage: boolean;
|
|
99
99
|
}, {
|
|
100
100
|
data: import("superstruct").Struct<{
|
|
101
|
+
type: string;
|
|
102
|
+
sender: string;
|
|
101
103
|
id: {
|
|
102
104
|
txDigest: string;
|
|
103
105
|
eventSeq: number;
|
|
104
106
|
};
|
|
105
107
|
packageId: string;
|
|
106
108
|
transactionModule: string;
|
|
107
|
-
sender: string;
|
|
108
|
-
type: string;
|
|
109
109
|
parsedJson?: Record<string, any> | undefined;
|
|
110
110
|
bcs?: string | undefined;
|
|
111
111
|
timestampMs?: number | undefined;
|
|
112
112
|
}[], import("superstruct").Struct<{
|
|
113
|
+
type: string;
|
|
114
|
+
sender: string;
|
|
113
115
|
id: {
|
|
114
116
|
txDigest: string;
|
|
115
117
|
eventSeq: number;
|
|
116
118
|
};
|
|
117
119
|
packageId: string;
|
|
118
120
|
transactionModule: string;
|
|
119
|
-
sender: string;
|
|
120
|
-
type: string;
|
|
121
121
|
parsedJson?: Record<string, any> | undefined;
|
|
122
122
|
bcs?: string | undefined;
|
|
123
123
|
timestampMs?: number | undefined;
|
|
@@ -149,14 +149,14 @@ export declare type SubscriptionId = Infer<typeof SubscriptionId>;
|
|
|
149
149
|
export declare const SubscriptionEvent: import("superstruct").Struct<{
|
|
150
150
|
subscription: number;
|
|
151
151
|
result: {
|
|
152
|
+
type: string;
|
|
153
|
+
sender: string;
|
|
152
154
|
id: {
|
|
153
155
|
txDigest: string;
|
|
154
156
|
eventSeq: number;
|
|
155
157
|
};
|
|
156
158
|
packageId: string;
|
|
157
159
|
transactionModule: string;
|
|
158
|
-
sender: string;
|
|
159
|
-
type: string;
|
|
160
160
|
parsedJson?: Record<string, any> | undefined;
|
|
161
161
|
bcs?: string | undefined;
|
|
162
162
|
timestampMs?: number | undefined;
|
|
@@ -164,14 +164,14 @@ export declare const SubscriptionEvent: import("superstruct").Struct<{
|
|
|
164
164
|
}, {
|
|
165
165
|
subscription: import("superstruct").Struct<number, null>;
|
|
166
166
|
result: import("superstruct").Struct<{
|
|
167
|
+
type: string;
|
|
168
|
+
sender: string;
|
|
167
169
|
id: {
|
|
168
170
|
txDigest: string;
|
|
169
171
|
eventSeq: number;
|
|
170
172
|
};
|
|
171
173
|
packageId: string;
|
|
172
174
|
transactionModule: string;
|
|
173
|
-
sender: string;
|
|
174
|
-
type: string;
|
|
175
175
|
parsedJson?: Record<string, any> | undefined;
|
|
176
176
|
bcs?: string | undefined;
|
|
177
177
|
timestampMs?: number | undefined;
|
|
@@ -4,9 +4,9 @@ import { OwnedObjectRef } from './transactions';
|
|
|
4
4
|
export declare const ObjectType: import("superstruct").Struct<string, null>;
|
|
5
5
|
export declare type ObjectType = Infer<typeof ObjectType>;
|
|
6
6
|
export declare const SuiObjectRef: import("superstruct").Struct<{
|
|
7
|
+
digest: string;
|
|
7
8
|
objectId: string;
|
|
8
9
|
version: string | number;
|
|
9
|
-
digest: string;
|
|
10
10
|
}, {
|
|
11
11
|
/** Base64 string representing the object digest */
|
|
12
12
|
digest: import("superstruct").Struct<string, null>;
|
|
@@ -17,23 +17,23 @@ export declare const SuiObjectRef: import("superstruct").Struct<{
|
|
|
17
17
|
}>;
|
|
18
18
|
export declare type SuiObjectRef = Infer<typeof SuiObjectRef>;
|
|
19
19
|
export declare const SuiGasData: import("superstruct").Struct<{
|
|
20
|
+
budget: number;
|
|
21
|
+
price: number;
|
|
20
22
|
payment: {
|
|
23
|
+
digest: string;
|
|
21
24
|
objectId: string;
|
|
22
25
|
version: string | number;
|
|
23
|
-
digest: string;
|
|
24
26
|
}[];
|
|
25
27
|
owner: string;
|
|
26
|
-
price: number;
|
|
27
|
-
budget: number;
|
|
28
28
|
}, {
|
|
29
29
|
payment: import("superstruct").Struct<{
|
|
30
|
+
digest: string;
|
|
30
31
|
objectId: string;
|
|
31
32
|
version: string | number;
|
|
32
|
-
digest: string;
|
|
33
33
|
}[], import("superstruct").Struct<{
|
|
34
|
+
digest: string;
|
|
34
35
|
objectId: string;
|
|
35
36
|
version: string | number;
|
|
36
|
-
digest: string;
|
|
37
37
|
}, {
|
|
38
38
|
/** Base64 string representing the object digest */
|
|
39
39
|
digest: import("superstruct").Struct<string, null>;
|
|
@@ -50,9 +50,9 @@ export declare const SuiGasData: import("superstruct").Struct<{
|
|
|
50
50
|
export declare type SuiGasData = Infer<typeof SuiGasData>;
|
|
51
51
|
export declare const SuiObjectInfo: import("superstruct").Struct<{
|
|
52
52
|
type: string;
|
|
53
|
+
digest: string;
|
|
53
54
|
objectId: string;
|
|
54
55
|
version: string | number;
|
|
55
|
-
digest: string;
|
|
56
56
|
owner: {
|
|
57
57
|
AddressOwner: string;
|
|
58
58
|
} | {
|
|
@@ -75,9 +75,9 @@ export declare const SuiObjectInfo: import("superstruct").Struct<{
|
|
|
75
75
|
};
|
|
76
76
|
} | "Immutable", null>;
|
|
77
77
|
previousTransaction: import("superstruct").Struct<string, null>;
|
|
78
|
+
digest: import("superstruct").Struct<string, null>;
|
|
78
79
|
objectId: import("superstruct").Struct<string, null>;
|
|
79
80
|
version: import("superstruct").Struct<string | number, null>;
|
|
80
|
-
digest: import("superstruct").Struct<string, null>;
|
|
81
81
|
}>;
|
|
82
82
|
export declare type SuiObjectInfo = Infer<typeof SuiObjectInfo>;
|
|
83
83
|
export declare const ObjectContentFields: import("superstruct").Struct<Record<string, any>, null>;
|
|
@@ -150,10 +150,19 @@ export declare const MIST_PER_SUI: bigint;
|
|
|
150
150
|
export declare const ObjectDigest: import("superstruct").Struct<string, null>;
|
|
151
151
|
export declare type ObjectDigest = Infer<typeof ObjectDigest>;
|
|
152
152
|
export declare const SuiObjectData: import("superstruct").Struct<{
|
|
153
|
+
digest: string;
|
|
153
154
|
objectId: string;
|
|
154
155
|
version: number;
|
|
155
|
-
digest: string;
|
|
156
156
|
type?: string | undefined;
|
|
157
|
+
owner?: {
|
|
158
|
+
AddressOwner: string;
|
|
159
|
+
} | {
|
|
160
|
+
ObjectOwner: string;
|
|
161
|
+
} | {
|
|
162
|
+
Shared: {
|
|
163
|
+
initial_shared_version: number;
|
|
164
|
+
};
|
|
165
|
+
} | "Immutable" | undefined;
|
|
157
166
|
bcs?: {
|
|
158
167
|
type: string;
|
|
159
168
|
fields: Record<string, any>;
|
|
@@ -164,15 +173,6 @@ export declare const SuiObjectData: import("superstruct").Struct<{
|
|
|
164
173
|
dataType: "package";
|
|
165
174
|
moduleMap: Record<string, string>;
|
|
166
175
|
} | undefined;
|
|
167
|
-
owner?: {
|
|
168
|
-
AddressOwner: string;
|
|
169
|
-
} | {
|
|
170
|
-
ObjectOwner: string;
|
|
171
|
-
} | {
|
|
172
|
-
Shared: {
|
|
173
|
-
initial_shared_version: number;
|
|
174
|
-
};
|
|
175
|
-
} | "Immutable" | undefined;
|
|
176
176
|
storageRebate?: number | undefined;
|
|
177
177
|
previousTransaction?: string | undefined;
|
|
178
178
|
content?: {
|
|
@@ -275,9 +275,9 @@ export declare const ObjectStatus: import("superstruct").Struct<"Exists" | "NotE
|
|
|
275
275
|
export declare type ObjectStatus = Infer<typeof ObjectStatus>;
|
|
276
276
|
export declare const GetOwnedObjectsResponse: import("superstruct").Struct<{
|
|
277
277
|
type: string;
|
|
278
|
+
digest: string;
|
|
278
279
|
objectId: string;
|
|
279
280
|
version: string | number;
|
|
280
|
-
digest: string;
|
|
281
281
|
owner: {
|
|
282
282
|
AddressOwner: string;
|
|
283
283
|
} | {
|
|
@@ -290,9 +290,9 @@ export declare const GetOwnedObjectsResponse: import("superstruct").Struct<{
|
|
|
290
290
|
previousTransaction: string;
|
|
291
291
|
}[], import("superstruct").Struct<{
|
|
292
292
|
type: string;
|
|
293
|
+
digest: string;
|
|
293
294
|
objectId: string;
|
|
294
295
|
version: string | number;
|
|
295
|
-
digest: string;
|
|
296
296
|
owner: {
|
|
297
297
|
AddressOwner: string;
|
|
298
298
|
} | {
|
|
@@ -315,15 +315,15 @@ export declare const GetOwnedObjectsResponse: import("superstruct").Struct<{
|
|
|
315
315
|
};
|
|
316
316
|
} | "Immutable", null>;
|
|
317
317
|
previousTransaction: import("superstruct").Struct<string, null>;
|
|
318
|
+
digest: import("superstruct").Struct<string, null>;
|
|
318
319
|
objectId: import("superstruct").Struct<string, null>;
|
|
319
320
|
version: import("superstruct").Struct<string | number, null>;
|
|
320
|
-
digest: import("superstruct").Struct<string, null>;
|
|
321
321
|
}>>;
|
|
322
322
|
export declare type GetOwnedObjectsResponse = Infer<typeof GetOwnedObjectsResponse>;
|
|
323
323
|
export declare const SuiObjectResponseError: import("superstruct").Struct<{
|
|
324
324
|
tag: string;
|
|
325
|
-
version?: number | undefined;
|
|
326
325
|
digest?: string | undefined;
|
|
326
|
+
version?: number | undefined;
|
|
327
327
|
object_id?: string | undefined;
|
|
328
328
|
}, {
|
|
329
329
|
tag: import("superstruct").Struct<string, null>;
|
|
@@ -334,10 +334,19 @@ export declare const SuiObjectResponseError: import("superstruct").Struct<{
|
|
|
334
334
|
export declare type SuiObjectResponseError = Infer<typeof SuiObjectResponseError>;
|
|
335
335
|
export declare const SuiObjectResponse: import("superstruct").Struct<{
|
|
336
336
|
data?: {
|
|
337
|
+
digest: string;
|
|
337
338
|
objectId: string;
|
|
338
339
|
version: number;
|
|
339
|
-
digest: string;
|
|
340
340
|
type?: string | undefined;
|
|
341
|
+
owner?: {
|
|
342
|
+
AddressOwner: string;
|
|
343
|
+
} | {
|
|
344
|
+
ObjectOwner: string;
|
|
345
|
+
} | {
|
|
346
|
+
Shared: {
|
|
347
|
+
initial_shared_version: number;
|
|
348
|
+
};
|
|
349
|
+
} | "Immutable" | undefined;
|
|
341
350
|
bcs?: {
|
|
342
351
|
type: string;
|
|
343
352
|
fields: Record<string, any>;
|
|
@@ -348,15 +357,6 @@ export declare const SuiObjectResponse: import("superstruct").Struct<{
|
|
|
348
357
|
dataType: "package";
|
|
349
358
|
moduleMap: Record<string, string>;
|
|
350
359
|
} | undefined;
|
|
351
|
-
owner?: {
|
|
352
|
-
AddressOwner: string;
|
|
353
|
-
} | {
|
|
354
|
-
ObjectOwner: string;
|
|
355
|
-
} | {
|
|
356
|
-
Shared: {
|
|
357
|
-
initial_shared_version: number;
|
|
358
|
-
};
|
|
359
|
-
} | "Immutable" | undefined;
|
|
360
360
|
storageRebate?: number | undefined;
|
|
361
361
|
previousTransaction?: string | undefined;
|
|
362
362
|
content?: {
|
|
@@ -372,16 +372,25 @@ export declare const SuiObjectResponse: import("superstruct").Struct<{
|
|
|
372
372
|
} | undefined;
|
|
373
373
|
error?: {
|
|
374
374
|
tag: string;
|
|
375
|
-
version?: number | undefined;
|
|
376
375
|
digest?: string | undefined;
|
|
376
|
+
version?: number | undefined;
|
|
377
377
|
object_id?: string | undefined;
|
|
378
378
|
} | undefined;
|
|
379
379
|
}, {
|
|
380
380
|
data: import("superstruct").Struct<{
|
|
381
|
+
digest: string;
|
|
381
382
|
objectId: string;
|
|
382
383
|
version: number;
|
|
383
|
-
digest: string;
|
|
384
384
|
type?: string | undefined;
|
|
385
|
+
owner?: {
|
|
386
|
+
AddressOwner: string;
|
|
387
|
+
} | {
|
|
388
|
+
ObjectOwner: string;
|
|
389
|
+
} | {
|
|
390
|
+
Shared: {
|
|
391
|
+
initial_shared_version: number;
|
|
392
|
+
};
|
|
393
|
+
} | "Immutable" | undefined;
|
|
385
394
|
bcs?: {
|
|
386
395
|
type: string;
|
|
387
396
|
fields: Record<string, any>;
|
|
@@ -392,15 +401,6 @@ export declare const SuiObjectResponse: import("superstruct").Struct<{
|
|
|
392
401
|
dataType: "package";
|
|
393
402
|
moduleMap: Record<string, string>;
|
|
394
403
|
} | undefined;
|
|
395
|
-
owner?: {
|
|
396
|
-
AddressOwner: string;
|
|
397
|
-
} | {
|
|
398
|
-
ObjectOwner: string;
|
|
399
|
-
} | {
|
|
400
|
-
Shared: {
|
|
401
|
-
initial_shared_version: number;
|
|
402
|
-
};
|
|
403
|
-
} | "Immutable" | undefined;
|
|
404
404
|
storageRebate?: number | undefined;
|
|
405
405
|
previousTransaction?: string | undefined;
|
|
406
406
|
content?: {
|
|
@@ -479,8 +479,8 @@ export declare const SuiObjectResponse: import("superstruct").Struct<{
|
|
|
479
479
|
}>;
|
|
480
480
|
error: import("superstruct").Struct<{
|
|
481
481
|
tag: string;
|
|
482
|
-
version?: number | undefined;
|
|
483
482
|
digest?: string | undefined;
|
|
483
|
+
version?: number | undefined;
|
|
484
484
|
object_id?: string | undefined;
|
|
485
485
|
} | undefined, {
|
|
486
486
|
tag: import("superstruct").Struct<string, null>;
|
|
@@ -529,10 +529,19 @@ export declare type CheckpointedObjectId = Infer<typeof CheckpointedObjectId>;
|
|
|
529
529
|
export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
530
530
|
data: {
|
|
531
531
|
data?: {
|
|
532
|
+
digest: string;
|
|
532
533
|
objectId: string;
|
|
533
534
|
version: number;
|
|
534
|
-
digest: string;
|
|
535
535
|
type?: string | undefined;
|
|
536
|
+
owner?: {
|
|
537
|
+
AddressOwner: string;
|
|
538
|
+
} | {
|
|
539
|
+
ObjectOwner: string;
|
|
540
|
+
} | {
|
|
541
|
+
Shared: {
|
|
542
|
+
initial_shared_version: number;
|
|
543
|
+
};
|
|
544
|
+
} | "Immutable" | undefined;
|
|
536
545
|
bcs?: {
|
|
537
546
|
type: string;
|
|
538
547
|
fields: Record<string, any>;
|
|
@@ -543,15 +552,6 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
543
552
|
dataType: "package";
|
|
544
553
|
moduleMap: Record<string, string>;
|
|
545
554
|
} | undefined;
|
|
546
|
-
owner?: {
|
|
547
|
-
AddressOwner: string;
|
|
548
|
-
} | {
|
|
549
|
-
ObjectOwner: string;
|
|
550
|
-
} | {
|
|
551
|
-
Shared: {
|
|
552
|
-
initial_shared_version: number;
|
|
553
|
-
};
|
|
554
|
-
} | "Immutable" | undefined;
|
|
555
555
|
storageRebate?: number | undefined;
|
|
556
556
|
previousTransaction?: string | undefined;
|
|
557
557
|
content?: {
|
|
@@ -567,8 +567,8 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
567
567
|
} | undefined;
|
|
568
568
|
error?: {
|
|
569
569
|
tag: string;
|
|
570
|
-
version?: number | undefined;
|
|
571
570
|
digest?: string | undefined;
|
|
571
|
+
version?: number | undefined;
|
|
572
572
|
object_id?: string | undefined;
|
|
573
573
|
} | undefined;
|
|
574
574
|
}[];
|
|
@@ -580,10 +580,19 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
580
580
|
}, {
|
|
581
581
|
data: import("superstruct").Struct<{
|
|
582
582
|
data?: {
|
|
583
|
+
digest: string;
|
|
583
584
|
objectId: string;
|
|
584
585
|
version: number;
|
|
585
|
-
digest: string;
|
|
586
586
|
type?: string | undefined;
|
|
587
|
+
owner?: {
|
|
588
|
+
AddressOwner: string;
|
|
589
|
+
} | {
|
|
590
|
+
ObjectOwner: string;
|
|
591
|
+
} | {
|
|
592
|
+
Shared: {
|
|
593
|
+
initial_shared_version: number;
|
|
594
|
+
};
|
|
595
|
+
} | "Immutable" | undefined;
|
|
587
596
|
bcs?: {
|
|
588
597
|
type: string;
|
|
589
598
|
fields: Record<string, any>;
|
|
@@ -594,15 +603,6 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
594
603
|
dataType: "package";
|
|
595
604
|
moduleMap: Record<string, string>;
|
|
596
605
|
} | undefined;
|
|
597
|
-
owner?: {
|
|
598
|
-
AddressOwner: string;
|
|
599
|
-
} | {
|
|
600
|
-
ObjectOwner: string;
|
|
601
|
-
} | {
|
|
602
|
-
Shared: {
|
|
603
|
-
initial_shared_version: number;
|
|
604
|
-
};
|
|
605
|
-
} | "Immutable" | undefined;
|
|
606
606
|
storageRebate?: number | undefined;
|
|
607
607
|
previousTransaction?: string | undefined;
|
|
608
608
|
content?: {
|
|
@@ -618,16 +618,25 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
618
618
|
} | undefined;
|
|
619
619
|
error?: {
|
|
620
620
|
tag: string;
|
|
621
|
-
version?: number | undefined;
|
|
622
621
|
digest?: string | undefined;
|
|
622
|
+
version?: number | undefined;
|
|
623
623
|
object_id?: string | undefined;
|
|
624
624
|
} | undefined;
|
|
625
625
|
}[], import("superstruct").Struct<{
|
|
626
626
|
data?: {
|
|
627
|
+
digest: string;
|
|
627
628
|
objectId: string;
|
|
628
629
|
version: number;
|
|
629
|
-
digest: string;
|
|
630
630
|
type?: string | undefined;
|
|
631
|
+
owner?: {
|
|
632
|
+
AddressOwner: string;
|
|
633
|
+
} | {
|
|
634
|
+
ObjectOwner: string;
|
|
635
|
+
} | {
|
|
636
|
+
Shared: {
|
|
637
|
+
initial_shared_version: number;
|
|
638
|
+
};
|
|
639
|
+
} | "Immutable" | undefined;
|
|
631
640
|
bcs?: {
|
|
632
641
|
type: string;
|
|
633
642
|
fields: Record<string, any>;
|
|
@@ -638,15 +647,6 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
638
647
|
dataType: "package";
|
|
639
648
|
moduleMap: Record<string, string>;
|
|
640
649
|
} | undefined;
|
|
641
|
-
owner?: {
|
|
642
|
-
AddressOwner: string;
|
|
643
|
-
} | {
|
|
644
|
-
ObjectOwner: string;
|
|
645
|
-
} | {
|
|
646
|
-
Shared: {
|
|
647
|
-
initial_shared_version: number;
|
|
648
|
-
};
|
|
649
|
-
} | "Immutable" | undefined;
|
|
650
650
|
storageRebate?: number | undefined;
|
|
651
651
|
previousTransaction?: string | undefined;
|
|
652
652
|
content?: {
|
|
@@ -662,16 +662,25 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
662
662
|
} | undefined;
|
|
663
663
|
error?: {
|
|
664
664
|
tag: string;
|
|
665
|
-
version?: number | undefined;
|
|
666
665
|
digest?: string | undefined;
|
|
666
|
+
version?: number | undefined;
|
|
667
667
|
object_id?: string | undefined;
|
|
668
668
|
} | undefined;
|
|
669
669
|
}, {
|
|
670
670
|
data: import("superstruct").Struct<{
|
|
671
|
+
digest: string;
|
|
671
672
|
objectId: string;
|
|
672
673
|
version: number;
|
|
673
|
-
digest: string;
|
|
674
674
|
type?: string | undefined;
|
|
675
|
+
owner?: {
|
|
676
|
+
AddressOwner: string;
|
|
677
|
+
} | {
|
|
678
|
+
ObjectOwner: string;
|
|
679
|
+
} | {
|
|
680
|
+
Shared: {
|
|
681
|
+
initial_shared_version: number;
|
|
682
|
+
};
|
|
683
|
+
} | "Immutable" | undefined;
|
|
675
684
|
bcs?: {
|
|
676
685
|
type: string;
|
|
677
686
|
fields: Record<string, any>;
|
|
@@ -682,15 +691,6 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
682
691
|
dataType: "package";
|
|
683
692
|
moduleMap: Record<string, string>;
|
|
684
693
|
} | undefined;
|
|
685
|
-
owner?: {
|
|
686
|
-
AddressOwner: string;
|
|
687
|
-
} | {
|
|
688
|
-
ObjectOwner: string;
|
|
689
|
-
} | {
|
|
690
|
-
Shared: {
|
|
691
|
-
initial_shared_version: number;
|
|
692
|
-
};
|
|
693
|
-
} | "Immutable" | undefined;
|
|
694
694
|
storageRebate?: number | undefined;
|
|
695
695
|
previousTransaction?: string | undefined;
|
|
696
696
|
content?: {
|
|
@@ -769,8 +769,8 @@ export declare const PaginatedObjectsResponse: import("superstruct").Struct<{
|
|
|
769
769
|
}>;
|
|
770
770
|
error: import("superstruct").Struct<{
|
|
771
771
|
tag: string;
|
|
772
|
-
version?: number | undefined;
|
|
773
772
|
digest?: string | undefined;
|
|
773
|
+
version?: number | undefined;
|
|
774
774
|
object_id?: string | undefined;
|
|
775
775
|
} | undefined, {
|
|
776
776
|
tag: import("superstruct").Struct<string, null>;
|