@bitgo-beta/sdk-coin-sui 3.0.3-beta.9 → 3.0.3-beta.90
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/.mocharc.yml +1 -2
- package/CHANGELOG.md +86 -0
- package/dist/src/lib/compareTransactionBlocks.d.ts +8 -0
- package/dist/src/lib/compareTransactionBlocks.d.ts.map +1 -0
- package/dist/src/lib/compareTransactionBlocks.js +13 -0
- package/dist/src/lib/constants.d.ts +1 -0
- package/dist/src/lib/constants.d.ts.map +1 -1
- package/dist/src/lib/constants.js +3 -2
- package/dist/src/lib/iface.d.ts +1 -0
- package/dist/src/lib/iface.d.ts.map +1 -1
- package/dist/src/lib/iface.js +1 -1
- package/dist/src/lib/mystenlab/builder/Inputs.d.ts.map +1 -1
- package/dist/src/lib/mystenlab/builder/Inputs.js +1 -1
- package/dist/src/lib/mystenlab/builder/TransactionBlock.js +33 -35
- package/dist/src/lib/mystenlab/framework/sui-system-state.d.ts +2 -0
- package/dist/src/lib/mystenlab/framework/sui-system-state.d.ts.map +1 -1
- package/dist/src/lib/mystenlab/framework/sui-system-state.js +5 -2
- 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 +49 -49
- package/dist/src/lib/mystenlab/types/transactions.d.ts +76 -76
- package/dist/src/lib/mystenlab/types/validator.d.ts +4 -4
- package/dist/src/lib/stakingBuilder.d.ts +3 -3
- package/dist/src/lib/stakingBuilder.d.ts.map +1 -1
- package/dist/src/lib/stakingBuilder.js +28 -25
- package/dist/src/lib/stakingTransaction.d.ts.map +1 -1
- package/dist/src/lib/stakingTransaction.js +9 -12
- package/dist/src/lib/unstakingBuilder.d.ts +8 -1
- package/dist/src/lib/unstakingBuilder.d.ts.map +1 -1
- package/dist/src/lib/unstakingBuilder.js +95 -16
- package/dist/src/lib/unstakingTransaction.d.ts +25 -1
- package/dist/src/lib/unstakingTransaction.d.ts.map +1 -1
- package/dist/src/lib/unstakingTransaction.js +146 -21
- package/dist/src/lib/utils.d.ts +12 -2
- package/dist/src/lib/utils.d.ts.map +1 -1
- package/dist/src/lib/utils.js +34 -2
- package/package.json +12 -10
|
@@ -803,9 +803,9 @@ export declare const AuthorityQuorumSignInfo: import("superstruct").Struct<{
|
|
|
803
803
|
}>;
|
|
804
804
|
export declare type AuthorityQuorumSignInfo = Infer<typeof AuthorityQuorumSignInfo>;
|
|
805
805
|
export declare const GasCostSummary: import("superstruct").Struct<{
|
|
806
|
+
storageRebate: string;
|
|
806
807
|
computationCost: string;
|
|
807
808
|
storageCost: string;
|
|
808
|
-
storageRebate: string;
|
|
809
809
|
nonRefundableStorageFee: string;
|
|
810
810
|
}, {
|
|
811
811
|
computationCost: import("superstruct").Struct<string, null>;
|
|
@@ -868,16 +868,16 @@ export declare const TransactionEffectsModifiedAtVersions: import("superstruct")
|
|
|
868
868
|
sequenceNumber: import("superstruct").Struct<number, null>;
|
|
869
869
|
}>;
|
|
870
870
|
export declare const TransactionEffects: import("superstruct").Struct<{
|
|
871
|
-
messageVersion: "v1";
|
|
872
871
|
status: {
|
|
873
872
|
status: "success" | "failure";
|
|
874
873
|
error?: string | undefined;
|
|
875
874
|
};
|
|
875
|
+
messageVersion: "v1";
|
|
876
876
|
executedEpoch: string;
|
|
877
877
|
gasUsed: {
|
|
878
|
+
storageRebate: string;
|
|
878
879
|
computationCost: string;
|
|
879
880
|
storageCost: string;
|
|
880
|
-
storageRebate: string;
|
|
881
881
|
nonRefundableStorageFee: string;
|
|
882
882
|
};
|
|
883
883
|
transactionDigest: string;
|
|
@@ -995,9 +995,9 @@ export declare const TransactionEffects: import("superstruct").Struct<{
|
|
|
995
995
|
sequenceNumber: import("superstruct").Struct<number, null>;
|
|
996
996
|
}>>;
|
|
997
997
|
gasUsed: import("superstruct").Struct<{
|
|
998
|
+
storageRebate: string;
|
|
998
999
|
computationCost: string;
|
|
999
1000
|
storageCost: string;
|
|
1000
|
-
storageRebate: string;
|
|
1001
1001
|
nonRefundableStorageFee: string;
|
|
1002
1002
|
}, {
|
|
1003
1003
|
computationCost: import("superstruct").Struct<string, null>;
|
|
@@ -1267,27 +1267,27 @@ export declare const TransactionEffects: import("superstruct").Struct<{
|
|
|
1267
1267
|
export declare type TransactionEffects = Infer<typeof TransactionEffects>;
|
|
1268
1268
|
export declare const TransactionEvents: import("superstruct").Struct<{
|
|
1269
1269
|
type: string;
|
|
1270
|
+
sender: string;
|
|
1270
1271
|
id: {
|
|
1271
1272
|
txDigest: string;
|
|
1272
1273
|
eventSeq: number;
|
|
1273
1274
|
};
|
|
1274
|
-
sender: string;
|
|
1275
1275
|
packageId: string;
|
|
1276
1276
|
transactionModule: string;
|
|
1277
|
-
parsedJson?: Record<string, any> | undefined;
|
|
1278
1277
|
bcs?: string | undefined;
|
|
1278
|
+
parsedJson?: Record<string, any> | undefined;
|
|
1279
1279
|
timestampMs?: number | undefined;
|
|
1280
1280
|
}[], import("superstruct").Struct<{
|
|
1281
1281
|
type: string;
|
|
1282
|
+
sender: string;
|
|
1282
1283
|
id: {
|
|
1283
1284
|
txDigest: string;
|
|
1284
1285
|
eventSeq: number;
|
|
1285
1286
|
};
|
|
1286
|
-
sender: string;
|
|
1287
1287
|
packageId: string;
|
|
1288
1288
|
transactionModule: string;
|
|
1289
|
-
parsedJson?: Record<string, any> | undefined;
|
|
1290
1289
|
bcs?: string | undefined;
|
|
1290
|
+
parsedJson?: Record<string, any> | undefined;
|
|
1291
1291
|
timestampMs?: number | undefined;
|
|
1292
1292
|
}, {
|
|
1293
1293
|
id: import("superstruct").Struct<{
|
|
@@ -1308,16 +1308,16 @@ export declare const TransactionEvents: import("superstruct").Struct<{
|
|
|
1308
1308
|
export declare type TransactionEvents = Infer<typeof TransactionEvents>;
|
|
1309
1309
|
export declare const DevInspectResults: import("superstruct").Struct<{
|
|
1310
1310
|
effects: {
|
|
1311
|
-
messageVersion: "v1";
|
|
1312
1311
|
status: {
|
|
1313
1312
|
status: "success" | "failure";
|
|
1314
1313
|
error?: string | undefined;
|
|
1315
1314
|
};
|
|
1315
|
+
messageVersion: "v1";
|
|
1316
1316
|
executedEpoch: string;
|
|
1317
1317
|
gasUsed: {
|
|
1318
|
+
storageRebate: string;
|
|
1318
1319
|
computationCost: string;
|
|
1319
1320
|
storageCost: string;
|
|
1320
|
-
storageRebate: string;
|
|
1321
1321
|
nonRefundableStorageFee: string;
|
|
1322
1322
|
};
|
|
1323
1323
|
transactionDigest: string;
|
|
@@ -1414,15 +1414,15 @@ export declare const DevInspectResults: import("superstruct").Struct<{
|
|
|
1414
1414
|
};
|
|
1415
1415
|
events: {
|
|
1416
1416
|
type: string;
|
|
1417
|
+
sender: string;
|
|
1417
1418
|
id: {
|
|
1418
1419
|
txDigest: string;
|
|
1419
1420
|
eventSeq: number;
|
|
1420
1421
|
};
|
|
1421
|
-
sender: string;
|
|
1422
1422
|
packageId: string;
|
|
1423
1423
|
transactionModule: string;
|
|
1424
|
-
parsedJson?: Record<string, any> | undefined;
|
|
1425
1424
|
bcs?: string | undefined;
|
|
1425
|
+
parsedJson?: Record<string, any> | undefined;
|
|
1426
1426
|
timestampMs?: number | undefined;
|
|
1427
1427
|
}[];
|
|
1428
1428
|
error?: string | undefined;
|
|
@@ -1438,16 +1438,16 @@ export declare const DevInspectResults: import("superstruct").Struct<{
|
|
|
1438
1438
|
}[] | undefined;
|
|
1439
1439
|
}, {
|
|
1440
1440
|
effects: import("superstruct").Struct<{
|
|
1441
|
-
messageVersion: "v1";
|
|
1442
1441
|
status: {
|
|
1443
1442
|
status: "success" | "failure";
|
|
1444
1443
|
error?: string | undefined;
|
|
1445
1444
|
};
|
|
1445
|
+
messageVersion: "v1";
|
|
1446
1446
|
executedEpoch: string;
|
|
1447
1447
|
gasUsed: {
|
|
1448
|
+
storageRebate: string;
|
|
1448
1449
|
computationCost: string;
|
|
1449
1450
|
storageCost: string;
|
|
1450
|
-
storageRebate: string;
|
|
1451
1451
|
nonRefundableStorageFee: string;
|
|
1452
1452
|
};
|
|
1453
1453
|
transactionDigest: string;
|
|
@@ -1565,9 +1565,9 @@ export declare const DevInspectResults: import("superstruct").Struct<{
|
|
|
1565
1565
|
sequenceNumber: import("superstruct").Struct<number, null>;
|
|
1566
1566
|
}>>;
|
|
1567
1567
|
gasUsed: import("superstruct").Struct<{
|
|
1568
|
+
storageRebate: string;
|
|
1568
1569
|
computationCost: string;
|
|
1569
1570
|
storageCost: string;
|
|
1570
|
-
storageRebate: string;
|
|
1571
1571
|
nonRefundableStorageFee: string;
|
|
1572
1572
|
}, {
|
|
1573
1573
|
computationCost: import("superstruct").Struct<string, null>;
|
|
@@ -1836,27 +1836,27 @@ export declare const DevInspectResults: import("superstruct").Struct<{
|
|
|
1836
1836
|
}>;
|
|
1837
1837
|
events: import("superstruct").Struct<{
|
|
1838
1838
|
type: string;
|
|
1839
|
+
sender: string;
|
|
1839
1840
|
id: {
|
|
1840
1841
|
txDigest: string;
|
|
1841
1842
|
eventSeq: number;
|
|
1842
1843
|
};
|
|
1843
|
-
sender: string;
|
|
1844
1844
|
packageId: string;
|
|
1845
1845
|
transactionModule: string;
|
|
1846
|
-
parsedJson?: Record<string, any> | undefined;
|
|
1847
1846
|
bcs?: string | undefined;
|
|
1847
|
+
parsedJson?: Record<string, any> | undefined;
|
|
1848
1848
|
timestampMs?: number | undefined;
|
|
1849
1849
|
}[], import("superstruct").Struct<{
|
|
1850
1850
|
type: string;
|
|
1851
|
+
sender: string;
|
|
1851
1852
|
id: {
|
|
1852
1853
|
txDigest: string;
|
|
1853
1854
|
eventSeq: number;
|
|
1854
1855
|
};
|
|
1855
|
-
sender: string;
|
|
1856
1856
|
packageId: string;
|
|
1857
1857
|
transactionModule: string;
|
|
1858
|
-
parsedJson?: Record<string, any> | undefined;
|
|
1859
1858
|
bcs?: string | undefined;
|
|
1859
|
+
parsedJson?: Record<string, any> | undefined;
|
|
1860
1860
|
timestampMs?: number | undefined;
|
|
1861
1861
|
}, {
|
|
1862
1862
|
id: import("superstruct").Struct<{
|
|
@@ -2525,7 +2525,6 @@ export declare const SuiObjectChange: import("superstruct").Struct<{
|
|
|
2525
2525
|
}, null>;
|
|
2526
2526
|
export declare type SuiObjectChange = Infer<typeof SuiObjectChange>;
|
|
2527
2527
|
export declare const BalanceChange: import("superstruct").Struct<{
|
|
2528
|
-
amount: string;
|
|
2529
2528
|
owner: {
|
|
2530
2529
|
AddressOwner: string;
|
|
2531
2530
|
} | {
|
|
@@ -2535,6 +2534,7 @@ export declare const BalanceChange: import("superstruct").Struct<{
|
|
|
2535
2534
|
initial_shared_version: number;
|
|
2536
2535
|
};
|
|
2537
2536
|
} | "Immutable";
|
|
2537
|
+
amount: string;
|
|
2538
2538
|
coinType: string;
|
|
2539
2539
|
}, {
|
|
2540
2540
|
owner: import("superstruct").Struct<{
|
|
@@ -2551,7 +2551,6 @@ export declare const BalanceChange: import("superstruct").Struct<{
|
|
|
2551
2551
|
}>;
|
|
2552
2552
|
export declare const SuiTransactionBlockResponse: import("superstruct").Struct<{
|
|
2553
2553
|
digest: string;
|
|
2554
|
-
timestampMs?: number | undefined;
|
|
2555
2554
|
transaction?: {
|
|
2556
2555
|
data: {
|
|
2557
2556
|
sender: string;
|
|
@@ -2673,17 +2672,18 @@ export declare const SuiTransactionBlockResponse: import("superstruct").Struct<{
|
|
|
2673
2672
|
};
|
|
2674
2673
|
txSignatures: string[];
|
|
2675
2674
|
} | undefined;
|
|
2675
|
+
timestampMs?: number | undefined;
|
|
2676
2676
|
effects?: {
|
|
2677
|
-
messageVersion: "v1";
|
|
2678
2677
|
status: {
|
|
2679
2678
|
status: "success" | "failure";
|
|
2680
2679
|
error?: string | undefined;
|
|
2681
2680
|
};
|
|
2681
|
+
messageVersion: "v1";
|
|
2682
2682
|
executedEpoch: string;
|
|
2683
2683
|
gasUsed: {
|
|
2684
|
+
storageRebate: string;
|
|
2684
2685
|
computationCost: string;
|
|
2685
2686
|
storageCost: string;
|
|
2686
|
-
storageRebate: string;
|
|
2687
2687
|
nonRefundableStorageFee: string;
|
|
2688
2688
|
};
|
|
2689
2689
|
transactionDigest: string;
|
|
@@ -2780,15 +2780,15 @@ export declare const SuiTransactionBlockResponse: import("superstruct").Struct<{
|
|
|
2780
2780
|
} | undefined;
|
|
2781
2781
|
events?: {
|
|
2782
2782
|
type: string;
|
|
2783
|
+
sender: string;
|
|
2783
2784
|
id: {
|
|
2784
2785
|
txDigest: string;
|
|
2785
2786
|
eventSeq: number;
|
|
2786
2787
|
};
|
|
2787
|
-
sender: string;
|
|
2788
2788
|
packageId: string;
|
|
2789
2789
|
transactionModule: string;
|
|
2790
|
-
parsedJson?: Record<string, any> | undefined;
|
|
2791
2790
|
bcs?: string | undefined;
|
|
2791
|
+
parsedJson?: Record<string, any> | undefined;
|
|
2792
2792
|
timestampMs?: number | undefined;
|
|
2793
2793
|
}[] | undefined;
|
|
2794
2794
|
checkpoint?: number | undefined;
|
|
@@ -2862,7 +2862,6 @@ export declare const SuiTransactionBlockResponse: import("superstruct").Struct<{
|
|
|
2862
2862
|
sender: string;
|
|
2863
2863
|
})[] | undefined;
|
|
2864
2864
|
balanceChanges?: {
|
|
2865
|
-
amount: string;
|
|
2866
2865
|
owner: {
|
|
2867
2866
|
AddressOwner: string;
|
|
2868
2867
|
} | {
|
|
@@ -2872,6 +2871,7 @@ export declare const SuiTransactionBlockResponse: import("superstruct").Struct<{
|
|
|
2872
2871
|
initial_shared_version: number;
|
|
2873
2872
|
};
|
|
2874
2873
|
} | "Immutable";
|
|
2874
|
+
amount: string;
|
|
2875
2875
|
coinType: string;
|
|
2876
2876
|
}[] | undefined;
|
|
2877
2877
|
errors?: string[] | undefined;
|
|
@@ -3253,16 +3253,16 @@ export declare const SuiTransactionBlockResponse: import("superstruct").Struct<{
|
|
|
3253
3253
|
txSignatures: import("superstruct").Struct<string[], import("superstruct").Struct<string, null>>;
|
|
3254
3254
|
}>;
|
|
3255
3255
|
effects: import("superstruct").Struct<{
|
|
3256
|
-
messageVersion: "v1";
|
|
3257
3256
|
status: {
|
|
3258
3257
|
status: "success" | "failure";
|
|
3259
3258
|
error?: string | undefined;
|
|
3260
3259
|
};
|
|
3260
|
+
messageVersion: "v1";
|
|
3261
3261
|
executedEpoch: string;
|
|
3262
3262
|
gasUsed: {
|
|
3263
|
+
storageRebate: string;
|
|
3263
3264
|
computationCost: string;
|
|
3264
3265
|
storageCost: string;
|
|
3265
|
-
storageRebate: string;
|
|
3266
3266
|
nonRefundableStorageFee: string;
|
|
3267
3267
|
};
|
|
3268
3268
|
transactionDigest: string;
|
|
@@ -3380,9 +3380,9 @@ export declare const SuiTransactionBlockResponse: import("superstruct").Struct<{
|
|
|
3380
3380
|
sequenceNumber: import("superstruct").Struct<number, null>;
|
|
3381
3381
|
}>>;
|
|
3382
3382
|
gasUsed: import("superstruct").Struct<{
|
|
3383
|
+
storageRebate: string;
|
|
3383
3384
|
computationCost: string;
|
|
3384
3385
|
storageCost: string;
|
|
3385
|
-
storageRebate: string;
|
|
3386
3386
|
nonRefundableStorageFee: string;
|
|
3387
3387
|
}, {
|
|
3388
3388
|
computationCost: import("superstruct").Struct<string, null>;
|
|
@@ -3651,27 +3651,27 @@ export declare const SuiTransactionBlockResponse: import("superstruct").Struct<{
|
|
|
3651
3651
|
}>;
|
|
3652
3652
|
events: import("superstruct").Struct<{
|
|
3653
3653
|
type: string;
|
|
3654
|
+
sender: string;
|
|
3654
3655
|
id: {
|
|
3655
3656
|
txDigest: string;
|
|
3656
3657
|
eventSeq: number;
|
|
3657
3658
|
};
|
|
3658
|
-
sender: string;
|
|
3659
3659
|
packageId: string;
|
|
3660
3660
|
transactionModule: string;
|
|
3661
|
-
parsedJson?: Record<string, any> | undefined;
|
|
3662
3661
|
bcs?: string | undefined;
|
|
3662
|
+
parsedJson?: Record<string, any> | undefined;
|
|
3663
3663
|
timestampMs?: number | undefined;
|
|
3664
3664
|
}[] | undefined, import("superstruct").Struct<{
|
|
3665
3665
|
type: string;
|
|
3666
|
+
sender: string;
|
|
3666
3667
|
id: {
|
|
3667
3668
|
txDigest: string;
|
|
3668
3669
|
eventSeq: number;
|
|
3669
3670
|
};
|
|
3670
|
-
sender: string;
|
|
3671
3671
|
packageId: string;
|
|
3672
3672
|
transactionModule: string;
|
|
3673
|
-
parsedJson?: Record<string, any> | undefined;
|
|
3674
3673
|
bcs?: string | undefined;
|
|
3674
|
+
parsedJson?: Record<string, any> | undefined;
|
|
3675
3675
|
timestampMs?: number | undefined;
|
|
3676
3676
|
}, {
|
|
3677
3677
|
id: import("superstruct").Struct<{
|
|
@@ -3828,7 +3828,6 @@ export declare const SuiTransactionBlockResponse: import("superstruct").Struct<{
|
|
|
3828
3828
|
sender: string;
|
|
3829
3829
|
}, null>>;
|
|
3830
3830
|
balanceChanges: import("superstruct").Struct<{
|
|
3831
|
-
amount: string;
|
|
3832
3831
|
owner: {
|
|
3833
3832
|
AddressOwner: string;
|
|
3834
3833
|
} | {
|
|
@@ -3838,9 +3837,9 @@ export declare const SuiTransactionBlockResponse: import("superstruct").Struct<{
|
|
|
3838
3837
|
initial_shared_version: number;
|
|
3839
3838
|
};
|
|
3840
3839
|
} | "Immutable";
|
|
3840
|
+
amount: string;
|
|
3841
3841
|
coinType: string;
|
|
3842
3842
|
}[] | undefined, import("superstruct").Struct<{
|
|
3843
|
-
amount: string;
|
|
3844
3843
|
owner: {
|
|
3845
3844
|
AddressOwner: string;
|
|
3846
3845
|
} | {
|
|
@@ -3850,6 +3849,7 @@ export declare const SuiTransactionBlockResponse: import("superstruct").Struct<{
|
|
|
3850
3849
|
initial_shared_version: number;
|
|
3851
3850
|
};
|
|
3852
3851
|
} | "Immutable";
|
|
3852
|
+
amount: string;
|
|
3853
3853
|
coinType: string;
|
|
3854
3854
|
}, {
|
|
3855
3855
|
owner: import("superstruct").Struct<{
|
|
@@ -3884,7 +3884,6 @@ export declare type SuiTransactionBlockResponseOptions = Infer<typeof SuiTransac
|
|
|
3884
3884
|
export declare const PaginatedTransactionResponse: import("superstruct").Struct<{
|
|
3885
3885
|
data: {
|
|
3886
3886
|
digest: string;
|
|
3887
|
-
timestampMs?: number | undefined;
|
|
3888
3887
|
transaction?: {
|
|
3889
3888
|
data: {
|
|
3890
3889
|
sender: string;
|
|
@@ -4006,17 +4005,18 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4006
4005
|
};
|
|
4007
4006
|
txSignatures: string[];
|
|
4008
4007
|
} | undefined;
|
|
4008
|
+
timestampMs?: number | undefined;
|
|
4009
4009
|
effects?: {
|
|
4010
|
-
messageVersion: "v1";
|
|
4011
4010
|
status: {
|
|
4012
4011
|
status: "success" | "failure";
|
|
4013
4012
|
error?: string | undefined;
|
|
4014
4013
|
};
|
|
4014
|
+
messageVersion: "v1";
|
|
4015
4015
|
executedEpoch: string;
|
|
4016
4016
|
gasUsed: {
|
|
4017
|
+
storageRebate: string;
|
|
4017
4018
|
computationCost: string;
|
|
4018
4019
|
storageCost: string;
|
|
4019
|
-
storageRebate: string;
|
|
4020
4020
|
nonRefundableStorageFee: string;
|
|
4021
4021
|
};
|
|
4022
4022
|
transactionDigest: string;
|
|
@@ -4113,15 +4113,15 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4113
4113
|
} | undefined;
|
|
4114
4114
|
events?: {
|
|
4115
4115
|
type: string;
|
|
4116
|
+
sender: string;
|
|
4116
4117
|
id: {
|
|
4117
4118
|
txDigest: string;
|
|
4118
4119
|
eventSeq: number;
|
|
4119
4120
|
};
|
|
4120
|
-
sender: string;
|
|
4121
4121
|
packageId: string;
|
|
4122
4122
|
transactionModule: string;
|
|
4123
|
-
parsedJson?: Record<string, any> | undefined;
|
|
4124
4123
|
bcs?: string | undefined;
|
|
4124
|
+
parsedJson?: Record<string, any> | undefined;
|
|
4125
4125
|
timestampMs?: number | undefined;
|
|
4126
4126
|
}[] | undefined;
|
|
4127
4127
|
checkpoint?: number | undefined;
|
|
@@ -4195,7 +4195,6 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4195
4195
|
sender: string;
|
|
4196
4196
|
})[] | undefined;
|
|
4197
4197
|
balanceChanges?: {
|
|
4198
|
-
amount: string;
|
|
4199
4198
|
owner: {
|
|
4200
4199
|
AddressOwner: string;
|
|
4201
4200
|
} | {
|
|
@@ -4205,6 +4204,7 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4205
4204
|
initial_shared_version: number;
|
|
4206
4205
|
};
|
|
4207
4206
|
} | "Immutable";
|
|
4207
|
+
amount: string;
|
|
4208
4208
|
coinType: string;
|
|
4209
4209
|
}[] | undefined;
|
|
4210
4210
|
errors?: string[] | undefined;
|
|
@@ -4214,7 +4214,6 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4214
4214
|
}, {
|
|
4215
4215
|
data: import("superstruct").Struct<{
|
|
4216
4216
|
digest: string;
|
|
4217
|
-
timestampMs?: number | undefined;
|
|
4218
4217
|
transaction?: {
|
|
4219
4218
|
data: {
|
|
4220
4219
|
sender: string;
|
|
@@ -4336,17 +4335,18 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4336
4335
|
};
|
|
4337
4336
|
txSignatures: string[];
|
|
4338
4337
|
} | undefined;
|
|
4338
|
+
timestampMs?: number | undefined;
|
|
4339
4339
|
effects?: {
|
|
4340
|
-
messageVersion: "v1";
|
|
4341
4340
|
status: {
|
|
4342
4341
|
status: "success" | "failure";
|
|
4343
4342
|
error?: string | undefined;
|
|
4344
4343
|
};
|
|
4344
|
+
messageVersion: "v1";
|
|
4345
4345
|
executedEpoch: string;
|
|
4346
4346
|
gasUsed: {
|
|
4347
|
+
storageRebate: string;
|
|
4347
4348
|
computationCost: string;
|
|
4348
4349
|
storageCost: string;
|
|
4349
|
-
storageRebate: string;
|
|
4350
4350
|
nonRefundableStorageFee: string;
|
|
4351
4351
|
};
|
|
4352
4352
|
transactionDigest: string;
|
|
@@ -4443,15 +4443,15 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4443
4443
|
} | undefined;
|
|
4444
4444
|
events?: {
|
|
4445
4445
|
type: string;
|
|
4446
|
+
sender: string;
|
|
4446
4447
|
id: {
|
|
4447
4448
|
txDigest: string;
|
|
4448
4449
|
eventSeq: number;
|
|
4449
4450
|
};
|
|
4450
|
-
sender: string;
|
|
4451
4451
|
packageId: string;
|
|
4452
4452
|
transactionModule: string;
|
|
4453
|
-
parsedJson?: Record<string, any> | undefined;
|
|
4454
4453
|
bcs?: string | undefined;
|
|
4454
|
+
parsedJson?: Record<string, any> | undefined;
|
|
4455
4455
|
timestampMs?: number | undefined;
|
|
4456
4456
|
}[] | undefined;
|
|
4457
4457
|
checkpoint?: number | undefined;
|
|
@@ -4525,7 +4525,6 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4525
4525
|
sender: string;
|
|
4526
4526
|
})[] | undefined;
|
|
4527
4527
|
balanceChanges?: {
|
|
4528
|
-
amount: string;
|
|
4529
4528
|
owner: {
|
|
4530
4529
|
AddressOwner: string;
|
|
4531
4530
|
} | {
|
|
@@ -4535,12 +4534,12 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4535
4534
|
initial_shared_version: number;
|
|
4536
4535
|
};
|
|
4537
4536
|
} | "Immutable";
|
|
4537
|
+
amount: string;
|
|
4538
4538
|
coinType: string;
|
|
4539
4539
|
}[] | undefined;
|
|
4540
4540
|
errors?: string[] | undefined;
|
|
4541
4541
|
}[], import("superstruct").Struct<{
|
|
4542
4542
|
digest: string;
|
|
4543
|
-
timestampMs?: number | undefined;
|
|
4544
4543
|
transaction?: {
|
|
4545
4544
|
data: {
|
|
4546
4545
|
sender: string;
|
|
@@ -4662,17 +4661,18 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4662
4661
|
};
|
|
4663
4662
|
txSignatures: string[];
|
|
4664
4663
|
} | undefined;
|
|
4664
|
+
timestampMs?: number | undefined;
|
|
4665
4665
|
effects?: {
|
|
4666
|
-
messageVersion: "v1";
|
|
4667
4666
|
status: {
|
|
4668
4667
|
status: "success" | "failure";
|
|
4669
4668
|
error?: string | undefined;
|
|
4670
4669
|
};
|
|
4670
|
+
messageVersion: "v1";
|
|
4671
4671
|
executedEpoch: string;
|
|
4672
4672
|
gasUsed: {
|
|
4673
|
+
storageRebate: string;
|
|
4673
4674
|
computationCost: string;
|
|
4674
4675
|
storageCost: string;
|
|
4675
|
-
storageRebate: string;
|
|
4676
4676
|
nonRefundableStorageFee: string;
|
|
4677
4677
|
};
|
|
4678
4678
|
transactionDigest: string;
|
|
@@ -4769,15 +4769,15 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4769
4769
|
} | undefined;
|
|
4770
4770
|
events?: {
|
|
4771
4771
|
type: string;
|
|
4772
|
+
sender: string;
|
|
4772
4773
|
id: {
|
|
4773
4774
|
txDigest: string;
|
|
4774
4775
|
eventSeq: number;
|
|
4775
4776
|
};
|
|
4776
|
-
sender: string;
|
|
4777
4777
|
packageId: string;
|
|
4778
4778
|
transactionModule: string;
|
|
4779
|
-
parsedJson?: Record<string, any> | undefined;
|
|
4780
4779
|
bcs?: string | undefined;
|
|
4780
|
+
parsedJson?: Record<string, any> | undefined;
|
|
4781
4781
|
timestampMs?: number | undefined;
|
|
4782
4782
|
}[] | undefined;
|
|
4783
4783
|
checkpoint?: number | undefined;
|
|
@@ -4851,7 +4851,6 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4851
4851
|
sender: string;
|
|
4852
4852
|
})[] | undefined;
|
|
4853
4853
|
balanceChanges?: {
|
|
4854
|
-
amount: string;
|
|
4855
4854
|
owner: {
|
|
4856
4855
|
AddressOwner: string;
|
|
4857
4856
|
} | {
|
|
@@ -4861,6 +4860,7 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
4861
4860
|
initial_shared_version: number;
|
|
4862
4861
|
};
|
|
4863
4862
|
} | "Immutable";
|
|
4863
|
+
amount: string;
|
|
4864
4864
|
coinType: string;
|
|
4865
4865
|
}[] | undefined;
|
|
4866
4866
|
errors?: string[] | undefined;
|
|
@@ -5242,16 +5242,16 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
5242
5242
|
txSignatures: import("superstruct").Struct<string[], import("superstruct").Struct<string, null>>;
|
|
5243
5243
|
}>;
|
|
5244
5244
|
effects: import("superstruct").Struct<{
|
|
5245
|
-
messageVersion: "v1";
|
|
5246
5245
|
status: {
|
|
5247
5246
|
status: "success" | "failure";
|
|
5248
5247
|
error?: string | undefined;
|
|
5249
5248
|
};
|
|
5249
|
+
messageVersion: "v1";
|
|
5250
5250
|
executedEpoch: string;
|
|
5251
5251
|
gasUsed: {
|
|
5252
|
+
storageRebate: string;
|
|
5252
5253
|
computationCost: string;
|
|
5253
5254
|
storageCost: string;
|
|
5254
|
-
storageRebate: string;
|
|
5255
5255
|
nonRefundableStorageFee: string;
|
|
5256
5256
|
};
|
|
5257
5257
|
transactionDigest: string;
|
|
@@ -5369,9 +5369,9 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
5369
5369
|
sequenceNumber: import("superstruct").Struct<number, null>;
|
|
5370
5370
|
}>>;
|
|
5371
5371
|
gasUsed: import("superstruct").Struct<{
|
|
5372
|
+
storageRebate: string;
|
|
5372
5373
|
computationCost: string;
|
|
5373
5374
|
storageCost: string;
|
|
5374
|
-
storageRebate: string;
|
|
5375
5375
|
nonRefundableStorageFee: string;
|
|
5376
5376
|
}, {
|
|
5377
5377
|
computationCost: import("superstruct").Struct<string, null>;
|
|
@@ -5640,27 +5640,27 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
5640
5640
|
}>;
|
|
5641
5641
|
events: import("superstruct").Struct<{
|
|
5642
5642
|
type: string;
|
|
5643
|
+
sender: string;
|
|
5643
5644
|
id: {
|
|
5644
5645
|
txDigest: string;
|
|
5645
5646
|
eventSeq: number;
|
|
5646
5647
|
};
|
|
5647
|
-
sender: string;
|
|
5648
5648
|
packageId: string;
|
|
5649
5649
|
transactionModule: string;
|
|
5650
|
-
parsedJson?: Record<string, any> | undefined;
|
|
5651
5650
|
bcs?: string | undefined;
|
|
5651
|
+
parsedJson?: Record<string, any> | undefined;
|
|
5652
5652
|
timestampMs?: number | undefined;
|
|
5653
5653
|
}[] | undefined, import("superstruct").Struct<{
|
|
5654
5654
|
type: string;
|
|
5655
|
+
sender: string;
|
|
5655
5656
|
id: {
|
|
5656
5657
|
txDigest: string;
|
|
5657
5658
|
eventSeq: number;
|
|
5658
5659
|
};
|
|
5659
|
-
sender: string;
|
|
5660
5660
|
packageId: string;
|
|
5661
5661
|
transactionModule: string;
|
|
5662
|
-
parsedJson?: Record<string, any> | undefined;
|
|
5663
5662
|
bcs?: string | undefined;
|
|
5663
|
+
parsedJson?: Record<string, any> | undefined;
|
|
5664
5664
|
timestampMs?: number | undefined;
|
|
5665
5665
|
}, {
|
|
5666
5666
|
id: import("superstruct").Struct<{
|
|
@@ -5817,7 +5817,6 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
5817
5817
|
sender: string;
|
|
5818
5818
|
}, null>>;
|
|
5819
5819
|
balanceChanges: import("superstruct").Struct<{
|
|
5820
|
-
amount: string;
|
|
5821
5820
|
owner: {
|
|
5822
5821
|
AddressOwner: string;
|
|
5823
5822
|
} | {
|
|
@@ -5827,9 +5826,9 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
5827
5826
|
initial_shared_version: number;
|
|
5828
5827
|
};
|
|
5829
5828
|
} | "Immutable";
|
|
5829
|
+
amount: string;
|
|
5830
5830
|
coinType: string;
|
|
5831
5831
|
}[] | undefined, import("superstruct").Struct<{
|
|
5832
|
-
amount: string;
|
|
5833
5832
|
owner: {
|
|
5834
5833
|
AddressOwner: string;
|
|
5835
5834
|
} | {
|
|
@@ -5839,6 +5838,7 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
5839
5838
|
initial_shared_version: number;
|
|
5840
5839
|
};
|
|
5841
5840
|
} | "Immutable";
|
|
5841
|
+
amount: string;
|
|
5842
5842
|
coinType: string;
|
|
5843
5843
|
}, {
|
|
5844
5844
|
owner: import("superstruct").Struct<{
|
|
@@ -5861,16 +5861,16 @@ export declare const PaginatedTransactionResponse: import("superstruct").Struct<
|
|
|
5861
5861
|
export declare type PaginatedTransactionResponse = Infer<typeof PaginatedTransactionResponse>;
|
|
5862
5862
|
export declare const DryRunTransactionBlockResponse: import("superstruct").Struct<{
|
|
5863
5863
|
effects: {
|
|
5864
|
-
messageVersion: "v1";
|
|
5865
5864
|
status: {
|
|
5866
5865
|
status: "success" | "failure";
|
|
5867
5866
|
error?: string | undefined;
|
|
5868
5867
|
};
|
|
5868
|
+
messageVersion: "v1";
|
|
5869
5869
|
executedEpoch: string;
|
|
5870
5870
|
gasUsed: {
|
|
5871
|
+
storageRebate: string;
|
|
5871
5872
|
computationCost: string;
|
|
5872
5873
|
storageCost: string;
|
|
5873
|
-
storageRebate: string;
|
|
5874
5874
|
nonRefundableStorageFee: string;
|
|
5875
5875
|
};
|
|
5876
5876
|
transactionDigest: string;
|
|
@@ -5967,15 +5967,15 @@ export declare const DryRunTransactionBlockResponse: import("superstruct").Struc
|
|
|
5967
5967
|
};
|
|
5968
5968
|
events: {
|
|
5969
5969
|
type: string;
|
|
5970
|
+
sender: string;
|
|
5970
5971
|
id: {
|
|
5971
5972
|
txDigest: string;
|
|
5972
5973
|
eventSeq: number;
|
|
5973
5974
|
};
|
|
5974
|
-
sender: string;
|
|
5975
5975
|
packageId: string;
|
|
5976
5976
|
transactionModule: string;
|
|
5977
|
-
parsedJson?: Record<string, any> | undefined;
|
|
5978
5977
|
bcs?: string | undefined;
|
|
5978
|
+
parsedJson?: Record<string, any> | undefined;
|
|
5979
5979
|
timestampMs?: number | undefined;
|
|
5980
5980
|
}[];
|
|
5981
5981
|
objectChanges: ({
|
|
@@ -6047,7 +6047,6 @@ export declare const DryRunTransactionBlockResponse: import("superstruct").Struc
|
|
|
6047
6047
|
sender: string;
|
|
6048
6048
|
})[];
|
|
6049
6049
|
balanceChanges: {
|
|
6050
|
-
amount: string;
|
|
6051
6050
|
owner: {
|
|
6052
6051
|
AddressOwner: string;
|
|
6053
6052
|
} | {
|
|
@@ -6057,20 +6056,21 @@ export declare const DryRunTransactionBlockResponse: import("superstruct").Struc
|
|
|
6057
6056
|
initial_shared_version: number;
|
|
6058
6057
|
};
|
|
6059
6058
|
} | "Immutable";
|
|
6059
|
+
amount: string;
|
|
6060
6060
|
coinType: string;
|
|
6061
6061
|
}[];
|
|
6062
6062
|
}, {
|
|
6063
6063
|
effects: import("superstruct").Struct<{
|
|
6064
|
-
messageVersion: "v1";
|
|
6065
6064
|
status: {
|
|
6066
6065
|
status: "success" | "failure";
|
|
6067
6066
|
error?: string | undefined;
|
|
6068
6067
|
};
|
|
6068
|
+
messageVersion: "v1";
|
|
6069
6069
|
executedEpoch: string;
|
|
6070
6070
|
gasUsed: {
|
|
6071
|
+
storageRebate: string;
|
|
6071
6072
|
computationCost: string;
|
|
6072
6073
|
storageCost: string;
|
|
6073
|
-
storageRebate: string;
|
|
6074
6074
|
nonRefundableStorageFee: string;
|
|
6075
6075
|
};
|
|
6076
6076
|
transactionDigest: string;
|
|
@@ -6188,9 +6188,9 @@ export declare const DryRunTransactionBlockResponse: import("superstruct").Struc
|
|
|
6188
6188
|
sequenceNumber: import("superstruct").Struct<number, null>;
|
|
6189
6189
|
}>>;
|
|
6190
6190
|
gasUsed: import("superstruct").Struct<{
|
|
6191
|
+
storageRebate: string;
|
|
6191
6192
|
computationCost: string;
|
|
6192
6193
|
storageCost: string;
|
|
6193
|
-
storageRebate: string;
|
|
6194
6194
|
nonRefundableStorageFee: string;
|
|
6195
6195
|
}, {
|
|
6196
6196
|
computationCost: import("superstruct").Struct<string, null>;
|
|
@@ -6459,27 +6459,27 @@ export declare const DryRunTransactionBlockResponse: import("superstruct").Struc
|
|
|
6459
6459
|
}>;
|
|
6460
6460
|
events: import("superstruct").Struct<{
|
|
6461
6461
|
type: string;
|
|
6462
|
+
sender: string;
|
|
6462
6463
|
id: {
|
|
6463
6464
|
txDigest: string;
|
|
6464
6465
|
eventSeq: number;
|
|
6465
6466
|
};
|
|
6466
|
-
sender: string;
|
|
6467
6467
|
packageId: string;
|
|
6468
6468
|
transactionModule: string;
|
|
6469
|
-
parsedJson?: Record<string, any> | undefined;
|
|
6470
6469
|
bcs?: string | undefined;
|
|
6470
|
+
parsedJson?: Record<string, any> | undefined;
|
|
6471
6471
|
timestampMs?: number | undefined;
|
|
6472
6472
|
}[], import("superstruct").Struct<{
|
|
6473
6473
|
type: string;
|
|
6474
|
+
sender: string;
|
|
6474
6475
|
id: {
|
|
6475
6476
|
txDigest: string;
|
|
6476
6477
|
eventSeq: number;
|
|
6477
6478
|
};
|
|
6478
|
-
sender: string;
|
|
6479
6479
|
packageId: string;
|
|
6480
6480
|
transactionModule: string;
|
|
6481
|
-
parsedJson?: Record<string, any> | undefined;
|
|
6482
6481
|
bcs?: string | undefined;
|
|
6482
|
+
parsedJson?: Record<string, any> | undefined;
|
|
6483
6483
|
timestampMs?: number | undefined;
|
|
6484
6484
|
}, {
|
|
6485
6485
|
id: import("superstruct").Struct<{
|
|
@@ -6633,7 +6633,6 @@ export declare const DryRunTransactionBlockResponse: import("superstruct").Struc
|
|
|
6633
6633
|
sender: string;
|
|
6634
6634
|
}, null>>;
|
|
6635
6635
|
balanceChanges: import("superstruct").Struct<{
|
|
6636
|
-
amount: string;
|
|
6637
6636
|
owner: {
|
|
6638
6637
|
AddressOwner: string;
|
|
6639
6638
|
} | {
|
|
@@ -6643,9 +6642,9 @@ export declare const DryRunTransactionBlockResponse: import("superstruct").Struc
|
|
|
6643
6642
|
initial_shared_version: number;
|
|
6644
6643
|
};
|
|
6645
6644
|
} | "Immutable";
|
|
6645
|
+
amount: string;
|
|
6646
6646
|
coinType: string;
|
|
6647
6647
|
}[], import("superstruct").Struct<{
|
|
6648
|
-
amount: string;
|
|
6649
6648
|
owner: {
|
|
6650
6649
|
AddressOwner: string;
|
|
6651
6650
|
} | {
|
|
@@ -6655,6 +6654,7 @@ export declare const DryRunTransactionBlockResponse: import("superstruct").Struc
|
|
|
6655
6654
|
initial_shared_version: number;
|
|
6656
6655
|
};
|
|
6657
6656
|
} | "Immutable";
|
|
6657
|
+
amount: string;
|
|
6658
6658
|
coinType: string;
|
|
6659
6659
|
}, {
|
|
6660
6660
|
owner: import("superstruct").Struct<{
|