@waves/node-api-js 1.2.8-beta.1 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/cjs/api-node/assets/index.js +6 -3
  2. package/cjs/api-node/assets/index.js.map +1 -1
  3. package/cjs/create.d.ts +21 -365
  4. package/cjs/tools/adresses/getAssetIdListByTx.d.ts +3 -2
  5. package/cjs/tools/adresses/getAssetIdListByTx.js +0 -1
  6. package/cjs/tools/adresses/getAssetIdListByTx.js.map +1 -1
  7. package/cjs/tools/adresses/getAssetsByTransaction.d.ts +3 -2
  8. package/cjs/tools/adresses/getAssetsByTransaction.js.map +1 -1
  9. package/cjs/tools/transactions/transactions.d.ts +60 -0
  10. package/cjs/tools/transactions/transactions.js +117 -0
  11. package/cjs/tools/transactions/transactions.js.map +1 -1
  12. package/dist/0.node-api.js +1 -13
  13. package/dist/node-api.js +7 -5
  14. package/dist/node-api.min.js +1 -1
  15. package/es/api-node/assets/index.js +33 -30
  16. package/es/api-node/assets/index.js.map +1 -1
  17. package/es/create.d.ts +21 -365
  18. package/es/tools/adresses/getAssetIdListByTx.d.ts +3 -2
  19. package/es/tools/adresses/getAssetIdListByTx.js +0 -1
  20. package/es/tools/adresses/getAssetIdListByTx.js.map +1 -1
  21. package/es/tools/adresses/getAssetsByTransaction.d.ts +3 -2
  22. package/es/tools/adresses/getAssetsByTransaction.js.map +1 -1
  23. package/es/tools/transactions/transactions.d.ts +60 -0
  24. package/es/tools/transactions/transactions.js +99 -1
  25. package/es/tools/transactions/transactions.js.map +1 -1
  26. package/package.json +2 -2
  27. package/dist/node-api.min.js.LICENSE.txt +0 -17
  28. package/dist/node_fs-node_path.node-api.js +0 -23
  29. package/dist/vendors-node_modules_node-fetch_src_utils_multipart-parser_js.node-api.js +0 -599
@@ -57,36 +57,39 @@ export function fetchAssetsBalance(base, address, options = Object.create(null))
57
57
  }
58
58
  return acc;
59
59
  }, {});
60
- const assetsDetailsResponse = yield fetchAssetsDetails(base, Object.keys(assetsWithoutIssueTransaction), options);
61
- assetsDetailsResponse.forEach((assetDetails) => {
62
- if ('error' in assetDetails) {
63
- return;
64
- }
65
- const assetIndex = assetsWithoutIssueTransaction[assetDetails.assetId];
66
- const assetBalance = balancesResponse.balances[assetIndex];
67
- if (!assetBalance) {
68
- return;
69
- }
70
- assetBalance.issueTransaction = {
71
- id: assetDetails.originTransactionId,
72
- name: assetDetails.name,
73
- decimals: assetDetails.decimals,
74
- description: assetDetails.description,
75
- quantity: assetDetails.quantity,
76
- reissuable: assetDetails.reissuable,
77
- sender: assetDetails.issuer,
78
- senderPublicKey: assetDetails.issuerPublicKey,
79
- timestamp: assetDetails.issueTimestamp,
80
- height: assetDetails.issueHeight,
81
- script: assetDetails.scripted ? '-' : null,
82
- proofs: [],
83
- fee: Math.pow(10, 8),
84
- feeAssetId: null,
85
- version: 3,
86
- type: TRANSACTION_TYPE.ISSUE,
87
- chainId: 0
88
- };
89
- });
60
+ const detailsIds = Object.keys(assetsWithoutIssueTransaction);
61
+ if (detailsIds.length) {
62
+ const assetsDetailsResponse = yield fetchAssetsDetails(base, detailsIds, options);
63
+ assetsDetailsResponse.forEach((assetDetails) => {
64
+ if ('error' in assetDetails) {
65
+ return;
66
+ }
67
+ const assetIndex = assetsWithoutIssueTransaction[assetDetails.assetId];
68
+ const assetBalance = balancesResponse.balances[assetIndex];
69
+ if (!assetBalance) {
70
+ return;
71
+ }
72
+ assetBalance.issueTransaction = {
73
+ id: assetDetails.originTransactionId,
74
+ name: assetDetails.name,
75
+ decimals: assetDetails.decimals,
76
+ description: assetDetails.description,
77
+ quantity: assetDetails.quantity,
78
+ reissuable: assetDetails.reissuable,
79
+ sender: assetDetails.issuer,
80
+ senderPublicKey: assetDetails.issuerPublicKey,
81
+ timestamp: assetDetails.issueTimestamp,
82
+ height: assetDetails.issueHeight,
83
+ script: assetDetails.scripted ? '-' : null,
84
+ proofs: [],
85
+ fee: Math.pow(10, 8),
86
+ feeAssetId: null,
87
+ version: 3,
88
+ type: TRANSACTION_TYPE.ISSUE,
89
+ chainId: 0
90
+ };
91
+ });
92
+ }
90
93
  return balancesResponse;
91
94
  });
92
95
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api-node/assets/index.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAqD,gBAAgB,EAAe,MAAM,iBAAiB,CAAC;AACnH,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAQ1C,MAAM,UAAU,YAAY,CAAmC,IAAY,EAAE,OAAU,EAAE,UAAuB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;IAC/H,MAAM,MAAM,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACvC,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,OAAO,CAAgB;QACjE,IAAI;QACJ,GAAG,EAAE,mBAAmB,EAAE,EAAE;QAC5B,OAAO;KACV,CAAC,CAAC,CAAC;SACC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,IAAY,EAAE,QAAuB,EAAE,UAAuB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;IAChH,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/C,MAAM,QAAQ,mCACP,OAAO,KACV,IAAI,EACJ,OAAO,EAAE;YACL,cAAc,EAAE,kBAAkB;SACrC,EACD,MAAM,EAAE,MAAM,GACjB,CAAC;IAEF,OAAO,OAAO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AAG,gBAAgB,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;gBAE3D,IAAI,CAAC,YAAY,EAAE;oBACf,OAAO;iBACV;gBAED,YAAY,CAAC,gBAAgB,GAAG;oBAC5B,EAAE,EAAE,YAAY,CAAC,mBAAmB;oBACpC,IAAI,EAAE,YAAY,CAAC,IAAI;oBACvB,QAAQ,EAAE,YAAY,CAAC,QAAQ;oBAC/B,WAAW,EAAE,YAAY,CAAC,WAAW;oBACrC,QAAQ,EAAE,YAAY,CAAC,QAAQ;oBAC/B,UAAU,EAAE,YAAY,CAAC,UAAU;oBACnC,MAAM,EAAE,YAAY,CAAC,MAAM;oBAC3B,eAAe,EAAE,YAAY,CAAC,eAAe;oBAC7C,SAAS,EAAE,YAAY,CAAC,cAAc;oBACtC,MAAM,EAAE,YAAY,CAAC,WAAW;oBAChC,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI;oBAC1C,MAAM,EAAE,EAAE;oBACV,GAAG,EAAE,SAAA,EAAE,EAAI,CAAC,CAAA;oBACZ,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC;oBACV,IAAI,EAAE,gBAAgB,CAAC,KAAK;oBAC5B,OAAO,EAAE,CAAC;iBACb,CAAC;YACN,CAAC,CAAC,CAAC;SACN;QAED,OAAO,gBAAgB,CAAC;IAC5B,CAAC;CAAA;AAED,MAAM,UAAU,0BAA0B,CAAC,IAAY,EAAE,OAAe,EAAE,OAAe,EAAE,UAAuB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;IACjI,OAAO,OAAO,CAAC,EAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,OAAO,IAAI,OAAO,EAAE,EAAE,OAAO,EAAC,CAAC,CAAC;AAClF,CAAC"}
package/es/create.d.ts CHANGED
@@ -235,6 +235,11 @@ 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;
238
243
  }) | ((import("@waves/ts-types").ExchangeTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 7> & {
239
244
  version: 1;
240
245
  } & import("@waves/ts-types").WithId & {
@@ -435,6 +440,11 @@ export declare function create(base: string): {
435
440
  } & import("@waves/ts-types").WithId & {
436
441
  sender: string;
437
442
  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;
438
448
  }))[], 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> & {
439
449
  version: 1;
440
450
  } & import("@waves/ts-types").WithId & {
@@ -635,6 +645,11 @@ export declare function create(base: string): {
635
645
  } & import("@waves/ts-types").WithId & {
636
646
  sender: string;
637
647
  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;
638
653
  }) | ((import("@waves/ts-types").ExchangeTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 7> & {
639
654
  version: 1;
640
655
  } & import("@waves/ts-types").WithId & {
@@ -835,6 +850,11 @@ export declare function create(base: string): {
835
850
  } & import("@waves/ts-types").WithId & {
836
851
  sender: string;
837
852
  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;
838
858
  }))[]>;
839
859
  };
840
860
  blocks: {
@@ -848,371 +868,7 @@ export declare function create(base: string): {
848
868
  chainId: number;
849
869
  timestamp: number;
850
870
  fee: import("@waves/ts-types").Long;
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>>>;
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").WithVersion<import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 18>, 1> | Transaction<import("@waves/ts-types").Long>[]) => Promise<Record<string, assetsModule.TAssetDetails<import("@waves/ts-types").Long>>>;
1216
872
  getAssetIdListByTx: typeof getAssetIdListByTx;
1217
873
  getTransactionsWithAssets: (address: string, limit: number, after?: string | undefined) => Promise<{
1218
874
  transactions: import("@waves/ts-types").TransactionFromNode<import("@waves/ts-types").Long>[];
@@ -1,2 +1,3 @@
1
- import { Transaction, TransactionFromNode } from '@waves/ts-types';
2
- export default function (tx: Array<Transaction> | Transaction | TransactionFromNode | TransactionFromNode[]): Array<string>;
1
+ import { Transaction } from '@waves/ts-types';
2
+ import { TLong } from '../../interface';
3
+ export default function (tx: Transaction<TLong> | Array<Transaction<TLong>>): Array<string>;
@@ -17,7 +17,6 @@ const getAssetIdList = switchTransactionByType({
17
17
  [NAME_MAP.updateAsset]: tx => [tx.assetId]
18
18
  });
19
19
  export default function (tx) {
20
- // @ts-ignore
21
20
  const idList = toArray(tx).reduce((acc, tx) => acc.concat(getAssetIdList(tx) || []), []).filter(x => x != null);
22
21
  return idList;
23
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getAssetIdListByTx.js","sourceRoot":"","sources":["../../../src/tools/adresses/getAssetIdListByTx.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,cAAc,GAAG,uBAAuB,CAAC;IAC3C,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC;IACtD,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC;IACnC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC;IACtC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;QAC1C,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,WAAW;QAC/B,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU;QAC9B,EAAE,CAAC,MAAM,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI;QAC5D,EAAE,CAAC,MAAM,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI;KAC/D,CAAC,CAAC;IACH,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC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C,WAAW,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC;CAC7C,CAAC,CAAC;AAEH,MAAM,CAAC,OAAO,WAAW,EAAkD;IACvE,MAAM,MAAM,GAAG,OAAO,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC;IAChH,OAAO,MAAM,CAAC;AAClB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { TAssetDetails } from '../../api-node/assets';
2
- import { Transaction, TransactionFromNode } from '@waves/ts-types';
3
- export default function (base: string, tx: Array<Transaction> | Transaction | TransactionFromNode | TransactionFromNode[]): Promise<Record<string, TAssetDetails>>;
2
+ import { Transaction } from '@waves/ts-types';
3
+ import { TLong } from '../../interface';
4
+ export default function (base: string, tx: Transaction<TLong> | Array<Transaction<TLong>>): Promise<Record<string, TAssetDetails>>;
@@ -1 +1 @@
1
- {"version":3,"file":"getAssetsByTransaction.js","sourceRoot":"","sources":["../../../src/tools/adresses/getAssetsByTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiB,MAAM,uBAAuB,CAAC;AACpE,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGzC,MAAM,CAAC,OAAO,WAAW,IAAY,EAAE,EAAkF;IACrH,OAAO,YAAY,CAAC,IAAI,EAAE,kBAAkB,CAAC,EAAE,CAAC,CAAC;SAC5C,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD,CAAC"}
1
+ {"version":3,"file":"getAssetsByTransaction.js","sourceRoot":"","sources":["../../../src/tools/adresses/getAssetsByTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiB,MAAM,uBAAuB,CAAC;AACpE,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGzC,MAAM,CAAC,OAAO,WAAU,IAAY,EAAE,EAAkD;IACpF,OAAO,YAAY,CAAC,IAAI,EAAE,kBAAkB,CAAC,EAAE,CAAC,CAAC;SAC5C,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACtD,CAAC"}