beignet 0.0.21 → 0.0.22
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/dist/electrum/index.js +10 -10
- package/dist/electrum/index.js.map +1 -1
- package/dist/types/electrum/index.d.ts +5 -1
- package/dist/types/types/wallet.d.ts +2 -0
- package/dist/types/wallet/constants.d.ts +0 -5
- package/dist/types/wallet/index.d.ts +2 -0
- package/dist/types/wallet.js.map +1 -1
- package/dist/wallet/constants.js +1 -7
- package/dist/wallet/constants.js.map +1 -1
- package/dist/wallet/index.js +5 -11
- package/dist/wallet/index.js.map +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/Electrum.html +79 -70
- package/docs/html/classes/Transaction.html +59 -28
- package/docs/html/classes/Wallet.html +224 -174
- package/docs/html/enums/EAddressType.html +22 -7
- package/docs/html/enums/EAvailableNetworks.html +19 -11
- package/docs/html/enums/EBoostType.html +14 -6
- package/docs/html/enums/EElectrumNetworks.html +15 -7
- package/docs/html/enums/EFeeId.html +17 -9
- package/docs/html/enums/EPaymentType.html +14 -6
- package/docs/html/enums/EProtocol.html +14 -6
- package/docs/html/enums/EUnit.html +15 -7
- package/docs/html/functions/availableNetworks.html +12 -4
- package/docs/html/functions/constructByteCountParam.html +12 -4
- package/docs/html/functions/decodeOpReturnMessage.html +12 -4
- package/docs/html/functions/decodeRawTransaction.html +12 -4
- package/docs/html/functions/err.html +12 -4
- package/docs/html/functions/formatKeyDerivationPath.html +12 -4
- package/docs/html/functions/formatPeerData.html +12 -4
- package/docs/html/functions/generateMnemonic.html +12 -4
- package/docs/html/functions/generateWalletId.html +12 -4
- package/docs/html/functions/getAddressFromKeyPair.html +222 -0
- package/docs/html/functions/getAddressFromScriptPubKey.html +12 -4
- package/docs/html/functions/getAddressTypeFromPath.html +12 -4
- package/docs/html/functions/getAddressesFromPrivateKey.html +222 -0
- package/docs/html/functions/getByteCount.html +12 -4
- package/docs/html/functions/getDataFallback.html +12 -4
- package/docs/html/functions/getDefaultPort.html +12 -4
- package/docs/html/functions/getDefaultWalletData.html +12 -4
- package/docs/html/functions/getDefaultWalletDataKeys.html +12 -4
- package/docs/html/functions/getElectrumNetwork.html +216 -0
- package/docs/html/functions/getHighestUsedIndexFromTxHashes.html +12 -4
- package/docs/html/functions/getKeyDerivationPath.html +12 -4
- package/docs/html/functions/getKeyDerivationPathObject.html +12 -4
- package/docs/html/functions/getKeyDerivationPathString.html +12 -4
- package/docs/html/functions/getKeyValue.html +12 -4
- package/docs/html/functions/getPeers.html +12 -4
- package/docs/html/functions/getProtocolForPort.html +12 -4
- package/docs/html/functions/getScriptHash.html +12 -4
- package/docs/html/functions/getSeed.html +12 -4
- package/docs/html/functions/getSeedHash.html +12 -4
- package/docs/html/functions/getSha256.html +12 -4
- package/docs/html/functions/getStorageKeyValues.html +12 -4
- package/docs/html/{variables/mostUsedExchangeTickers.html → functions/getTapRootAddressFromPublicKey.html} +74 -97
- package/docs/html/functions/getTxFee.html +12 -4
- package/docs/html/functions/getWalletDataStorageKey.html +12 -4
- package/docs/html/functions/isP2trPrefix.html +217 -0
- package/docs/html/functions/isValidBech32mEncodedString.html +12 -4
- package/docs/html/functions/objectKeys-1.html +12 -4
- package/docs/html/functions/objectsMatch.html +12 -4
- package/docs/html/functions/ok.html +12 -4
- package/docs/html/functions/parseOnChainPaymentRequest.html +12 -4
- package/docs/html/functions/reduceValue.html +12 -4
- package/docs/html/functions/removeDustOutputs.html +12 -4
- package/docs/html/functions/setReplaceByFee.html +12 -4
- package/docs/html/functions/shuffleArray.html +12 -4
- package/docs/html/functions/{getExchangeRates.html → sleep.html} +22 -12
- package/docs/html/functions/validateAddress.html +12 -4
- package/docs/html/functions/validateMnemonic.html +12 -4
- package/docs/html/functions/validateTransaction.html +12 -4
- package/docs/html/index.html +22 -6
- package/docs/html/interfaces/IAddInput.html +16 -8
- package/docs/html/interfaces/IAddress.html +17 -9
- package/docs/html/interfaces/IAddressData.html +15 -7
- package/docs/html/interfaces/IAddressType.html +12 -4
- package/docs/html/interfaces/IAddressTypeData.html +18 -10
- package/docs/html/interfaces/IAddresses.html +12 -4
- package/docs/html/interfaces/IBoostedTransaction.html +16 -8
- package/docs/html/interfaces/IBoostedTransactions.html +12 -4
- package/docs/html/interfaces/ICreateTransaction.html +14 -6
- package/docs/html/interfaces/ICustomGetAddress.html +15 -7
- package/docs/html/interfaces/ICustomGetScriptHash.html +14 -6
- package/docs/html/interfaces/IElectrumGetAddressBalanceRes.html +15 -7
- package/docs/html/interfaces/IFormattedPeerData.html +17 -9
- package/docs/html/interfaces/IFormattedTransaction.html +31 -23
- package/docs/html/interfaces/IFormattedTransactions.html +12 -4
- package/docs/html/interfaces/IGenerateAddresses.html +19 -11
- package/docs/html/interfaces/IGenerateAddressesResponse.html +14 -6
- package/docs/html/interfaces/IGetAddress.html +15 -7
- package/docs/html/interfaces/IGetAddressBalanceRes.html +14 -6
- package/docs/html/interfaces/IGetAddressByPath.html +14 -6
- package/docs/html/interfaces/IGetAddressHistoryResponse.html +19 -11
- package/docs/html/interfaces/IGetAddressResponse.html +15 -7
- package/docs/html/interfaces/IGetAddressScriptHashBalances.html +17 -9
- package/docs/html/interfaces/IGetAddressScriptHashesHistoryResponse.html +17 -9
- package/docs/html/interfaces/{IExchangeRates.html → IGetAddressesFromKeyPair.html} +45 -23
- package/docs/html/interfaces/IGetAddressesFromPrivateKey.html +234 -0
- package/docs/html/interfaces/IGetDerivationPath.html +18 -10
- package/docs/html/interfaces/IGetFeeEstimatesResponse.html +16 -8
- package/docs/html/interfaces/IGetHeaderResponse.html +17 -9
- package/docs/html/interfaces/IGetNextAvailableAddressResponse.html +16 -8
- package/docs/html/interfaces/IGetTransactions.html +17 -9
- package/docs/html/interfaces/IGetTransactionsFromInputs.html +17 -9
- package/docs/html/interfaces/IGetUtxosResponse.html +14 -6
- package/docs/html/interfaces/IHeader.html +15 -7
- package/docs/html/interfaces/IIndexes.html +16 -8
- package/docs/html/interfaces/IKeyDerivationPath.html +17 -9
- package/docs/html/interfaces/IKeyDerivationPathData.html +14 -6
- package/docs/html/interfaces/INewBlock.html +14 -6
- package/docs/html/interfaces/IOnchainFees.html +17 -9
- package/docs/html/interfaces/IOutput.html +15 -7
- package/docs/html/interfaces/IPeerData.html +15 -7
- package/docs/html/interfaces/IPrivateKeyInfo.html +248 -0
- package/docs/html/interfaces/IRbfData.html +18 -10
- package/docs/html/interfaces/ISend.html +14 -6
- package/docs/html/interfaces/ISendTransaction.html +28 -20
- package/docs/html/interfaces/ISendTx.html +15 -7
- package/docs/html/interfaces/ISetupTransaction.html +17 -9
- package/docs/html/interfaces/ISubscribeToAddress.html +16 -8
- package/docs/html/interfaces/ISubscribeToHeader.html +16 -8
- package/docs/html/interfaces/ISweepPrivateKey.html +255 -0
- package/docs/html/interfaces/ISweepPrivateKeyRes.html +241 -0
- package/docs/html/interfaces/ITargets.html +16 -8
- package/docs/html/interfaces/ITransaction.html +17 -9
- package/docs/html/interfaces/ITxHash.html +13 -5
- package/docs/html/interfaces/ITxHashes.html +15 -7
- package/docs/html/interfaces/IUtxo.html +27 -21
- package/docs/html/interfaces/IVin.html +17 -9
- package/docs/html/interfaces/IVout.html +15 -7
- package/docs/html/interfaces/IWallet.html +53 -20
- package/docs/html/interfaces/IWalletData.html +30 -29
- package/docs/html/types/ElectrumConnectionPubSub.html +12 -4
- package/docs/html/types/ElectrumConnectionSubscription.html +13 -5
- package/docs/html/types/InputData.html +12 -4
- package/docs/html/types/ObjectKeys.html +12 -4
- package/docs/html/types/Result.html +12 -4
- package/docs/html/types/TAddressIndexInfo.html +12 -4
- package/docs/html/types/TAddressLabel.html +12 -4
- package/docs/html/types/TAddressType.html +12 -4
- package/docs/html/types/TAddressTypeContent.html +12 -4
- package/docs/html/types/TAddressTypes.html +12 -4
- package/docs/html/types/TAvailableNetworks.html +12 -4
- package/docs/html/types/TConnectToElectrumRes.html +12 -4
- package/docs/html/types/TDecodeRawTx.html +12 -4
- package/docs/html/types/TElectrumNetworks.html +12 -4
- package/docs/html/types/TGetAddressHistory.html +12 -4
- package/docs/html/types/TGetByteCountInput.html +12 -4
- package/docs/html/types/TGetByteCountInputs.html +12 -4
- package/docs/html/types/TGetByteCountOutput.html +12 -4
- package/docs/html/types/TGetByteCountOutputs.html +12 -4
- package/docs/html/types/TGetData.html +12 -4
- package/docs/html/types/TGetTotalFeeObj.html +12 -4
- package/docs/html/types/TKeyDerivationAccount.html +12 -4
- package/docs/html/types/TKeyDerivationChange.html +12 -4
- package/docs/html/types/TKeyDerivationCoinType.html +12 -4
- package/docs/html/types/TKeyDerivationIndex.html +12 -4
- package/docs/html/types/TKeyDerivationPurpose.html +12 -4
- package/docs/html/types/TMessageDataMap.html +12 -4
- package/docs/html/types/TMessageKeys.html +12 -4
- package/docs/html/types/TOnMessage.html +12 -4
- package/docs/html/types/TProcessUnconfirmedTransactions.html +12 -4
- package/docs/html/types/TProtocol.html +12 -4
- package/docs/html/types/TServer.html +12 -4
- package/docs/html/types/TSetData.html +12 -4
- package/docs/html/types/TSetupTransactionResponse.html +12 -4
- package/docs/html/types/TStorage.html +12 -4
- package/docs/html/types/TSubscribedReceive.html +12 -4
- package/docs/html/types/TTransactionMessage.html +12 -4
- package/docs/html/types/TTxResponse.html +12 -4
- package/docs/html/types/TTxResult.html +12 -4
- package/docs/html/types/TUnspentAddressScriptHashData.html +12 -4
- package/docs/html/types/TWalletDataKeys.html +12 -4
- package/docs/html/variables/defaultElectrumPorts.html +12 -4
- package/docs/html/variables/electrumConnection.html +12 -4
- package/docs/markdown/README.md +224 -128
- package/docs/markdown/classes/Electrum.md +74 -72
- package/docs/markdown/classes/Transaction.md +48 -23
- package/docs/markdown/classes/Wallet.md +240 -181
- package/docs/markdown/enums/EAddressType.md +14 -3
- package/docs/markdown/enums/EAvailableNetworks.md +7 -7
- package/docs/markdown/enums/EBoostType.md +2 -2
- package/docs/markdown/enums/EElectrumNetworks.md +3 -3
- package/docs/markdown/enums/EFeeId.md +5 -5
- package/docs/markdown/enums/EPaymentType.md +2 -2
- package/docs/markdown/enums/EProtocol.md +2 -2
- package/docs/markdown/enums/EUnit.md +3 -3
- package/docs/markdown/interfaces/IAddInput.md +4 -4
- package/docs/markdown/interfaces/IAddress.md +5 -5
- package/docs/markdown/interfaces/IAddressData.md +3 -3
- package/docs/markdown/interfaces/IAddressTypeData.md +6 -6
- package/docs/markdown/interfaces/IBoostedTransaction.md +4 -4
- package/docs/markdown/interfaces/ICreateTransaction.md +2 -2
- package/docs/markdown/interfaces/ICustomGetAddress.md +3 -3
- package/docs/markdown/interfaces/ICustomGetScriptHash.md +2 -2
- package/docs/markdown/interfaces/IElectrumGetAddressBalanceRes.md +3 -3
- package/docs/markdown/interfaces/IFormattedPeerData.md +5 -5
- package/docs/markdown/interfaces/IFormattedTransaction.md +19 -19
- package/docs/markdown/interfaces/IGenerateAddresses.md +7 -7
- package/docs/markdown/interfaces/IGenerateAddressesResponse.md +2 -2
- package/docs/markdown/interfaces/IGetAddress.md +3 -3
- package/docs/markdown/interfaces/IGetAddressBalanceRes.md +2 -2
- package/docs/markdown/interfaces/IGetAddressByPath.md +2 -2
- package/docs/markdown/interfaces/IGetAddressHistoryResponse.md +7 -7
- package/docs/markdown/interfaces/IGetAddressResponse.md +3 -3
- package/docs/markdown/interfaces/IGetAddressScriptHashBalances.md +5 -5
- package/docs/markdown/interfaces/IGetAddressScriptHashesHistoryResponse.md +5 -5
- package/docs/markdown/interfaces/IGetAddressesFromKeyPair.md +30 -0
- package/docs/markdown/interfaces/IGetAddressesFromPrivateKey.md +30 -0
- package/docs/markdown/interfaces/IGetDerivationPath.md +6 -6
- package/docs/markdown/interfaces/IGetFeeEstimatesResponse.md +4 -4
- package/docs/markdown/interfaces/IGetHeaderResponse.md +5 -5
- package/docs/markdown/interfaces/IGetNextAvailableAddressResponse.md +4 -4
- package/docs/markdown/interfaces/IGetTransactions.md +5 -5
- package/docs/markdown/interfaces/IGetTransactionsFromInputs.md +5 -5
- package/docs/markdown/interfaces/IGetUtxosResponse.md +2 -2
- package/docs/markdown/interfaces/IHeader.md +3 -3
- package/docs/markdown/interfaces/IIndexes.md +4 -4
- package/docs/markdown/interfaces/IKeyDerivationPath.md +5 -5
- package/docs/markdown/interfaces/IKeyDerivationPathData.md +2 -2
- package/docs/markdown/interfaces/INewBlock.md +2 -2
- package/docs/markdown/interfaces/IOnchainFees.md +5 -5
- package/docs/markdown/interfaces/IOutput.md +3 -3
- package/docs/markdown/interfaces/IPeerData.md +3 -3
- package/docs/markdown/interfaces/IPrivateKeyInfo.md +52 -0
- package/docs/markdown/interfaces/IRbfData.md +6 -6
- package/docs/markdown/interfaces/ISend.md +2 -2
- package/docs/markdown/interfaces/ISendTransaction.md +16 -16
- package/docs/markdown/interfaces/ISendTx.md +3 -3
- package/docs/markdown/interfaces/ISetupTransaction.md +5 -5
- package/docs/markdown/interfaces/ISubscribeToAddress.md +4 -4
- package/docs/markdown/interfaces/ISubscribeToHeader.md +4 -4
- package/docs/markdown/interfaces/ISweepPrivateKey.md +63 -0
- package/docs/markdown/interfaces/ISweepPrivateKeyRes.md +41 -0
- package/docs/markdown/interfaces/ITargets.md +4 -4
- package/docs/markdown/interfaces/ITransaction.md +5 -5
- package/docs/markdown/interfaces/ITxHash.md +1 -1
- package/docs/markdown/interfaces/ITxHashes.md +3 -3
- package/docs/markdown/interfaces/IUtxo.md +18 -23
- package/docs/markdown/interfaces/IVin.md +5 -5
- package/docs/markdown/interfaces/IVout.md +3 -3
- package/docs/markdown/interfaces/IWallet.md +50 -15
- package/docs/markdown/interfaces/IWalletData.md +18 -29
- package/package.json +3 -3
- package/src/electrum/index.ts +17 -11
- package/src/types/wallet.ts +2 -0
- package/src/wallet/constants.ts +0 -8
- package/src/wallet/index.ts +7 -8
- package/dist/mempool/index.js +0 -28
- package/dist/mempool/index.js.map +0 -1
- package/dist/types/mempool/index.d.ts +0 -15
- package/dist/types/mempool.js +0 -3
- package/dist/types/mempool.js.map +0 -1
- package/dist/types/types/mempool.d.ts +0 -16
- package/dist/types/utils/exchange-rate.d.ts +0 -30
- package/dist/utils/exchange-rate.js +0 -49
- package/dist/utils/exchange-rate.js.map +0 -1
- package/docs/markdown/interfaces/IExchangeRates.md +0 -7
|
@@ -11,14 +11,16 @@
|
|
|
11
11
|
### Properties
|
|
12
12
|
|
|
13
13
|
- [\_wallet](Electrum.md#_wallet)
|
|
14
|
+
- [batchDelay](Electrum.md#batchdelay)
|
|
15
|
+
- [batchLimit](Electrum.md#batchlimit)
|
|
14
16
|
- [connectedToElectrum](Electrum.md#connectedtoelectrum)
|
|
15
17
|
- [connectionPollingInterval](Electrum.md#connectionpollinginterval)
|
|
16
18
|
- [electrumNetwork](Electrum.md#electrumnetwork)
|
|
17
19
|
- [latestConnectionState](Electrum.md#latestconnectionstate)
|
|
18
20
|
- [net](Electrum.md#net)
|
|
19
21
|
- [network](Electrum.md#network)
|
|
20
|
-
- [onMessage](Electrum.md#onmessage)
|
|
21
22
|
- [onReceive](Electrum.md#onreceive)
|
|
23
|
+
- [sendMessage](Electrum.md#sendmessage)
|
|
22
24
|
- [servers](Electrum.md#servers)
|
|
23
25
|
- [tls](Electrum.md#tls)
|
|
24
26
|
|
|
@@ -39,7 +41,6 @@
|
|
|
39
41
|
- [getBlockHeader](Electrum.md#getblockheader)
|
|
40
42
|
- [getBlockHex](Electrum.md#getblockhex)
|
|
41
43
|
- [getConnectedPeer](Electrum.md#getconnectedpeer)
|
|
42
|
-
- [getElectrumNetwork](Electrum.md#getelectrumnetwork)
|
|
43
44
|
- [getScriptPubKeyHistory](Electrum.md#getscriptpubkeyhistory)
|
|
44
45
|
- [getTransactionMerkle](Electrum.md#gettransactionmerkle)
|
|
45
46
|
- [getTransactions](Electrum.md#gettransactions)
|
|
@@ -65,6 +66,8 @@
|
|
|
65
66
|
| Name | Type |
|
|
66
67
|
| :------ | :------ |
|
|
67
68
|
| `«destructured»` | `Object` |
|
|
69
|
+
| › `batchDelay?` | `number` |
|
|
70
|
+
| › `batchLimit?` | `number` |
|
|
68
71
|
| › `net?` | `Server` |
|
|
69
72
|
| › `network` | [`EAvailableNetworks`](../enums/EAvailableNetworks.md) |
|
|
70
73
|
| › `onReceive?` | (`data`: `unknown`) => `void` |
|
|
@@ -74,7 +77,7 @@
|
|
|
74
77
|
|
|
75
78
|
#### Defined in
|
|
76
79
|
|
|
77
|
-
[electrum/index.ts:
|
|
80
|
+
[electrum/index.ts:73](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L73)
|
|
78
81
|
|
|
79
82
|
## Properties
|
|
80
83
|
|
|
@@ -84,7 +87,27 @@
|
|
|
84
87
|
|
|
85
88
|
#### Defined in
|
|
86
89
|
|
|
87
|
-
[electrum/index.ts:
|
|
90
|
+
[electrum/index.ts:59](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L59)
|
|
91
|
+
|
|
92
|
+
___
|
|
93
|
+
|
|
94
|
+
### batchDelay
|
|
95
|
+
|
|
96
|
+
• **batchDelay**: `number`
|
|
97
|
+
|
|
98
|
+
#### Defined in
|
|
99
|
+
|
|
100
|
+
[electrum/index.ts:72](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L72)
|
|
101
|
+
|
|
102
|
+
___
|
|
103
|
+
|
|
104
|
+
### batchLimit
|
|
105
|
+
|
|
106
|
+
• **batchLimit**: `number`
|
|
107
|
+
|
|
108
|
+
#### Defined in
|
|
109
|
+
|
|
110
|
+
[electrum/index.ts:71](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L71)
|
|
88
111
|
|
|
89
112
|
___
|
|
90
113
|
|
|
@@ -94,7 +117,7 @@ ___
|
|
|
94
117
|
|
|
95
118
|
#### Defined in
|
|
96
119
|
|
|
97
|
-
[electrum/index.ts:
|
|
120
|
+
[electrum/index.ts:69](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L69)
|
|
98
121
|
|
|
99
122
|
___
|
|
100
123
|
|
|
@@ -104,17 +127,17 @@ ___
|
|
|
104
127
|
|
|
105
128
|
#### Defined in
|
|
106
129
|
|
|
107
|
-
[electrum/index.ts:
|
|
130
|
+
[electrum/index.ts:62](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L62)
|
|
108
131
|
|
|
109
132
|
___
|
|
110
133
|
|
|
111
134
|
### electrumNetwork
|
|
112
135
|
|
|
113
|
-
•
|
|
136
|
+
• **electrumNetwork**: [`EElectrumNetworks`](../enums/EElectrumNetworks.md)
|
|
114
137
|
|
|
115
138
|
#### Defined in
|
|
116
139
|
|
|
117
|
-
[electrum/index.ts:
|
|
140
|
+
[electrum/index.ts:68](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L68)
|
|
118
141
|
|
|
119
142
|
___
|
|
120
143
|
|
|
@@ -124,7 +147,7 @@ ___
|
|
|
124
147
|
|
|
125
148
|
#### Defined in
|
|
126
149
|
|
|
127
|
-
[electrum/index.ts:
|
|
150
|
+
[electrum/index.ts:61](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L61)
|
|
128
151
|
|
|
129
152
|
___
|
|
130
153
|
|
|
@@ -134,27 +157,17 @@ ___
|
|
|
134
157
|
|
|
135
158
|
#### Defined in
|
|
136
159
|
|
|
137
|
-
[electrum/index.ts:
|
|
160
|
+
[electrum/index.ts:64](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L64)
|
|
138
161
|
|
|
139
162
|
___
|
|
140
163
|
|
|
141
164
|
### network
|
|
142
165
|
|
|
143
|
-
•
|
|
166
|
+
• **network**: [`EAvailableNetworks`](../enums/EAvailableNetworks.md)
|
|
144
167
|
|
|
145
168
|
#### Defined in
|
|
146
169
|
|
|
147
|
-
[electrum/index.ts:
|
|
148
|
-
|
|
149
|
-
___
|
|
150
|
-
|
|
151
|
-
### onMessage
|
|
152
|
-
|
|
153
|
-
• `Private` **onMessage**: [`TOnMessage`](../README.md#tonmessage)
|
|
154
|
-
|
|
155
|
-
#### Defined in
|
|
156
|
-
|
|
157
|
-
[electrum/index.ts:54](https://github.com/synonymdev/beignet/blob/583604f/src/electrum/index.ts#L54)
|
|
170
|
+
[electrum/index.ts:67](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L67)
|
|
158
171
|
|
|
159
172
|
___
|
|
160
173
|
|
|
@@ -178,7 +191,17 @@ ___
|
|
|
178
191
|
|
|
179
192
|
#### Defined in
|
|
180
193
|
|
|
181
|
-
[electrum/index.ts:
|
|
194
|
+
[electrum/index.ts:70](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L70)
|
|
195
|
+
|
|
196
|
+
___
|
|
197
|
+
|
|
198
|
+
### sendMessage
|
|
199
|
+
|
|
200
|
+
• `Private` **sendMessage**: [`TOnMessage`](../README.md#tonmessage)
|
|
201
|
+
|
|
202
|
+
#### Defined in
|
|
203
|
+
|
|
204
|
+
[electrum/index.ts:60](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L60)
|
|
182
205
|
|
|
183
206
|
___
|
|
184
207
|
|
|
@@ -188,7 +211,7 @@ ___
|
|
|
188
211
|
|
|
189
212
|
#### Defined in
|
|
190
213
|
|
|
191
|
-
[electrum/index.ts:
|
|
214
|
+
[electrum/index.ts:66](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L66)
|
|
192
215
|
|
|
193
216
|
___
|
|
194
217
|
|
|
@@ -198,7 +221,7 @@ ___
|
|
|
198
221
|
|
|
199
222
|
#### Defined in
|
|
200
223
|
|
|
201
|
-
[electrum/index.ts:
|
|
224
|
+
[electrum/index.ts:63](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L63)
|
|
202
225
|
|
|
203
226
|
## Accessors
|
|
204
227
|
|
|
@@ -212,7 +235,7 @@ ___
|
|
|
212
235
|
|
|
213
236
|
#### Defined in
|
|
214
237
|
|
|
215
|
-
[electrum/index.ts:
|
|
238
|
+
[electrum/index.ts:114](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L114)
|
|
216
239
|
|
|
217
240
|
## Methods
|
|
218
241
|
|
|
@@ -234,7 +257,7 @@ ___
|
|
|
234
257
|
|
|
235
258
|
#### Defined in
|
|
236
259
|
|
|
237
|
-
[electrum/index.ts:
|
|
260
|
+
[electrum/index.ts:763](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L763)
|
|
238
261
|
|
|
239
262
|
___
|
|
240
263
|
|
|
@@ -250,7 +273,7 @@ Attempts to check the current Electrum connection.
|
|
|
250
273
|
|
|
251
274
|
#### Defined in
|
|
252
275
|
|
|
253
|
-
[electrum/index.ts:
|
|
276
|
+
[electrum/index.ts:810](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L810)
|
|
254
277
|
|
|
255
278
|
___
|
|
256
279
|
|
|
@@ -263,6 +286,7 @@ ___
|
|
|
263
286
|
| Name | Type |
|
|
264
287
|
| :------ | :------ |
|
|
265
288
|
| `«destructured»` | `Object` |
|
|
289
|
+
| › `disableRegtestCheck?` | `boolean` |
|
|
266
290
|
| › `network?` | [`EAvailableNetworks`](../enums/EAvailableNetworks.md) |
|
|
267
291
|
| › `servers?` | [`TServer`](../README.md#tserver) \| [`TServer`](../README.md#tserver)[] |
|
|
268
292
|
|
|
@@ -272,7 +296,7 @@ ___
|
|
|
272
296
|
|
|
273
297
|
#### Defined in
|
|
274
298
|
|
|
275
|
-
[electrum/index.ts:
|
|
299
|
+
[electrum/index.ts:118](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L118)
|
|
276
300
|
|
|
277
301
|
___
|
|
278
302
|
|
|
@@ -286,7 +310,7 @@ ___
|
|
|
286
310
|
|
|
287
311
|
#### Defined in
|
|
288
312
|
|
|
289
|
-
[electrum/index.ts:
|
|
313
|
+
[electrum/index.ts:848](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L848)
|
|
290
314
|
|
|
291
315
|
___
|
|
292
316
|
|
|
@@ -308,7 +332,7 @@ Returns the balance in sats for a given address.
|
|
|
308
332
|
|
|
309
333
|
#### Defined in
|
|
310
334
|
|
|
311
|
-
[electrum/index.ts:
|
|
335
|
+
[electrum/index.ts:170](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L170)
|
|
312
336
|
|
|
313
337
|
___
|
|
314
338
|
|
|
@@ -332,7 +356,7 @@ Returns the available history for the provided address script hashes.
|
|
|
332
356
|
|
|
333
357
|
#### Defined in
|
|
334
358
|
|
|
335
|
-
[electrum/index.ts:
|
|
359
|
+
[electrum/index.ts:258](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L258)
|
|
336
360
|
|
|
337
361
|
___
|
|
338
362
|
|
|
@@ -352,7 +376,7 @@ ___
|
|
|
352
376
|
|
|
353
377
|
#### Defined in
|
|
354
378
|
|
|
355
|
-
[electrum/index.ts:
|
|
379
|
+
[electrum/index.ts:190](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L190)
|
|
356
380
|
|
|
357
381
|
___
|
|
358
382
|
|
|
@@ -376,7 +400,7 @@ Leaving blockHex empty will return the last known block hash from storage.
|
|
|
376
400
|
|
|
377
401
|
#### Defined in
|
|
378
402
|
|
|
379
|
-
[electrum/index.ts:
|
|
403
|
+
[electrum/index.ts:594](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L594)
|
|
380
404
|
|
|
381
405
|
___
|
|
382
406
|
|
|
@@ -392,7 +416,7 @@ Returns last known block height, and it's corresponding hex from local storage.
|
|
|
392
416
|
|
|
393
417
|
#### Defined in
|
|
394
418
|
|
|
395
|
-
[electrum/index.ts:
|
|
419
|
+
[electrum/index.ts:610](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L610)
|
|
396
420
|
|
|
397
421
|
___
|
|
398
422
|
|
|
@@ -415,7 +439,7 @@ Returns the block hex of the provided block height.
|
|
|
415
439
|
|
|
416
440
|
#### Defined in
|
|
417
441
|
|
|
418
|
-
[electrum/index.ts:
|
|
442
|
+
[electrum/index.ts:572](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L572)
|
|
419
443
|
|
|
420
444
|
___
|
|
421
445
|
|
|
@@ -431,29 +455,7 @@ Returns currently connected peer.
|
|
|
431
455
|
|
|
432
456
|
#### Defined in
|
|
433
457
|
|
|
434
|
-
[electrum/index.ts:
|
|
435
|
-
|
|
436
|
-
___
|
|
437
|
-
|
|
438
|
-
### getElectrumNetwork
|
|
439
|
-
|
|
440
|
-
▸ **getElectrumNetwork**(`network?`): [`EElectrumNetworks`](../enums/EElectrumNetworks.md)
|
|
441
|
-
|
|
442
|
-
Returns the network string for use with Electrum methods.
|
|
443
|
-
|
|
444
|
-
#### Parameters
|
|
445
|
-
|
|
446
|
-
| Name | Type |
|
|
447
|
-
| :------ | :------ |
|
|
448
|
-
| `network?` | [`EAvailableNetworks`](../enums/EAvailableNetworks.md) |
|
|
449
|
-
|
|
450
|
-
#### Returns
|
|
451
|
-
|
|
452
|
-
[`EElectrumNetworks`](../enums/EElectrumNetworks.md)
|
|
453
|
-
|
|
454
|
-
#### Defined in
|
|
455
|
-
|
|
456
|
-
[electrum/index.ts:191](https://github.com/synonymdev/beignet/blob/583604f/src/electrum/index.ts#L191)
|
|
458
|
+
[electrum/index.ts:203](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L203)
|
|
457
459
|
|
|
458
460
|
___
|
|
459
461
|
|
|
@@ -475,7 +477,7 @@ Used to retrieve scriptPubkey history for LDK.
|
|
|
475
477
|
|
|
476
478
|
#### Defined in
|
|
477
479
|
|
|
478
|
-
[electrum/index.ts:
|
|
480
|
+
[electrum/index.ts:374](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L374)
|
|
479
481
|
|
|
480
482
|
___
|
|
481
483
|
|
|
@@ -499,7 +501,7 @@ Returns the merkle branch to a confirmed transaction given its hash and height.
|
|
|
499
501
|
|
|
500
502
|
#### Defined in
|
|
501
503
|
|
|
502
|
-
[electrum/index.ts:
|
|
504
|
+
[electrum/index.ts:649](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L649)
|
|
503
505
|
|
|
504
506
|
___
|
|
505
507
|
|
|
@@ -522,7 +524,7 @@ Returns available transactions from electrum based on the provided txHashes.
|
|
|
522
524
|
|
|
523
525
|
#### Defined in
|
|
524
526
|
|
|
525
|
-
[electrum/index.ts:
|
|
527
|
+
[electrum/index.ts:492](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L492)
|
|
526
528
|
|
|
527
529
|
___
|
|
528
530
|
|
|
@@ -545,7 +547,7 @@ Returns transactions associated with the provided transaction hashes.
|
|
|
545
547
|
|
|
546
548
|
#### Defined in
|
|
547
549
|
|
|
548
|
-
[electrum/index.ts:
|
|
550
|
+
[electrum/index.ts:619](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L619)
|
|
549
551
|
|
|
550
552
|
___
|
|
551
553
|
|
|
@@ -568,7 +570,7 @@ Returns UTXO's for a given wallet and network along with the available balance.
|
|
|
568
570
|
|
|
569
571
|
#### Defined in
|
|
570
572
|
|
|
571
|
-
[electrum/index.ts:
|
|
573
|
+
[electrum/index.ts:416](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L416)
|
|
572
574
|
|
|
573
575
|
___
|
|
574
576
|
|
|
@@ -582,7 +584,7 @@ ___
|
|
|
582
584
|
|
|
583
585
|
#### Defined in
|
|
584
586
|
|
|
585
|
-
[electrum/index.ts:
|
|
587
|
+
[electrum/index.ts:160](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L160)
|
|
586
588
|
|
|
587
589
|
___
|
|
588
590
|
|
|
@@ -605,7 +607,7 @@ Queries Electrum to return the available UTXO's and balance of the provided addr
|
|
|
605
607
|
|
|
606
608
|
#### Defined in
|
|
607
609
|
|
|
608
|
-
[electrum/index.ts:
|
|
610
|
+
[electrum/index.ts:216](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L216)
|
|
609
611
|
|
|
610
612
|
___
|
|
611
613
|
|
|
@@ -625,7 +627,7 @@ ___
|
|
|
625
627
|
|
|
626
628
|
#### Defined in
|
|
627
629
|
|
|
628
|
-
[electrum/index.ts:
|
|
630
|
+
[electrum/index.ts:837](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L837)
|
|
629
631
|
|
|
630
632
|
___
|
|
631
633
|
|
|
@@ -639,7 +641,7 @@ ___
|
|
|
639
641
|
|
|
640
642
|
#### Defined in
|
|
641
643
|
|
|
642
|
-
[electrum/index.ts:
|
|
644
|
+
[electrum/index.ts:853](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L853)
|
|
643
645
|
|
|
644
646
|
___
|
|
645
647
|
|
|
@@ -653,7 +655,7 @@ ___
|
|
|
653
655
|
|
|
654
656
|
#### Defined in
|
|
655
657
|
|
|
656
|
-
[electrum/index.ts:
|
|
658
|
+
[electrum/index.ts:861](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L861)
|
|
657
659
|
|
|
658
660
|
___
|
|
659
661
|
|
|
@@ -677,7 +679,7 @@ Subscribes to a number of address script hashes for receiving.
|
|
|
677
679
|
|
|
678
680
|
#### Defined in
|
|
679
681
|
|
|
680
|
-
[electrum/index.ts:
|
|
682
|
+
[electrum/index.ts:706](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L706)
|
|
681
683
|
|
|
682
684
|
___
|
|
683
685
|
|
|
@@ -693,7 +695,7 @@ Subscribes to the current networks headers.
|
|
|
693
695
|
|
|
694
696
|
#### Defined in
|
|
695
697
|
|
|
696
|
-
[electrum/index.ts:
|
|
698
|
+
[electrum/index.ts:671](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L671)
|
|
697
699
|
|
|
698
700
|
___
|
|
699
701
|
|
|
@@ -715,4 +717,4 @@ Determines whether a transaction exists based on the transaction response from e
|
|
|
715
717
|
|
|
716
718
|
#### Defined in
|
|
717
719
|
|
|
718
|
-
[electrum/index.ts:
|
|
720
|
+
[electrum/index.ts:549](https://github.com/synonymdev/beignet/blob/05d5011/src/electrum/index.ts#L549)
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
### Methods
|
|
21
21
|
|
|
22
|
+
- [addExternalInputs](Transaction.md#addexternalinputs)
|
|
22
23
|
- [addInput](Transaction.md#addinput)
|
|
23
24
|
- [addOutput](Transaction.md#addoutput)
|
|
24
25
|
- [createPsbtFromTransactionData](Transaction.md#createpsbtfromtransactiondata)
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
|
|
55
56
|
#### Defined in
|
|
56
57
|
|
|
57
|
-
[transaction/index.ts:
|
|
58
|
+
[transaction/index.ts:49](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L49)
|
|
58
59
|
|
|
59
60
|
## Properties
|
|
60
61
|
|
|
@@ -64,7 +65,7 @@
|
|
|
64
65
|
|
|
65
66
|
#### Defined in
|
|
66
67
|
|
|
67
|
-
[transaction/index.ts:
|
|
68
|
+
[transaction/index.ts:46](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L46)
|
|
68
69
|
|
|
69
70
|
___
|
|
70
71
|
|
|
@@ -74,7 +75,7 @@ ___
|
|
|
74
75
|
|
|
75
76
|
#### Defined in
|
|
76
77
|
|
|
77
|
-
[transaction/index.ts:
|
|
78
|
+
[transaction/index.ts:47](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L47)
|
|
78
79
|
|
|
79
80
|
## Accessors
|
|
80
81
|
|
|
@@ -88,10 +89,34 @@ ___
|
|
|
88
89
|
|
|
89
90
|
#### Defined in
|
|
90
91
|
|
|
91
|
-
[transaction/index.ts:
|
|
92
|
+
[transaction/index.ts:54](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L54)
|
|
92
93
|
|
|
93
94
|
## Methods
|
|
94
95
|
|
|
96
|
+
### addExternalInputs
|
|
97
|
+
|
|
98
|
+
▸ **addExternalInputs**(`«destructured»`): [`Result`](../README.md#result)<[`IUtxo`](../interfaces/IUtxo.md)[]\>
|
|
99
|
+
|
|
100
|
+
Adds external inputs to the current transaction.
|
|
101
|
+
|
|
102
|
+
#### Parameters
|
|
103
|
+
|
|
104
|
+
| Name | Type |
|
|
105
|
+
| :------ | :------ |
|
|
106
|
+
| `«destructured»` | `Object` |
|
|
107
|
+
| › `inputs` | [`IUtxo`](../interfaces/IUtxo.md)[] |
|
|
108
|
+
| › `keyPair` | `BIP32Interface` \| `ECPairInterface` |
|
|
109
|
+
|
|
110
|
+
#### Returns
|
|
111
|
+
|
|
112
|
+
[`Result`](../README.md#result)<[`IUtxo`](../interfaces/IUtxo.md)[]\>
|
|
113
|
+
|
|
114
|
+
#### Defined in
|
|
115
|
+
|
|
116
|
+
[transaction/index.ts:772](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L772)
|
|
117
|
+
|
|
118
|
+
___
|
|
119
|
+
|
|
95
120
|
### addInput
|
|
96
121
|
|
|
97
122
|
▸ **addInput**(`«destructured»`): `Promise`<[`Result`](../README.md#result)<`string`\>\>
|
|
@@ -108,7 +133,7 @@ ___
|
|
|
108
133
|
|
|
109
134
|
#### Defined in
|
|
110
135
|
|
|
111
|
-
[transaction/index.ts:
|
|
136
|
+
[transaction/index.ts:659](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L659)
|
|
112
137
|
|
|
113
138
|
___
|
|
114
139
|
|
|
@@ -130,7 +155,7 @@ Adds an output at the specified index to the current transaction.
|
|
|
130
155
|
|
|
131
156
|
#### Defined in
|
|
132
157
|
|
|
133
|
-
[transaction/index.ts:
|
|
158
|
+
[transaction/index.ts:821](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L821)
|
|
134
159
|
|
|
135
160
|
___
|
|
136
161
|
|
|
@@ -155,7 +180,7 @@ Returns a PSBT that includes unsigned funding inputs.
|
|
|
155
180
|
|
|
156
181
|
#### Defined in
|
|
157
182
|
|
|
158
|
-
[transaction/index.ts:
|
|
183
|
+
[transaction/index.ts:520](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L520)
|
|
159
184
|
|
|
160
185
|
___
|
|
161
186
|
|
|
@@ -177,7 +202,7 @@ Creates complete signed transaction using the transaction data store
|
|
|
177
202
|
|
|
178
203
|
#### Defined in
|
|
179
204
|
|
|
180
|
-
[transaction/index.ts:
|
|
205
|
+
[transaction/index.ts:379](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L379)
|
|
181
206
|
|
|
182
207
|
___
|
|
183
208
|
|
|
@@ -201,7 +226,7 @@ Calculates the max amount able to send for onchain/lightning
|
|
|
201
226
|
|
|
202
227
|
#### Defined in
|
|
203
228
|
|
|
204
|
-
[transaction/index.ts:
|
|
229
|
+
[transaction/index.ts:1047](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L1047)
|
|
205
230
|
|
|
206
231
|
___
|
|
207
232
|
|
|
@@ -225,7 +250,7 @@ Returns the maximum sats per byte that can be used for a given transaction.
|
|
|
225
250
|
|
|
226
251
|
#### Defined in
|
|
227
252
|
|
|
228
|
-
[transaction/index.ts:
|
|
253
|
+
[transaction/index.ts:363](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L363)
|
|
229
254
|
|
|
230
255
|
___
|
|
231
256
|
|
|
@@ -250,7 +275,7 @@ Calculates the max amount able to send for the provided/current onchain transact
|
|
|
250
275
|
|
|
251
276
|
#### Defined in
|
|
252
277
|
|
|
253
|
-
[transaction/index.ts:
|
|
278
|
+
[transaction/index.ts:1114](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L1114)
|
|
254
279
|
|
|
255
280
|
___
|
|
256
281
|
|
|
@@ -276,7 +301,7 @@ Attempt to estimate the current fee for a given transaction and its UTXO's
|
|
|
276
301
|
|
|
277
302
|
#### Defined in
|
|
278
303
|
|
|
279
|
-
[transaction/index.ts:
|
|
304
|
+
[transaction/index.ts:215](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L215)
|
|
280
305
|
|
|
281
306
|
___
|
|
282
307
|
|
|
@@ -302,7 +327,7 @@ Attempt to estimate the current fee for a given transaction and its UTXO's
|
|
|
302
327
|
|
|
303
328
|
#### Defined in
|
|
304
329
|
|
|
305
|
-
[transaction/index.ts:
|
|
330
|
+
[transaction/index.ts:270](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L270)
|
|
306
331
|
|
|
307
332
|
___
|
|
308
333
|
|
|
@@ -325,7 +350,7 @@ Returns total value of all utxos.
|
|
|
325
350
|
|
|
326
351
|
#### Defined in
|
|
327
352
|
|
|
328
|
-
[transaction/index.ts:
|
|
353
|
+
[transaction/index.ts:448](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L448)
|
|
329
354
|
|
|
330
355
|
___
|
|
331
356
|
|
|
@@ -348,7 +373,7 @@ Returns total value of all outputs. Excludes any value that would be sent to the
|
|
|
348
373
|
|
|
349
374
|
#### Defined in
|
|
350
375
|
|
|
351
|
-
[transaction/index.ts:
|
|
376
|
+
[transaction/index.ts:845](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L845)
|
|
352
377
|
|
|
353
378
|
___
|
|
354
379
|
|
|
@@ -370,7 +395,7 @@ Removes blacklisted UTXO's from the UTXO array.
|
|
|
370
395
|
|
|
371
396
|
#### Defined in
|
|
372
397
|
|
|
373
|
-
[transaction/index.ts:
|
|
398
|
+
[transaction/index.ts:191](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L191)
|
|
374
399
|
|
|
375
400
|
___
|
|
376
401
|
|
|
@@ -386,7 +411,7 @@ This completely resets the send transaction state.
|
|
|
386
411
|
|
|
387
412
|
#### Defined in
|
|
388
413
|
|
|
389
|
-
[transaction/index.ts:
|
|
414
|
+
[transaction/index.ts:181](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L181)
|
|
390
415
|
|
|
391
416
|
___
|
|
392
417
|
|
|
@@ -413,7 +438,7 @@ Toggles the max amount to the provided output index.
|
|
|
413
438
|
|
|
414
439
|
#### Defined in
|
|
415
440
|
|
|
416
|
-
[transaction/index.ts:
|
|
441
|
+
[transaction/index.ts:982](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L982)
|
|
417
442
|
|
|
418
443
|
___
|
|
419
444
|
|
|
@@ -437,7 +462,7 @@ Sets up a CPFP transaction.
|
|
|
437
462
|
|
|
438
463
|
#### Defined in
|
|
439
464
|
|
|
440
|
-
[transaction/index.ts:
|
|
465
|
+
[transaction/index.ts:1165](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L1165)
|
|
441
466
|
|
|
442
467
|
___
|
|
443
468
|
|
|
@@ -460,7 +485,7 @@ This function will not override previously set transaction data. To do that you'
|
|
|
460
485
|
|
|
461
486
|
#### Defined in
|
|
462
487
|
|
|
463
|
-
[transaction/index.ts:
|
|
488
|
+
[transaction/index.ts:68](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L68)
|
|
464
489
|
|
|
465
490
|
___
|
|
466
491
|
|
|
@@ -484,7 +509,7 @@ Loops through inputs and signs them
|
|
|
484
509
|
|
|
485
510
|
#### Defined in
|
|
486
511
|
|
|
487
|
-
[transaction/index.ts:
|
|
512
|
+
[transaction/index.ts:472](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L472)
|
|
488
513
|
|
|
489
514
|
___
|
|
490
515
|
|
|
@@ -510,7 +535,7 @@ Updates the fee for the current transaction by the specified amount.
|
|
|
510
535
|
|
|
511
536
|
#### Defined in
|
|
512
537
|
|
|
513
|
-
[transaction/index.ts:
|
|
538
|
+
[transaction/index.ts:908](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L908)
|
|
514
539
|
|
|
515
540
|
___
|
|
516
541
|
|
|
@@ -533,4 +558,4 @@ This updates the transaction state used for sending.
|
|
|
533
558
|
|
|
534
559
|
#### Defined in
|
|
535
560
|
|
|
536
|
-
[transaction/index.ts:
|
|
561
|
+
[transaction/index.ts:870](https://github.com/synonymdev/beignet/blob/05d5011/src/transaction/index.ts#L870)
|