@waves/node-api-js 1.2.8 → 1.3.0
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/cjs/api-node/assets/index.d.ts +1 -0
- package/cjs/api-node/assets/index.js +6 -1
- package/cjs/api-node/assets/index.js.map +1 -1
- package/cjs/api-node/debug/index.js +1 -1
- package/cjs/api-node/debug/index.js.map +1 -1
- package/cjs/api-node/utils/index.d.ts +11 -0
- package/cjs/api-node/utils/index.js +19 -1
- package/cjs/api-node/utils/index.js.map +1 -1
- package/cjs/create.d.ts +365 -21
- package/cjs/tools/adresses/getAssetIdListByTx.d.ts +2 -3
- package/cjs/tools/adresses/getAssetIdListByTx.js +1 -0
- package/cjs/tools/adresses/getAssetIdListByTx.js.map +1 -1
- package/cjs/tools/adresses/getAssetsByTransaction.d.ts +2 -3
- package/cjs/tools/adresses/getAssetsByTransaction.js.map +1 -1
- package/cjs/tools/transactions/transactions.d.ts +0 -60
- package/cjs/tools/transactions/transactions.js +0 -117
- package/cjs/tools/transactions/transactions.js.map +1 -1
- package/dist/0.node-api.js +13 -1
- package/dist/node-api.js +28 -4
- package/dist/node-api.min.js +5 -5
- package/dist/node-api.min.js.LICENSE.txt +17 -0
- package/dist/node_fs-node_path.node-api.js +23 -0
- package/dist/vendors-node_modules_node-fetch_src_utils_multipart-parser_js.node-api.js +599 -0
- package/es/api-node/assets/index.d.ts +1 -0
- package/es/api-node/assets/index.js +4 -0
- package/es/api-node/assets/index.js.map +1 -1
- package/es/api-node/debug/index.js +1 -1
- package/es/api-node/debug/index.js.map +1 -1
- package/es/api-node/utils/index.d.ts +11 -0
- package/es/api-node/utils/index.js +17 -0
- package/es/api-node/utils/index.js.map +1 -1
- package/es/create.d.ts +365 -21
- package/es/tools/adresses/getAssetIdListByTx.d.ts +2 -3
- package/es/tools/adresses/getAssetIdListByTx.js +1 -0
- package/es/tools/adresses/getAssetIdListByTx.js.map +1 -1
- package/es/tools/adresses/getAssetsByTransaction.d.ts +2 -3
- package/es/tools/adresses/getAssetsByTransaction.js.map +1 -1
- package/es/tools/transactions/transactions.d.ts +0 -60
- package/es/tools/transactions/transactions.js +1 -99
- package/es/tools/transactions/transactions.js.map +1 -1
- package/package.json +2 -2
|
@@ -31,6 +31,7 @@ interface IFetchAssetsNftParams {
|
|
|
31
31
|
export declare function fetchAssetsNft(base: string, { address, limit, after }: IFetchAssetsNftParams, options?: RequestInit): Promise<Array<TAssetDetails>>;
|
|
32
32
|
export declare function fetchAssetsBalance(base: string, address: string, options?: RequestInit): Promise<TAssetsBalance>;
|
|
33
33
|
export declare function fetchBalanceAddressAssetId(base: string, address: string, assetId: string, options?: RequestInit): Promise<IBalanceAddressAssetId>;
|
|
34
|
+
export declare function convertEthAssetId(base: string, assetId: string): Promise<string>;
|
|
34
35
|
export interface IAssetDistribution {
|
|
35
36
|
hasNext: boolean;
|
|
36
37
|
lastItem: string | null;
|
|
@@ -50,10 +50,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
50
50
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
51
51
|
};
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
-
exports.fetchBalanceAddressAssetId = exports.fetchAssetsBalance = exports.fetchAssetsNft = exports.fetchAssetsAddressLimit = exports.fetchAssetDistribution = exports.fetchAssetsDetails = exports.fetchDetails = void 0;
|
|
53
|
+
exports.convertEthAssetId = exports.fetchBalanceAddressAssetId = exports.fetchAssetsBalance = exports.fetchAssetsNft = exports.fetchAssetsAddressLimit = exports.fetchAssetDistribution = exports.fetchAssetsDetails = exports.fetchDetails = void 0;
|
|
54
54
|
var ts_types_1 = require("@waves/ts-types");
|
|
55
55
|
var request_1 = __importDefault(require("../../tools/request"));
|
|
56
56
|
var utils_1 = require("../../tools/utils");
|
|
57
|
+
var query_1 = __importDefault(require("../../tools/query"));
|
|
57
58
|
function fetchDetails(base, assetId, options) {
|
|
58
59
|
if (options === void 0) { options = Object.create(null); }
|
|
59
60
|
var isOnce = !Array.isArray(assetId);
|
|
@@ -164,4 +165,8 @@ function fetchBalanceAddressAssetId(base, address, assetId, options) {
|
|
|
164
165
|
return request_1.default({ base: base, url: "/assets/balance/" + address + "/" + assetId, options: options });
|
|
165
166
|
}
|
|
166
167
|
exports.fetchBalanceAddressAssetId = fetchBalanceAddressAssetId;
|
|
168
|
+
function convertEthAssetId(base, assetId) {
|
|
169
|
+
return request_1.default({ base: base, url: "/eth/assets" + query_1.default({ id: assetId }) }).then(function (assets) { return assets[0].assetId; });
|
|
170
|
+
}
|
|
171
|
+
exports.convertEthAssetId = convertEthAssetId;
|
|
167
172
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api-node/assets/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,4CAAmH;AACnH,gEAA0C;AAC1C,2CAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api-node/assets/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,4CAAmH;AACnH,gEAA0C;AAC1C,2CAA0C;AAC1C,4DAAsC;AAQtC,SAAgB,YAAY,CAAmC,IAAY,EAAE,OAAU,EAAE,OAA0C;IAA1C,wBAAA,EAAA,UAAuB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;IAC/H,IAAM,MAAM,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACvC,OAAO,OAAO,CAAC,GAAG,CAAC,eAAO,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,UAAA,EAAE,IAAI,OAAA,iBAAO,CAAgB;QACjE,IAAI,MAAA;QACJ,GAAG,EAAE,qBAAmB,EAAI;QAC5B,OAAO,SAAA;KACV,CA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CAAC,IAAY,EAAE,OAAe,EAAE,OAAe,EAAE,OAA0C;IAA1C,wBAAA,EAAA,UAAuB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;IACjI,OAAO,iBAAO,CAAC,EAAC,IAAI,MAAA,EAAE,GAAG,EAAE,qBAAmB,OAAO,SAAI,OAAS,EAAE,OAAO,SAAA,EAAC,CAAC,CAAC;AAClF,CAAC;AAFD,gEAEC;AAED,SAAgB,iBAAiB,CAAC,IAAY,EAAE,OAAe;IAC3D,OAAO,iBAAO,CAAkB,EAAC,IAAI,MAAA,EAAE,GAAG,EAAE,gBAAc,eAAK,CAAC,EAAC,EAAE,EAAE,OAAO,EAAC,CAAG,EAAC,CAAC,CAAC,IAAI,CAAC,UAAA,MAAM,IAAI,OAAA,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,EAAjB,CAAiB,CAAC,CAAC;AACzH,CAAC;AAFD,8CAEC"}
|
|
@@ -64,7 +64,7 @@ function fetchStateChangesByTxId(base, txId, options) {
|
|
|
64
64
|
if (options === void 0) { options = Object.create(null); }
|
|
65
65
|
return request_1.default({
|
|
66
66
|
base: base,
|
|
67
|
-
url: "/
|
|
67
|
+
url: "/transactions/info/" + txId,
|
|
68
68
|
options: options
|
|
69
69
|
});
|
|
70
70
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api-node/debug/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAA2D;AAE3D,4DAAsC;AAGtC;;;;GAIG;AACH,SAAgB,mBAAmB,CAAC,IAAY,EAAE,OAAe,EAAE,OAA0C;IAA1C,wBAAA,EAAA,UAAuB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;IACzG,OAAO,iBAAO,CAAC;QACX,IAAI,MAAA;QACJ,GAAG,EAAE,6BAA2B,OAAS;QACzC,OAAO,SAAA;KACV,CAAC,CAAC;AACP,CAAC;AAND,kDAMC;AAmED;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EAAE,kBAAkB;SACrC;QACD,IAAI,EAAE,WAAW;KACpB,CAAC,CAAC,IAAI,CAAC,uBAAa,CAA+B,CAAA;AACxD,CAAC;AARD,sCAQC;AA2DD,sBAAsB;AACtB,iCAAiC;AACjC,uBAAuB;AACvB,iCAAiC;AACjC,kCAAkC;AAClC,uBAAuB;AACvB,yBAAyB;AACzB,yBAAyB;AACzB,kBAAkB;AAClB,uBAAuB;AACvB,8BAA8B;AAC9B,wBAAwB;AACxB,oBAAoB;AACpB,mBAAmB"}
|
|
@@ -22,6 +22,11 @@ export declare function fetchCompileWithImports(base: string, body: ICompileWith
|
|
|
22
22
|
* Estimates compiled code in Base64 representation
|
|
23
23
|
*/
|
|
24
24
|
export declare function fetchEstimate(base: string, body: string): Promise<IEstimate>;
|
|
25
|
+
/**
|
|
26
|
+
* POST /utils/script/evaluate
|
|
27
|
+
* Evaluates the provided expression, taking into account the deployed dApp contract
|
|
28
|
+
*/
|
|
29
|
+
export declare function fetchEvaluate(base: string, address: string, expr: string): Promise<IEvaluate>;
|
|
25
30
|
/**
|
|
26
31
|
* POST /utils/transactionSerialize
|
|
27
32
|
* Serialize transaction
|
|
@@ -77,6 +82,12 @@ export interface ICompileCode {
|
|
|
77
82
|
export interface IEstimate extends ICompileCode {
|
|
78
83
|
scriptText: string;
|
|
79
84
|
}
|
|
85
|
+
export interface IEvaluate {
|
|
86
|
+
address: string;
|
|
87
|
+
expr: string;
|
|
88
|
+
result: object;
|
|
89
|
+
complexity: number;
|
|
90
|
+
}
|
|
80
91
|
interface ICompileWithImportsBody {
|
|
81
92
|
script: string;
|
|
82
93
|
imports: object;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.fetchNodeTime = exports.fetchSignPrivateKey = exports.fetchScriptDecompile = exports.fetchScriptMeta = exports.fetchHashFast = exports.fetchHashSecure = exports.fetchTransactionSerialize = exports.fetchEstimate = exports.fetchCompileWithImports = exports.fetchCompileCode = exports.fetchSeed = void 0;
|
|
6
|
+
exports.fetchNodeTime = exports.fetchSignPrivateKey = exports.fetchScriptDecompile = exports.fetchScriptMeta = exports.fetchHashFast = exports.fetchHashSecure = exports.fetchTransactionSerialize = exports.fetchEvaluate = exports.fetchEstimate = exports.fetchCompileWithImports = exports.fetchCompileCode = exports.fetchSeed = void 0;
|
|
7
7
|
var request_1 = __importDefault(require("../../tools/request"));
|
|
8
8
|
var stringify_1 = __importDefault(require("../../tools/stringify"));
|
|
9
9
|
/**
|
|
@@ -71,6 +71,24 @@ function fetchEstimate(base, body) {
|
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
exports.fetchEstimate = fetchEstimate;
|
|
74
|
+
/**
|
|
75
|
+
* POST /utils/script/evaluate
|
|
76
|
+
* Evaluates the provided expression, taking into account the deployed dApp contract
|
|
77
|
+
*/
|
|
78
|
+
function fetchEvaluate(base, address, expr) {
|
|
79
|
+
return request_1.default({
|
|
80
|
+
base: base,
|
|
81
|
+
url: "/utils/script/evaluate/" + address,
|
|
82
|
+
options: {
|
|
83
|
+
method: 'POST',
|
|
84
|
+
body: JSON.stringify({ expr: expr }),
|
|
85
|
+
headers: {
|
|
86
|
+
'Content-Type': 'application/json'
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
exports.fetchEvaluate = fetchEvaluate;
|
|
74
92
|
/**
|
|
75
93
|
* POST /utils/transactionSerialize
|
|
76
94
|
* Serialize transaction
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api-node/utils/index.ts"],"names":[],"mappings":";;;;;;AAAA,gEAA0C;AAC1C,oEAA8C;AAI9C;;;GAGG;AACH,SAAgB,SAAS,CAAC,IAAY,EAAE,MAAe;IACnD,OAAO,i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AE;gBACL,cAAc,EAAE,kBAAkB;aACrC;SACJ;KACJ,CAAC,CAAA;AACN,CAAC;AAZD,kDAYC;AAED;;;GAGG;AACH,SAAgB,aAAa,CAAC,IAAY;IACtC,OAAO,iBAAO,CAAC;QACX,IAAI,MAAA;QACJ,GAAG,EAAE,aAAa;KACrB,CAAC,CAAA;AACN,CAAC;AALD,sCAKC"}
|
package/cjs/create.d.ts
CHANGED
|
@@ -235,11 +235,6 @@ export declare function create(base: string): {
|
|
|
235
235
|
} & import("@waves/ts-types").WithId & {
|
|
236
236
|
sender: string;
|
|
237
237
|
height: number;
|
|
238
|
-
}) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 18> & {
|
|
239
|
-
version: 1;
|
|
240
|
-
} & import("@waves/ts-types").WithId & {
|
|
241
|
-
sender: string;
|
|
242
|
-
height: number;
|
|
243
238
|
}) | ((import("@waves/ts-types").ExchangeTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 7> & {
|
|
244
239
|
version: 1;
|
|
245
240
|
} & import("@waves/ts-types").WithId & {
|
|
@@ -440,11 +435,6 @@ export declare function create(base: string): {
|
|
|
440
435
|
} & import("@waves/ts-types").WithId & {
|
|
441
436
|
sender: string;
|
|
442
437
|
height: number;
|
|
443
|
-
}) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 18> & {
|
|
444
|
-
version: 1;
|
|
445
|
-
} & import("@waves/ts-types").WithId & {
|
|
446
|
-
sender: string;
|
|
447
|
-
height: number;
|
|
448
438
|
}))[], options?: import("./tools/transactions/wait").IWaitOptions | undefined) => Promise<(import("@waves/ts-types").ExchangeTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 7> & {
|
|
449
439
|
version: 1;
|
|
450
440
|
} & import("@waves/ts-types").WithId & {
|
|
@@ -645,11 +635,6 @@ export declare function create(base: string): {
|
|
|
645
635
|
} & import("@waves/ts-types").WithId & {
|
|
646
636
|
sender: string;
|
|
647
637
|
height: number;
|
|
648
|
-
}) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 18> & {
|
|
649
|
-
version: 1;
|
|
650
|
-
} & import("@waves/ts-types").WithId & {
|
|
651
|
-
sender: string;
|
|
652
|
-
height: number;
|
|
653
638
|
}) | ((import("@waves/ts-types").ExchangeTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 7> & {
|
|
654
639
|
version: 1;
|
|
655
640
|
} & import("@waves/ts-types").WithId & {
|
|
@@ -850,11 +835,6 @@ export declare function create(base: string): {
|
|
|
850
835
|
} & import("@waves/ts-types").WithId & {
|
|
851
836
|
sender: string;
|
|
852
837
|
height: number;
|
|
853
|
-
}) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 18> & {
|
|
854
|
-
version: 1;
|
|
855
|
-
} & import("@waves/ts-types").WithId & {
|
|
856
|
-
sender: string;
|
|
857
|
-
height: number;
|
|
858
838
|
}))[]>;
|
|
859
839
|
};
|
|
860
840
|
blocks: {
|
|
@@ -868,7 +848,371 @@ export declare function create(base: string): {
|
|
|
868
848
|
chainId: number;
|
|
869
849
|
timestamp: number;
|
|
870
850
|
fee: import("@waves/ts-types").Long;
|
|
871
|
-
}, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").PaymentTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 2>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").UpdateAssetInfoTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 17>, 1> | import("@waves/ts-types").
|
|
851
|
+
}, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").PaymentTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 2>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").UpdateAssetInfoTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 17>, 1> | import("@waves/ts-types").GenesisTransactionFromNode<import("@waves/ts-types").Long> | import("@waves/ts-types").PaymentTransactionFromNode<import("@waves/ts-types").Long> | (import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3> & {
|
|
852
|
+
version: 1;
|
|
853
|
+
} & {
|
|
854
|
+
proofs: string[];
|
|
855
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
856
|
+
sender: string;
|
|
857
|
+
height: number;
|
|
858
|
+
} & {
|
|
859
|
+
feeAssetId: null;
|
|
860
|
+
assetId: string;
|
|
861
|
+
}) | (import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3> & {
|
|
862
|
+
version: 2;
|
|
863
|
+
} & {
|
|
864
|
+
proofs: string[];
|
|
865
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
866
|
+
sender: string;
|
|
867
|
+
height: number;
|
|
868
|
+
} & {
|
|
869
|
+
feeAssetId: null;
|
|
870
|
+
assetId: string;
|
|
871
|
+
}) | (import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3> & {
|
|
872
|
+
version: 3;
|
|
873
|
+
} & {
|
|
874
|
+
proofs: string[];
|
|
875
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
876
|
+
sender: string;
|
|
877
|
+
height: number;
|
|
878
|
+
} & {
|
|
879
|
+
feeAssetId: null;
|
|
880
|
+
assetId: string;
|
|
881
|
+
}) | (import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4> & {
|
|
882
|
+
version: 1;
|
|
883
|
+
} & {
|
|
884
|
+
proofs: string[];
|
|
885
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
886
|
+
sender: string;
|
|
887
|
+
height: number;
|
|
888
|
+
}) | (import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4> & {
|
|
889
|
+
version: 2;
|
|
890
|
+
} & {
|
|
891
|
+
proofs: string[];
|
|
892
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
893
|
+
sender: string;
|
|
894
|
+
height: number;
|
|
895
|
+
}) | (import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4> & {
|
|
896
|
+
version: 3;
|
|
897
|
+
} & {
|
|
898
|
+
proofs: string[];
|
|
899
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
900
|
+
sender: string;
|
|
901
|
+
height: number;
|
|
902
|
+
}) | (import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5> & {
|
|
903
|
+
version: 1;
|
|
904
|
+
} & {
|
|
905
|
+
proofs: string[];
|
|
906
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
907
|
+
sender: string;
|
|
908
|
+
height: number;
|
|
909
|
+
} & {
|
|
910
|
+
feeAssetId: null;
|
|
911
|
+
}) | (import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5> & {
|
|
912
|
+
version: 2;
|
|
913
|
+
} & {
|
|
914
|
+
proofs: string[];
|
|
915
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
916
|
+
sender: string;
|
|
917
|
+
height: number;
|
|
918
|
+
} & {
|
|
919
|
+
feeAssetId: null;
|
|
920
|
+
}) | (import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5> & {
|
|
921
|
+
version: 3;
|
|
922
|
+
} & {
|
|
923
|
+
proofs: string[];
|
|
924
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
925
|
+
sender: string;
|
|
926
|
+
height: number;
|
|
927
|
+
} & {
|
|
928
|
+
feeAssetId: null;
|
|
929
|
+
}) | (import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6> & {
|
|
930
|
+
version: 1;
|
|
931
|
+
} & {
|
|
932
|
+
proofs: string[];
|
|
933
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
934
|
+
sender: string;
|
|
935
|
+
height: number;
|
|
936
|
+
} & {
|
|
937
|
+
feeAssetId: null;
|
|
938
|
+
}) | (import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6> & {
|
|
939
|
+
version: 2;
|
|
940
|
+
} & {
|
|
941
|
+
proofs: string[];
|
|
942
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
943
|
+
sender: string;
|
|
944
|
+
height: number;
|
|
945
|
+
} & {
|
|
946
|
+
feeAssetId: null;
|
|
947
|
+
}) | (import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6> & {
|
|
948
|
+
version: 3;
|
|
949
|
+
} & {
|
|
950
|
+
proofs: string[];
|
|
951
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
952
|
+
sender: string;
|
|
953
|
+
height: number;
|
|
954
|
+
} & {
|
|
955
|
+
feeAssetId: null;
|
|
956
|
+
}) | (import("@waves/ts-types").ExchangeTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 7> & {
|
|
957
|
+
version: 1;
|
|
958
|
+
} & {
|
|
959
|
+
proofs: string[];
|
|
960
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
961
|
+
sender: string;
|
|
962
|
+
height: number;
|
|
963
|
+
} & {
|
|
964
|
+
feeAssetId: null;
|
|
965
|
+
}) | (import("@waves/ts-types").ExchangeTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 7> & {
|
|
966
|
+
version: 2;
|
|
967
|
+
} & {
|
|
968
|
+
proofs: string[];
|
|
969
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
970
|
+
sender: string;
|
|
971
|
+
height: number;
|
|
972
|
+
} & {
|
|
973
|
+
feeAssetId: null;
|
|
974
|
+
}) | (import("@waves/ts-types").ExchangeTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 7> & {
|
|
975
|
+
version: 3;
|
|
976
|
+
} & {
|
|
977
|
+
proofs: string[];
|
|
978
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
979
|
+
sender: string;
|
|
980
|
+
height: number;
|
|
981
|
+
} & {
|
|
982
|
+
feeAssetId: null;
|
|
983
|
+
}) | (import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8> & {
|
|
984
|
+
version: 1;
|
|
985
|
+
} & {
|
|
986
|
+
proofs: string[];
|
|
987
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
988
|
+
sender: string;
|
|
989
|
+
height: number;
|
|
990
|
+
} & {
|
|
991
|
+
feeAssetId: null;
|
|
992
|
+
status: "canceled" | "active";
|
|
993
|
+
}) | (import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8> & {
|
|
994
|
+
version: 2;
|
|
995
|
+
} & {
|
|
996
|
+
proofs: string[];
|
|
997
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
998
|
+
sender: string;
|
|
999
|
+
height: number;
|
|
1000
|
+
} & {
|
|
1001
|
+
feeAssetId: null;
|
|
1002
|
+
status: "canceled" | "active";
|
|
1003
|
+
}) | (import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8> & {
|
|
1004
|
+
version: 3;
|
|
1005
|
+
} & {
|
|
1006
|
+
proofs: string[];
|
|
1007
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1008
|
+
sender: string;
|
|
1009
|
+
height: number;
|
|
1010
|
+
} & {
|
|
1011
|
+
feeAssetId: null;
|
|
1012
|
+
status: "canceled" | "active";
|
|
1013
|
+
}) | (import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9> & {
|
|
1014
|
+
version: 1;
|
|
1015
|
+
} & {
|
|
1016
|
+
proofs: string[];
|
|
1017
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1018
|
+
sender: string;
|
|
1019
|
+
height: number;
|
|
1020
|
+
} & {
|
|
1021
|
+
feeAssetId: null;
|
|
1022
|
+
} & {
|
|
1023
|
+
lease: {
|
|
1024
|
+
id: string;
|
|
1025
|
+
originTransactionId: string;
|
|
1026
|
+
sender: string;
|
|
1027
|
+
recipient: string;
|
|
1028
|
+
amount: import("@waves/ts-types").Long;
|
|
1029
|
+
height: number;
|
|
1030
|
+
status: "canceled" | "active";
|
|
1031
|
+
cancelHeight: number;
|
|
1032
|
+
cancelTransactionId: string;
|
|
1033
|
+
};
|
|
1034
|
+
}) | (import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9> & {
|
|
1035
|
+
version: 2;
|
|
1036
|
+
} & {
|
|
1037
|
+
proofs: string[];
|
|
1038
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1039
|
+
sender: string;
|
|
1040
|
+
height: number;
|
|
1041
|
+
} & {
|
|
1042
|
+
feeAssetId: null;
|
|
1043
|
+
} & {
|
|
1044
|
+
lease: {
|
|
1045
|
+
id: string;
|
|
1046
|
+
originTransactionId: string;
|
|
1047
|
+
sender: string;
|
|
1048
|
+
recipient: string;
|
|
1049
|
+
amount: import("@waves/ts-types").Long;
|
|
1050
|
+
height: number;
|
|
1051
|
+
status: "canceled" | "active";
|
|
1052
|
+
cancelHeight: number;
|
|
1053
|
+
cancelTransactionId: string;
|
|
1054
|
+
};
|
|
1055
|
+
}) | (import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9> & {
|
|
1056
|
+
version: 3;
|
|
1057
|
+
} & {
|
|
1058
|
+
proofs: string[];
|
|
1059
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1060
|
+
sender: string;
|
|
1061
|
+
height: number;
|
|
1062
|
+
} & {
|
|
1063
|
+
feeAssetId: null;
|
|
1064
|
+
} & {
|
|
1065
|
+
lease: {
|
|
1066
|
+
id: string;
|
|
1067
|
+
originTransactionId: string;
|
|
1068
|
+
sender: string;
|
|
1069
|
+
recipient: string;
|
|
1070
|
+
amount: import("@waves/ts-types").Long;
|
|
1071
|
+
height: number;
|
|
1072
|
+
status: "canceled" | "active";
|
|
1073
|
+
cancelHeight: number;
|
|
1074
|
+
cancelTransactionId: string;
|
|
1075
|
+
};
|
|
1076
|
+
}) | (import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10> & {
|
|
1077
|
+
version: 1;
|
|
1078
|
+
} & {
|
|
1079
|
+
proofs: string[];
|
|
1080
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1081
|
+
sender: string;
|
|
1082
|
+
height: number;
|
|
1083
|
+
} & {
|
|
1084
|
+
feeAssetId: null;
|
|
1085
|
+
}) | (import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10> & {
|
|
1086
|
+
version: 2;
|
|
1087
|
+
} & {
|
|
1088
|
+
proofs: string[];
|
|
1089
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1090
|
+
sender: string;
|
|
1091
|
+
height: number;
|
|
1092
|
+
} & {
|
|
1093
|
+
feeAssetId: null;
|
|
1094
|
+
}) | (import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10> & {
|
|
1095
|
+
version: 3;
|
|
1096
|
+
} & {
|
|
1097
|
+
proofs: string[];
|
|
1098
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1099
|
+
sender: string;
|
|
1100
|
+
height: number;
|
|
1101
|
+
} & {
|
|
1102
|
+
feeAssetId: null;
|
|
1103
|
+
}) | (import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11> & {
|
|
1104
|
+
version: 1;
|
|
1105
|
+
} & {
|
|
1106
|
+
proofs: string[];
|
|
1107
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1108
|
+
sender: string;
|
|
1109
|
+
height: number;
|
|
1110
|
+
} & {
|
|
1111
|
+
feeAssetId: null;
|
|
1112
|
+
totalAmount: import("@waves/ts-types").Long;
|
|
1113
|
+
transferCount: number;
|
|
1114
|
+
}) | (import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11> & {
|
|
1115
|
+
version: 2;
|
|
1116
|
+
} & {
|
|
1117
|
+
proofs: string[];
|
|
1118
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1119
|
+
sender: string;
|
|
1120
|
+
height: number;
|
|
1121
|
+
} & {
|
|
1122
|
+
feeAssetId: null;
|
|
1123
|
+
totalAmount: import("@waves/ts-types").Long;
|
|
1124
|
+
transferCount: number;
|
|
1125
|
+
}) | (import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12> & {
|
|
1126
|
+
version: 1;
|
|
1127
|
+
} & {
|
|
1128
|
+
proofs: string[];
|
|
1129
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1130
|
+
sender: string;
|
|
1131
|
+
height: number;
|
|
1132
|
+
} & {
|
|
1133
|
+
feeAssetId: null;
|
|
1134
|
+
}) | (import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12> & {
|
|
1135
|
+
version: 2;
|
|
1136
|
+
} & {
|
|
1137
|
+
proofs: string[];
|
|
1138
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1139
|
+
sender: string;
|
|
1140
|
+
height: number;
|
|
1141
|
+
} & {
|
|
1142
|
+
feeAssetId: null;
|
|
1143
|
+
}) | (import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13> & {
|
|
1144
|
+
version: 1;
|
|
1145
|
+
} & {
|
|
1146
|
+
proofs: string[];
|
|
1147
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1148
|
+
sender: string;
|
|
1149
|
+
height: number;
|
|
1150
|
+
} & {
|
|
1151
|
+
feeAssetId: null;
|
|
1152
|
+
}) | (import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13> & {
|
|
1153
|
+
version: 2;
|
|
1154
|
+
} & {
|
|
1155
|
+
proofs: string[];
|
|
1156
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1157
|
+
sender: string;
|
|
1158
|
+
height: number;
|
|
1159
|
+
} & {
|
|
1160
|
+
feeAssetId: null;
|
|
1161
|
+
}) | (import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14> & {
|
|
1162
|
+
version: 1;
|
|
1163
|
+
} & {
|
|
1164
|
+
proofs: string[];
|
|
1165
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1166
|
+
sender: string;
|
|
1167
|
+
height: number;
|
|
1168
|
+
} & {
|
|
1169
|
+
feeAssetId: null;
|
|
1170
|
+
}) | (import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14> & {
|
|
1171
|
+
version: 2;
|
|
1172
|
+
} & {
|
|
1173
|
+
proofs: string[];
|
|
1174
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1175
|
+
sender: string;
|
|
1176
|
+
height: number;
|
|
1177
|
+
} & {
|
|
1178
|
+
feeAssetId: null;
|
|
1179
|
+
}) | (import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15> & {
|
|
1180
|
+
version: 1;
|
|
1181
|
+
} & {
|
|
1182
|
+
proofs: string[];
|
|
1183
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1184
|
+
sender: string;
|
|
1185
|
+
height: number;
|
|
1186
|
+
} & {
|
|
1187
|
+
feeAssetId: null;
|
|
1188
|
+
}) | (import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15> & {
|
|
1189
|
+
version: 2;
|
|
1190
|
+
} & {
|
|
1191
|
+
proofs: string[];
|
|
1192
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1193
|
+
sender: string;
|
|
1194
|
+
height: number;
|
|
1195
|
+
} & {
|
|
1196
|
+
feeAssetId: null;
|
|
1197
|
+
}) | (import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16> & {
|
|
1198
|
+
version: 1;
|
|
1199
|
+
} & {
|
|
1200
|
+
proofs: string[];
|
|
1201
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1202
|
+
sender: string;
|
|
1203
|
+
height: number;
|
|
1204
|
+
} & {
|
|
1205
|
+
stateChanges: import("@waves/ts-types").TStateChanges;
|
|
1206
|
+
}) | (import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16> & {
|
|
1207
|
+
version: 2;
|
|
1208
|
+
} & {
|
|
1209
|
+
proofs: string[];
|
|
1210
|
+
} & import("@waves/ts-types").WithId & import("@waves/ts-types").WithApplicationStatus & {
|
|
1211
|
+
sender: string;
|
|
1212
|
+
height: number;
|
|
1213
|
+
} & {
|
|
1214
|
+
stateChanges: import("@waves/ts-types").TStateChanges;
|
|
1215
|
+
}) | import("@waves/ts-types").UpdateAssetInfoTransactionFromNode<import("@waves/ts-types").Long> | import("@waves/ts-types").EthereumTransaction<import("@waves/ts-types").Long> | import("@waves/ts-types").TransactionFromNode<import("@waves/ts-types").Long>[] | Transaction<import("@waves/ts-types").Long>[]) => Promise<Record<string, assetsModule.TAssetDetails<import("@waves/ts-types").Long>>>;
|
|
872
1216
|
getAssetIdListByTx: typeof getAssetIdListByTx;
|
|
873
1217
|
getTransactionsWithAssets: (address: string, limit: number, after?: string | undefined) => Promise<{
|
|
874
1218
|
transactions: import("@waves/ts-types").TransactionFromNode<import("@waves/ts-types").Long>[];
|