@bitgo/utxo-bin 2.3.3 → 2.4.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.
@@ -166,16 +166,6 @@
166
166
  "signature": "506b80b9951c9381dc5f11897b31fca5e2a65731d96ddefa19687fbc26b23c6e",
167
167
  "affectsGlobalScope": true
168
168
  },
169
- "../../../node_modules/@types/yargs-parser/index.d.ts": {
170
- "version": "70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e",
171
- "signature": "70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e",
172
- "affectsGlobalScope": false
173
- },
174
- "../../../node_modules/@types/yargs/index.d.ts": {
175
- "version": "28288f5e5f8b7b895ed2abe6359c1da3e0d14a64b5aef985071285671f347c01",
176
- "signature": "28288f5e5f8b7b895ed2abe6359c1da3e0d14a64b5aef985071285671f347c01",
177
- "affectsGlobalScope": false
178
- },
179
169
  "../../../node_modules/@types/node/globals.d.ts": {
180
170
  "version": "de3195627ed1d4ee51c5047f93cd76ce59a8601c0a5c6c391438d7f6cb3edf4d",
181
171
  "signature": "de3195627ed1d4ee51c5047f93cd76ce59a8601c0a5c6c391438d7f6cb3edf4d",
@@ -517,8 +507,8 @@
517
507
  "affectsGlobalScope": false
518
508
  },
519
509
  "../../utxo-lib/dist/src/networks.d.ts": {
520
- "version": "324f5fe1c8386111cb5212a6bb7e06cc39fc2b0ab8509197180eb82be5ff5ec3",
521
- "signature": "324f5fe1c8386111cb5212a6bb7e06cc39fc2b0ab8509197180eb82be5ff5ec3",
510
+ "version": "6185284ab4f31c094de925d004063eacc4eef37335ad3b30d147a07ed7319532",
511
+ "signature": "6185284ab4f31c094de925d004063eacc4eef37335ad3b30d147a07ed7319532",
522
512
  "affectsGlobalScope": false
523
513
  },
524
514
  "../../utxo-lib/dist/src/addressformat.d.ts": {
@@ -637,8 +627,8 @@
637
627
  "affectsGlobalScope": false
638
628
  },
639
629
  "../../utxo-lib/dist/src/bitgo/unspent.d.ts": {
640
- "version": "3e0b45db9bed6a8b9f95fd2f98da587ca3a401b9e2b05d39d9ba7185bb49aae1",
641
- "signature": "3e0b45db9bed6a8b9f95fd2f98da587ca3a401b9e2b05d39d9ba7185bb49aae1",
630
+ "version": "d292d26a2618fed985a4a4c0f829d3b4ebbb1c5566c9b9363e36bac43711f9c1",
631
+ "signature": "d292d26a2618fed985a4a4c0f829d3b4ebbb1c5566c9b9363e36bac43711f9c1",
642
632
  "affectsGlobalScope": false
643
633
  },
644
634
  "../../utxo-lib/dist/src/bitgo/wallet/walletkeys.d.ts": {
@@ -721,6 +711,16 @@
721
711
  "signature": "17b76b2fb3e27470dd831a78ad2fc6c23f6ab397369ca30f4a730706a88b82eb",
722
712
  "affectsGlobalScope": false
723
713
  },
714
+ "../src/parser.ts": {
715
+ "version": "d38b73d0cb2ba342f8c15c3625c31b19e7580fb2a1813f96696bee5b27c5395f",
716
+ "signature": "6227ddcc043b1f29abadb8b9dc5157f56f1543701d3bd550e900abf3ab2f6630",
717
+ "affectsGlobalScope": false
718
+ },
719
+ "../src/addressparser.ts": {
720
+ "version": "b3d71da40b7930df44286824efe9a78edee12289719e08bb5d2dbfc9b9adbeb6",
721
+ "signature": "da8b08c4966ee8a357ae03434e77eb70d2857de1cc046263938afefb5c864146",
722
+ "affectsGlobalScope": false
723
+ },
724
724
  "../../blockapis/dist/src/transactionapi.d.ts": {
725
725
  "version": "86f39249e8214cb45e044c85603fe4bfe9d438263d9b35bff54d86360455c6b9",
726
726
  "signature": "86f39249e8214cb45e044c85603fe4bfe9d438263d9b35bff54d86360455c6b9",
@@ -761,6 +761,11 @@
761
761
  "signature": "f7b4719a8f0e70780bb4e376d76cbbb70b11ebf2cbffba6e4d154d40f2919bdf",
762
762
  "affectsGlobalScope": false
763
763
  },
764
+ "../../blockapis/dist/src/cachinghttpclient.d.ts": {
765
+ "version": "29454d89f03ead229de4b4fbcd33ace38a5b1690f93fdf07322555dcd4ecda34",
766
+ "signature": "29454d89f03ead229de4b4fbcd33ace38a5b1690f93fdf07322555dcd4ecda34",
767
+ "affectsGlobalScope": false
768
+ },
764
769
  "../../blockapis/dist/src/impl/blockchairapi.d.ts": {
765
770
  "version": "b4f952170e9e3efd6f3be9743475a83f1fcd16aaf35bf1952886cc3c49e655ce",
766
771
  "signature": "b4f952170e9e3efd6f3be9743475a83f1fcd16aaf35bf1952886cc3c49e655ce",
@@ -772,13 +777,8 @@
772
777
  "affectsGlobalScope": false
773
778
  },
774
779
  "../../blockapis/dist/src/index.d.ts": {
775
- "version": "dc476fce1add25d43943885ba5d700905923276070af2c6e1d406e4b8d9d1810",
776
- "signature": "dc476fce1add25d43943885ba5d700905923276070af2c6e1d406e4b8d9d1810",
777
- "affectsGlobalScope": false
778
- },
779
- "../src/parse.ts": {
780
- "version": "2512200b4a5ced6a8c63dee69ce96afaacf06bcdded45a96437906cf248f47e3",
781
- "signature": "d4aead9a4c6e23d938a7141037006ee056a383a16dfb7a614eaaf5aa912f10f4",
780
+ "version": "dc3d9ed719c4a405e3139a3ab778b4c73338a8c324640e22cfc373237213e9fe",
781
+ "signature": "dc3d9ed719c4a405e3139a3ab778b4c73338a8c324640e22cfc373237213e9fe",
782
782
  "affectsGlobalScope": false
783
783
  },
784
784
  "../../../node_modules/chalk/index.d.ts": {
@@ -792,8 +792,33 @@
792
792
  "affectsGlobalScope": false
793
793
  },
794
794
  "../src/format.ts": {
795
- "version": "c7c7ef4076e3c6cc4eb75cac9114755b0e819a2141125a8321446464c631c9cc",
796
- "signature": "472b3568d532016dce463342906def74aab35e526d9d2dbcbfb62e1085766c74",
795
+ "version": "6dba3b2555a502be6fbdf4f4411f65342ab4978e147b38a6a6074f748ec3e404",
796
+ "signature": "4d72474ec3b5f1fd88fd167884cd04c21ba59f6096c3889f230c3b7d64baf00f",
797
+ "affectsGlobalScope": false
798
+ },
799
+ "../src/txparser.ts": {
800
+ "version": "53758e64a0619c74eb135aaa4828de0f65de32133c33a7680f23fce0ec7c839f",
801
+ "signature": "bf3512154fc96bf237322e5e2b90e3cdb946dece53a2bf85302785f25dc0c2cb",
802
+ "affectsGlobalScope": false
803
+ },
804
+ "../src/hollowsegwitspend.ts": {
805
+ "version": "04826e89b5e723071cfd09edd86cbe296922a8bf538467a50f397cdc4c7bae55",
806
+ "signature": "4469e21ed4dbdbdf2d19b51bc76c66eb428c41f995151a32796986d2d1e9e85d",
807
+ "affectsGlobalScope": false
808
+ },
809
+ "../src/inputoutputparser.ts": {
810
+ "version": "f07eeea2259bdb014fdda228ff4976c52a9aa8c6921880bd5e454f96ed6aea5c",
811
+ "signature": "9365b718f6d5ad70dc009cdd6a3bea315dbf31712ababbe7f5ca37136d84d03b",
812
+ "affectsGlobalScope": false
813
+ },
814
+ "../../../node_modules/@types/yargs-parser/index.d.ts": {
815
+ "version": "70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e",
816
+ "signature": "70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e",
817
+ "affectsGlobalScope": false
818
+ },
819
+ "../../../node_modules/@types/yargs/index.d.ts": {
820
+ "version": "28288f5e5f8b7b895ed2abe6359c1da3e0d14a64b5aef985071285671f347c01",
821
+ "signature": "28288f5e5f8b7b895ed2abe6359c1da3e0d14a64b5aef985071285671f347c01",
797
822
  "affectsGlobalScope": false
798
823
  },
799
824
  "../../statics/dist/src/networks.d.ts": {
@@ -802,8 +827,8 @@
802
827
  "affectsGlobalScope": false
803
828
  },
804
829
  "../../statics/dist/src/base.d.ts": {
805
- "version": "b7d76fbc26bc7d74a1845f411413fe1bf9036f35a717a969aae93b7fecd64b83",
806
- "signature": "b7d76fbc26bc7d74a1845f411413fe1bf9036f35a717a969aae93b7fecd64b83",
830
+ "version": "85c546e12e41e4d603a30b3978ba8e774e055dc1f989b7a98b4179f520f34277",
831
+ "signature": "85c546e12e41e4d603a30b3978ba8e774e055dc1f989b7a98b4179f520f34277",
807
832
  "affectsGlobalScope": false
808
833
  },
809
834
  "../../statics/dist/src/map.d.ts": {
@@ -847,17 +872,17 @@
847
872
  "affectsGlobalScope": false
848
873
  },
849
874
  "../src/fetch.ts": {
850
- "version": "1ae2e29094582aec0db09fb6768fd4af998e704e04801d3769528f783e7b54d5",
851
- "signature": "003549dd0a80236953ed102bf1e8b2d8a7afb35064f12ce1f2684293a2a2b45e",
875
+ "version": "6e29c7389f8a6ab502a95ff4618ba456d9d6bfab09eb2f7c611e6729e5742f18",
876
+ "signature": "191b256520e9a46081f1a28a722616c0c6e71c3ec2da7f16cb6801ebb13c54ac",
852
877
  "affectsGlobalScope": false
853
878
  },
854
879
  "../src/commands.ts": {
855
- "version": "4a55b8995404673e1e93c2c9fe38519db6ea0764d0f57687f727dae424cfcf18",
856
- "signature": "08e5d14efee1e66c00449521398cd4b4da6ee587ffb4235d1c6ccf9294e48174",
880
+ "version": "ac10cbd895a162bfc62164c6f3bab0cef98ac18c4c4f974384c43a607b6b1128",
881
+ "signature": "7160bcfed0dc792cf5d34467938609c9e7824fe4213411019a0df6b889341dbf",
857
882
  "affectsGlobalScope": false
858
883
  },
859
884
  "../bin/index.ts": {
860
- "version": "0c9569a51fa5d3e70275fc62b5081903261b2b1344f9a4a042732d1f5aa51cbf",
885
+ "version": "2c339339954540aca9ec694b3522ac152a77b62aba51b5f69fe0e272cc79a3d6",
861
886
  "signature": "28f6febb9b51e593316bd49c125cf3170875188867bb71d4d4a43f01b274b964",
862
887
  "affectsGlobalScope": false
863
888
  },
@@ -1672,6 +1697,9 @@
1672
1697
  "../../blockapis/dist/src/basehttpclient.d.ts": [
1673
1698
  "../../../node_modules/@types/superagent/index.d.ts"
1674
1699
  ],
1700
+ "../../blockapis/dist/src/cachinghttpclient.d.ts": [
1701
+ "../../blockapis/dist/src/basehttpclient.d.ts"
1702
+ ],
1675
1703
  "../../blockapis/dist/src/impl/blockchairapi.d.ts": [
1676
1704
  "../../blockapis/dist/src/addressapi.d.ts",
1677
1705
  "../../blockapis/dist/src/basehttpclient.d.ts",
@@ -1690,6 +1718,7 @@
1690
1718
  "../../blockapis/dist/src/addressapi.d.ts",
1691
1719
  "../../blockapis/dist/src/apibuilder.d.ts",
1692
1720
  "../../blockapis/dist/src/basehttpclient.d.ts",
1721
+ "../../blockapis/dist/src/cachinghttpclient.d.ts",
1693
1722
  "../../blockapis/dist/src/impl/blockchairapi.d.ts",
1694
1723
  "../../blockapis/dist/src/impl/blockstreamapi.d.ts",
1695
1724
  "../../blockapis/dist/src/transactionapi.d.ts",
@@ -1741,14 +1770,22 @@
1741
1770
  "../../../node_modules/@types/yargs/index.d.ts",
1742
1771
  "../src/commands.ts"
1743
1772
  ],
1773
+ "../src/addressparser.ts": [
1774
+ "../../utxo-lib/dist/src/index.d.ts",
1775
+ "../src/parser.ts"
1776
+ ],
1744
1777
  "../src/commands.ts": [
1745
1778
  "../../../node_modules/@types/node/fs.d.ts",
1746
1779
  "../../../node_modules/@types/node/process.d.ts",
1780
+ "../../../node_modules/@types/node/util.d.ts",
1747
1781
  "../../../node_modules/@types/yargs/index.d.ts",
1782
+ "../../blockapis/dist/src/index.d.ts",
1748
1783
  "../../utxo-lib/dist/src/index.d.ts",
1784
+ "../src/addressparser.ts",
1749
1785
  "../src/fetch.ts",
1750
1786
  "../src/format.ts",
1751
- "../src/parse.ts"
1787
+ "../src/parser.ts",
1788
+ "../src/txparser.ts"
1752
1789
  ],
1753
1790
  "../src/fetch.ts": [
1754
1791
  "../../blockapis/dist/src/index.d.ts",
@@ -1758,12 +1795,27 @@
1758
1795
  "../src/format.ts": [
1759
1796
  "../../../node_modules/@types/archy/index.d.ts",
1760
1797
  "../../../node_modules/chalk/index.d.ts",
1761
- "../src/parse.ts"
1798
+ "../src/parser.ts"
1762
1799
  ],
1763
- "../src/parse.ts": [
1764
- "../../blockapis/dist/src/index.d.ts",
1800
+ "../src/hollowsegwitspend.ts": [
1765
1801
  "../../utxo-lib/dist/src/index.d.ts"
1766
1802
  ],
1803
+ "../src/inputoutputparser.ts": [
1804
+ "../../blockapis/dist/src/index.d.ts",
1805
+ "../../utxo-lib/dist/src/index.d.ts",
1806
+ "../src/addressparser.ts",
1807
+ "../src/format.ts",
1808
+ "../src/hollowsegwitspend.ts",
1809
+ "../src/parser.ts",
1810
+ "../src/txparser.ts"
1811
+ ],
1812
+ "../src/txparser.ts": [
1813
+ "../../blockapis/dist/src/index.d.ts",
1814
+ "../../utxo-lib/dist/src/index.d.ts",
1815
+ "../src/format.ts",
1816
+ "../src/inputoutputparser.ts",
1817
+ "../src/parser.ts"
1818
+ ],
1767
1819
  "../../utxo-lib/dist/src/address.d.ts": [
1768
1820
  "../../../node_modules/bitcoinjs-lib/src/address.d.ts",
1769
1821
  "../../../node_modules/bitcoinjs-lib/src/index.d.ts",
@@ -1860,6 +1912,7 @@
1860
1912
  ],
1861
1913
  "../../utxo-lib/dist/src/bitgo/unspent.d.ts": [
1862
1914
  "../../../node_modules/bitcoinjs-lib/src/index.d.ts",
1915
+ "../../utxo-lib/dist/src/bitgo/utxotransaction.d.ts",
1863
1916
  "../../utxo-lib/dist/src/bitgo/utxotransactionbuilder.d.ts",
1864
1917
  "../../utxo-lib/dist/src/index.d.ts",
1865
1918
  "../../utxo-lib/node_modules/@types/node/ts4.8/index.d.ts"
@@ -2927,6 +2980,9 @@
2927
2980
  "../../blockapis/dist/src/basehttpclient.d.ts": [
2928
2981
  "../../../node_modules/@types/superagent/index.d.ts"
2929
2982
  ],
2983
+ "../../blockapis/dist/src/cachinghttpclient.d.ts": [
2984
+ "../../blockapis/dist/src/basehttpclient.d.ts"
2985
+ ],
2930
2986
  "../../blockapis/dist/src/impl/blockchairapi.d.ts": [
2931
2987
  "../../blockapis/dist/src/addressapi.d.ts",
2932
2988
  "../../blockapis/dist/src/basehttpclient.d.ts",
@@ -2945,6 +3001,7 @@
2945
3001
  "../../blockapis/dist/src/addressapi.d.ts",
2946
3002
  "../../blockapis/dist/src/apibuilder.d.ts",
2947
3003
  "../../blockapis/dist/src/basehttpclient.d.ts",
3004
+ "../../blockapis/dist/src/cachinghttpclient.d.ts",
2948
3005
  "../../blockapis/dist/src/impl/blockchairapi.d.ts",
2949
3006
  "../../blockapis/dist/src/impl/blockstreamapi.d.ts",
2950
3007
  "../../blockapis/dist/src/transactionapi.d.ts",
@@ -2992,9 +3049,14 @@
2992
3049
  "../../statics/dist/src/base.d.ts",
2993
3050
  "../../statics/dist/src/networks.d.ts"
2994
3051
  ],
3052
+ "../src/addressparser.ts": [
3053
+ "../../utxo-lib/dist/src/index.d.ts",
3054
+ "../src/parser.ts"
3055
+ ],
2995
3056
  "../src/commands.ts": [
2996
3057
  "../../../node_modules/@types/yargs/index.d.ts",
2997
- "../src/parse.ts"
3058
+ "../src/addressparser.ts",
3059
+ "../src/txparser.ts"
2998
3060
  ],
2999
3061
  "../src/fetch.ts": [
3000
3062
  "../../blockapis/dist/src/index.d.ts",
@@ -3002,12 +3064,23 @@
3002
3064
  ],
3003
3065
  "../src/format.ts": [
3004
3066
  "../../../node_modules/chalk/index.d.ts",
3005
- "../src/parse.ts"
3067
+ "../src/parser.ts"
3006
3068
  ],
3007
- "../src/parse.ts": [
3008
- "../../blockapis/dist/src/index.d.ts",
3069
+ "../src/hollowsegwitspend.ts": [
3009
3070
  "../../utxo-lib/dist/src/index.d.ts"
3010
3071
  ],
3072
+ "../src/inputoutputparser.ts": [
3073
+ "../../blockapis/dist/src/index.d.ts",
3074
+ "../../utxo-lib/dist/src/index.d.ts",
3075
+ "../src/hollowsegwitspend.ts",
3076
+ "../src/parser.ts",
3077
+ "../src/txparser.ts"
3078
+ ],
3079
+ "../src/txparser.ts": [
3080
+ "../../blockapis/dist/src/index.d.ts",
3081
+ "../../utxo-lib/dist/src/index.d.ts",
3082
+ "../src/parser.ts"
3083
+ ],
3011
3084
  "../../utxo-lib/dist/src/address.d.ts": [
3012
3085
  "../../../node_modules/bitcoinjs-lib/src/address.d.ts",
3013
3086
  "../../../node_modules/bitcoinjs-lib/src/index.d.ts",
@@ -3104,6 +3177,7 @@
3104
3177
  ],
3105
3178
  "../../utxo-lib/dist/src/bitgo/unspent.d.ts": [
3106
3179
  "../../../node_modules/bitcoinjs-lib/src/index.d.ts",
3180
+ "../../utxo-lib/dist/src/bitgo/utxotransaction.d.ts",
3107
3181
  "../../utxo-lib/dist/src/bitgo/utxotransactionbuilder.d.ts",
3108
3182
  "../../utxo-lib/dist/src/index.d.ts",
3109
3183
  "../../utxo-lib/node_modules/@types/node/ts4.8/index.d.ts"
@@ -4167,6 +4241,7 @@
4167
4241
  "../../blockapis/dist/src/addressapi.d.ts",
4168
4242
  "../../blockapis/dist/src/apibuilder.d.ts",
4169
4243
  "../../blockapis/dist/src/basehttpclient.d.ts",
4244
+ "../../blockapis/dist/src/cachinghttpclient.d.ts",
4170
4245
  "../../blockapis/dist/src/impl/blockchairapi.d.ts",
4171
4246
  "../../blockapis/dist/src/impl/blockstreamapi.d.ts",
4172
4247
  "../../blockapis/dist/src/index.d.ts",
@@ -4183,10 +4258,14 @@
4183
4258
  "../../statics/dist/src/tokenconfig.d.ts",
4184
4259
  "../../statics/dist/src/utxo.d.ts",
4185
4260
  "../bin/index.ts",
4261
+ "../src/addressparser.ts",
4186
4262
  "../src/commands.ts",
4187
4263
  "../src/fetch.ts",
4188
4264
  "../src/format.ts",
4189
- "../src/parse.ts",
4265
+ "../src/hollowsegwitspend.ts",
4266
+ "../src/inputoutputparser.ts",
4267
+ "../src/parser.ts",
4268
+ "../src/txparser.ts",
4190
4269
  "../../utxo-lib/dist/src/address.d.ts",
4191
4270
  "../../utxo-lib/dist/src/addressformat.d.ts",
4192
4271
  "../../utxo-lib/dist/src/bitgo/bitcoincash/address.d.ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitgo/utxo-bin",
3
3
  "description": "Command-line utility for BitGo UTXO transactions",
4
- "version": "2.3.3",
4
+ "version": "2.4.0",
5
5
  "files": [
6
6
  "dist/**/*"
7
7
  ],
@@ -26,16 +26,18 @@
26
26
  },
27
27
  "bin": "./dist/bin/index.js",
28
28
  "dependencies": {
29
- "@bitgo/blockapis": "^1.3.3",
30
- "@bitgo/statics": "^10.0.1",
31
- "@bitgo/utxo-lib": "^5.0.0",
29
+ "@bitgo/blockapis": "^1.3.4",
30
+ "@bitgo/statics": "^11.0.0",
31
+ "@bitgo/utxo-lib": "^6.0.0",
32
32
  "archy": "^1.0.0",
33
+ "bs58check": "^2.1.2",
33
34
  "chalk": "4",
34
35
  "yargs": "^17.3.1"
35
36
  },
36
37
  "devDependencies": {
37
38
  "@types/archy": "^0.0.32",
38
- "@types/yargs": "^17.0.8"
39
+ "@types/yargs": "^17.0.8",
40
+ "bip32": "^3.1.0"
39
41
  },
40
42
  "lint-staged": {
41
43
  "*.{js,ts}": [
@@ -47,5 +49,5 @@
47
49
  "access": "public"
48
50
  },
49
51
  "license": "MIT",
50
- "gitHead": "b66488cb79900df54cba1c81ddacee7776e6684d"
52
+ "gitHead": "29448f349e082e155afdb74c93ed3088e84edecd"
51
53
  }
@@ -1,51 +0,0 @@
1
- /// <reference types="node" />
2
- import * as utxolib from '@bitgo/utxo-lib';
3
- import { OutputSpend, TransactionStatus } from '@bitgo/blockapis';
4
- export declare type InputFormat = 'asm' | 'parseSignature';
5
- export declare type TxNodeValue = number | string | Buffer | boolean | undefined | null;
6
- export declare type TxNode = {
7
- type: 'node';
8
- label: string;
9
- value: TxNodeValue | undefined;
10
- nodes: TxNode[] | undefined;
11
- };
12
- export declare type ParserArgs = {
13
- parseScriptData: boolean;
14
- parseScriptAsm: boolean;
15
- parseOutputScript: boolean;
16
- parseSignatureData: boolean;
17
- hide?: string[];
18
- maxOutputs?: number;
19
- };
20
- export declare type ChainInfo = {
21
- status?: TransactionStatus;
22
- outputSpends?: OutputSpend[];
23
- prevOutputs?: utxolib.TxOutput[];
24
- prevOutputSpends?: OutputSpend[];
25
- };
26
- export declare class Parser {
27
- private params;
28
- static PARSE_ALL: ParserArgs;
29
- constructor(params: ParserArgs);
30
- node(label: string | number, value: TxNodeValue, nodes?: TxNode[]): TxNode;
31
- parseScriptAsm(type: string, part: Buffer, i: number, n: number): string | undefined;
32
- parseScriptParts(type: string, parts: Array<Buffer | number>): TxNode[];
33
- parseInputScript(buffer: Buffer): TxNode;
34
- parseWitness(script: Buffer[]): TxNode;
35
- parsePubkeys(parsed: utxolib.bitgo.ParsedSignatureScript2Of3): TxNode;
36
- parseSignatures(parsed: utxolib.bitgo.ParsedSignatureScript2Of3, tx: utxolib.bitgo.UtxoTransaction, inputIndex: number, prevOutputs?: utxolib.TxOutput[]): TxNode;
37
- parseSigScript(tx: utxolib.bitgo.UtxoTransaction, inputIndex: number, prevOutputs?: utxolib.TxOutput[]): TxNode;
38
- parsePrevOut(input: utxolib.TxInput, i: number, network: utxolib.Network, prevOutputs?: utxolib.TxOutput[]): TxNode[];
39
- parseSpend(txid: string, index: number, spends: OutputSpend[] | undefined, params: {
40
- conflict: boolean;
41
- }): TxNode[];
42
- parseIns(ins: utxolib.TxInput[], tx: utxolib.bitgo.UtxoTransaction, outputInfo: ChainInfo): TxNode[];
43
- tryParseOpReturn(script: Buffer): TxNode[];
44
- parseOutputScript(buffer: Buffer): TxNode[];
45
- parseOutput(txid: string, o: utxolib.TxOutput, i: number, network: utxolib.Network, params: ChainInfo): TxNode;
46
- parseOuts(outs: utxolib.TxOutput[], tx: utxolib.bitgo.UtxoTransaction, params: ChainInfo): TxNode[];
47
- parseStatus(tx: utxolib.bitgo.UtxoTransaction, status?: TransactionStatus): TxNode[];
48
- parseVersion(tx: utxolib.bitgo.UtxoTransaction): TxNode;
49
- parse(tx: utxolib.bitgo.UtxoTransaction, chainInfo?: ChainInfo): TxNode;
50
- }
51
- //# sourceMappingURL=parse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/parse.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE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