@bsv/wallet-toolbox 1.1.7 → 1.1.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.
- package/docs/client.md +499 -486
- package/docs/monitor.md +29 -27
- package/docs/services.md +22 -22
- package/docs/setup.md +23 -23
- package/docs/storage.md +2177 -419
- package/docs/wallet.md +499 -486
- package/out/src/monitor/tasks/TaskCheckForProofs.d.ts +4 -4
- package/out/src/monitor/tasks/TaskCheckForProofs.d.ts.map +1 -1
- package/out/src/monitor/tasks/TaskCheckForProofs.js +2 -2
- package/out/src/monitor/tasks/TaskCheckForProofs.js.map +1 -1
- package/out/src/monitor/tasks/TaskSendWaiting.d.ts +2 -2
- package/out/src/monitor/tasks/TaskSendWaiting.d.ts.map +1 -1
- package/out/src/monitor/tasks/TaskSendWaiting.js +2 -2
- package/out/src/monitor/tasks/TaskSendWaiting.js.map +1 -1
- package/out/src/sdk/StorageSyncReader.d.ts +30 -30
- package/out/src/sdk/StorageSyncReader.d.ts.map +1 -1
- package/out/src/sdk/StorageSyncReaderWriter.d.ts +60 -60
- package/out/src/sdk/StorageSyncReaderWriter.d.ts.map +1 -1
- package/out/src/sdk/WalletStorage.interfaces.d.ts +36 -36
- package/out/src/sdk/WalletStorage.interfaces.d.ts.map +1 -1
- package/out/src/signer/methods/acquireDirectCertificate.d.ts.map +1 -1
- package/out/src/signer/methods/acquireDirectCertificate.js.map +1 -1
- package/out/src/storage/StorageKnex.d.ts +61 -61
- package/out/src/storage/StorageKnex.d.ts.map +1 -1
- package/out/src/storage/StorageKnex.js +2 -2
- package/out/src/storage/StorageKnex.js.map +1 -1
- package/out/src/storage/StorageProvider.d.ts +16 -15
- package/out/src/storage/StorageProvider.d.ts.map +1 -1
- package/out/src/storage/StorageProvider.js +8 -8
- package/out/src/storage/StorageProvider.js.map +1 -1
- package/out/src/storage/StorageReader.d.ts +21 -21
- package/out/src/storage/StorageReader.d.ts.map +1 -1
- package/out/src/storage/StorageReader.js.map +1 -1
- package/out/src/storage/StorageReaderWriter.d.ts +60 -60
- package/out/src/storage/StorageReaderWriter.d.ts.map +1 -1
- package/out/src/storage/StorageReaderWriter.js.map +1 -1
- package/out/src/storage/StorageSyncReader.d.ts +17 -17
- package/out/src/storage/StorageSyncReader.d.ts.map +1 -1
- package/out/src/storage/StorageSyncReader.js.map +1 -1
- package/out/src/storage/WalletStorageManager.d.ts +9 -9
- package/out/src/storage/WalletStorageManager.d.ts.map +1 -1
- package/out/src/storage/WalletStorageManager.js +2 -2
- package/out/src/storage/WalletStorageManager.js.map +1 -1
- package/out/src/storage/index.all.d.ts +2 -2
- package/out/src/storage/index.all.d.ts.map +1 -1
- package/out/src/storage/index.all.js +3 -3
- package/out/src/storage/index.all.js.map +1 -1
- package/out/src/storage/index.client.d.ts +2 -2
- package/out/src/storage/index.client.d.ts.map +1 -1
- package/out/src/storage/index.client.js +2 -25
- package/out/src/storage/index.client.js.map +1 -1
- package/out/src/storage/methods/attemptToPostReqsToNetwork.d.ts +3 -3
- package/out/src/storage/methods/attemptToPostReqsToNetwork.d.ts.map +1 -1
- package/out/src/storage/methods/attemptToPostReqsToNetwork.js.map +1 -1
- package/out/src/storage/methods/createAction.d.ts.map +1 -1
- package/out/src/storage/methods/createAction.js +1 -1
- package/out/src/storage/methods/createAction.js.map +1 -1
- package/out/src/storage/methods/getBeefForTransaction.js +2 -2
- package/out/src/storage/methods/getBeefForTransaction.js.map +1 -1
- package/out/src/storage/methods/getSyncChunk.d.ts.map +1 -1
- package/out/src/storage/methods/getSyncChunk.js.map +1 -1
- package/out/src/storage/methods/internalizeAction.d.ts.map +1 -1
- package/out/src/storage/methods/internalizeAction.js +1 -1
- package/out/src/storage/methods/internalizeAction.js.map +1 -1
- package/out/src/storage/methods/listActions.js.map +1 -1
- package/out/src/storage/methods/listCertificates.d.ts.map +1 -1
- package/out/src/storage/methods/listCertificates.js.map +1 -1
- package/out/src/storage/methods/listOutputs.js.map +1 -1
- package/out/src/storage/methods/processAction.d.ts +4 -4
- package/out/src/storage/methods/processAction.d.ts.map +1 -1
- package/out/src/storage/methods/processAction.js +2 -2
- package/out/src/storage/methods/processAction.js.map +1 -1
- package/out/src/storage/methods/purgeData.d.ts.map +1 -1
- package/out/src/storage/methods/purgeData.js.map +1 -1
- package/out/src/storage/methods/reviewStatus.js.map +1 -1
- package/out/src/storage/remoting/StorageClient.d.ts +11 -11
- package/out/src/storage/remoting/StorageClient.d.ts.map +1 -1
- package/out/src/storage/remoting/StorageClient.js.map +1 -1
- package/out/src/storage/schema/entities/Certificate.d.ts +9 -9
- package/out/src/storage/schema/entities/Certificate.d.ts.map +1 -1
- package/out/src/storage/schema/entities/Certificate.js +5 -5
- package/out/src/storage/schema/entities/Certificate.js.map +1 -1
- package/out/src/storage/schema/entities/CertificateField.d.ts +9 -9
- package/out/src/storage/schema/entities/CertificateField.d.ts.map +1 -1
- package/out/src/storage/schema/entities/CertificateField.js +5 -5
- package/out/src/storage/schema/entities/CertificateField.js.map +1 -1
- package/out/src/storage/schema/entities/Commission.d.ts +9 -9
- package/out/src/storage/schema/entities/Commission.d.ts.map +1 -1
- package/out/src/storage/schema/entities/Commission.js +5 -5
- package/out/src/storage/schema/entities/Commission.js.map +1 -1
- package/out/src/storage/schema/entities/EntityBase.d.ts +1 -1
- package/out/src/storage/schema/entities/MergeEntity.d.ts +6 -7
- package/out/src/storage/schema/entities/MergeEntity.d.ts.map +1 -1
- package/out/src/storage/schema/entities/MergeEntity.js.map +1 -1
- package/out/src/storage/schema/entities/Output.d.ts +9 -9
- package/out/src/storage/schema/entities/Output.d.ts.map +1 -1
- package/out/src/storage/schema/entities/Output.js +5 -5
- package/out/src/storage/schema/entities/Output.js.map +1 -1
- package/out/src/storage/schema/entities/OutputBasket.d.ts +9 -9
- package/out/src/storage/schema/entities/OutputBasket.d.ts.map +1 -1
- package/out/src/storage/schema/entities/OutputBasket.js +5 -5
- package/out/src/storage/schema/entities/OutputBasket.js.map +1 -1
- package/out/src/storage/schema/entities/OutputTag.d.ts +9 -9
- package/out/src/storage/schema/entities/OutputTag.d.ts.map +1 -1
- package/out/src/storage/schema/entities/OutputTag.js +5 -5
- package/out/src/storage/schema/entities/OutputTag.js.map +1 -1
- package/out/src/storage/schema/entities/OutputTagMap.d.ts +9 -9
- package/out/src/storage/schema/entities/OutputTagMap.d.ts.map +1 -1
- package/out/src/storage/schema/entities/OutputTagMap.js +5 -5
- package/out/src/storage/schema/entities/OutputTagMap.js.map +1 -1
- package/out/src/storage/schema/entities/ProvenTx.d.ts +11 -11
- package/out/src/storage/schema/entities/ProvenTx.d.ts.map +1 -1
- package/out/src/storage/schema/entities/ProvenTx.js +11 -11
- package/out/src/storage/schema/entities/ProvenTx.js.map +1 -1
- package/out/src/storage/schema/entities/ProvenTxReq.d.ts +19 -19
- package/out/src/storage/schema/entities/ProvenTxReq.d.ts.map +1 -1
- package/out/src/storage/schema/entities/ProvenTxReq.js +13 -13
- package/out/src/storage/schema/entities/ProvenTxReq.js.map +1 -1
- package/out/src/storage/schema/entities/SyncState.d.ts +11 -11
- package/out/src/storage/schema/entities/SyncState.d.ts.map +1 -1
- package/out/src/storage/schema/entities/SyncState.js +27 -27
- package/out/src/storage/schema/entities/SyncState.js.map +1 -1
- package/out/src/storage/schema/entities/Transaction.d.ts +11 -11
- package/out/src/storage/schema/entities/Transaction.d.ts.map +1 -1
- package/out/src/storage/schema/entities/Transaction.js +6 -6
- package/out/src/storage/schema/entities/Transaction.js.map +1 -1
- package/out/src/storage/schema/entities/TxLabel.d.ts +9 -9
- package/out/src/storage/schema/entities/TxLabel.d.ts.map +1 -1
- package/out/src/storage/schema/entities/TxLabel.js +5 -5
- package/out/src/storage/schema/entities/TxLabel.js.map +1 -1
- package/out/src/storage/schema/entities/TxLabelMap.d.ts +9 -9
- package/out/src/storage/schema/entities/TxLabelMap.d.ts.map +1 -1
- package/out/src/storage/schema/entities/TxLabelMap.js +5 -5
- package/out/src/storage/schema/entities/TxLabelMap.js.map +1 -1
- package/out/src/storage/schema/entities/User.d.ts +9 -9
- package/out/src/storage/schema/entities/User.d.ts.map +1 -1
- package/out/src/storage/schema/entities/User.js +5 -5
- package/out/src/storage/schema/entities/User.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/CertificateFieldTests.test.js +20 -307
- package/out/src/storage/schema/entities/__tests/CertificateFieldTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/CertificateTests.test.js +17 -158
- package/out/src/storage/schema/entities/__tests/CertificateTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/CommissionTests.test.js +23 -309
- package/out/src/storage/schema/entities/__tests/CommissionTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/OutputBasketTests.test.js +19 -306
- package/out/src/storage/schema/entities/__tests/OutputBasketTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/OutputTagMapTests.test.js +19 -306
- package/out/src/storage/schema/entities/__tests/OutputTagMapTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/OutputTagTests.test.js +23 -237
- package/out/src/storage/schema/entities/__tests/OutputTagTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/OutputTests.test.js +20 -233
- package/out/src/storage/schema/entities/__tests/OutputTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/ProvenTxReqTests.test.js +27 -98
- package/out/src/storage/schema/entities/__tests/ProvenTxReqTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/ProvenTxTests.test.js +25 -241
- package/out/src/storage/schema/entities/__tests/ProvenTxTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/SyncStateTests.test.js +38 -112
- package/out/src/storage/schema/entities/__tests/SyncStateTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/TransactionTests.test.js +39 -323
- package/out/src/storage/schema/entities/__tests/TransactionTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/TxLabelMapTests.test.js +31 -169
- package/out/src/storage/schema/entities/__tests/TxLabelMapTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/TxLabelTests.test.js +16 -159
- package/out/src/storage/schema/entities/__tests/TxLabelTests.test.js.map +1 -1
- package/out/src/storage/schema/entities/__tests/usersTests.test.js +21 -168
- package/out/src/storage/schema/entities/__tests/usersTests.test.js.map +1 -1
- package/out/src/storage/schema/tables/Certificate.d.ts +4 -4
- package/out/src/storage/schema/tables/Certificate.d.ts.map +1 -1
- package/out/src/storage/schema/tables/CertificateField.d.ts +1 -1
- package/out/src/storage/schema/tables/CertificateField.d.ts.map +1 -1
- package/out/src/storage/schema/tables/Commission.d.ts +1 -1
- package/out/src/storage/schema/tables/Commission.d.ts.map +1 -1
- package/out/src/storage/schema/tables/MonitorEvent.d.ts +1 -1
- package/out/src/storage/schema/tables/MonitorEvent.d.ts.map +1 -1
- package/out/src/storage/schema/tables/Output.d.ts +5 -5
- package/out/src/storage/schema/tables/Output.d.ts.map +1 -1
- package/out/src/storage/schema/tables/OutputBasket.d.ts +1 -1
- package/out/src/storage/schema/tables/OutputBasket.d.ts.map +1 -1
- package/out/src/storage/schema/tables/OutputTag.d.ts +1 -1
- package/out/src/storage/schema/tables/OutputTag.d.ts.map +1 -1
- package/out/src/storage/schema/tables/OutputTagMap.d.ts +1 -1
- package/out/src/storage/schema/tables/OutputTagMap.d.ts.map +1 -1
- package/out/src/storage/schema/tables/ProvenTx.d.ts +1 -1
- package/out/src/storage/schema/tables/ProvenTx.d.ts.map +1 -1
- package/out/src/storage/schema/tables/ProvenTxReq.d.ts +2 -2
- package/out/src/storage/schema/tables/ProvenTxReq.d.ts.map +1 -1
- package/out/src/storage/schema/tables/SyncState.d.ts +1 -1
- package/out/src/storage/schema/tables/SyncState.d.ts.map +1 -1
- package/out/src/storage/schema/tables/{Settings.d.ts → TableSettings.d.ts} +2 -2
- package/out/src/storage/schema/tables/TableSettings.d.ts.map +1 -0
- package/out/src/storage/schema/tables/{Settings.js → TableSettings.js} +1 -1
- package/out/src/storage/schema/tables/TableSettings.js.map +1 -0
- package/out/src/storage/schema/tables/Transaction.d.ts +1 -1
- package/out/src/storage/schema/tables/Transaction.d.ts.map +1 -1
- package/out/src/storage/schema/tables/TxLabel.d.ts +1 -1
- package/out/src/storage/schema/tables/TxLabel.d.ts.map +1 -1
- package/out/src/storage/schema/tables/TxLabelMap.d.ts +1 -1
- package/out/src/storage/schema/tables/TxLabelMap.d.ts.map +1 -1
- package/out/src/storage/schema/tables/User.d.ts +1 -1
- package/out/src/storage/schema/tables/User.d.ts.map +1 -1
- package/out/src/storage/schema/tables/index.d.ts +1 -1
- package/out/src/storage/schema/tables/index.d.ts.map +1 -1
- package/out/src/storage/schema/tables/index.js +1 -1
- package/out/src/storage/schema/tables/index.js.map +1 -1
- package/out/src/storage/sync/StorageMySQLDojoReader.d.ts +17 -17
- package/out/src/storage/sync/StorageMySQLDojoReader.d.ts.map +1 -1
- package/out/src/storage/sync/StorageMySQLDojoReader.js +2 -2
- package/out/src/storage/sync/StorageMySQLDojoReader.js.map +1 -1
- package/out/test/Wallet/certificate/listCertificates.test.js.map +1 -1
- package/out/test/Wallet/live/walletLive.man.test.js +1 -1
- package/out/test/Wallet/live/walletLive.man.test.js.map +1 -1
- package/out/test/monitor/Monitor.test.js +7 -7
- package/out/test/monitor/Monitor.test.js.map +1 -1
- package/out/test/storage/StorageMySQLDojoReader.man.test.js +1 -1
- package/out/test/storage/StorageMySQLDojoReader.man.test.js.map +1 -1
- package/out/test/storage/insert.test.js.map +1 -1
- package/out/test/storage/update.test.js.map +1 -1
- package/out/test/storage/update2.test.js.map +1 -1
- package/out/test/utils/TestUtilsWalletStorage.d.ts +56 -56
- package/out/test/utils/TestUtilsWalletStorage.d.ts.map +1 -1
- package/out/test/utils/TestUtilsWalletStorage.js +11 -4
- package/out/test/utils/TestUtilsWalletStorage.js.map +1 -1
- package/out/test/wallet/action/createActionToGenerateBeefs.man.test.js.map +1 -1
- package/out/tsconfig.all.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/monitor/tasks/TaskCheckForProofs.ts +11 -10
- package/src/monitor/tasks/TaskSendWaiting.ts +5 -5
- package/src/sdk/StorageSyncReader.ts +47 -30
- package/src/sdk/StorageSyncReaderWriter.ts +77 -63
- package/src/sdk/WalletStorage.interfaces.ts +55 -36
- package/src/signer/methods/acquireDirectCertificate.ts +2 -2
- package/src/storage/StorageKnex.ts +124 -104
- package/src/storage/StorageProvider.ts +43 -30
- package/src/storage/StorageReader.ts +36 -21
- package/src/storage/StorageReaderWriter.ts +78 -65
- package/src/storage/StorageSyncReader.ts +34 -17
- package/src/storage/WalletStorageManager.ts +17 -12
- package/src/storage/index.all.ts +2 -2
- package/src/storage/index.client.ts +2 -2
- package/src/storage/methods/attemptToPostReqsToNetwork.ts +3 -3
- package/src/storage/methods/createAction.ts +29 -26
- package/src/storage/methods/getBeefForTransaction.ts +3 -3
- package/src/storage/methods/getSyncChunk.ts +28 -13
- package/src/storage/methods/internalizeAction.ts +19 -17
- package/src/storage/methods/listActions.ts +5 -5
- package/src/storage/methods/listCertificates.ts +2 -2
- package/src/storage/methods/listOutputs.ts +5 -5
- package/src/storage/methods/processAction.ts +21 -17
- package/src/storage/methods/purgeData.ts +17 -11
- package/src/storage/methods/reviewStatus.ts +4 -4
- package/src/storage/remoting/StorageClient.ts +28 -18
- package/src/storage/schema/entities/Certificate.ts +16 -17
- package/src/storage/schema/entities/CertificateField.ts +17 -18
- package/src/storage/schema/entities/Commission.ts +16 -20
- package/src/storage/schema/entities/EntityBase.ts +1 -1
- package/src/storage/schema/entities/MergeEntity.ts +7 -7
- package/src/storage/schema/entities/Output.ts +16 -20
- package/src/storage/schema/entities/OutputBasket.ts +16 -17
- package/src/storage/schema/entities/OutputTag.ts +16 -20
- package/src/storage/schema/entities/OutputTagMap.ts +17 -18
- package/src/storage/schema/entities/ProvenTx.ts +24 -28
- package/src/storage/schema/entities/ProvenTxReq.ts +42 -45
- package/src/storage/schema/entities/SyncState.ts +61 -38
- package/src/storage/schema/entities/Transaction.ts +23 -23
- package/src/storage/schema/entities/TxLabel.ts +16 -17
- package/src/storage/schema/entities/TxLabelMap.ts +16 -20
- package/src/storage/schema/entities/User.ts +15 -19
- package/src/storage/schema/entities/__tests/CertificateFieldTests.test.ts +39 -318
- package/src/storage/schema/entities/__tests/CertificateTests.test.ts +29 -169
- package/src/storage/schema/entities/__tests/CommissionTests.test.ts +47 -325
- package/src/storage/schema/entities/__tests/OutputBasketTests.test.ts +35 -316
- package/src/storage/schema/entities/__tests/OutputTagMapTests.test.ts +38 -318
- package/src/storage/schema/entities/__tests/OutputTagTests.test.ts +36 -249
- package/src/storage/schema/entities/__tests/OutputTests.test.ts +30 -244
- package/src/storage/schema/entities/__tests/ProvenTxReqTests.test.ts +35 -101
- package/src/storage/schema/entities/__tests/ProvenTxTests.test.ts +27 -243
- package/src/storage/schema/entities/__tests/SyncStateTests.test.ts +54 -122
- package/src/storage/schema/entities/__tests/TransactionTests.test.ts +53 -333
- package/src/storage/schema/entities/__tests/TxLabelMapTests.test.ts +44 -177
- package/src/storage/schema/entities/__tests/TxLabelTests.test.ts +19 -163
- package/src/storage/schema/entities/__tests/usersTests.test.ts +31 -179
- package/src/storage/schema/tables/Certificate.ts +4 -4
- package/src/storage/schema/tables/CertificateField.ts +1 -1
- package/src/storage/schema/tables/Commission.ts +1 -1
- package/src/storage/schema/tables/MonitorEvent.ts +1 -1
- package/src/storage/schema/tables/Output.ts +5 -5
- package/src/storage/schema/tables/OutputBasket.ts +1 -1
- package/src/storage/schema/tables/OutputTag.ts +1 -1
- package/src/storage/schema/tables/OutputTagMap.ts +1 -1
- package/src/storage/schema/tables/ProvenTx.ts +1 -1
- package/src/storage/schema/tables/ProvenTxReq.ts +2 -2
- package/src/storage/schema/tables/SyncState.ts +1 -1
- package/src/storage/schema/tables/{Settings.ts → TableSettings.ts} +3 -1
- package/src/storage/schema/tables/Transaction.ts +1 -1
- package/src/storage/schema/tables/TxLabel.ts +1 -1
- package/src/storage/schema/tables/TxLabelMap.ts +1 -1
- package/src/storage/schema/tables/User.ts +1 -1
- package/src/storage/schema/tables/index.ts +1 -1
- package/src/storage/sync/StorageMySQLDojoReader.ts +67 -50
- package/test/Wallet/certificate/listCertificates.test.ts +12 -8
- package/test/Wallet/live/walletLive.man.test.ts +6 -6
- package/test/monitor/Monitor.test.ts +8 -8
- package/test/storage/StorageMySQLDojoReader.man.test.ts +1 -1
- package/test/storage/insert.test.ts +2 -2
- package/test/storage/update.test.ts +30 -30
- package/test/storage/update2.test.ts +23 -24
- package/test/utils/TestUtilsWalletStorage.ts +103 -82
- package/test/wallet/action/createActionToGenerateBeefs.man.test.ts +1 -2
- package/ts2md.json +1 -1
- package/out/src/storage/index.db.d.ts +0 -1
- package/out/src/storage/index.db.d.ts.map +0 -1
- package/out/src/storage/index.db.js +0 -2
- package/out/src/storage/index.db.js.map +0 -1
- package/out/src/storage/schema/tables/Settings.d.ts.map +0 -1
- package/out/src/storage/schema/tables/Settings.js.map +0 -1
- package/src/storage/index.db.ts +0 -0
package/docs/client.md
CHANGED
|
@@ -230,7 +230,7 @@ export interface BlockHeader extends BaseBlockHeader {
|
|
|
230
230
|
}
|
|
231
231
|
```
|
|
232
232
|
|
|
233
|
-
See also: [BaseBlockHeader](#interface-baseblockheader)
|
|
233
|
+
See also: [BaseBlockHeader](./client.md#interface-baseblockheader)
|
|
234
234
|
|
|
235
235
|
###### Property hash
|
|
236
236
|
|
|
@@ -281,11 +281,13 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
281
281
|
|
|
282
282
|
```ts
|
|
283
283
|
export interface CommitNewTxResults {
|
|
284
|
-
req:
|
|
284
|
+
req: EntityProvenTxReq;
|
|
285
285
|
log?: string;
|
|
286
286
|
}
|
|
287
287
|
```
|
|
288
288
|
|
|
289
|
+
See also: [EntityProvenTxReq](./storage.md#class-entityproventxreq)
|
|
290
|
+
|
|
289
291
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
290
292
|
|
|
291
293
|
---
|
|
@@ -333,11 +335,11 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
333
335
|
|
|
334
336
|
```ts
|
|
335
337
|
export interface FindCertificateFieldsArgs extends sdk.FindSincePagedArgs {
|
|
336
|
-
partial: Partial<
|
|
338
|
+
partial: Partial<TableCertificateField>;
|
|
337
339
|
}
|
|
338
340
|
```
|
|
339
341
|
|
|
340
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
342
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableCertificateField](./storage.md#interface-tablecertificatefield)
|
|
341
343
|
|
|
342
344
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
343
345
|
|
|
@@ -346,14 +348,14 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
346
348
|
|
|
347
349
|
```ts
|
|
348
350
|
export interface FindCertificatesArgs extends FindSincePagedArgs {
|
|
349
|
-
partial: Partial<
|
|
351
|
+
partial: Partial<TableCertificate>;
|
|
350
352
|
certifiers?: string[];
|
|
351
353
|
types?: string[];
|
|
352
354
|
includeFields?: boolean;
|
|
353
355
|
}
|
|
354
356
|
```
|
|
355
357
|
|
|
356
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
358
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableCertificate](./storage.md#interface-tablecertificate)
|
|
357
359
|
|
|
358
360
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
359
361
|
|
|
@@ -362,11 +364,11 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
362
364
|
|
|
363
365
|
```ts
|
|
364
366
|
export interface FindCommissionsArgs extends sdk.FindSincePagedArgs {
|
|
365
|
-
partial: Partial<
|
|
367
|
+
partial: Partial<TableCommission>;
|
|
366
368
|
}
|
|
367
369
|
```
|
|
368
370
|
|
|
369
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
371
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableCommission](./storage.md#interface-tablecommission)
|
|
370
372
|
|
|
371
373
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
372
374
|
|
|
@@ -379,7 +381,7 @@ export interface FindForUserSincePagedArgs extends FindSincePagedArgs {
|
|
|
379
381
|
}
|
|
380
382
|
```
|
|
381
383
|
|
|
382
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
384
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs)
|
|
383
385
|
|
|
384
386
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
385
387
|
|
|
@@ -388,11 +390,11 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
388
390
|
|
|
389
391
|
```ts
|
|
390
392
|
export interface FindMonitorEventsArgs extends sdk.FindSincePagedArgs {
|
|
391
|
-
partial: Partial<
|
|
393
|
+
partial: Partial<TableMonitorEvent>;
|
|
392
394
|
}
|
|
393
395
|
```
|
|
394
396
|
|
|
395
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
397
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableMonitorEvent](./storage.md#interface-tablemonitorevent)
|
|
396
398
|
|
|
397
399
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
398
400
|
|
|
@@ -401,11 +403,11 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
401
403
|
|
|
402
404
|
```ts
|
|
403
405
|
export interface FindOutputBasketsArgs extends FindSincePagedArgs {
|
|
404
|
-
partial: Partial<
|
|
406
|
+
partial: Partial<TableOutputBasket>;
|
|
405
407
|
}
|
|
406
408
|
```
|
|
407
409
|
|
|
408
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
410
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableOutputBasket](./storage.md#interface-tableoutputbasket)
|
|
409
411
|
|
|
410
412
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
411
413
|
|
|
@@ -414,12 +416,12 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
414
416
|
|
|
415
417
|
```ts
|
|
416
418
|
export interface FindOutputTagMapsArgs extends sdk.FindSincePagedArgs {
|
|
417
|
-
partial: Partial<
|
|
419
|
+
partial: Partial<TableOutputTagMap>;
|
|
418
420
|
tagIds?: number[];
|
|
419
421
|
}
|
|
420
422
|
```
|
|
421
423
|
|
|
422
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
424
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableOutputTagMap](./storage.md#interface-tableoutputtagmap)
|
|
423
425
|
|
|
424
426
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
425
427
|
|
|
@@ -428,11 +430,11 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
428
430
|
|
|
429
431
|
```ts
|
|
430
432
|
export interface FindOutputTagsArgs extends sdk.FindSincePagedArgs {
|
|
431
|
-
partial: Partial<
|
|
433
|
+
partial: Partial<TableOutputTag>;
|
|
432
434
|
}
|
|
433
435
|
```
|
|
434
436
|
|
|
435
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
437
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableOutputTag](./storage.md#interface-tableoutputtag)
|
|
436
438
|
|
|
437
439
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
438
440
|
|
|
@@ -441,13 +443,13 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
441
443
|
|
|
442
444
|
```ts
|
|
443
445
|
export interface FindOutputsArgs extends FindSincePagedArgs {
|
|
444
|
-
partial: Partial<
|
|
446
|
+
partial: Partial<TableOutput>;
|
|
445
447
|
noScript?: boolean;
|
|
446
448
|
txStatus?: sdk.TransactionStatus[];
|
|
447
449
|
}
|
|
448
450
|
```
|
|
449
451
|
|
|
450
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs), [TransactionStatus](#type-transactionstatus)
|
|
452
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableOutput](./storage.md#interface-tableoutput), [TransactionStatus](./client.md#type-transactionstatus)
|
|
451
453
|
|
|
452
454
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
453
455
|
|
|
@@ -460,7 +462,7 @@ export interface FindPartialSincePagedArgs<T extends object> extends FindSincePa
|
|
|
460
462
|
}
|
|
461
463
|
```
|
|
462
464
|
|
|
463
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
465
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs)
|
|
464
466
|
|
|
465
467
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
466
468
|
|
|
@@ -469,13 +471,13 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
469
471
|
|
|
470
472
|
```ts
|
|
471
473
|
export interface FindProvenTxReqsArgs extends sdk.FindSincePagedArgs {
|
|
472
|
-
partial: Partial<
|
|
474
|
+
partial: Partial<TableProvenTxReq>;
|
|
473
475
|
status?: sdk.ProvenTxReqStatus[];
|
|
474
476
|
txids?: string[];
|
|
475
477
|
}
|
|
476
478
|
```
|
|
477
479
|
|
|
478
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs), [ProvenTxReqStatus](#type-proventxreqstatus)
|
|
480
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [ProvenTxReqStatus](./client.md#type-proventxreqstatus), [TableProvenTxReq](./storage.md#interface-tableproventxreq)
|
|
479
481
|
|
|
480
482
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
481
483
|
|
|
@@ -484,11 +486,11 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
484
486
|
|
|
485
487
|
```ts
|
|
486
488
|
export interface FindProvenTxsArgs extends sdk.FindSincePagedArgs {
|
|
487
|
-
partial: Partial<
|
|
489
|
+
partial: Partial<TableProvenTx>;
|
|
488
490
|
}
|
|
489
491
|
```
|
|
490
492
|
|
|
491
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
493
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableProvenTx](./storage.md#interface-tableproventx)
|
|
492
494
|
|
|
493
495
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
494
496
|
|
|
@@ -503,7 +505,7 @@ export interface FindSincePagedArgs {
|
|
|
503
505
|
}
|
|
504
506
|
```
|
|
505
507
|
|
|
506
|
-
See also: [Paged](#interface-paged), [TrxToken](#interface-trxtoken)
|
|
508
|
+
See also: [Paged](./client.md#interface-paged), [TrxToken](./client.md#interface-trxtoken)
|
|
507
509
|
|
|
508
510
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
509
511
|
|
|
@@ -512,11 +514,11 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
512
514
|
|
|
513
515
|
```ts
|
|
514
516
|
export interface FindSyncStatesArgs extends sdk.FindSincePagedArgs {
|
|
515
|
-
partial: Partial<
|
|
517
|
+
partial: Partial<TableSyncState>;
|
|
516
518
|
}
|
|
517
519
|
```
|
|
518
520
|
|
|
519
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
521
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableSyncState](./storage.md#interface-tablesyncstate)
|
|
520
522
|
|
|
521
523
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
522
524
|
|
|
@@ -525,13 +527,13 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
525
527
|
|
|
526
528
|
```ts
|
|
527
529
|
export interface FindTransactionsArgs extends sdk.FindSincePagedArgs {
|
|
528
|
-
partial: Partial<
|
|
530
|
+
partial: Partial<TableTransaction>;
|
|
529
531
|
status?: sdk.TransactionStatus[];
|
|
530
532
|
noRawTx?: boolean;
|
|
531
533
|
}
|
|
532
534
|
```
|
|
533
535
|
|
|
534
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs), [TransactionStatus](#type-transactionstatus)
|
|
536
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableTransaction](./storage.md#interface-tabletransaction), [TransactionStatus](./client.md#type-transactionstatus)
|
|
535
537
|
|
|
536
538
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
537
539
|
|
|
@@ -540,12 +542,12 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
540
542
|
|
|
541
543
|
```ts
|
|
542
544
|
export interface FindTxLabelMapsArgs extends sdk.FindSincePagedArgs {
|
|
543
|
-
partial: Partial<
|
|
545
|
+
partial: Partial<TableTxLabelMap>;
|
|
544
546
|
labelIds?: number[];
|
|
545
547
|
}
|
|
546
548
|
```
|
|
547
549
|
|
|
548
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
550
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableTxLabelMap](./storage.md#interface-tabletxlabelmap)
|
|
549
551
|
|
|
550
552
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
551
553
|
|
|
@@ -554,11 +556,11 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
554
556
|
|
|
555
557
|
```ts
|
|
556
558
|
export interface FindTxLabelsArgs extends sdk.FindSincePagedArgs {
|
|
557
|
-
partial: Partial<
|
|
559
|
+
partial: Partial<TableTxLabel>;
|
|
558
560
|
}
|
|
559
561
|
```
|
|
560
562
|
|
|
561
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
563
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableTxLabel](./storage.md#interface-tabletxlabel)
|
|
562
564
|
|
|
563
565
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
564
566
|
|
|
@@ -567,11 +569,11 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
567
569
|
|
|
568
570
|
```ts
|
|
569
571
|
export interface FindUsersArgs extends sdk.FindSincePagedArgs {
|
|
570
|
-
partial: Partial<
|
|
572
|
+
partial: Partial<TableUser>;
|
|
571
573
|
}
|
|
572
574
|
```
|
|
573
575
|
|
|
574
|
-
See also: [FindSincePagedArgs](#interface-findsincepagedargs)
|
|
576
|
+
See also: [FindSincePagedArgs](./client.md#interface-findsincepagedargs), [TableUser](./storage.md#interface-tableuser)
|
|
575
577
|
|
|
576
578
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
577
579
|
|
|
@@ -642,7 +644,7 @@ export interface GenerateChangeSdkParams {
|
|
|
642
644
|
}
|
|
643
645
|
```
|
|
644
646
|
|
|
645
|
-
See also: [GenerateChangeSdkInput](#interface-generatechangesdkinput), [GenerateChangeSdkOutput](#interface-generatechangesdkoutput), [StorageFeeModel](#interface-storagefeemodel)
|
|
647
|
+
See also: [GenerateChangeSdkInput](./storage.md#interface-generatechangesdkinput), [GenerateChangeSdkOutput](./storage.md#interface-generatechangesdkoutput), [StorageFeeModel](./client.md#interface-storagefeemodel)
|
|
646
648
|
|
|
647
649
|
###### Property changeFirstSatoshis
|
|
648
650
|
|
|
@@ -706,7 +708,7 @@ export interface GenerateChangeSdkResult {
|
|
|
706
708
|
}
|
|
707
709
|
```
|
|
708
710
|
|
|
709
|
-
See also: [GenerateChangeSdkChangeInput](#interface-generatechangesdkchangeinput), [GenerateChangeSdkChangeOutput](#interface-generatechangesdkchangeoutput)
|
|
711
|
+
See also: [GenerateChangeSdkChangeInput](./storage.md#interface-generatechangesdkchangeinput), [GenerateChangeSdkChangeOutput](./storage.md#interface-generatechangesdkchangeoutput)
|
|
710
712
|
|
|
711
713
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
712
714
|
|
|
@@ -719,7 +721,7 @@ export interface GenerateChangeSdkStorageChange extends GenerateChangeSdkChangeI
|
|
|
719
721
|
}
|
|
720
722
|
```
|
|
721
723
|
|
|
722
|
-
See also: [GenerateChangeSdkChangeInput](#interface-generatechangesdkchangeinput)
|
|
724
|
+
See also: [GenerateChangeSdkChangeInput](./storage.md#interface-generatechangesdkchangeinput)
|
|
723
725
|
|
|
724
726
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
725
727
|
|
|
@@ -737,7 +739,7 @@ export interface GetMerklePathResult {
|
|
|
737
739
|
}
|
|
738
740
|
```
|
|
739
741
|
|
|
740
|
-
See also: [BlockHeader](#interface-blockheader), [WalletError](#class-walleterror)
|
|
742
|
+
See also: [BlockHeader](./client.md#interface-blockheader), [WalletError](./client.md#class-walleterror)
|
|
741
743
|
|
|
742
744
|
###### Property error
|
|
743
745
|
|
|
@@ -746,7 +748,7 @@ The first exception error that occurred during processing, if any.
|
|
|
746
748
|
```ts
|
|
747
749
|
error?: sdk.WalletError
|
|
748
750
|
```
|
|
749
|
-
See also: [WalletError](#class-walleterror)
|
|
751
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
750
752
|
|
|
751
753
|
###### Property merklePath
|
|
752
754
|
|
|
@@ -781,7 +783,7 @@ export interface GetRawTxResult {
|
|
|
781
783
|
}
|
|
782
784
|
```
|
|
783
785
|
|
|
784
|
-
See also: [WalletError](#class-walleterror)
|
|
786
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
785
787
|
|
|
786
788
|
###### Property error
|
|
787
789
|
|
|
@@ -790,7 +792,7 @@ The first exception error that occurred during processing, if any.
|
|
|
790
792
|
```ts
|
|
791
793
|
error?: sdk.WalletError
|
|
792
794
|
```
|
|
793
|
-
See also: [WalletError](#class-walleterror)
|
|
795
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
794
796
|
|
|
795
797
|
###### Property name
|
|
796
798
|
|
|
@@ -825,13 +827,15 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
825
827
|
```ts
|
|
826
828
|
export interface GetReqsAndBeefDetail {
|
|
827
829
|
txid: string;
|
|
828
|
-
req?:
|
|
829
|
-
proven?:
|
|
830
|
+
req?: TableProvenTxReq;
|
|
831
|
+
proven?: TableProvenTx;
|
|
830
832
|
status: "readyToSend" | "alreadySent" | "error" | "unknown";
|
|
831
833
|
error?: string;
|
|
832
834
|
}
|
|
833
835
|
```
|
|
834
836
|
|
|
837
|
+
See also: [TableProvenTx](./storage.md#interface-tableproventx), [TableProvenTxReq](./storage.md#interface-tableproventxreq)
|
|
838
|
+
|
|
835
839
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
836
840
|
|
|
837
841
|
---
|
|
@@ -844,7 +848,7 @@ export interface GetReqsAndBeefResult {
|
|
|
844
848
|
}
|
|
845
849
|
```
|
|
846
850
|
|
|
847
|
-
See also: [GetReqsAndBeefDetail](#interface-getreqsandbeefdetail)
|
|
851
|
+
See also: [GetReqsAndBeefDetail](./storage.md#interface-getreqsandbeefdetail)
|
|
848
852
|
|
|
849
853
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
850
854
|
|
|
@@ -915,7 +919,7 @@ export interface GetUtxoStatusResult {
|
|
|
915
919
|
}
|
|
916
920
|
```
|
|
917
921
|
|
|
918
|
-
See also: [GetUtxoStatusDetails](#interface-getutxostatusdetails), [WalletError](#class-walleterror)
|
|
922
|
+
See also: [GetUtxoStatusDetails](./client.md#interface-getutxostatusdetails), [WalletError](./client.md#class-walleterror)
|
|
919
923
|
|
|
920
924
|
###### Property details
|
|
921
925
|
|
|
@@ -927,7 +931,7 @@ there could be more than one block in which it is a valid utxo.
|
|
|
927
931
|
```ts
|
|
928
932
|
details: GetUtxoStatusDetails[]
|
|
929
933
|
```
|
|
930
|
-
See also: [GetUtxoStatusDetails](#interface-getutxostatusdetails)
|
|
934
|
+
See also: [GetUtxoStatusDetails](./client.md#interface-getutxostatusdetails)
|
|
931
935
|
|
|
932
936
|
###### Property error
|
|
933
937
|
|
|
@@ -936,7 +940,7 @@ When status is 'error', provides code and description
|
|
|
936
940
|
```ts
|
|
937
941
|
error?: sdk.WalletError
|
|
938
942
|
```
|
|
939
|
-
See also: [WalletError](#class-walleterror)
|
|
943
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
940
944
|
|
|
941
945
|
###### Property isUtxo
|
|
942
946
|
|
|
@@ -994,7 +998,7 @@ export interface MonitorOptions {
|
|
|
994
998
|
}
|
|
995
999
|
```
|
|
996
1000
|
|
|
997
|
-
See also: [Chain](#type-chain), [MonitorStorage](#type-monitorstorage), [Services](#class-services)
|
|
1001
|
+
See also: [Chain](./client.md#type-chain), [MonitorStorage](./monitor.md#type-monitorstorage), [Services](./services.md#class-services)
|
|
998
1002
|
|
|
999
1003
|
###### Property msecsWaitPerMerkleProofServiceReq
|
|
1000
1004
|
|
|
@@ -1062,7 +1066,7 @@ export interface PendingSignAction {
|
|
|
1062
1066
|
}
|
|
1063
1067
|
```
|
|
1064
1068
|
|
|
1065
|
-
See also: [PendingStorageInput](#interface-pendingstorageinput), [StorageCreateActionResult](#interface-storagecreateactionresult), [ValidCreateActionArgs](#interface-validcreateactionargs)
|
|
1069
|
+
See also: [PendingStorageInput](./client.md#interface-pendingstorageinput), [StorageCreateActionResult](./client.md#interface-storagecreateactionresult), [ValidCreateActionArgs](./client.md#interface-validcreateactionargs)
|
|
1066
1070
|
|
|
1067
1071
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1068
1072
|
|
|
@@ -1090,7 +1094,7 @@ export interface PostBeefResult extends PostTxsResult {
|
|
|
1090
1094
|
}
|
|
1091
1095
|
```
|
|
1092
1096
|
|
|
1093
|
-
See also: [PostTxsResult](#interface-posttxsresult)
|
|
1097
|
+
See also: [PostTxsResult](./client.md#interface-posttxsresult)
|
|
1094
1098
|
|
|
1095
1099
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1096
1100
|
|
|
@@ -1134,7 +1138,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
1134
1138
|
```ts
|
|
1135
1139
|
export interface PostReqsToNetworkDetails {
|
|
1136
1140
|
txid: string;
|
|
1137
|
-
req:
|
|
1141
|
+
req: EntityProvenTxReq;
|
|
1138
1142
|
status: PostReqsToNetworkDetailsStatus;
|
|
1139
1143
|
pbrft: sdk.PostTxResultForTxid;
|
|
1140
1144
|
data?: string;
|
|
@@ -1142,7 +1146,7 @@ export interface PostReqsToNetworkDetails {
|
|
|
1142
1146
|
}
|
|
1143
1147
|
```
|
|
1144
1148
|
|
|
1145
|
-
See also: [PostReqsToNetworkDetailsStatus](#type-postreqstonetworkdetailsstatus), [PostTxResultForTxid](#interface-posttxresultfortxid)
|
|
1149
|
+
See also: [EntityProvenTxReq](./storage.md#class-entityproventxreq), [PostReqsToNetworkDetailsStatus](./storage.md#type-postreqstonetworkdetailsstatus), [PostTxResultForTxid](./client.md#interface-posttxresultfortxid)
|
|
1146
1150
|
|
|
1147
1151
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1148
1152
|
|
|
@@ -1159,7 +1163,7 @@ export interface PostReqsToNetworkResult {
|
|
|
1159
1163
|
}
|
|
1160
1164
|
```
|
|
1161
1165
|
|
|
1162
|
-
See also: [PostBeefResult](#interface-postbeefresult), [PostReqsToNetworkDetails](#interface-postreqstonetworkdetails)
|
|
1166
|
+
See also: [PostBeefResult](./client.md#interface-postbeefresult), [PostReqsToNetworkDetails](./storage.md#interface-postreqstonetworkdetails)
|
|
1163
1167
|
|
|
1164
1168
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1165
1169
|
|
|
@@ -1213,7 +1217,7 @@ export interface PostTxsResult {
|
|
|
1213
1217
|
}
|
|
1214
1218
|
```
|
|
1215
1219
|
|
|
1216
|
-
See also: [PostTxResultForTxid](#interface-posttxresultfortxid), [WalletError](#class-walleterror)
|
|
1220
|
+
See also: [PostTxResultForTxid](./client.md#interface-posttxresultfortxid), [WalletError](./client.md#class-walleterror)
|
|
1217
1221
|
|
|
1218
1222
|
###### Property data
|
|
1219
1223
|
|
|
@@ -1255,7 +1259,7 @@ export interface ProcessSyncChunkResult {
|
|
|
1255
1259
|
}
|
|
1256
1260
|
```
|
|
1257
1261
|
|
|
1258
|
-
See also: [WalletError](#class-walleterror)
|
|
1262
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
1259
1263
|
|
|
1260
1264
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1261
1265
|
|
|
@@ -1264,12 +1268,14 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
1264
1268
|
|
|
1265
1269
|
```ts
|
|
1266
1270
|
export interface ProvenOrRawTx {
|
|
1267
|
-
proven?:
|
|
1271
|
+
proven?: TableProvenTx;
|
|
1268
1272
|
rawTx?: number[];
|
|
1269
1273
|
inputBEEF?: number[];
|
|
1270
1274
|
}
|
|
1271
1275
|
```
|
|
1272
1276
|
|
|
1277
|
+
See also: [TableProvenTx](./storage.md#interface-tableproventx)
|
|
1278
|
+
|
|
1273
1279
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1274
1280
|
|
|
1275
1281
|
---
|
|
@@ -1470,7 +1476,7 @@ export interface SetupEnv {
|
|
|
1470
1476
|
}
|
|
1471
1477
|
```
|
|
1472
1478
|
|
|
1473
|
-
See also: [Chain](#type-chain)
|
|
1479
|
+
See also: [Chain](./client.md#type-chain)
|
|
1474
1480
|
|
|
1475
1481
|
###### Property chain
|
|
1476
1482
|
|
|
@@ -1479,7 +1485,7 @@ The chan being accessed: 'main' for mainnet, 'test' for 'testnet'.
|
|
|
1479
1485
|
```ts
|
|
1480
1486
|
chain: sdk.Chain
|
|
1481
1487
|
```
|
|
1482
|
-
See also: [Chain](#type-chain)
|
|
1488
|
+
See also: [Chain](./client.md#type-chain)
|
|
1483
1489
|
|
|
1484
1490
|
###### Property devKeys
|
|
1485
1491
|
|
|
@@ -1546,7 +1552,7 @@ export interface SetupWallet {
|
|
|
1546
1552
|
}
|
|
1547
1553
|
```
|
|
1548
1554
|
|
|
1549
|
-
See also: [Chain](#type-chain), [Monitor](#class-monitor), [Services](#class-services), [Wallet](#class-wallet), [WalletStorageManager](#class-walletstoragemanager)
|
|
1555
|
+
See also: [Chain](./client.md#type-chain), [Monitor](./monitor.md#class-monitor), [Services](./services.md#class-services), [Wallet](./client.md#class-wallet), [WalletStorageManager](./storage.md#class-walletstoragemanager)
|
|
1550
1556
|
|
|
1551
1557
|
###### Property chain
|
|
1552
1558
|
|
|
@@ -1555,7 +1561,7 @@ The chain ('main' or 'test') which the wallet accesses.
|
|
|
1555
1561
|
```ts
|
|
1556
1562
|
chain: sdk.Chain
|
|
1557
1563
|
```
|
|
1558
|
-
See also: [Chain](#type-chain)
|
|
1564
|
+
See also: [Chain](./client.md#type-chain)
|
|
1559
1565
|
|
|
1560
1566
|
###### Property identityKey
|
|
1561
1567
|
|
|
@@ -1581,7 +1587,7 @@ that speed up wallet operations and maintain data integrity.
|
|
|
1581
1587
|
```ts
|
|
1582
1588
|
monitor: Monitor
|
|
1583
1589
|
```
|
|
1584
|
-
See also: [Monitor](#class-monitor)
|
|
1590
|
+
See also: [Monitor](./monitor.md#class-monitor)
|
|
1585
1591
|
|
|
1586
1592
|
###### Property rootKey
|
|
1587
1593
|
|
|
@@ -1599,7 +1605,7 @@ on the public network.
|
|
|
1599
1605
|
```ts
|
|
1600
1606
|
services: Services
|
|
1601
1607
|
```
|
|
1602
|
-
See also: [Services](#class-services)
|
|
1608
|
+
See also: [Services](./services.md#class-services)
|
|
1603
1609
|
|
|
1604
1610
|
###### Property storage
|
|
1605
1611
|
|
|
@@ -1609,7 +1615,7 @@ accessed by the wallet.
|
|
|
1609
1615
|
```ts
|
|
1610
1616
|
storage: WalletStorageManager
|
|
1611
1617
|
```
|
|
1612
|
-
See also: [WalletStorageManager](#class-walletstoragemanager)
|
|
1618
|
+
See also: [WalletStorageManager](./storage.md#class-walletstoragemanager)
|
|
1613
1619
|
|
|
1614
1620
|
###### Property wallet
|
|
1615
1621
|
|
|
@@ -1623,7 +1629,7 @@ components after construction may disrupt the normal operation of the wallet.
|
|
|
1623
1629
|
```ts
|
|
1624
1630
|
wallet: Wallet
|
|
1625
1631
|
```
|
|
1626
|
-
See also: [Wallet](#class-wallet)
|
|
1632
|
+
See also: [Wallet](./client.md#class-wallet)
|
|
1627
1633
|
|
|
1628
1634
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1629
1635
|
|
|
@@ -1650,7 +1656,7 @@ export interface SetupWalletArgs {
|
|
|
1650
1656
|
}
|
|
1651
1657
|
```
|
|
1652
1658
|
|
|
1653
|
-
See also: [SetupEnv](#interface-setupenv), [WalletStorageProvider](#interface-walletstorageprovider)
|
|
1659
|
+
See also: [SetupEnv](./setup.md#interface-setupenv), [WalletStorageProvider](./client.md#interface-walletstorageprovider)
|
|
1654
1660
|
|
|
1655
1661
|
###### Property active
|
|
1656
1662
|
|
|
@@ -1659,7 +1665,7 @@ Optional. Active wallet storage. Can be added later.
|
|
|
1659
1665
|
```ts
|
|
1660
1666
|
active?: sdk.WalletStorageProvider
|
|
1661
1667
|
```
|
|
1662
|
-
See also: [WalletStorageProvider](#interface-walletstorageprovider)
|
|
1668
|
+
See also: [WalletStorageProvider](./client.md#interface-walletstorageprovider)
|
|
1663
1669
|
|
|
1664
1670
|
###### Property backups
|
|
1665
1671
|
|
|
@@ -1668,7 +1674,7 @@ Optional. One or more storage providers managed as backup destinations. Can be a
|
|
|
1668
1674
|
```ts
|
|
1669
1675
|
backups?: sdk.WalletStorageProvider[]
|
|
1670
1676
|
```
|
|
1671
|
-
See also: [WalletStorageProvider](#interface-walletstorageprovider)
|
|
1677
|
+
See also: [WalletStorageProvider](./client.md#interface-walletstorageprovider)
|
|
1672
1678
|
|
|
1673
1679
|
###### Property env
|
|
1674
1680
|
|
|
@@ -1677,7 +1683,7 @@ Configuration "secrets" typically obtained by `Setup.makeEnv` and `Setup.getEnv`
|
|
|
1677
1683
|
```ts
|
|
1678
1684
|
env: SetupEnv
|
|
1679
1685
|
```
|
|
1680
|
-
See also: [SetupEnv](#interface-setupenv)
|
|
1686
|
+
See also: [SetupEnv](./setup.md#interface-setupenv)
|
|
1681
1687
|
|
|
1682
1688
|
###### Property privKeyHex
|
|
1683
1689
|
|
|
@@ -1710,7 +1716,7 @@ export interface SetupWalletClient extends SetupWallet {
|
|
|
1710
1716
|
}
|
|
1711
1717
|
```
|
|
1712
1718
|
|
|
1713
|
-
See also: [SetupWallet](#interface-setupwallet)
|
|
1719
|
+
See also: [SetupWallet](./setup.md#interface-setupwallet)
|
|
1714
1720
|
|
|
1715
1721
|
###### Property endpointUrl
|
|
1716
1722
|
|
|
@@ -1736,7 +1742,7 @@ export interface SetupWalletClientArgs extends SetupWalletArgs {
|
|
|
1736
1742
|
}
|
|
1737
1743
|
```
|
|
1738
1744
|
|
|
1739
|
-
See also: [SetupWalletArgs](#interface-setupwalletargs)
|
|
1745
|
+
See also: [SetupWalletArgs](./setup.md#interface-setupwalletargs)
|
|
1740
1746
|
|
|
1741
1747
|
###### Property endpointUrl
|
|
1742
1748
|
|
|
@@ -1766,7 +1772,7 @@ export interface StorageCreateActionResult {
|
|
|
1766
1772
|
}
|
|
1767
1773
|
```
|
|
1768
1774
|
|
|
1769
|
-
See also: [StorageCreateTransactionSdkInput](#interface-storagecreatetransactionsdkinput), [StorageCreateTransactionSdkOutput](#interface-storagecreatetransactionsdkoutput)
|
|
1775
|
+
See also: [StorageCreateTransactionSdkInput](./client.md#interface-storagecreatetransactionsdkinput), [StorageCreateTransactionSdkOutput](./client.md#interface-storagecreatetransactionsdkoutput)
|
|
1770
1776
|
|
|
1771
1777
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1772
1778
|
|
|
@@ -1790,7 +1796,7 @@ export interface StorageCreateTransactionSdkInput {
|
|
|
1790
1796
|
}
|
|
1791
1797
|
```
|
|
1792
1798
|
|
|
1793
|
-
See also: [StorageProvidedBy](#type-storageprovidedby)
|
|
1799
|
+
See also: [StorageProvidedBy](./client.md#type-storageprovidedby)
|
|
1794
1800
|
|
|
1795
1801
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1796
1802
|
|
|
@@ -1806,7 +1812,7 @@ export interface StorageCreateTransactionSdkOutput extends sdk.ValidCreateAction
|
|
|
1806
1812
|
}
|
|
1807
1813
|
```
|
|
1808
1814
|
|
|
1809
|
-
See also: [StorageProvidedBy](#type-storageprovidedby), [ValidCreateActionOutput](#interface-validcreateactionoutput)
|
|
1815
|
+
See also: [StorageProvidedBy](./client.md#type-storageprovidedby), [ValidCreateActionOutput](./client.md#interface-validcreateactionoutput)
|
|
1810
1816
|
|
|
1811
1817
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1812
1818
|
|
|
@@ -2017,11 +2023,13 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
2017
2023
|
|
|
2018
2024
|
```ts
|
|
2019
2025
|
export interface StorageProvenOrReq {
|
|
2020
|
-
proven?:
|
|
2021
|
-
req?:
|
|
2026
|
+
proven?: TableProvenTx;
|
|
2027
|
+
req?: TableProvenTxReq;
|
|
2022
2028
|
}
|
|
2023
2029
|
```
|
|
2024
2030
|
|
|
2031
|
+
See also: [TableProvenTx](./storage.md#interface-tableproventx), [TableProvenTxReq](./storage.md#interface-tableproventxreq)
|
|
2032
|
+
|
|
2025
2033
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2026
2034
|
|
|
2027
2035
|
---
|
|
@@ -2036,7 +2044,7 @@ export interface StorageProviderOptions extends StorageReaderWriterOptions {
|
|
|
2036
2044
|
}
|
|
2037
2045
|
```
|
|
2038
2046
|
|
|
2039
|
-
See also: [Chain](#type-chain), [StorageFeeModel](#interface-storagefeemodel), [StorageReaderWriterOptions](#interface-storagereaderwriteroptions)
|
|
2047
|
+
See also: [Chain](./client.md#type-chain), [StorageFeeModel](./client.md#interface-storagefeemodel), [StorageReaderWriterOptions](./storage.md#interface-storagereaderwriteroptions)
|
|
2040
2048
|
|
|
2041
2049
|
###### Property commissionPubKeyHex
|
|
2042
2050
|
|
|
@@ -2068,7 +2076,7 @@ export interface StorageReaderOptions {
|
|
|
2068
2076
|
}
|
|
2069
2077
|
```
|
|
2070
2078
|
|
|
2071
|
-
See also: [Chain](#type-chain)
|
|
2079
|
+
See also: [Chain](./client.md#type-chain)
|
|
2072
2080
|
|
|
2073
2081
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2074
2082
|
|
|
@@ -2080,7 +2088,7 @@ export interface StorageReaderWriterOptions extends StorageReaderOptions {
|
|
|
2080
2088
|
}
|
|
2081
2089
|
```
|
|
2082
2090
|
|
|
2083
|
-
See also: [StorageReaderOptions](#interface-storagereaderoptions)
|
|
2091
|
+
See also: [StorageReaderOptions](./storage.md#interface-storagereaderoptions)
|
|
2084
2092
|
|
|
2085
2093
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2086
2094
|
|
|
@@ -2092,28 +2100,28 @@ This is the minimal interface required for a WalletStorageProvider to export dat
|
|
|
2092
2100
|
```ts
|
|
2093
2101
|
export interface StorageSyncReader {
|
|
2094
2102
|
isAvailable(): boolean;
|
|
2095
|
-
makeAvailable(): Promise<
|
|
2103
|
+
makeAvailable(): Promise<TableSettings>;
|
|
2096
2104
|
destroy(): Promise<void>;
|
|
2097
|
-
getSettings():
|
|
2098
|
-
findUserByIdentityKey(key: string): Promise<
|
|
2099
|
-
findSyncStates(args: sdk.FindSyncStatesArgs): Promise<
|
|
2100
|
-
findCertificateFields(args: sdk.FindCertificateFieldsArgs): Promise<
|
|
2101
|
-
findCertificates(args: sdk.FindCertificatesArgs): Promise<
|
|
2102
|
-
findCommissions(args: sdk.FindCommissionsArgs): Promise<
|
|
2103
|
-
findOutputBaskets(args: sdk.FindOutputBasketsArgs): Promise<
|
|
2104
|
-
findOutputs(args: sdk.FindOutputsArgs): Promise<
|
|
2105
|
-
findOutputTags(args: sdk.FindOutputTagsArgs): Promise<
|
|
2106
|
-
findTransactions(args: sdk.FindTransactionsArgs): Promise<
|
|
2107
|
-
findTxLabels(args: sdk.FindTxLabelsArgs): Promise<
|
|
2108
|
-
getProvenTxsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
2109
|
-
getProvenTxReqsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
2110
|
-
getTxLabelMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
2111
|
-
getOutputTagMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
2105
|
+
getSettings(): TableSettings;
|
|
2106
|
+
findUserByIdentityKey(key: string): Promise<TableUser | undefined>;
|
|
2107
|
+
findSyncStates(args: sdk.FindSyncStatesArgs): Promise<TableSyncState[]>;
|
|
2108
|
+
findCertificateFields(args: sdk.FindCertificateFieldsArgs): Promise<TableCertificateField[]>;
|
|
2109
|
+
findCertificates(args: sdk.FindCertificatesArgs): Promise<TableCertificate[]>;
|
|
2110
|
+
findCommissions(args: sdk.FindCommissionsArgs): Promise<TableCommission[]>;
|
|
2111
|
+
findOutputBaskets(args: sdk.FindOutputBasketsArgs): Promise<TableOutputBasket[]>;
|
|
2112
|
+
findOutputs(args: sdk.FindOutputsArgs): Promise<TableOutput[]>;
|
|
2113
|
+
findOutputTags(args: sdk.FindOutputTagsArgs): Promise<TableOutputTag[]>;
|
|
2114
|
+
findTransactions(args: sdk.FindTransactionsArgs): Promise<TableTransaction[]>;
|
|
2115
|
+
findTxLabels(args: sdk.FindTxLabelsArgs): Promise<TableTxLabel[]>;
|
|
2116
|
+
getProvenTxsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableProvenTx[]>;
|
|
2117
|
+
getProvenTxReqsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableProvenTxReq[]>;
|
|
2118
|
+
getTxLabelMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableTxLabelMap[]>;
|
|
2119
|
+
getOutputTagMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableOutputTagMap[]>;
|
|
2112
2120
|
getSyncChunk(args: RequestSyncChunkArgs): Promise<SyncChunk>;
|
|
2113
2121
|
}
|
|
2114
2122
|
```
|
|
2115
2123
|
|
|
2116
|
-
See also: [FindCertificateFieldsArgs](#interface-findcertificatefieldsargs), [FindCertificatesArgs](#interface-findcertificatesargs), [FindCommissionsArgs](#interface-findcommissionsargs), [FindForUserSincePagedArgs](#interface-findforusersincepagedargs), [FindOutputBasketsArgs](#interface-findoutputbasketsargs), [FindOutputTagsArgs](#interface-findoutputtagsargs), [FindOutputsArgs](#interface-findoutputsargs), [FindSyncStatesArgs](#interface-findsyncstatesargs), [FindTransactionsArgs](#interface-findtransactionsargs), [FindTxLabelsArgs](#interface-findtxlabelsargs), [RequestSyncChunkArgs](#interface-requestsyncchunkargs), [SyncChunk](#interface-syncchunk), [getSyncChunk](#function-getsyncchunk)
|
|
2124
|
+
See also: [FindCertificateFieldsArgs](./client.md#interface-findcertificatefieldsargs), [FindCertificatesArgs](./client.md#interface-findcertificatesargs), [FindCommissionsArgs](./client.md#interface-findcommissionsargs), [FindForUserSincePagedArgs](./client.md#interface-findforusersincepagedargs), [FindOutputBasketsArgs](./client.md#interface-findoutputbasketsargs), [FindOutputTagsArgs](./client.md#interface-findoutputtagsargs), [FindOutputsArgs](./client.md#interface-findoutputsargs), [FindSyncStatesArgs](./client.md#interface-findsyncstatesargs), [FindTransactionsArgs](./client.md#interface-findtransactionsargs), [FindTxLabelsArgs](./client.md#interface-findtxlabelsargs), [RequestSyncChunkArgs](./client.md#interface-requestsyncchunkargs), [SyncChunk](./client.md#interface-syncchunk), [TableCertificate](./storage.md#interface-tablecertificate), [TableCertificateField](./storage.md#interface-tablecertificatefield), [TableCommission](./storage.md#interface-tablecommission), [TableOutput](./storage.md#interface-tableoutput), [TableOutputBasket](./storage.md#interface-tableoutputbasket), [TableOutputTag](./storage.md#interface-tableoutputtag), [TableOutputTagMap](./storage.md#interface-tableoutputtagmap), [TableProvenTx](./storage.md#interface-tableproventx), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TableSettings](./storage.md#interface-tablesettings), [TableSyncState](./storage.md#interface-tablesyncstate), [TableTransaction](./storage.md#interface-tabletransaction), [TableTxLabel](./storage.md#interface-tabletxlabel), [TableTxLabelMap](./storage.md#interface-tabletxlabelmap), [TableUser](./storage.md#interface-tableuser), [getSyncChunk](./storage.md#function-getsyncchunk)
|
|
2117
2125
|
|
|
2118
2126
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2119
2127
|
|
|
@@ -2126,7 +2134,7 @@ export interface StorageSyncReaderOptions {
|
|
|
2126
2134
|
}
|
|
2127
2135
|
```
|
|
2128
2136
|
|
|
2129
|
-
See also: [Chain](#type-chain)
|
|
2137
|
+
See also: [Chain](./client.md#type-chain)
|
|
2130
2138
|
|
|
2131
2139
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2132
2140
|
|
|
@@ -2140,89 +2148,89 @@ export interface StorageSyncReaderWriter extends sdk.StorageSyncReader {
|
|
|
2140
2148
|
getProvenOrRawTx(txid: string, trx?: sdk.TrxToken): Promise<sdk.ProvenOrRawTx>;
|
|
2141
2149
|
purgeData(params: sdk.PurgeParams, trx?: sdk.TrxToken): Promise<sdk.PurgeResults>;
|
|
2142
2150
|
transaction<T>(scope: (trx: sdk.TrxToken) => Promise<T>, trx?: sdk.TrxToken): Promise<T>;
|
|
2143
|
-
findOutputTagMaps(args: sdk.FindOutputTagMapsArgs): Promise<
|
|
2144
|
-
findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<
|
|
2145
|
-
findProvenTxs(args: sdk.FindProvenTxsArgs): Promise<
|
|
2146
|
-
findTxLabelMaps(args: sdk.FindTxLabelMapsArgs): Promise<
|
|
2151
|
+
findOutputTagMaps(args: sdk.FindOutputTagMapsArgs): Promise<TableOutputTagMap[]>;
|
|
2152
|
+
findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<TableProvenTxReq[]>;
|
|
2153
|
+
findProvenTxs(args: sdk.FindProvenTxsArgs): Promise<TableProvenTx[]>;
|
|
2154
|
+
findTxLabelMaps(args: sdk.FindTxLabelMapsArgs): Promise<TableTxLabelMap[]>;
|
|
2147
2155
|
countOutputTagMaps(args: sdk.FindOutputTagMapsArgs): Promise<number>;
|
|
2148
2156
|
countProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<number>;
|
|
2149
2157
|
countProvenTxs(args: sdk.FindProvenTxsArgs): Promise<number>;
|
|
2150
2158
|
countTxLabelMaps(args: sdk.FindTxLabelMapsArgs): Promise<number>;
|
|
2151
|
-
insertProvenTx(tx:
|
|
2152
|
-
insertProvenTxReq(tx:
|
|
2153
|
-
insertUser(user:
|
|
2154
|
-
insertCertificate(certificate:
|
|
2155
|
-
insertCertificateField(certificateField:
|
|
2156
|
-
insertOutputBasket(basket:
|
|
2157
|
-
insertTransaction(tx:
|
|
2158
|
-
insertCommission(commission:
|
|
2159
|
-
insertOutput(output:
|
|
2160
|
-
insertOutputTag(tag:
|
|
2161
|
-
insertOutputTagMap(tagMap:
|
|
2162
|
-
insertTxLabel(label:
|
|
2163
|
-
insertTxLabelMap(labelMap:
|
|
2164
|
-
insertSyncState(syncState:
|
|
2165
|
-
updateCertificateField(certificateId: number, fieldName: string, update: Partial<
|
|
2166
|
-
updateCertificate(id: number, update: Partial<
|
|
2167
|
-
updateCommission(id: number, update: Partial<
|
|
2168
|
-
updateOutputBasket(id: number, update: Partial<
|
|
2169
|
-
updateOutput(id: number, update: Partial<
|
|
2170
|
-
updateOutputTagMap(outputId: number, tagId: number, update: Partial<
|
|
2171
|
-
updateOutputTag(id: number, update: Partial<
|
|
2172
|
-
updateProvenTxReq(id: number | number[], update: Partial<
|
|
2173
|
-
updateProvenTxReqDynamics(id: number, update: Partial<
|
|
2159
|
+
insertProvenTx(tx: TableProvenTx, trx?: sdk.TrxToken): Promise<number>;
|
|
2160
|
+
insertProvenTxReq(tx: TableProvenTxReq, trx?: sdk.TrxToken): Promise<number>;
|
|
2161
|
+
insertUser(user: TableUser, trx?: sdk.TrxToken): Promise<number>;
|
|
2162
|
+
insertCertificate(certificate: TableCertificate, trx?: sdk.TrxToken): Promise<number>;
|
|
2163
|
+
insertCertificateField(certificateField: TableCertificateField, trx?: sdk.TrxToken): Promise<void>;
|
|
2164
|
+
insertOutputBasket(basket: TableOutputBasket, trx?: sdk.TrxToken): Promise<number>;
|
|
2165
|
+
insertTransaction(tx: TableTransaction, trx?: sdk.TrxToken): Promise<number>;
|
|
2166
|
+
insertCommission(commission: TableCommission, trx?: sdk.TrxToken): Promise<number>;
|
|
2167
|
+
insertOutput(output: TableOutput, trx?: sdk.TrxToken): Promise<number>;
|
|
2168
|
+
insertOutputTag(tag: TableOutputTag, trx?: sdk.TrxToken): Promise<number>;
|
|
2169
|
+
insertOutputTagMap(tagMap: TableOutputTagMap, trx?: sdk.TrxToken): Promise<void>;
|
|
2170
|
+
insertTxLabel(label: TableTxLabel, trx?: sdk.TrxToken): Promise<number>;
|
|
2171
|
+
insertTxLabelMap(labelMap: TableTxLabelMap, trx?: sdk.TrxToken): Promise<void>;
|
|
2172
|
+
insertSyncState(syncState: TableSyncState, trx?: sdk.TrxToken): Promise<number>;
|
|
2173
|
+
updateCertificateField(certificateId: number, fieldName: string, update: Partial<TableCertificateField>, trx?: sdk.TrxToken): Promise<number>;
|
|
2174
|
+
updateCertificate(id: number, update: Partial<TableCertificate>, trx?: sdk.TrxToken): Promise<number>;
|
|
2175
|
+
updateCommission(id: number, update: Partial<TableCommission>, trx?: sdk.TrxToken): Promise<number>;
|
|
2176
|
+
updateOutputBasket(id: number, update: Partial<TableOutputBasket>, trx?: sdk.TrxToken): Promise<number>;
|
|
2177
|
+
updateOutput(id: number, update: Partial<TableOutput>, trx?: sdk.TrxToken): Promise<number>;
|
|
2178
|
+
updateOutputTagMap(outputId: number, tagId: number, update: Partial<TableOutputTagMap>, trx?: sdk.TrxToken): Promise<number>;
|
|
2179
|
+
updateOutputTag(id: number, update: Partial<TableOutputTag>, trx?: sdk.TrxToken): Promise<number>;
|
|
2180
|
+
updateProvenTxReq(id: number | number[], update: Partial<TableProvenTxReq>, trx?: sdk.TrxToken): Promise<number>;
|
|
2181
|
+
updateProvenTxReqDynamics(id: number, update: Partial<TableProvenTxReqDynamics>, trx?: sdk.TrxToken): Promise<number>;
|
|
2174
2182
|
updateProvenTxReqWithNewProvenTx(args: sdk.UpdateProvenTxReqWithNewProvenTxArgs): Promise<sdk.UpdateProvenTxReqWithNewProvenTxResult>;
|
|
2175
|
-
updateProvenTx(id: number, update: Partial<
|
|
2176
|
-
updateSyncState(id: number, update: Partial<
|
|
2177
|
-
updateTransaction(id: number | number[], update: Partial<
|
|
2183
|
+
updateProvenTx(id: number, update: Partial<TableProvenTx>, trx?: sdk.TrxToken): Promise<number>;
|
|
2184
|
+
updateSyncState(id: number, update: Partial<TableSyncState>, trx?: sdk.TrxToken): Promise<number>;
|
|
2185
|
+
updateTransaction(id: number | number[], update: Partial<TableTransaction>, trx?: sdk.TrxToken): Promise<number>;
|
|
2178
2186
|
updateTransactionStatus(status: sdk.TransactionStatus, transactionId?: number, userId?: number, reference?: string, trx?: sdk.TrxToken): Promise<void>;
|
|
2179
2187
|
updateTransactionsStatus(transactionIds: number[], status: sdk.TransactionStatus): Promise<void>;
|
|
2180
|
-
updateTxLabelMap(transactionId: number, txLabelId: number, update: Partial<
|
|
2181
|
-
updateTxLabel(id: number, update: Partial<
|
|
2182
|
-
updateUser(id: number, update: Partial<
|
|
2183
|
-
findCertificateById(id: number, trx?: sdk.TrxToken): Promise<
|
|
2184
|
-
findCommissionById(id: number, trx?: sdk.TrxToken): Promise<
|
|
2185
|
-
findOutputById(id: number, trx?: sdk.TrxToken, noScript?: boolean): Promise<
|
|
2186
|
-
findOutputBasketById(id: number, trx?: sdk.TrxToken): Promise<
|
|
2187
|
-
findProvenTxById(id: number, trx?: sdk.TrxToken | undefined): Promise<
|
|
2188
|
-
findProvenTxReqById(id: number, trx?: sdk.TrxToken | undefined): Promise<
|
|
2189
|
-
findSyncStateById(id: number, trx?: sdk.TrxToken): Promise<
|
|
2190
|
-
findTransactionById(id: number, trx?: sdk.TrxToken, noRawTx?: boolean): Promise<
|
|
2191
|
-
findTxLabelById(id: number, trx?: sdk.TrxToken): Promise<
|
|
2192
|
-
findOutputTagById(id: number, trx?: sdk.TrxToken): Promise<
|
|
2193
|
-
findUserById(id: number, trx?: sdk.TrxToken): Promise<
|
|
2188
|
+
updateTxLabelMap(transactionId: number, txLabelId: number, update: Partial<TableTxLabelMap>, trx?: sdk.TrxToken): Promise<number>;
|
|
2189
|
+
updateTxLabel(id: number, update: Partial<TableTxLabel>, trx?: sdk.TrxToken): Promise<number>;
|
|
2190
|
+
updateUser(id: number, update: Partial<TableUser>, trx?: sdk.TrxToken): Promise<number>;
|
|
2191
|
+
findCertificateById(id: number, trx?: sdk.TrxToken): Promise<TableCertificate | undefined>;
|
|
2192
|
+
findCommissionById(id: number, trx?: sdk.TrxToken): Promise<TableCommission | undefined>;
|
|
2193
|
+
findOutputById(id: number, trx?: sdk.TrxToken, noScript?: boolean): Promise<TableOutput | undefined>;
|
|
2194
|
+
findOutputBasketById(id: number, trx?: sdk.TrxToken): Promise<TableOutputBasket | undefined>;
|
|
2195
|
+
findProvenTxById(id: number, trx?: sdk.TrxToken | undefined): Promise<TableProvenTx | undefined>;
|
|
2196
|
+
findProvenTxReqById(id: number, trx?: sdk.TrxToken | undefined): Promise<TableProvenTxReq | undefined>;
|
|
2197
|
+
findSyncStateById(id: number, trx?: sdk.TrxToken): Promise<TableSyncState | undefined>;
|
|
2198
|
+
findTransactionById(id: number, trx?: sdk.TrxToken, noRawTx?: boolean): Promise<TableTransaction | undefined>;
|
|
2199
|
+
findTxLabelById(id: number, trx?: sdk.TrxToken): Promise<TableTxLabel | undefined>;
|
|
2200
|
+
findOutputTagById(id: number, trx?: sdk.TrxToken): Promise<TableOutputTag | undefined>;
|
|
2201
|
+
findUserById(id: number, trx?: sdk.TrxToken): Promise<TableUser | undefined>;
|
|
2194
2202
|
findOrInsertUser(identityKey: string, trx?: sdk.TrxToken): Promise<{
|
|
2195
|
-
user:
|
|
2203
|
+
user: TableUser;
|
|
2196
2204
|
isNew: boolean;
|
|
2197
2205
|
}>;
|
|
2198
|
-
findOrInsertTransaction(newTx:
|
|
2199
|
-
tx:
|
|
2206
|
+
findOrInsertTransaction(newTx: TableTransaction, trx?: sdk.TrxToken): Promise<{
|
|
2207
|
+
tx: TableTransaction;
|
|
2200
2208
|
isNew: boolean;
|
|
2201
2209
|
}>;
|
|
2202
|
-
findOrInsertOutputBasket(userId: number, name: string, trx?: sdk.TrxToken): Promise<
|
|
2203
|
-
findOrInsertTxLabel(userId: number, label: string, trx?: sdk.TrxToken): Promise<
|
|
2204
|
-
findOrInsertTxLabelMap(transactionId: number, txLabelId: number, trx?: sdk.TrxToken): Promise<
|
|
2205
|
-
findOrInsertOutputTag(userId: number, tag: string, trx?: sdk.TrxToken): Promise<
|
|
2206
|
-
findOrInsertOutputTagMap(outputId: number, outputTagId: number, trx?: sdk.TrxToken): Promise<
|
|
2210
|
+
findOrInsertOutputBasket(userId: number, name: string, trx?: sdk.TrxToken): Promise<TableOutputBasket>;
|
|
2211
|
+
findOrInsertTxLabel(userId: number, label: string, trx?: sdk.TrxToken): Promise<TableTxLabel>;
|
|
2212
|
+
findOrInsertTxLabelMap(transactionId: number, txLabelId: number, trx?: sdk.TrxToken): Promise<TableTxLabelMap>;
|
|
2213
|
+
findOrInsertOutputTag(userId: number, tag: string, trx?: sdk.TrxToken): Promise<TableOutputTag>;
|
|
2214
|
+
findOrInsertOutputTagMap(outputId: number, outputTagId: number, trx?: sdk.TrxToken): Promise<TableOutputTagMap>;
|
|
2207
2215
|
findOrInsertSyncStateAuth(auth: sdk.AuthId, storageIdentityKey: string, storageName: string): Promise<{
|
|
2208
|
-
syncState:
|
|
2216
|
+
syncState: TableSyncState;
|
|
2209
2217
|
isNew: boolean;
|
|
2210
2218
|
}>;
|
|
2211
|
-
findOrInsertProvenTxReq(newReq:
|
|
2212
|
-
req:
|
|
2219
|
+
findOrInsertProvenTxReq(newReq: TableProvenTxReq, trx?: sdk.TrxToken): Promise<{
|
|
2220
|
+
req: TableProvenTxReq;
|
|
2213
2221
|
isNew: boolean;
|
|
2214
2222
|
}>;
|
|
2215
|
-
findOrInsertProvenTx(newProven:
|
|
2216
|
-
proven:
|
|
2223
|
+
findOrInsertProvenTx(newProven: TableProvenTx, trx?: sdk.TrxToken): Promise<{
|
|
2224
|
+
proven: TableProvenTx;
|
|
2217
2225
|
isNew: boolean;
|
|
2218
2226
|
}>;
|
|
2219
|
-
findUsers(args: sdk.FindUsersArgs): Promise<
|
|
2220
|
-
tagOutput(partial: Partial<
|
|
2227
|
+
findUsers(args: sdk.FindUsersArgs): Promise<TableUser[]>;
|
|
2228
|
+
tagOutput(partial: Partial<TableOutput>, tag: string, trx?: sdk.TrxToken): Promise<void>;
|
|
2221
2229
|
processSyncChunk(args: sdk.RequestSyncChunkArgs, chunk: sdk.SyncChunk): Promise<sdk.ProcessSyncChunkResult>;
|
|
2222
2230
|
}
|
|
2223
2231
|
```
|
|
2224
2232
|
|
|
2225
|
-
See also: [AuthId](#interface-authid), [FindOutputTagMapsArgs](#interface-findoutputtagmapsargs), [FindProvenTxReqsArgs](#interface-findproventxreqsargs), [FindProvenTxsArgs](#interface-findproventxsargs), [FindTxLabelMapsArgs](#interface-findtxlabelmapsargs), [FindUsersArgs](#interface-findusersargs), [ProcessSyncChunkResult](#interface-processsyncchunkresult), [ProvenOrRawTx](#interface-provenorrawtx), [PurgeParams](#interface-purgeparams), [PurgeResults](#interface-purgeresults), [RequestSyncChunkArgs](#interface-requestsyncchunkargs), [StorageSyncReader](#class-storagesyncreader), [SyncChunk](#interface-syncchunk), [TransactionStatus](#type-transactionstatus), [TrxToken](#interface-trxtoken), [UpdateProvenTxReqWithNewProvenTxArgs](#interface-updateproventxreqwithnewproventxargs), [UpdateProvenTxReqWithNewProvenTxResult](#interface-updateproventxreqwithnewproventxresult)
|
|
2233
|
+
See also: [AuthId](./client.md#interface-authid), [FindOutputTagMapsArgs](./client.md#interface-findoutputtagmapsargs), [FindProvenTxReqsArgs](./client.md#interface-findproventxreqsargs), [FindProvenTxsArgs](./client.md#interface-findproventxsargs), [FindTxLabelMapsArgs](./client.md#interface-findtxlabelmapsargs), [FindUsersArgs](./client.md#interface-findusersargs), [ProcessSyncChunkResult](./client.md#interface-processsyncchunkresult), [ProvenOrRawTx](./client.md#interface-provenorrawtx), [PurgeParams](./client.md#interface-purgeparams), [PurgeResults](./client.md#interface-purgeresults), [RequestSyncChunkArgs](./client.md#interface-requestsyncchunkargs), [StorageSyncReader](./storage.md#class-storagesyncreader), [SyncChunk](./client.md#interface-syncchunk), [TableCertificate](./storage.md#interface-tablecertificate), [TableCertificateField](./storage.md#interface-tablecertificatefield), [TableCommission](./storage.md#interface-tablecommission), [TableOutput](./storage.md#interface-tableoutput), [TableOutputBasket](./storage.md#interface-tableoutputbasket), [TableOutputTag](./storage.md#interface-tableoutputtag), [TableOutputTagMap](./storage.md#interface-tableoutputtagmap), [TableProvenTx](./storage.md#interface-tableproventx), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TableProvenTxReqDynamics](./storage.md#interface-tableproventxreqdynamics), [TableSyncState](./storage.md#interface-tablesyncstate), [TableTransaction](./storage.md#interface-tabletransaction), [TableTxLabel](./storage.md#interface-tabletxlabel), [TableTxLabelMap](./storage.md#interface-tabletxlabelmap), [TableUser](./storage.md#interface-tableuser), [TransactionStatus](./client.md#type-transactionstatus), [TrxToken](./client.md#interface-trxtoken), [UpdateProvenTxReqWithNewProvenTxArgs](./client.md#interface-updateproventxreqwithnewproventxargs), [UpdateProvenTxReqWithNewProvenTxResult](./client.md#interface-updateproventxreqwithnewproventxresult), [purgeData](./storage.md#function-purgedata)
|
|
2226
2234
|
|
|
2227
2235
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2228
2236
|
|
|
@@ -2240,22 +2248,24 @@ export interface SyncChunk {
|
|
|
2240
2248
|
fromStorageIdentityKey: string;
|
|
2241
2249
|
toStorageIdentityKey: string;
|
|
2242
2250
|
userIdentityKey: string;
|
|
2243
|
-
user?:
|
|
2244
|
-
provenTxs?:
|
|
2245
|
-
provenTxReqs?:
|
|
2246
|
-
outputBaskets?:
|
|
2247
|
-
txLabels?:
|
|
2248
|
-
outputTags?:
|
|
2249
|
-
transactions?:
|
|
2250
|
-
txLabelMaps?:
|
|
2251
|
-
commissions?:
|
|
2252
|
-
outputs?:
|
|
2253
|
-
outputTagMaps?:
|
|
2254
|
-
certificates?:
|
|
2255
|
-
certificateFields?:
|
|
2251
|
+
user?: TableUser;
|
|
2252
|
+
provenTxs?: TableProvenTx[];
|
|
2253
|
+
provenTxReqs?: TableProvenTxReq[];
|
|
2254
|
+
outputBaskets?: TableOutputBasket[];
|
|
2255
|
+
txLabels?: TableTxLabel[];
|
|
2256
|
+
outputTags?: TableOutputTag[];
|
|
2257
|
+
transactions?: TableTransaction[];
|
|
2258
|
+
txLabelMaps?: TableTxLabelMap[];
|
|
2259
|
+
commissions?: TableCommission[];
|
|
2260
|
+
outputs?: TableOutput[];
|
|
2261
|
+
outputTagMaps?: TableOutputTagMap[];
|
|
2262
|
+
certificates?: TableCertificate[];
|
|
2263
|
+
certificateFields?: TableCertificateField[];
|
|
2256
2264
|
}
|
|
2257
2265
|
```
|
|
2258
2266
|
|
|
2267
|
+
See also: [TableCertificate](./storage.md#interface-tablecertificate), [TableCertificateField](./storage.md#interface-tablecertificatefield), [TableCommission](./storage.md#interface-tablecommission), [TableOutput](./storage.md#interface-tableoutput), [TableOutputBasket](./storage.md#interface-tableoutputbasket), [TableOutputTag](./storage.md#interface-tableoutputtag), [TableOutputTagMap](./storage.md#interface-tableoutputtagmap), [TableProvenTx](./storage.md#interface-tableproventx), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TableTransaction](./storage.md#interface-tabletransaction), [TableTxLabel](./storage.md#interface-tabletxlabel), [TableTxLabelMap](./storage.md#interface-tabletxlabelmap), [TableUser](./storage.md#interface-tableuser)
|
|
2268
|
+
|
|
2259
2269
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2260
2270
|
|
|
2261
2271
|
---
|
|
@@ -2290,7 +2300,7 @@ export interface TaskPurgeParams extends sdk.PurgeParams {
|
|
|
2290
2300
|
}
|
|
2291
2301
|
```
|
|
2292
2302
|
|
|
2293
|
-
See also: [PurgeParams](#interface-purgeparams)
|
|
2303
|
+
See also: [PurgeParams](./client.md#interface-purgeparams)
|
|
2294
2304
|
|
|
2295
2305
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2296
2306
|
|
|
@@ -2357,7 +2367,7 @@ export interface UpdateProvenTxReqWithNewProvenTxArgs {
|
|
|
2357
2367
|
}
|
|
2358
2368
|
```
|
|
2359
2369
|
|
|
2360
|
-
See also: [ProvenTxReqStatus](#type-proventxreqstatus)
|
|
2370
|
+
See also: [ProvenTxReqStatus](./client.md#type-proventxreqstatus)
|
|
2361
2371
|
|
|
2362
2372
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2363
2373
|
|
|
@@ -2373,7 +2383,7 @@ export interface UpdateProvenTxReqWithNewProvenTxResult {
|
|
|
2373
2383
|
}
|
|
2374
2384
|
```
|
|
2375
2385
|
|
|
2376
|
-
See also: [ProvenTxReqStatus](#type-proventxreqstatus)
|
|
2386
|
+
See also: [ProvenTxReqStatus](./client.md#type-proventxreqstatus)
|
|
2377
2387
|
|
|
2378
2388
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2379
2389
|
|
|
@@ -2386,7 +2396,7 @@ export interface ValidAbortActionArgs extends ValidWalletSignerArgs {
|
|
|
2386
2396
|
}
|
|
2387
2397
|
```
|
|
2388
2398
|
|
|
2389
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2399
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2390
2400
|
|
|
2391
2401
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2392
2402
|
|
|
@@ -2410,7 +2420,7 @@ export interface ValidAcquireCertificateArgs extends ValidWalletSignerArgs {
|
|
|
2410
2420
|
}
|
|
2411
2421
|
```
|
|
2412
2422
|
|
|
2413
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2423
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2414
2424
|
|
|
2415
2425
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2416
2426
|
|
|
@@ -2433,7 +2443,7 @@ export interface ValidAcquireDirectCertificateArgs extends ValidWalletSignerArgs
|
|
|
2433
2443
|
}
|
|
2434
2444
|
```
|
|
2435
2445
|
|
|
2436
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2446
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2437
2447
|
|
|
2438
2448
|
###### Property subject
|
|
2439
2449
|
|
|
@@ -2461,7 +2471,7 @@ export interface ValidAcquireIssuanceCertificateArgs extends ValidWalletSignerAr
|
|
|
2461
2471
|
}
|
|
2462
2472
|
```
|
|
2463
2473
|
|
|
2464
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2474
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2465
2475
|
|
|
2466
2476
|
###### Property subject
|
|
2467
2477
|
|
|
@@ -2505,7 +2515,7 @@ export interface ValidCreateActionArgs extends ValidProcessActionArgs {
|
|
|
2505
2515
|
}
|
|
2506
2516
|
```
|
|
2507
2517
|
|
|
2508
|
-
See also: [ValidCreateActionInput](#interface-validcreateactioninput), [ValidCreateActionOptions](#interface-validcreateactionoptions), [ValidCreateActionOutput](#interface-validcreateactionoutput), [ValidProcessActionArgs](#interface-validprocessactionargs)
|
|
2518
|
+
See also: [ValidCreateActionInput](./client.md#interface-validcreateactioninput), [ValidCreateActionOptions](./client.md#interface-validcreateactionoptions), [ValidCreateActionOutput](./client.md#interface-validcreateactionoutput), [ValidProcessActionArgs](./client.md#interface-validprocessactionargs)
|
|
2509
2519
|
|
|
2510
2520
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2511
2521
|
|
|
@@ -2522,7 +2532,7 @@ export interface ValidCreateActionInput {
|
|
|
2522
2532
|
}
|
|
2523
2533
|
```
|
|
2524
2534
|
|
|
2525
|
-
See also: [OutPoint](#interface-outpoint)
|
|
2535
|
+
See also: [OutPoint](./client.md#interface-outpoint)
|
|
2526
2536
|
|
|
2527
2537
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2528
2538
|
|
|
@@ -2539,7 +2549,7 @@ export interface ValidCreateActionOptions extends ValidProcessActionOptions {
|
|
|
2539
2549
|
}
|
|
2540
2550
|
```
|
|
2541
2551
|
|
|
2542
|
-
See also: [OutPoint](#interface-outpoint), [ValidProcessActionOptions](#interface-validprocessactionoptions)
|
|
2552
|
+
See also: [OutPoint](./client.md#interface-outpoint), [ValidProcessActionOptions](./client.md#interface-validprocessactionoptions)
|
|
2543
2553
|
|
|
2544
2554
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2545
2555
|
|
|
@@ -2571,7 +2581,7 @@ export interface ValidDiscoverByAttributesArgs extends ValidWalletSignerArgs {
|
|
|
2571
2581
|
}
|
|
2572
2582
|
```
|
|
2573
2583
|
|
|
2574
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2584
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2575
2585
|
|
|
2576
2586
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2577
2587
|
|
|
@@ -2587,7 +2597,7 @@ export interface ValidDiscoverByIdentityKeyArgs extends ValidWalletSignerArgs {
|
|
|
2587
2597
|
}
|
|
2588
2598
|
```
|
|
2589
2599
|
|
|
2590
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2600
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2591
2601
|
|
|
2592
2602
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2593
2603
|
|
|
@@ -2604,7 +2614,7 @@ export interface ValidInternalizeActionArgs extends ValidWalletSignerArgs {
|
|
|
2604
2614
|
}
|
|
2605
2615
|
```
|
|
2606
2616
|
|
|
2607
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2617
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2608
2618
|
|
|
2609
2619
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2610
2620
|
|
|
@@ -2620,7 +2630,7 @@ export interface ValidInternalizeOutput {
|
|
|
2620
2630
|
}
|
|
2621
2631
|
```
|
|
2622
2632
|
|
|
2623
|
-
See also: [ValidBasketInsertion](#interface-validbasketinsertion), [ValidWalletPayment](#interface-validwalletpayment)
|
|
2633
|
+
See also: [ValidBasketInsertion](./client.md#interface-validbasketinsertion), [ValidWalletPayment](./client.md#interface-validwalletpayment)
|
|
2624
2634
|
|
|
2625
2635
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2626
2636
|
|
|
@@ -2643,7 +2653,7 @@ export interface ValidListActionsArgs extends ValidWalletSignerArgs {
|
|
|
2643
2653
|
}
|
|
2644
2654
|
```
|
|
2645
2655
|
|
|
2646
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2656
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2647
2657
|
|
|
2648
2658
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2649
2659
|
|
|
@@ -2669,7 +2679,7 @@ export interface ValidListCertificatesArgs extends ValidWalletSignerArgs {
|
|
|
2669
2679
|
}
|
|
2670
2680
|
```
|
|
2671
2681
|
|
|
2672
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2682
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2673
2683
|
|
|
2674
2684
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2675
2685
|
|
|
@@ -2693,7 +2703,7 @@ export interface ValidListOutputsArgs extends ValidWalletSignerArgs {
|
|
|
2693
2703
|
}
|
|
2694
2704
|
```
|
|
2695
2705
|
|
|
2696
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2706
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2697
2707
|
|
|
2698
2708
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2699
2709
|
|
|
@@ -2710,7 +2720,7 @@ export interface ValidProcessActionArgs extends ValidWalletSignerArgs {
|
|
|
2710
2720
|
}
|
|
2711
2721
|
```
|
|
2712
2722
|
|
|
2713
|
-
See also: [ValidProcessActionOptions](#interface-validprocessactionoptions), [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2723
|
+
See also: [ValidProcessActionOptions](./client.md#interface-validprocessactionoptions), [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2714
2724
|
|
|
2715
2725
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2716
2726
|
|
|
@@ -2746,7 +2756,7 @@ export interface ValidProveCertificateArgs extends ValidWalletSignerArgs {
|
|
|
2746
2756
|
}
|
|
2747
2757
|
```
|
|
2748
2758
|
|
|
2749
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2759
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2750
2760
|
|
|
2751
2761
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2752
2762
|
|
|
@@ -2761,7 +2771,7 @@ export interface ValidRelinquishCertificateArgs extends ValidWalletSignerArgs {
|
|
|
2761
2771
|
}
|
|
2762
2772
|
```
|
|
2763
2773
|
|
|
2764
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2774
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2765
2775
|
|
|
2766
2776
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2767
2777
|
|
|
@@ -2775,7 +2785,7 @@ export interface ValidRelinquishOutputArgs extends ValidWalletSignerArgs {
|
|
|
2775
2785
|
}
|
|
2776
2786
|
```
|
|
2777
2787
|
|
|
2778
|
-
See also: [ValidWalletSignerArgs](#interface-validwalletsignerargs)
|
|
2788
|
+
See also: [ValidWalletSignerArgs](./client.md#interface-validwalletsignerargs)
|
|
2779
2789
|
|
|
2780
2790
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2781
2791
|
|
|
@@ -2790,7 +2800,7 @@ export interface ValidSignActionArgs extends ValidProcessActionArgs {
|
|
|
2790
2800
|
}
|
|
2791
2801
|
```
|
|
2792
2802
|
|
|
2793
|
-
See also: [ValidProcessActionArgs](#interface-validprocessactionargs), [ValidSignActionOptions](#interface-validsignactionoptions)
|
|
2803
|
+
See also: [ValidProcessActionArgs](./client.md#interface-validprocessactionargs), [ValidSignActionOptions](./client.md#interface-validsignactionoptions)
|
|
2794
2804
|
|
|
2795
2805
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2796
2806
|
|
|
@@ -2806,7 +2816,7 @@ export interface ValidSignActionOptions extends ValidProcessActionOptions {
|
|
|
2806
2816
|
}
|
|
2807
2817
|
```
|
|
2808
2818
|
|
|
2809
|
-
See also: [ValidProcessActionOptions](#interface-validprocessactionoptions)
|
|
2819
|
+
See also: [ValidProcessActionOptions](./client.md#interface-validprocessactionoptions)
|
|
2810
2820
|
|
|
2811
2821
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2812
2822
|
|
|
@@ -2847,7 +2857,7 @@ export interface WalletArgs {
|
|
|
2847
2857
|
}
|
|
2848
2858
|
```
|
|
2849
2859
|
|
|
2850
|
-
See also: [Chain](#type-chain), [Monitor](#class-monitor), [PrivilegedKeyManager](#class-privilegedkeymanager), [WalletServices](#interface-walletservices), [WalletStorageManager](#class-walletstoragemanager)
|
|
2860
|
+
See also: [Chain](./client.md#type-chain), [Monitor](./monitor.md#class-monitor), [PrivilegedKeyManager](./client.md#class-privilegedkeymanager), [WalletServices](./client.md#interface-walletservices), [WalletStorageManager](./storage.md#class-walletstoragemanager)
|
|
2851
2861
|
|
|
2852
2862
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2853
2863
|
|
|
@@ -2874,7 +2884,7 @@ export interface WalletServices {
|
|
|
2874
2884
|
}
|
|
2875
2885
|
```
|
|
2876
2886
|
|
|
2877
|
-
See also: [BlockHeader](#interface-blockheader), [Chain](#type-chain), [GetMerklePathResult](#interface-getmerklepathresult), [GetRawTxResult](#interface-getrawtxresult), [GetUtxoStatusOutputFormat](#type-getutxostatusoutputformat), [GetUtxoStatusResult](#interface-getutxostatusresult), [PostBeefResult](#interface-postbeefresult), [PostTxsResult](#interface-posttxsresult)
|
|
2887
|
+
See also: [BlockHeader](./client.md#interface-blockheader), [Chain](./client.md#type-chain), [GetMerklePathResult](./client.md#interface-getmerklepathresult), [GetRawTxResult](./client.md#interface-getrawtxresult), [GetUtxoStatusOutputFormat](./client.md#type-getutxostatusoutputformat), [GetUtxoStatusResult](./client.md#interface-getutxostatusresult), [PostBeefResult](./client.md#interface-postbeefresult), [PostTxsResult](./client.md#interface-posttxsresult)
|
|
2878
2888
|
|
|
2879
2889
|
###### Property chain
|
|
2880
2890
|
|
|
@@ -2883,7 +2893,7 @@ The chain being serviced.
|
|
|
2883
2893
|
```ts
|
|
2884
2894
|
chain: sdk.Chain
|
|
2885
2895
|
```
|
|
2886
|
-
See also: [Chain](#type-chain)
|
|
2896
|
+
See also: [Chain](./client.md#type-chain)
|
|
2887
2897
|
|
|
2888
2898
|
###### Method getBsvExchangeRate
|
|
2889
2899
|
|
|
@@ -2954,7 +2964,7 @@ Increments to next configured service and tries again until all services have be
|
|
|
2954
2964
|
```ts
|
|
2955
2965
|
getMerklePath(txid: string, useNext?: boolean): Promise<GetMerklePathResult>
|
|
2956
2966
|
```
|
|
2957
|
-
See also: [GetMerklePathResult](#interface-getmerklepathresult)
|
|
2967
|
+
See also: [GetMerklePathResult](./client.md#interface-getmerklepathresult)
|
|
2958
2968
|
|
|
2959
2969
|
Argument Details
|
|
2960
2970
|
|
|
@@ -2984,7 +2994,7 @@ Increments to next configured service and tries again until all services have be
|
|
|
2984
2994
|
```ts
|
|
2985
2995
|
getRawTx(txid: string, useNext?: boolean): Promise<GetRawTxResult>
|
|
2986
2996
|
```
|
|
2987
|
-
See also: [GetRawTxResult](#interface-getrawtxresult)
|
|
2997
|
+
See also: [GetRawTxResult](./client.md#interface-getrawtxresult)
|
|
2988
2998
|
|
|
2989
2999
|
Argument Details
|
|
2990
3000
|
|
|
@@ -3002,7 +3012,7 @@ Cycles through configured transaction processing services attempting to get a va
|
|
|
3002
3012
|
```ts
|
|
3003
3013
|
getUtxoStatus(output: string, outputFormat?: GetUtxoStatusOutputFormat, useNext?: boolean): Promise<GetUtxoStatusResult>
|
|
3004
3014
|
```
|
|
3005
|
-
See also: [GetUtxoStatusOutputFormat](#type-getutxostatusoutputformat), [GetUtxoStatusResult](#interface-getutxostatusresult)
|
|
3015
|
+
See also: [GetUtxoStatusOutputFormat](./client.md#type-getutxostatusoutputformat), [GetUtxoStatusResult](./client.md#interface-getutxostatusresult)
|
|
3006
3016
|
|
|
3007
3017
|
Argument Details
|
|
3008
3018
|
|
|
@@ -3024,7 +3034,7 @@ undefined if length of `output` is 32 then 'hashBE`, otherwise 'script'.
|
|
|
3024
3034
|
```ts
|
|
3025
3035
|
hashToHeader(hash: string): Promise<sdk.BlockHeader>
|
|
3026
3036
|
```
|
|
3027
|
-
See also: [BlockHeader](#interface-blockheader)
|
|
3037
|
+
See also: [BlockHeader](./client.md#interface-blockheader)
|
|
3028
3038
|
|
|
3029
3039
|
Returns
|
|
3030
3040
|
|
|
@@ -3070,7 +3080,7 @@ export interface WalletServicesOptions {
|
|
|
3070
3080
|
}
|
|
3071
3081
|
```
|
|
3072
3082
|
|
|
3073
|
-
See also: [BsvExchangeRate](#interface-bsvexchangerate), [Chain](#type-chain), [FiatExchangeRates](#interface-fiatexchangerates)
|
|
3083
|
+
See also: [BsvExchangeRate](./client.md#interface-bsvexchangerate), [Chain](./client.md#type-chain), [FiatExchangeRates](./client.md#interface-fiatexchangerates)
|
|
3074
3084
|
|
|
3075
3085
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3076
3086
|
|
|
@@ -3085,7 +3095,7 @@ export interface WalletSigner {
|
|
|
3085
3095
|
}
|
|
3086
3096
|
```
|
|
3087
3097
|
|
|
3088
|
-
See also: [Chain](#type-chain)
|
|
3098
|
+
See also: [Chain](./client.md#type-chain)
|
|
3089
3099
|
|
|
3090
3100
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3091
3101
|
|
|
@@ -3102,35 +3112,35 @@ and it is left to the providers: physical access or remote channel authenticatio
|
|
|
3102
3112
|
export interface WalletStorage {
|
|
3103
3113
|
isStorageProvider(): boolean;
|
|
3104
3114
|
isAvailable(): boolean;
|
|
3105
|
-
makeAvailable(): Promise<
|
|
3115
|
+
makeAvailable(): Promise<TableSettings>;
|
|
3106
3116
|
migrate(storageName: string, storageIdentityKey: string): Promise<string>;
|
|
3107
3117
|
destroy(): Promise<void>;
|
|
3108
3118
|
setServices(v: sdk.WalletServices): void;
|
|
3109
3119
|
getServices(): sdk.WalletServices;
|
|
3110
|
-
getSettings():
|
|
3120
|
+
getSettings(): TableSettings;
|
|
3111
3121
|
getAuth(): Promise<sdk.AuthId>;
|
|
3112
3122
|
findOrInsertUser(identityKey: string): Promise<{
|
|
3113
|
-
user:
|
|
3123
|
+
user: TableUser;
|
|
3114
3124
|
isNew: boolean;
|
|
3115
3125
|
}>;
|
|
3116
3126
|
abortAction(args: AbortActionArgs): Promise<AbortActionResult>;
|
|
3117
3127
|
createAction(args: sdk.ValidCreateActionArgs): Promise<sdk.StorageCreateActionResult>;
|
|
3118
3128
|
processAction(args: sdk.StorageProcessActionArgs): Promise<sdk.StorageProcessActionResults>;
|
|
3119
3129
|
internalizeAction(args: InternalizeActionArgs): Promise<InternalizeActionResult>;
|
|
3120
|
-
findCertificates(args: sdk.FindCertificatesArgs): Promise<
|
|
3121
|
-
findOutputBaskets(args: sdk.FindOutputBasketsArgs): Promise<
|
|
3122
|
-
findOutputs(args: sdk.FindOutputsArgs): Promise<
|
|
3123
|
-
findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<
|
|
3130
|
+
findCertificates(args: sdk.FindCertificatesArgs): Promise<TableCertificate[]>;
|
|
3131
|
+
findOutputBaskets(args: sdk.FindOutputBasketsArgs): Promise<TableOutputBasket[]>;
|
|
3132
|
+
findOutputs(args: sdk.FindOutputsArgs): Promise<TableOutput[]>;
|
|
3133
|
+
findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<TableProvenTxReq[]>;
|
|
3124
3134
|
listActions(args: ListActionsArgs): Promise<ListActionsResult>;
|
|
3125
3135
|
listCertificates(args: sdk.ValidListCertificatesArgs): Promise<ListCertificatesResult>;
|
|
3126
3136
|
listOutputs(args: ListOutputsArgs): Promise<ListOutputsResult>;
|
|
3127
|
-
insertCertificate(certificate:
|
|
3137
|
+
insertCertificate(certificate: TableCertificateX): Promise<number>;
|
|
3128
3138
|
relinquishCertificate(args: RelinquishCertificateArgs): Promise<number>;
|
|
3129
3139
|
relinquishOutput(args: RelinquishOutputArgs): Promise<number>;
|
|
3130
3140
|
}
|
|
3131
3141
|
```
|
|
3132
3142
|
|
|
3133
|
-
See also: [AuthId](#interface-authid), [FindCertificatesArgs](#interface-findcertificatesargs), [FindOutputBasketsArgs](#interface-findoutputbasketsargs), [FindOutputsArgs](#interface-findoutputsargs), [FindProvenTxReqsArgs](#interface-findproventxreqsargs), [StorageCreateActionResult](#interface-storagecreateactionresult), [StorageProcessActionArgs](#interface-storageprocessactionargs), [StorageProcessActionResults](#interface-storageprocessactionresults), [ValidCreateActionArgs](#interface-validcreateactionargs), [ValidListCertificatesArgs](#interface-validlistcertificatesargs), [WalletServices](#interface-walletservices), [createAction](#function-createaction), [internalizeAction](#function-internalizeaction), [listCertificates](#function-listcertificates), [processAction](#function-processaction)
|
|
3143
|
+
See also: [AuthId](./client.md#interface-authid), [FindCertificatesArgs](./client.md#interface-findcertificatesargs), [FindOutputBasketsArgs](./client.md#interface-findoutputbasketsargs), [FindOutputsArgs](./client.md#interface-findoutputsargs), [FindProvenTxReqsArgs](./client.md#interface-findproventxreqsargs), [StorageCreateActionResult](./client.md#interface-storagecreateactionresult), [StorageProcessActionArgs](./client.md#interface-storageprocessactionargs), [StorageProcessActionResults](./client.md#interface-storageprocessactionresults), [TableCertificate](./storage.md#interface-tablecertificate), [TableCertificateX](./storage.md#interface-tablecertificatex), [TableOutput](./storage.md#interface-tableoutput), [TableOutputBasket](./storage.md#interface-tableoutputbasket), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TableSettings](./storage.md#interface-tablesettings), [TableUser](./storage.md#interface-tableuser), [ValidCreateActionArgs](./client.md#interface-validcreateactionargs), [ValidListCertificatesArgs](./client.md#interface-validlistcertificatesargs), [WalletServices](./client.md#interface-walletservices), [createAction](./storage.md#function-createaction), [internalizeAction](./storage.md#function-internalizeaction), [listActions](./storage.md#function-listactions), [listCertificates](./storage.md#function-listcertificates), [listOutputs](./storage.md#function-listoutputs), [processAction](./storage.md#function-processaction)
|
|
3134
3144
|
|
|
3135
3145
|
###### Method isStorageProvider
|
|
3136
3146
|
|
|
@@ -3157,7 +3167,7 @@ export interface WalletStorageProvider extends WalletStorageSync {
|
|
|
3157
3167
|
}
|
|
3158
3168
|
```
|
|
3159
3169
|
|
|
3160
|
-
See also: [WalletServices](#interface-walletservices), [WalletStorageSync](#interface-walletstoragesync)
|
|
3170
|
+
See also: [WalletServices](./client.md#interface-walletservices), [WalletStorageSync](./client.md#interface-walletstoragesync)
|
|
3161
3171
|
|
|
3162
3172
|
###### Method isStorageProvider
|
|
3163
3173
|
|
|
@@ -3178,18 +3188,18 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3178
3188
|
export interface WalletStorageReader {
|
|
3179
3189
|
isAvailable(): boolean;
|
|
3180
3190
|
getServices(): sdk.WalletServices;
|
|
3181
|
-
getSettings():
|
|
3182
|
-
findCertificatesAuth(auth: sdk.AuthId, args: sdk.FindCertificatesArgs): Promise<
|
|
3183
|
-
findOutputBasketsAuth(auth: sdk.AuthId, args: sdk.FindOutputBasketsArgs): Promise<
|
|
3184
|
-
findOutputsAuth(auth: sdk.AuthId, args: sdk.FindOutputsArgs): Promise<
|
|
3185
|
-
findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<
|
|
3191
|
+
getSettings(): TableSettings;
|
|
3192
|
+
findCertificatesAuth(auth: sdk.AuthId, args: sdk.FindCertificatesArgs): Promise<TableCertificate[]>;
|
|
3193
|
+
findOutputBasketsAuth(auth: sdk.AuthId, args: sdk.FindOutputBasketsArgs): Promise<TableOutputBasket[]>;
|
|
3194
|
+
findOutputsAuth(auth: sdk.AuthId, args: sdk.FindOutputsArgs): Promise<TableOutput[]>;
|
|
3195
|
+
findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<TableProvenTxReq[]>;
|
|
3186
3196
|
listActions(auth: sdk.AuthId, vargs: sdk.ValidListActionsArgs): Promise<ListActionsResult>;
|
|
3187
3197
|
listCertificates(auth: sdk.AuthId, vargs: sdk.ValidListCertificatesArgs): Promise<ListCertificatesResult>;
|
|
3188
3198
|
listOutputs(auth: sdk.AuthId, vargs: sdk.ValidListOutputsArgs): Promise<ListOutputsResult>;
|
|
3189
3199
|
}
|
|
3190
3200
|
```
|
|
3191
3201
|
|
|
3192
|
-
See also: [AuthId](#interface-authid), [FindCertificatesArgs](#interface-findcertificatesargs), [FindOutputBasketsArgs](#interface-findoutputbasketsargs), [FindOutputsArgs](#interface-findoutputsargs), [FindProvenTxReqsArgs](#interface-findproventxreqsargs), [ValidListActionsArgs](#interface-validlistactionsargs), [ValidListCertificatesArgs](#interface-validlistcertificatesargs), [ValidListOutputsArgs](#interface-validlistoutputsargs), [WalletServices](#interface-walletservices), [listCertificates](#function-listcertificates)
|
|
3202
|
+
See also: [AuthId](./client.md#interface-authid), [FindCertificatesArgs](./client.md#interface-findcertificatesargs), [FindOutputBasketsArgs](./client.md#interface-findoutputbasketsargs), [FindOutputsArgs](./client.md#interface-findoutputsargs), [FindProvenTxReqsArgs](./client.md#interface-findproventxreqsargs), [TableCertificate](./storage.md#interface-tablecertificate), [TableOutput](./storage.md#interface-tableoutput), [TableOutputBasket](./storage.md#interface-tableoutputbasket), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TableSettings](./storage.md#interface-tablesettings), [ValidListActionsArgs](./client.md#interface-validlistactionsargs), [ValidListCertificatesArgs](./client.md#interface-validlistcertificatesargs), [ValidListOutputsArgs](./client.md#interface-validlistoutputsargs), [WalletServices](./client.md#interface-walletservices), [listActions](./storage.md#function-listactions), [listCertificates](./storage.md#function-listcertificates), [listOutputs](./storage.md#function-listoutputs)
|
|
3193
3203
|
|
|
3194
3204
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3195
3205
|
|
|
@@ -3199,7 +3209,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3199
3209
|
```ts
|
|
3200
3210
|
export interface WalletStorageSync extends WalletStorageWriter {
|
|
3201
3211
|
findOrInsertSyncStateAuth(auth: sdk.AuthId, storageIdentityKey: string, storageName: string): Promise<{
|
|
3202
|
-
syncState:
|
|
3212
|
+
syncState: TableSyncState;
|
|
3203
3213
|
isNew: boolean;
|
|
3204
3214
|
}>;
|
|
3205
3215
|
setActive(auth: sdk.AuthId, newActiveStorageIdentityKey: string): Promise<number>;
|
|
@@ -3208,7 +3218,7 @@ export interface WalletStorageSync extends WalletStorageWriter {
|
|
|
3208
3218
|
}
|
|
3209
3219
|
```
|
|
3210
3220
|
|
|
3211
|
-
See also: [AuthId](#interface-authid), [ProcessSyncChunkResult](#interface-processsyncchunkresult), [RequestSyncChunkArgs](#interface-requestsyncchunkargs), [SyncChunk](#interface-syncchunk), [WalletStorageWriter](#interface-walletstoragewriter), [getSyncChunk](#function-getsyncchunk)
|
|
3221
|
+
See also: [AuthId](./client.md#interface-authid), [ProcessSyncChunkResult](./client.md#interface-processsyncchunkresult), [RequestSyncChunkArgs](./client.md#interface-requestsyncchunkargs), [SyncChunk](./client.md#interface-syncchunk), [TableSyncState](./storage.md#interface-tablesyncstate), [WalletStorageWriter](./client.md#interface-walletstoragewriter), [getSyncChunk](./storage.md#function-getsyncchunk)
|
|
3212
3222
|
|
|
3213
3223
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3214
3224
|
|
|
@@ -3217,24 +3227,24 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3217
3227
|
|
|
3218
3228
|
```ts
|
|
3219
3229
|
export interface WalletStorageWriter extends WalletStorageReader {
|
|
3220
|
-
makeAvailable(): Promise<
|
|
3230
|
+
makeAvailable(): Promise<TableSettings>;
|
|
3221
3231
|
migrate(storageName: string, storageIdentityKey: string): Promise<string>;
|
|
3222
3232
|
destroy(): Promise<void>;
|
|
3223
3233
|
findOrInsertUser(identityKey: string): Promise<{
|
|
3224
|
-
user:
|
|
3234
|
+
user: TableUser;
|
|
3225
3235
|
isNew: boolean;
|
|
3226
3236
|
}>;
|
|
3227
3237
|
abortAction(auth: sdk.AuthId, args: AbortActionArgs): Promise<AbortActionResult>;
|
|
3228
3238
|
createAction(auth: sdk.AuthId, args: sdk.ValidCreateActionArgs): Promise<sdk.StorageCreateActionResult>;
|
|
3229
3239
|
processAction(auth: sdk.AuthId, args: sdk.StorageProcessActionArgs): Promise<sdk.StorageProcessActionResults>;
|
|
3230
3240
|
internalizeAction(auth: sdk.AuthId, args: InternalizeActionArgs): Promise<InternalizeActionResult>;
|
|
3231
|
-
insertCertificateAuth(auth: sdk.AuthId, certificate:
|
|
3241
|
+
insertCertificateAuth(auth: sdk.AuthId, certificate: TableCertificateX): Promise<number>;
|
|
3232
3242
|
relinquishCertificate(auth: sdk.AuthId, args: RelinquishCertificateArgs): Promise<number>;
|
|
3233
3243
|
relinquishOutput(auth: sdk.AuthId, args: RelinquishOutputArgs): Promise<number>;
|
|
3234
3244
|
}
|
|
3235
3245
|
```
|
|
3236
3246
|
|
|
3237
|
-
See also: [AuthId](#interface-authid), [StorageCreateActionResult](#interface-storagecreateactionresult), [StorageProcessActionArgs](#interface-storageprocessactionargs), [StorageProcessActionResults](#interface-storageprocessactionresults), [ValidCreateActionArgs](#interface-validcreateactionargs), [WalletStorageReader](#interface-walletstoragereader), [createAction](#function-createaction), [internalizeAction](#function-internalizeaction), [processAction](#function-processaction)
|
|
3247
|
+
See also: [AuthId](./client.md#interface-authid), [StorageCreateActionResult](./client.md#interface-storagecreateactionresult), [StorageProcessActionArgs](./client.md#interface-storageprocessactionargs), [StorageProcessActionResults](./client.md#interface-storageprocessactionresults), [TableCertificateX](./storage.md#interface-tablecertificatex), [TableSettings](./storage.md#interface-tablesettings), [TableUser](./storage.md#interface-tableuser), [ValidCreateActionArgs](./client.md#interface-validcreateactionargs), [WalletStorageReader](./client.md#interface-walletstoragereader), [createAction](./storage.md#function-createaction), [internalizeAction](./storage.md#function-internalizeaction), [processAction](./storage.md#function-processaction)
|
|
3238
3248
|
|
|
3239
3249
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3240
3250
|
|
|
@@ -3251,7 +3261,7 @@ export interface XValidCreateActionOutput extends sdk.ValidCreateActionOutput {
|
|
|
3251
3261
|
}
|
|
3252
3262
|
```
|
|
3253
3263
|
|
|
3254
|
-
See also: [StorageProvidedBy](#type-storageprovidedby), [ValidCreateActionOutput](#interface-validcreateactionoutput)
|
|
3264
|
+
See also: [StorageProvidedBy](./client.md#type-storageprovidedby), [ValidCreateActionOutput](./client.md#interface-validcreateactionoutput)
|
|
3255
3265
|
|
|
3256
3266
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3257
3267
|
|
|
@@ -3321,7 +3331,7 @@ export class CertOps extends BsvCertificate {
|
|
|
3321
3331
|
}
|
|
3322
3332
|
```
|
|
3323
3333
|
|
|
3324
|
-
See also: [CertOpsWallet](#interface-certopswallet)
|
|
3334
|
+
See also: [CertOpsWallet](./client.md#interface-certopswallet)
|
|
3325
3335
|
|
|
3326
3336
|
###### Method createKeyringForVerifier
|
|
3327
3337
|
|
|
@@ -3412,7 +3422,7 @@ export class Monitor {
|
|
|
3412
3422
|
}
|
|
3413
3423
|
```
|
|
3414
3424
|
|
|
3415
|
-
See also: [BlockHeader](#interface-blockheader), [Chain](#type-chain), [MonitorOptions](#interface-monitoroptions), [MonitorStorage](#type-monitorstorage), [Services](#class-services), [TaskPurgeParams](#interface-taskpurgeparams), [WalletMonitorTask](#class-walletmonitortask)
|
|
3425
|
+
See also: [BlockHeader](./client.md#interface-blockheader), [Chain](./client.md#type-chain), [MonitorOptions](./monitor.md#interface-monitoroptions), [MonitorStorage](./monitor.md#type-monitorstorage), [Services](./services.md#class-services), [TaskPurgeParams](./monitor.md#interface-taskpurgeparams), [WalletMonitorTask](./monitor.md#class-walletmonitortask)
|
|
3416
3426
|
|
|
3417
3427
|
###### Property _otherTasks
|
|
3418
3428
|
|
|
@@ -3421,7 +3431,7 @@ _otherTasks can be run by runTask but not by scheduler.
|
|
|
3421
3431
|
```ts
|
|
3422
3432
|
_otherTasks: WalletMonitorTask[] = []
|
|
3423
3433
|
```
|
|
3424
|
-
See also: [WalletMonitorTask](#class-walletmonitortask)
|
|
3434
|
+
See also: [WalletMonitorTask](./monitor.md#class-walletmonitortask)
|
|
3425
3435
|
|
|
3426
3436
|
###### Property _tasks
|
|
3427
3437
|
|
|
@@ -3430,7 +3440,7 @@ _tasks are typically run by the scheduler but may also be run by runTask.
|
|
|
3430
3440
|
```ts
|
|
3431
3441
|
_tasks: WalletMonitorTask[] = []
|
|
3432
3442
|
```
|
|
3433
|
-
See also: [WalletMonitorTask](#class-walletmonitortask)
|
|
3443
|
+
See also: [WalletMonitorTask](./monitor.md#class-walletmonitortask)
|
|
3434
3444
|
|
|
3435
3445
|
###### Method addDefaultTasks
|
|
3436
3446
|
|
|
@@ -3459,7 +3469,7 @@ Kicks processing 'unconfirmed' and 'unmined' request processing.
|
|
|
3459
3469
|
```ts
|
|
3460
3470
|
processNewBlockHeader(header: BlockHeader): void
|
|
3461
3471
|
```
|
|
3462
|
-
See also: [BlockHeader](#interface-blockheader)
|
|
3472
|
+
See also: [BlockHeader](./client.md#interface-blockheader)
|
|
3463
3473
|
|
|
3464
3474
|
###### Method processReorg
|
|
3465
3475
|
|
|
@@ -3475,7 +3485,7 @@ Coinbase transactions always become invalid.
|
|
|
3475
3485
|
```ts
|
|
3476
3486
|
processReorg(depth: number, oldTip: BlockHeader, newTip: BlockHeader): void
|
|
3477
3487
|
```
|
|
3478
|
-
See also: [BlockHeader](#interface-blockheader)
|
|
3488
|
+
See also: [BlockHeader](./client.md#interface-blockheader)
|
|
3479
3489
|
|
|
3480
3490
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3481
3491
|
|
|
@@ -3557,7 +3567,7 @@ export class ScriptTemplateSABPPP implements ScriptTemplate {
|
|
|
3557
3567
|
}
|
|
3558
3568
|
```
|
|
3559
3569
|
|
|
3560
|
-
See also: [ScriptTemplateParamsSABPPP](#interface-scripttemplateparamssabppp)
|
|
3570
|
+
See also: [ScriptTemplateParamsSABPPP](./client.md#interface-scripttemplateparamssabppp)
|
|
3561
3571
|
|
|
3562
3572
|
###### Property unlockLength
|
|
3563
3573
|
|
|
@@ -3639,7 +3649,7 @@ export class Services implements sdk.WalletServices {
|
|
|
3639
3649
|
}
|
|
3640
3650
|
```
|
|
3641
3651
|
|
|
3642
|
-
See also: [BlockHeader](#interface-blockheader), [Chain](#type-chain), [FiatExchangeRates](#interface-fiatexchangerates), [GetMerklePathResult](#interface-getmerklepathresult), [GetMerklePathService](#type-getmerklepathservice), [GetRawTxResult](#interface-getrawtxresult), [GetRawTxService](#type-getrawtxservice), [GetUtxoStatusOutputFormat](#type-getutxostatusoutputformat), [GetUtxoStatusResult](#interface-getutxostatusresult), [GetUtxoStatusService](#type-getutxostatusservice), [PostBeefResult](#interface-postbeefresult), [PostBeefService](#type-postbeefservice), [PostTxsResult](#interface-posttxsresult), [PostTxsService](#type-posttxsservice), [ServiceCollection](#class-servicecollection), [UpdateFiatExchangeRateService](#type-updatefiatexchangerateservice), [WalletServices](#interface-walletservices), [WalletServicesOptions](#interface-walletservicesoptions)
|
|
3652
|
+
See also: [BlockHeader](./client.md#interface-blockheader), [Chain](./client.md#type-chain), [FiatExchangeRates](./client.md#interface-fiatexchangerates), [GetMerklePathResult](./client.md#interface-getmerklepathresult), [GetMerklePathService](./client.md#type-getmerklepathservice), [GetRawTxResult](./client.md#interface-getrawtxresult), [GetRawTxService](./client.md#type-getrawtxservice), [GetUtxoStatusOutputFormat](./client.md#type-getutxostatusoutputformat), [GetUtxoStatusResult](./client.md#interface-getutxostatusresult), [GetUtxoStatusService](./client.md#type-getutxostatusservice), [PostBeefResult](./client.md#interface-postbeefresult), [PostBeefService](./client.md#type-postbeefservice), [PostTxsResult](./client.md#interface-posttxsresult), [PostTxsService](./client.md#type-posttxsservice), [ServiceCollection](./services.md#class-servicecollection), [UpdateFiatExchangeRateService](./client.md#type-updatefiatexchangerateservice), [WalletServices](./client.md#interface-walletservices), [WalletServicesOptions](./client.md#interface-walletservicesoptions)
|
|
3643
3653
|
|
|
3644
3654
|
###### Method postTxs
|
|
3645
3655
|
|
|
@@ -3650,7 +3660,7 @@ These will be fetched if missing, greatly extending the service response time.
|
|
|
3650
3660
|
```ts
|
|
3651
3661
|
async postTxs(beef: Beef, txids: string[]): Promise<sdk.PostTxsResult[]>
|
|
3652
3662
|
```
|
|
3653
|
-
See also: [PostTxsResult](#interface-posttxsresult)
|
|
3663
|
+
See also: [PostTxsResult](./client.md#interface-posttxsresult)
|
|
3654
3664
|
|
|
3655
3665
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3656
3666
|
|
|
@@ -3761,7 +3771,7 @@ export abstract class SetupClient {
|
|
|
3761
3771
|
}
|
|
3762
3772
|
```
|
|
3763
3773
|
|
|
3764
|
-
See also: [Chain](#type-chain), [KeyPairAddress](#type-keypairaddress), [Monitor](#class-monitor), [PrivilegedKeyManager](#class-privilegedkeymanager), [ScriptTemplateUnlock](#interface-scripttemplateunlock), [Services](#class-services), [SetupEnv](#interface-setupenv), [SetupWallet](#interface-setupwallet), [SetupWalletArgs](#interface-setupwalletargs), [SetupWalletClient](#interface-setupwalletclient), [SetupWalletClientArgs](#interface-setupwalletclientargs), [Wallet](#class-wallet), [WalletStorageManager](#class-walletstoragemanager)
|
|
3774
|
+
See also: [Chain](./client.md#type-chain), [KeyPairAddress](./setup.md#type-keypairaddress), [Monitor](./monitor.md#class-monitor), [PrivilegedKeyManager](./client.md#class-privilegedkeymanager), [ScriptTemplateUnlock](./client.md#interface-scripttemplateunlock), [Services](./services.md#class-services), [SetupEnv](./setup.md#interface-setupenv), [SetupWallet](./setup.md#interface-setupwallet), [SetupWalletArgs](./setup.md#interface-setupwalletargs), [SetupWalletClient](./setup.md#interface-setupwalletclient), [SetupWalletClientArgs](./setup.md#interface-setupwalletclientargs), [Wallet](./client.md#class-wallet), [WalletStorageManager](./storage.md#class-walletstoragemanager)
|
|
3765
3775
|
|
|
3766
3776
|
###### Method createWallet
|
|
3767
3777
|
|
|
@@ -3812,7 +3822,7 @@ static async createWallet(args: SetupWalletArgs): Promise<SetupWallet> {
|
|
|
3812
3822
|
return r;
|
|
3813
3823
|
}
|
|
3814
3824
|
```
|
|
3815
|
-
See also: [Monitor](#class-monitor), [PrivilegedKeyManager](#class-privilegedkeymanager), [Services](#class-services), [SetupWallet](#interface-setupwallet), [SetupWalletArgs](#interface-setupwalletargs), [Wallet](#class-wallet), [WalletStorageManager](#class-walletstoragemanager)
|
|
3825
|
+
See also: [Monitor](./monitor.md#class-monitor), [PrivilegedKeyManager](./client.md#class-privilegedkeymanager), [Services](./services.md#class-services), [SetupWallet](./setup.md#interface-setupwallet), [SetupWalletArgs](./setup.md#interface-setupwalletargs), [Wallet](./client.md#class-wallet), [WalletStorageManager](./storage.md#class-walletstoragemanager)
|
|
3816
3826
|
|
|
3817
3827
|
###### Method getEnv
|
|
3818
3828
|
|
|
@@ -3825,7 +3835,7 @@ Access private keys through the `devKeys` object: `devKeys[identityKey]`
|
|
|
3825
3835
|
```ts
|
|
3826
3836
|
static getEnv(chain: sdk.Chain): SetupEnv
|
|
3827
3837
|
```
|
|
3828
|
-
See also: [Chain](#type-chain), [SetupEnv](#interface-setupenv)
|
|
3838
|
+
See also: [Chain](./client.md#type-chain), [SetupEnv](./setup.md#interface-setupenv)
|
|
3829
3839
|
|
|
3830
3840
|
Returns
|
|
3831
3841
|
|
|
@@ -3856,12 +3866,12 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3856
3866
|
|
|
3857
3867
|
```ts
|
|
3858
3868
|
export class StorageClient implements sdk.WalletStorageProvider {
|
|
3859
|
-
public settings?:
|
|
3869
|
+
public settings?: TableSettings;
|
|
3860
3870
|
constructor(wallet: WalletInterface, endpointUrl: string)
|
|
3861
3871
|
isStorageProvider(): boolean
|
|
3862
3872
|
isAvailable(): boolean
|
|
3863
|
-
getSettings():
|
|
3864
|
-
async makeAvailable(): Promise<
|
|
3873
|
+
getSettings(): TableSettings
|
|
3874
|
+
async makeAvailable(): Promise<TableSettings>
|
|
3865
3875
|
async destroy(): Promise<void>
|
|
3866
3876
|
async migrate(storageName: string, storageIdentityKey: string): Promise<string>
|
|
3867
3877
|
getServices(): sdk.WalletServices
|
|
@@ -3871,21 +3881,21 @@ export class StorageClient implements sdk.WalletStorageProvider {
|
|
|
3871
3881
|
async processAction(auth: sdk.AuthId, args: sdk.StorageProcessActionArgs): Promise<sdk.StorageProcessActionResults>
|
|
3872
3882
|
async abortAction(auth: sdk.AuthId, args: AbortActionArgs): Promise<AbortActionResult>
|
|
3873
3883
|
async findOrInsertUser(identityKey): Promise<{
|
|
3874
|
-
user:
|
|
3884
|
+
user: TableUser;
|
|
3875
3885
|
isNew: boolean;
|
|
3876
3886
|
}>
|
|
3877
3887
|
async findOrInsertSyncStateAuth(auth: sdk.AuthId, storageIdentityKey: string, storageName: string): Promise<{
|
|
3878
|
-
syncState:
|
|
3888
|
+
syncState: TableSyncState;
|
|
3879
3889
|
isNew: boolean;
|
|
3880
3890
|
}>
|
|
3881
|
-
async insertCertificateAuth(auth: sdk.AuthId, certificate:
|
|
3891
|
+
async insertCertificateAuth(auth: sdk.AuthId, certificate: TableCertificateX): Promise<number>
|
|
3882
3892
|
async listActions(auth: sdk.AuthId, vargs: sdk.ValidListActionsArgs): Promise<ListActionsResult>
|
|
3883
3893
|
async listOutputs(auth: sdk.AuthId, vargs: sdk.ValidListOutputsArgs): Promise<ListOutputsResult>
|
|
3884
3894
|
async listCertificates(auth: sdk.AuthId, vargs: sdk.ValidListCertificatesArgs): Promise<ListCertificatesResult>
|
|
3885
|
-
async findCertificatesAuth(auth: sdk.AuthId, args: sdk.FindCertificatesArgs): Promise<
|
|
3886
|
-
async findOutputBasketsAuth(auth: sdk.AuthId, args: sdk.FindOutputBasketsArgs): Promise<
|
|
3887
|
-
async findOutputsAuth(auth: sdk.AuthId, args: sdk.FindOutputsArgs): Promise<
|
|
3888
|
-
findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<
|
|
3895
|
+
async findCertificatesAuth(auth: sdk.AuthId, args: sdk.FindCertificatesArgs): Promise<TableCertificate[]>
|
|
3896
|
+
async findOutputBasketsAuth(auth: sdk.AuthId, args: sdk.FindOutputBasketsArgs): Promise<TableOutputBasket[]>
|
|
3897
|
+
async findOutputsAuth(auth: sdk.AuthId, args: sdk.FindOutputsArgs): Promise<TableOutput[]>
|
|
3898
|
+
findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<TableProvenTxReq[]>
|
|
3889
3899
|
async relinquishCertificate(auth: sdk.AuthId, args: RelinquishCertificateArgs): Promise<number>
|
|
3890
3900
|
async relinquishOutput(auth: sdk.AuthId, args: RelinquishOutputArgs): Promise<number>
|
|
3891
3901
|
async processSyncChunk(args: sdk.RequestSyncChunkArgs, chunk: sdk.SyncChunk): Promise<sdk.ProcessSyncChunkResult>
|
|
@@ -3895,7 +3905,7 @@ export class StorageClient implements sdk.WalletStorageProvider {
|
|
|
3895
3905
|
}
|
|
3896
3906
|
```
|
|
3897
3907
|
|
|
3898
|
-
See also: [AuthId](#interface-authid), [FindCertificatesArgs](#interface-findcertificatesargs), [FindOutputBasketsArgs](#interface-findoutputbasketsargs), [FindOutputsArgs](#interface-findoutputsargs), [FindProvenTxReqsArgs](#interface-findproventxreqsargs), [ProcessSyncChunkResult](#interface-processsyncchunkresult), [RequestSyncChunkArgs](#interface-requestsyncchunkargs), [StorageCreateActionResult](#interface-storagecreateactionresult), [StorageProcessActionArgs](#interface-storageprocessactionargs), [StorageProcessActionResults](#interface-storageprocessactionresults), [SyncChunk](#interface-syncchunk), [UpdateProvenTxReqWithNewProvenTxArgs](#interface-updateproventxreqwithnewproventxargs), [UpdateProvenTxReqWithNewProvenTxResult](#interface-updateproventxreqwithnewproventxresult), [ValidCreateActionArgs](#interface-validcreateactionargs), [ValidListActionsArgs](#interface-validlistactionsargs), [ValidListCertificatesArgs](#interface-validlistcertificatesargs), [ValidListOutputsArgs](#interface-validlistoutputsargs), [WalletServices](#interface-walletservices), [WalletStorageProvider](#interface-walletstorageprovider), [createAction](#function-createaction), [getSyncChunk](#function-getsyncchunk), [internalizeAction](#function-internalizeaction), [listCertificates](#function-listcertificates), [processAction](#function-processaction)
|
|
3908
|
+
See also: [AuthId](./client.md#interface-authid), [FindCertificatesArgs](./client.md#interface-findcertificatesargs), [FindOutputBasketsArgs](./client.md#interface-findoutputbasketsargs), [FindOutputsArgs](./client.md#interface-findoutputsargs), [FindProvenTxReqsArgs](./client.md#interface-findproventxreqsargs), [ProcessSyncChunkResult](./client.md#interface-processsyncchunkresult), [RequestSyncChunkArgs](./client.md#interface-requestsyncchunkargs), [StorageCreateActionResult](./client.md#interface-storagecreateactionresult), [StorageProcessActionArgs](./client.md#interface-storageprocessactionargs), [StorageProcessActionResults](./client.md#interface-storageprocessactionresults), [SyncChunk](./client.md#interface-syncchunk), [TableCertificate](./storage.md#interface-tablecertificate), [TableCertificateX](./storage.md#interface-tablecertificatex), [TableOutput](./storage.md#interface-tableoutput), [TableOutputBasket](./storage.md#interface-tableoutputbasket), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TableSettings](./storage.md#interface-tablesettings), [TableSyncState](./storage.md#interface-tablesyncstate), [TableUser](./storage.md#interface-tableuser), [UpdateProvenTxReqWithNewProvenTxArgs](./client.md#interface-updateproventxreqwithnewproventxargs), [UpdateProvenTxReqWithNewProvenTxResult](./client.md#interface-updateproventxreqwithnewproventxresult), [ValidCreateActionArgs](./client.md#interface-validcreateactionargs), [ValidListActionsArgs](./client.md#interface-validlistactionsargs), [ValidListCertificatesArgs](./client.md#interface-validlistcertificatesargs), [ValidListOutputsArgs](./client.md#interface-validlistoutputsargs), [WalletServices](./client.md#interface-walletservices), [WalletStorageProvider](./client.md#interface-walletstorageprovider), [createAction](./storage.md#function-createaction), [getSyncChunk](./storage.md#function-getsyncchunk), [internalizeAction](./storage.md#function-internalizeaction), [listActions](./storage.md#function-listactions), [listCertificates](./storage.md#function-listcertificates), [listOutputs](./storage.md#function-listoutputs), [processAction](./storage.md#function-processaction)
|
|
3899
3909
|
|
|
3900
3910
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3901
3911
|
|
|
@@ -3920,49 +3930,49 @@ export abstract class StorageProvider extends StorageReaderWriter implements sdk
|
|
|
3920
3930
|
log: string;
|
|
3921
3931
|
}>;
|
|
3922
3932
|
abstract purgeData(params: sdk.PurgeParams, trx?: sdk.TrxToken): Promise<sdk.PurgeResults>;
|
|
3923
|
-
abstract allocateChangeInput(userId: number, basketId: number, targetSatoshis: number, exactSatoshis: number | undefined, excludeSending: boolean, transactionId: number): Promise<
|
|
3933
|
+
abstract allocateChangeInput(userId: number, basketId: number, targetSatoshis: number, exactSatoshis: number | undefined, excludeSending: boolean, transactionId: number): Promise<TableOutput | undefined>;
|
|
3924
3934
|
abstract getProvenOrRawTx(txid: string, trx?: sdk.TrxToken): Promise<sdk.ProvenOrRawTx>;
|
|
3925
3935
|
abstract getRawTxOfKnownValidTransaction(txid?: string, offset?: number, length?: number, trx?: sdk.TrxToken): Promise<number[] | undefined>;
|
|
3926
|
-
abstract getLabelsForTransactionId(transactionId?: number, trx?: sdk.TrxToken): Promise<
|
|
3927
|
-
abstract getTagsForOutputId(outputId: number, trx?: sdk.TrxToken): Promise<
|
|
3936
|
+
abstract getLabelsForTransactionId(transactionId?: number, trx?: sdk.TrxToken): Promise<TableTxLabel[]>;
|
|
3937
|
+
abstract getTagsForOutputId(outputId: number, trx?: sdk.TrxToken): Promise<TableOutputTag[]>;
|
|
3928
3938
|
abstract listActions(auth: sdk.AuthId, args: sdk.ValidListActionsArgs): Promise<ListActionsResult>;
|
|
3929
3939
|
abstract listOutputs(auth: sdk.AuthId, args: sdk.ValidListOutputsArgs): Promise<ListOutputsResult>;
|
|
3930
3940
|
abstract countChangeInputs(userId: number, basketId: number, excludeSending: boolean): Promise<number>;
|
|
3931
|
-
abstract findCertificatesAuth(auth: sdk.AuthId, args: sdk.FindCertificatesArgs): Promise<
|
|
3932
|
-
abstract findOutputBasketsAuth(auth: sdk.AuthId, args: sdk.FindOutputBasketsArgs): Promise<
|
|
3933
|
-
abstract findOutputsAuth(auth: sdk.AuthId, args: sdk.FindOutputsArgs): Promise<
|
|
3934
|
-
abstract insertCertificateAuth(auth: sdk.AuthId, certificate:
|
|
3941
|
+
abstract findCertificatesAuth(auth: sdk.AuthId, args: sdk.FindCertificatesArgs): Promise<TableCertificate[]>;
|
|
3942
|
+
abstract findOutputBasketsAuth(auth: sdk.AuthId, args: sdk.FindOutputBasketsArgs): Promise<TableOutputBasket[]>;
|
|
3943
|
+
abstract findOutputsAuth(auth: sdk.AuthId, args: sdk.FindOutputsArgs): Promise<TableOutput[]>;
|
|
3944
|
+
abstract insertCertificateAuth(auth: sdk.AuthId, certificate: TableCertificateX): Promise<number>;
|
|
3935
3945
|
override isStorageProvider(): boolean
|
|
3936
3946
|
setServices(v: sdk.WalletServices)
|
|
3937
3947
|
getServices(): sdk.WalletServices
|
|
3938
|
-
async abortAction(auth: sdk.AuthId, args: Partial<
|
|
3948
|
+
async abortAction(auth: sdk.AuthId, args: Partial<TableTransaction>): Promise<AbortActionResult>
|
|
3939
3949
|
async internalizeAction(auth: sdk.AuthId, args: InternalizeActionArgs): Promise<InternalizeActionResult>
|
|
3940
3950
|
async getReqsAndBeefToShareWithWorld(txids: string[], knownTxids: string[], trx?: sdk.TrxToken): Promise<GetReqsAndBeefResult>
|
|
3941
|
-
async mergeReqToBeefToShareExternally(req:
|
|
3942
|
-
async getProvenOrReq(txid: string, newReq?:
|
|
3951
|
+
async mergeReqToBeefToShareExternally(req: TableProvenTxReq, mergeToBeef: Beef, knownTxids: string[], trx?: sdk.TrxToken): Promise<void>
|
|
3952
|
+
async getProvenOrReq(txid: string, newReq?: TableProvenTxReq, trx?: sdk.TrxToken): Promise<sdk.StorageProvenOrReq>
|
|
3943
3953
|
async updateTransactionsStatus(transactionIds: number[], status: sdk.TransactionStatus): Promise<void>
|
|
3944
3954
|
async updateTransactionStatus(status: sdk.TransactionStatus, transactionId?: number, userId?: number, reference?: string, trx?: sdk.TrxToken): Promise<void>
|
|
3945
3955
|
async createAction(auth: sdk.AuthId, args: sdk.ValidCreateActionArgs): Promise<sdk.StorageCreateActionResult>
|
|
3946
3956
|
async processAction(auth: sdk.AuthId, args: sdk.StorageProcessActionArgs): Promise<sdk.StorageProcessActionResults>
|
|
3947
|
-
async attemptToPostReqsToNetwork(reqs:
|
|
3957
|
+
async attemptToPostReqsToNetwork(reqs: EntityProvenTxReq[], trx?: sdk.TrxToken): Promise<PostReqsToNetworkResult>
|
|
3948
3958
|
async listCertificates(auth: sdk.AuthId, args: sdk.ValidListCertificatesArgs): Promise<ListCertificatesResult>
|
|
3949
3959
|
async verifyKnownValidTransaction(txid: string, trx?: sdk.TrxToken): Promise<boolean>
|
|
3950
3960
|
async getValidBeefForKnownTxid(txid: string, mergeToBeef?: Beef, trustSelf?: TrustSelf, knownTxids?: string[], trx?: sdk.TrxToken): Promise<Beef>
|
|
3951
3961
|
async getValidBeefForTxid(txid: string, mergeToBeef?: Beef, trustSelf?: TrustSelf, knownTxids?: string[], trx?: sdk.TrxToken): Promise<Beef | undefined>
|
|
3952
3962
|
async getBeefForTransaction(txid: string, options: sdk.StorageGetBeefOptions): Promise<Beef>
|
|
3953
|
-
async findMonitorEventById(id: number, trx?: sdk.TrxToken): Promise<
|
|
3963
|
+
async findMonitorEventById(id: number, trx?: sdk.TrxToken): Promise<TableMonitorEvent | undefined>
|
|
3954
3964
|
async relinquishCertificate(auth: sdk.AuthId, args: RelinquishCertificateArgs): Promise<number>
|
|
3955
3965
|
async relinquishOutput(auth: sdk.AuthId, args: RelinquishOutputArgs): Promise<number>
|
|
3956
3966
|
async processSyncChunk(args: sdk.RequestSyncChunkArgs, chunk: sdk.SyncChunk): Promise<sdk.ProcessSyncChunkResult>
|
|
3957
3967
|
async updateProvenTxReqWithNewProvenTx(args: sdk.UpdateProvenTxReqWithNewProvenTxArgs): Promise<sdk.UpdateProvenTxReqWithNewProvenTxResult>
|
|
3958
3968
|
async confirmSpendableOutputs(): Promise<{
|
|
3959
|
-
invalidSpendableOutputs:
|
|
3969
|
+
invalidSpendableOutputs: TableOutput[];
|
|
3960
3970
|
}>
|
|
3961
|
-
async updateProvenTxReqDynamics(id: number, update: Partial<
|
|
3971
|
+
async updateProvenTxReqDynamics(id: number, update: Partial<TableProvenTxReqDynamics>, trx?: sdk.TrxToken): Promise<number>
|
|
3962
3972
|
}
|
|
3963
3973
|
```
|
|
3964
3974
|
|
|
3965
|
-
See also: [AuthId](#interface-authid), [Chain](#type-chain), [FindCertificatesArgs](#interface-findcertificatesargs), [FindOutputBasketsArgs](#interface-findoutputbasketsargs), [FindOutputsArgs](#interface-findoutputsargs), [GetReqsAndBeefResult](#interface-getreqsandbeefresult), [PostReqsToNetworkResult](#interface-postreqstonetworkresult), [ProcessSyncChunkResult](#interface-processsyncchunkresult), [ProvenOrRawTx](#interface-provenorrawtx), [PurgeParams](#interface-purgeparams), [PurgeResults](#interface-purgeresults), [RequestSyncChunkArgs](#interface-requestsyncchunkargs), [StorageCreateActionResult](#interface-storagecreateactionresult), [StorageFeeModel](#interface-storagefeemodel), [StorageGetBeefOptions](#interface-storagegetbeefoptions), [StorageProcessActionArgs](#interface-storageprocessactionargs), [StorageProcessActionResults](#interface-storageprocessactionresults), [StorageProvenOrReq](#interface-storageprovenorreq), [StorageProviderOptions](#interface-storageprovideroptions), [StorageReaderWriter](#class-storagereaderwriter), [SyncChunk](#interface-syncchunk), [TransactionStatus](#type-transactionstatus), [TrxToken](#interface-trxtoken), [UpdateProvenTxReqWithNewProvenTxArgs](#interface-updateproventxreqwithnewproventxargs), [UpdateProvenTxReqWithNewProvenTxResult](#interface-updateproventxreqwithnewproventxresult), [ValidCreateActionArgs](#interface-validcreateactionargs), [ValidListActionsArgs](#interface-validlistactionsargs), [ValidListCertificatesArgs](#interface-validlistcertificatesargs), [ValidListOutputsArgs](#interface-validlistoutputsargs), [WalletServices](#interface-walletservices), [WalletStorageProvider](#interface-walletstorageprovider), [attemptToPostReqsToNetwork](#function-attempttopostreqstonetwork), [createAction](#function-createaction), [getBeefForTransaction](#function-getbeeffortransaction), [internalizeAction](#function-internalizeaction), [listCertificates](#function-listcertificates), [processAction](#function-processaction)
|
|
3975
|
+
See also: [AuthId](./client.md#interface-authid), [Chain](./client.md#type-chain), [EntityProvenTxReq](./storage.md#class-entityproventxreq), [FindCertificatesArgs](./client.md#interface-findcertificatesargs), [FindOutputBasketsArgs](./client.md#interface-findoutputbasketsargs), [FindOutputsArgs](./client.md#interface-findoutputsargs), [GetReqsAndBeefResult](./storage.md#interface-getreqsandbeefresult), [PostReqsToNetworkResult](./storage.md#interface-postreqstonetworkresult), [ProcessSyncChunkResult](./client.md#interface-processsyncchunkresult), [ProvenOrRawTx](./client.md#interface-provenorrawtx), [PurgeParams](./client.md#interface-purgeparams), [PurgeResults](./client.md#interface-purgeresults), [RequestSyncChunkArgs](./client.md#interface-requestsyncchunkargs), [StorageCreateActionResult](./client.md#interface-storagecreateactionresult), [StorageFeeModel](./client.md#interface-storagefeemodel), [StorageGetBeefOptions](./client.md#interface-storagegetbeefoptions), [StorageProcessActionArgs](./client.md#interface-storageprocessactionargs), [StorageProcessActionResults](./client.md#interface-storageprocessactionresults), [StorageProvenOrReq](./client.md#interface-storageprovenorreq), [StorageProviderOptions](./storage.md#interface-storageprovideroptions), [StorageReaderWriter](./storage.md#class-storagereaderwriter), [SyncChunk](./client.md#interface-syncchunk), [TableCertificate](./storage.md#interface-tablecertificate), [TableCertificateX](./storage.md#interface-tablecertificatex), [TableMonitorEvent](./storage.md#interface-tablemonitorevent), [TableOutput](./storage.md#interface-tableoutput), [TableOutputBasket](./storage.md#interface-tableoutputbasket), [TableOutputTag](./storage.md#interface-tableoutputtag), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TableProvenTxReqDynamics](./storage.md#interface-tableproventxreqdynamics), [TableTransaction](./storage.md#interface-tabletransaction), [TableTxLabel](./storage.md#interface-tabletxlabel), [TransactionStatus](./client.md#type-transactionstatus), [TrxToken](./client.md#interface-trxtoken), [UpdateProvenTxReqWithNewProvenTxArgs](./client.md#interface-updateproventxreqwithnewproventxargs), [UpdateProvenTxReqWithNewProvenTxResult](./client.md#interface-updateproventxreqwithnewproventxresult), [ValidCreateActionArgs](./client.md#interface-validcreateactionargs), [ValidListActionsArgs](./client.md#interface-validlistactionsargs), [ValidListCertificatesArgs](./client.md#interface-validlistcertificatesargs), [ValidListOutputsArgs](./client.md#interface-validlistoutputsargs), [WalletServices](./client.md#interface-walletservices), [WalletStorageProvider](./client.md#interface-walletstorageprovider), [attemptToPostReqsToNetwork](./storage.md#function-attempttopostreqstonetwork), [createAction](./storage.md#function-createaction), [getBeefForTransaction](./storage.md#function-getbeeffortransaction), [internalizeAction](./storage.md#function-internalizeaction), [listActions](./storage.md#function-listactions), [listCertificates](./storage.md#function-listcertificates), [listOutputs](./storage.md#function-listoutputs), [processAction](./storage.md#function-processaction), [purgeData](./storage.md#function-purgedata), [reviewStatus](./storage.md#function-reviewstatus)
|
|
3966
3976
|
|
|
3967
3977
|
###### Method confirmSpendableOutputs
|
|
3968
3978
|
|
|
@@ -3972,9 +3982,10 @@ still in the mempool of at least one service provider.
|
|
|
3972
3982
|
|
|
3973
3983
|
```ts
|
|
3974
3984
|
async confirmSpendableOutputs(): Promise<{
|
|
3975
|
-
invalidSpendableOutputs:
|
|
3985
|
+
invalidSpendableOutputs: TableOutput[];
|
|
3976
3986
|
}>
|
|
3977
3987
|
```
|
|
3988
|
+
See also: [TableOutput](./storage.md#interface-tableoutput)
|
|
3978
3989
|
|
|
3979
3990
|
Returns
|
|
3980
3991
|
|
|
@@ -3991,9 +4002,9 @@ This is safe "findOrInsert" operation using retry if unique index constraint
|
|
|
3991
4002
|
is violated by a race condition insert.
|
|
3992
4003
|
|
|
3993
4004
|
```ts
|
|
3994
|
-
async getProvenOrReq(txid: string, newReq?:
|
|
4005
|
+
async getProvenOrReq(txid: string, newReq?: TableProvenTxReq, trx?: sdk.TrxToken): Promise<sdk.StorageProvenOrReq>
|
|
3995
4006
|
```
|
|
3996
|
-
See also: [StorageProvenOrReq](#interface-storageprovenorreq), [TrxToken](#interface-trxtoken)
|
|
4007
|
+
See also: [StorageProvenOrReq](./client.md#interface-storageprovenorreq), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TrxToken](./client.md#interface-trxtoken)
|
|
3997
4008
|
|
|
3998
4009
|
###### Method getReqsAndBeefToShareWithWorld
|
|
3999
4010
|
|
|
@@ -4004,7 +4015,7 @@ For the txids with reqs and status still ready to send construct a single merged
|
|
|
4004
4015
|
```ts
|
|
4005
4016
|
async getReqsAndBeefToShareWithWorld(txids: string[], knownTxids: string[], trx?: sdk.TrxToken): Promise<GetReqsAndBeefResult>
|
|
4006
4017
|
```
|
|
4007
|
-
See also: [GetReqsAndBeefResult](#interface-getreqsandbeefresult), [TrxToken](#interface-trxtoken)
|
|
4018
|
+
See also: [GetReqsAndBeefResult](./storage.md#interface-getreqsandbeefresult), [TrxToken](./client.md#interface-trxtoken)
|
|
4008
4019
|
|
|
4009
4020
|
###### Method updateProvenTxReqWithNewProvenTx
|
|
4010
4021
|
|
|
@@ -4023,7 +4034,7 @@ Alterations of "typically" to handle:
|
|
|
4023
4034
|
```ts
|
|
4024
4035
|
async updateProvenTxReqWithNewProvenTx(args: sdk.UpdateProvenTxReqWithNewProvenTxArgs): Promise<sdk.UpdateProvenTxReqWithNewProvenTxResult>
|
|
4025
4036
|
```
|
|
4026
|
-
See also: [UpdateProvenTxReqWithNewProvenTxArgs](#interface-updateproventxreqwithnewproventxargs), [UpdateProvenTxReqWithNewProvenTxResult](#interface-updateproventxreqwithnewproventxresult)
|
|
4037
|
+
See also: [UpdateProvenTxReqWithNewProvenTxArgs](./client.md#interface-updateproventxreqwithnewproventxargs), [UpdateProvenTxReqWithNewProvenTxResult](./client.md#interface-updateproventxreqwithnewproventxresult)
|
|
4027
4038
|
|
|
4028
4039
|
###### Method updateTransactionStatus
|
|
4029
4040
|
|
|
@@ -4034,7 +4045,7 @@ For 'status' of 'failed', attempts to make outputs previously allocated as input
|
|
|
4034
4045
|
```ts
|
|
4035
4046
|
async updateTransactionStatus(status: sdk.TransactionStatus, transactionId?: number, userId?: number, reference?: string, trx?: sdk.TrxToken): Promise<void>
|
|
4036
4047
|
```
|
|
4037
|
-
See also: [TransactionStatus](#type-transactionstatus), [TrxToken](#interface-trxtoken)
|
|
4048
|
+
See also: [TransactionStatus](./client.md#type-transactionstatus), [TrxToken](./client.md#interface-trxtoken)
|
|
4038
4049
|
|
|
4039
4050
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4040
4051
|
|
|
@@ -4055,28 +4066,28 @@ As such there are no user specific authenticated access checks implied in the im
|
|
|
4055
4066
|
```ts
|
|
4056
4067
|
export abstract class StorageReader implements sdk.StorageSyncReader {
|
|
4057
4068
|
chain: sdk.Chain;
|
|
4058
|
-
_settings?:
|
|
4069
|
+
_settings?: TableSettings;
|
|
4059
4070
|
whenLastAccess?: Date;
|
|
4060
4071
|
get dbtype(): DBType | undefined
|
|
4061
4072
|
constructor(options: StorageReaderOptions)
|
|
4062
4073
|
isAvailable(): boolean
|
|
4063
|
-
async makeAvailable(): Promise<
|
|
4064
|
-
getSettings():
|
|
4074
|
+
async makeAvailable(): Promise<TableSettings>
|
|
4075
|
+
getSettings(): TableSettings
|
|
4065
4076
|
isStorageProvider(): boolean
|
|
4066
4077
|
abstract destroy(): Promise<void>;
|
|
4067
4078
|
abstract transaction<T>(scope: (trx: sdk.TrxToken) => Promise<T>, trx?: sdk.TrxToken): Promise<T>;
|
|
4068
|
-
abstract readSettings(trx?: sdk.TrxToken): Promise<
|
|
4069
|
-
abstract findCertificateFields(args: sdk.FindCertificateFieldsArgs): Promise<
|
|
4070
|
-
abstract findCertificates(args: sdk.FindCertificatesArgs): Promise<
|
|
4071
|
-
abstract findCommissions(args: sdk.FindCommissionsArgs): Promise<
|
|
4072
|
-
abstract findMonitorEvents(args: sdk.FindMonitorEventsArgs): Promise<
|
|
4073
|
-
abstract findOutputBaskets(args: sdk.FindOutputBasketsArgs): Promise<
|
|
4074
|
-
abstract findOutputs(args: sdk.FindOutputsArgs): Promise<
|
|
4075
|
-
abstract findOutputTags(args: sdk.FindOutputTagsArgs): Promise<
|
|
4076
|
-
abstract findSyncStates(args: sdk.FindSyncStatesArgs): Promise<
|
|
4077
|
-
abstract findTransactions(args: sdk.FindTransactionsArgs): Promise<
|
|
4078
|
-
abstract findTxLabels(args: sdk.FindTxLabelsArgs): Promise<
|
|
4079
|
-
abstract findUsers(args: sdk.FindUsersArgs): Promise<
|
|
4079
|
+
abstract readSettings(trx?: sdk.TrxToken): Promise<TableSettings>;
|
|
4080
|
+
abstract findCertificateFields(args: sdk.FindCertificateFieldsArgs): Promise<TableCertificateField[]>;
|
|
4081
|
+
abstract findCertificates(args: sdk.FindCertificatesArgs): Promise<TableCertificate[]>;
|
|
4082
|
+
abstract findCommissions(args: sdk.FindCommissionsArgs): Promise<TableCommission[]>;
|
|
4083
|
+
abstract findMonitorEvents(args: sdk.FindMonitorEventsArgs): Promise<TableMonitorEvent[]>;
|
|
4084
|
+
abstract findOutputBaskets(args: sdk.FindOutputBasketsArgs): Promise<TableOutputBasket[]>;
|
|
4085
|
+
abstract findOutputs(args: sdk.FindOutputsArgs): Promise<TableOutput[]>;
|
|
4086
|
+
abstract findOutputTags(args: sdk.FindOutputTagsArgs): Promise<TableOutputTag[]>;
|
|
4087
|
+
abstract findSyncStates(args: sdk.FindSyncStatesArgs): Promise<TableSyncState[]>;
|
|
4088
|
+
abstract findTransactions(args: sdk.FindTransactionsArgs): Promise<TableTransaction[]>;
|
|
4089
|
+
abstract findTxLabels(args: sdk.FindTxLabelsArgs): Promise<TableTxLabel[]>;
|
|
4090
|
+
abstract findUsers(args: sdk.FindUsersArgs): Promise<TableUser[]>;
|
|
4080
4091
|
abstract countCertificateFields(args: sdk.FindCertificateFieldsArgs): Promise<number>;
|
|
4081
4092
|
abstract countCertificates(args: sdk.FindCertificatesArgs): Promise<number>;
|
|
4082
4093
|
abstract countCommissions(args: sdk.FindCommissionsArgs): Promise<number>;
|
|
@@ -4088,11 +4099,11 @@ export abstract class StorageReader implements sdk.StorageSyncReader {
|
|
|
4088
4099
|
abstract countTransactions(args: sdk.FindTransactionsArgs): Promise<number>;
|
|
4089
4100
|
abstract countTxLabels(args: sdk.FindTxLabelsArgs): Promise<number>;
|
|
4090
4101
|
abstract countUsers(args: sdk.FindUsersArgs): Promise<number>;
|
|
4091
|
-
abstract getProvenTxsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
4092
|
-
abstract getProvenTxReqsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
4093
|
-
abstract getTxLabelMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
4094
|
-
abstract getOutputTagMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
4095
|
-
async findUserByIdentityKey(key: string): Promise<
|
|
4102
|
+
abstract getProvenTxsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableProvenTx[]>;
|
|
4103
|
+
abstract getProvenTxReqsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableProvenTxReq[]>;
|
|
4104
|
+
abstract getTxLabelMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableTxLabelMap[]>;
|
|
4105
|
+
abstract getOutputTagMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableOutputTagMap[]>;
|
|
4106
|
+
async findUserByIdentityKey(key: string): Promise<TableUser | undefined>
|
|
4096
4107
|
async getSyncChunk(args: sdk.RequestSyncChunkArgs): Promise<sdk.SyncChunk>
|
|
4097
4108
|
validateEntityDate(date: Date | string | number): Date | string
|
|
4098
4109
|
validateOptionalEntityDate(date: Date | string | number | null | undefined, useNowAsDefault?: boolean): Date | string | undefined
|
|
@@ -4102,7 +4113,7 @@ export abstract class StorageReader implements sdk.StorageSyncReader {
|
|
|
4102
4113
|
}
|
|
4103
4114
|
```
|
|
4104
4115
|
|
|
4105
|
-
See also: [Chain](#type-chain), [DBType](#type-dbtype), [FindCertificateFieldsArgs](#interface-findcertificatefieldsargs), [FindCertificatesArgs](#interface-findcertificatesargs), [FindCommissionsArgs](#interface-findcommissionsargs), [FindForUserSincePagedArgs](#interface-findforusersincepagedargs), [FindMonitorEventsArgs](#interface-findmonitoreventsargs), [FindOutputBasketsArgs](#interface-findoutputbasketsargs), [FindOutputTagsArgs](#interface-findoutputtagsargs), [FindOutputsArgs](#interface-findoutputsargs), [FindSyncStatesArgs](#interface-findsyncstatesargs), [FindTransactionsArgs](#interface-findtransactionsargs), [FindTxLabelsArgs](#interface-findtxlabelsargs), [FindUsersArgs](#interface-findusersargs), [RequestSyncChunkArgs](#interface-requestsyncchunkargs), [StorageReaderOptions](#interface-storagereaderoptions), [StorageSyncReader](#class-storagesyncreader), [SyncChunk](#interface-syncchunk), [TrxToken](#interface-trxtoken), [getSyncChunk](#function-getsyncchunk)
|
|
4116
|
+
See also: [Chain](./client.md#type-chain), [DBType](./storage.md#type-dbtype), [FindCertificateFieldsArgs](./client.md#interface-findcertificatefieldsargs), [FindCertificatesArgs](./client.md#interface-findcertificatesargs), [FindCommissionsArgs](./client.md#interface-findcommissionsargs), [FindForUserSincePagedArgs](./client.md#interface-findforusersincepagedargs), [FindMonitorEventsArgs](./client.md#interface-findmonitoreventsargs), [FindOutputBasketsArgs](./client.md#interface-findoutputbasketsargs), [FindOutputTagsArgs](./client.md#interface-findoutputtagsargs), [FindOutputsArgs](./client.md#interface-findoutputsargs), [FindSyncStatesArgs](./client.md#interface-findsyncstatesargs), [FindTransactionsArgs](./client.md#interface-findtransactionsargs), [FindTxLabelsArgs](./client.md#interface-findtxlabelsargs), [FindUsersArgs](./client.md#interface-findusersargs), [RequestSyncChunkArgs](./client.md#interface-requestsyncchunkargs), [StorageReaderOptions](./storage.md#interface-storagereaderoptions), [StorageSyncReader](./storage.md#class-storagesyncreader), [SyncChunk](./client.md#interface-syncchunk), [TableCertificate](./storage.md#interface-tablecertificate), [TableCertificateField](./storage.md#interface-tablecertificatefield), [TableCommission](./storage.md#interface-tablecommission), [TableMonitorEvent](./storage.md#interface-tablemonitorevent), [TableOutput](./storage.md#interface-tableoutput), [TableOutputBasket](./storage.md#interface-tableoutputbasket), [TableOutputTag](./storage.md#interface-tableoutputtag), [TableOutputTagMap](./storage.md#interface-tableoutputtagmap), [TableProvenTx](./storage.md#interface-tableproventx), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TableSettings](./storage.md#interface-tablesettings), [TableSyncState](./storage.md#interface-tablesyncstate), [TableTransaction](./storage.md#interface-tabletransaction), [TableTxLabel](./storage.md#interface-tabletxlabel), [TableTxLabelMap](./storage.md#interface-tabletxlabelmap), [TableUser](./storage.md#interface-tableuser), [TrxToken](./client.md#interface-trxtoken), [getSyncChunk](./storage.md#function-getsyncchunk)
|
|
4106
4117
|
|
|
4107
4118
|
###### Method validateEntityDate
|
|
4108
4119
|
|
|
@@ -4133,87 +4144,87 @@ export abstract class StorageReaderWriter extends StorageReader {
|
|
|
4133
4144
|
constructor(options: StorageReaderWriterOptions)
|
|
4134
4145
|
abstract dropAllData(): Promise<void>;
|
|
4135
4146
|
abstract migrate(storageName: string, storageIdentityKey: string): Promise<string>;
|
|
4136
|
-
abstract findOutputTagMaps(args: sdk.FindOutputTagMapsArgs): Promise<
|
|
4137
|
-
abstract findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<
|
|
4138
|
-
abstract findProvenTxs(args: sdk.FindProvenTxsArgs): Promise<
|
|
4139
|
-
abstract findTxLabelMaps(args: sdk.FindTxLabelMapsArgs): Promise<
|
|
4147
|
+
abstract findOutputTagMaps(args: sdk.FindOutputTagMapsArgs): Promise<TableOutputTagMap[]>;
|
|
4148
|
+
abstract findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<TableProvenTxReq[]>;
|
|
4149
|
+
abstract findProvenTxs(args: sdk.FindProvenTxsArgs): Promise<TableProvenTx[]>;
|
|
4150
|
+
abstract findTxLabelMaps(args: sdk.FindTxLabelMapsArgs): Promise<TableTxLabelMap[]>;
|
|
4140
4151
|
abstract countOutputTagMaps(args: sdk.FindOutputTagMapsArgs): Promise<number>;
|
|
4141
4152
|
abstract countProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<number>;
|
|
4142
4153
|
abstract countProvenTxs(args: sdk.FindProvenTxsArgs): Promise<number>;
|
|
4143
4154
|
abstract countTxLabelMaps(args: sdk.FindTxLabelMapsArgs): Promise<number>;
|
|
4144
|
-
abstract insertCertificate(certificate:
|
|
4145
|
-
abstract insertCertificateField(certificateField:
|
|
4146
|
-
abstract insertCommission(commission:
|
|
4147
|
-
abstract insertMonitorEvent(event:
|
|
4148
|
-
abstract insertOutput(output:
|
|
4149
|
-
abstract insertOutputBasket(basket:
|
|
4150
|
-
abstract insertOutputTag(tag:
|
|
4151
|
-
abstract insertOutputTagMap(tagMap:
|
|
4152
|
-
abstract insertProvenTx(tx:
|
|
4153
|
-
abstract insertProvenTxReq(tx:
|
|
4154
|
-
abstract insertSyncState(syncState:
|
|
4155
|
-
abstract insertTransaction(tx:
|
|
4156
|
-
abstract insertTxLabel(label:
|
|
4157
|
-
abstract insertTxLabelMap(labelMap:
|
|
4158
|
-
abstract insertUser(user:
|
|
4159
|
-
abstract updateCertificate(id: number, update: Partial<
|
|
4160
|
-
abstract updateCertificateField(certificateId: number, fieldName: string, update: Partial<
|
|
4161
|
-
abstract updateCommission(id: number, update: Partial<
|
|
4162
|
-
abstract updateMonitorEvent(id: number, update: Partial<
|
|
4163
|
-
abstract updateOutput(id: number, update: Partial<
|
|
4164
|
-
abstract updateOutputBasket(id: number, update: Partial<
|
|
4165
|
-
abstract updateOutputTag(id: number, update: Partial<
|
|
4166
|
-
abstract updateOutputTagMap(outputId: number, tagId: number, update: Partial<
|
|
4167
|
-
abstract updateProvenTx(id: number, update: Partial<
|
|
4168
|
-
abstract updateProvenTxReq(id: number | number[], update: Partial<
|
|
4169
|
-
abstract updateSyncState(id: number, update: Partial<
|
|
4170
|
-
abstract updateTransaction(id: number | number[], update: Partial<
|
|
4171
|
-
abstract updateTxLabel(id: number, update: Partial<
|
|
4172
|
-
abstract updateTxLabelMap(transactionId: number, txLabelId: number, update: Partial<
|
|
4173
|
-
abstract updateUser(id: number, update: Partial<
|
|
4155
|
+
abstract insertCertificate(certificate: TableCertificate, trx?: sdk.TrxToken): Promise<number>;
|
|
4156
|
+
abstract insertCertificateField(certificateField: TableCertificateField, trx?: sdk.TrxToken): Promise<void>;
|
|
4157
|
+
abstract insertCommission(commission: TableCommission, trx?: sdk.TrxToken): Promise<number>;
|
|
4158
|
+
abstract insertMonitorEvent(event: TableMonitorEvent, trx?: sdk.TrxToken): Promise<number>;
|
|
4159
|
+
abstract insertOutput(output: TableOutput, trx?: sdk.TrxToken): Promise<number>;
|
|
4160
|
+
abstract insertOutputBasket(basket: TableOutputBasket, trx?: sdk.TrxToken): Promise<number>;
|
|
4161
|
+
abstract insertOutputTag(tag: TableOutputTag, trx?: sdk.TrxToken): Promise<number>;
|
|
4162
|
+
abstract insertOutputTagMap(tagMap: TableOutputTagMap, trx?: sdk.TrxToken): Promise<void>;
|
|
4163
|
+
abstract insertProvenTx(tx: TableProvenTx, trx?: sdk.TrxToken): Promise<number>;
|
|
4164
|
+
abstract insertProvenTxReq(tx: TableProvenTxReq, trx?: sdk.TrxToken): Promise<number>;
|
|
4165
|
+
abstract insertSyncState(syncState: TableSyncState, trx?: sdk.TrxToken): Promise<number>;
|
|
4166
|
+
abstract insertTransaction(tx: TableTransaction, trx?: sdk.TrxToken): Promise<number>;
|
|
4167
|
+
abstract insertTxLabel(label: TableTxLabel, trx?: sdk.TrxToken): Promise<number>;
|
|
4168
|
+
abstract insertTxLabelMap(labelMap: TableTxLabelMap, trx?: sdk.TrxToken): Promise<void>;
|
|
4169
|
+
abstract insertUser(user: TableUser, trx?: sdk.TrxToken): Promise<number>;
|
|
4170
|
+
abstract updateCertificate(id: number, update: Partial<TableCertificate>, trx?: sdk.TrxToken): Promise<number>;
|
|
4171
|
+
abstract updateCertificateField(certificateId: number, fieldName: string, update: Partial<TableCertificateField>, trx?: sdk.TrxToken): Promise<number>;
|
|
4172
|
+
abstract updateCommission(id: number, update: Partial<TableCommission>, trx?: sdk.TrxToken): Promise<number>;
|
|
4173
|
+
abstract updateMonitorEvent(id: number, update: Partial<TableMonitorEvent>, trx?: sdk.TrxToken): Promise<number>;
|
|
4174
|
+
abstract updateOutput(id: number, update: Partial<TableOutput>, trx?: sdk.TrxToken): Promise<number>;
|
|
4175
|
+
abstract updateOutputBasket(id: number, update: Partial<TableOutputBasket>, trx?: sdk.TrxToken): Promise<number>;
|
|
4176
|
+
abstract updateOutputTag(id: number, update: Partial<TableOutputTag>, trx?: sdk.TrxToken): Promise<number>;
|
|
4177
|
+
abstract updateOutputTagMap(outputId: number, tagId: number, update: Partial<TableOutputTagMap>, trx?: sdk.TrxToken): Promise<number>;
|
|
4178
|
+
abstract updateProvenTx(id: number, update: Partial<TableProvenTx>, trx?: sdk.TrxToken): Promise<number>;
|
|
4179
|
+
abstract updateProvenTxReq(id: number | number[], update: Partial<TableProvenTxReq>, trx?: sdk.TrxToken): Promise<number>;
|
|
4180
|
+
abstract updateSyncState(id: number, update: Partial<TableSyncState>, trx?: sdk.TrxToken): Promise<number>;
|
|
4181
|
+
abstract updateTransaction(id: number | number[], update: Partial<TableTransaction>, trx?: sdk.TrxToken): Promise<number>;
|
|
4182
|
+
abstract updateTxLabel(id: number, update: Partial<TableTxLabel>, trx?: sdk.TrxToken): Promise<number>;
|
|
4183
|
+
abstract updateTxLabelMap(transactionId: number, txLabelId: number, update: Partial<TableTxLabelMap>, trx?: sdk.TrxToken): Promise<number>;
|
|
4184
|
+
abstract updateUser(id: number, update: Partial<TableUser>, trx?: sdk.TrxToken): Promise<number>;
|
|
4174
4185
|
async setActive(auth: sdk.AuthId, newActiveStorageIdentityKey: string): Promise<number>
|
|
4175
|
-
async findCertificateById(id: number, trx?: sdk.TrxToken): Promise<
|
|
4176
|
-
async findCommissionById(id: number, trx?: sdk.TrxToken): Promise<
|
|
4177
|
-
async findOutputById(id: number, trx?: sdk.TrxToken, noScript?: boolean): Promise<
|
|
4178
|
-
async findOutputBasketById(id: number, trx?: sdk.TrxToken): Promise<
|
|
4179
|
-
async findProvenTxById(id: number, trx?: sdk.TrxToken | undefined): Promise<
|
|
4180
|
-
async findProvenTxReqById(id: number, trx?: sdk.TrxToken | undefined): Promise<
|
|
4181
|
-
async findSyncStateById(id: number, trx?: sdk.TrxToken): Promise<
|
|
4182
|
-
async findTransactionById(id: number, trx?: sdk.TrxToken, noRawTx?: boolean): Promise<
|
|
4183
|
-
async findTxLabelById(id: number, trx?: sdk.TrxToken): Promise<
|
|
4184
|
-
async findOutputTagById(id: number, trx?: sdk.TrxToken): Promise<
|
|
4185
|
-
async findUserById(id: number, trx?: sdk.TrxToken): Promise<
|
|
4186
|
+
async findCertificateById(id: number, trx?: sdk.TrxToken): Promise<TableCertificate | undefined>
|
|
4187
|
+
async findCommissionById(id: number, trx?: sdk.TrxToken): Promise<TableCommission | undefined>
|
|
4188
|
+
async findOutputById(id: number, trx?: sdk.TrxToken, noScript?: boolean): Promise<TableOutput | undefined>
|
|
4189
|
+
async findOutputBasketById(id: number, trx?: sdk.TrxToken): Promise<TableOutputBasket | undefined>
|
|
4190
|
+
async findProvenTxById(id: number, trx?: sdk.TrxToken | undefined): Promise<TableProvenTx | undefined>
|
|
4191
|
+
async findProvenTxReqById(id: number, trx?: sdk.TrxToken | undefined): Promise<TableProvenTxReq | undefined>
|
|
4192
|
+
async findSyncStateById(id: number, trx?: sdk.TrxToken): Promise<TableSyncState | undefined>
|
|
4193
|
+
async findTransactionById(id: number, trx?: sdk.TrxToken, noRawTx?: boolean): Promise<TableTransaction | undefined>
|
|
4194
|
+
async findTxLabelById(id: number, trx?: sdk.TrxToken): Promise<TableTxLabel | undefined>
|
|
4195
|
+
async findOutputTagById(id: number, trx?: sdk.TrxToken): Promise<TableOutputTag | undefined>
|
|
4196
|
+
async findUserById(id: number, trx?: sdk.TrxToken): Promise<TableUser | undefined>
|
|
4186
4197
|
async findOrInsertUser(identityKey: string, trx?: sdk.TrxToken): Promise<{
|
|
4187
|
-
user:
|
|
4198
|
+
user: TableUser;
|
|
4188
4199
|
isNew: boolean;
|
|
4189
4200
|
}>
|
|
4190
|
-
async findOrInsertTransaction(newTx:
|
|
4191
|
-
tx:
|
|
4201
|
+
async findOrInsertTransaction(newTx: TableTransaction, trx?: sdk.TrxToken): Promise<{
|
|
4202
|
+
tx: TableTransaction;
|
|
4192
4203
|
isNew: boolean;
|
|
4193
4204
|
}>
|
|
4194
|
-
async findOrInsertOutputBasket(userId: number, name: string, trx?: sdk.TrxToken): Promise<
|
|
4195
|
-
async findOrInsertTxLabel(userId: number, label: string, trx?: sdk.TrxToken): Promise<
|
|
4196
|
-
async findOrInsertTxLabelMap(transactionId: number, txLabelId: number, trx?: sdk.TrxToken): Promise<
|
|
4197
|
-
async findOrInsertOutputTag(userId: number, tag: string, trx?: sdk.TrxToken): Promise<
|
|
4198
|
-
async findOrInsertOutputTagMap(outputId: number, outputTagId: number, trx?: sdk.TrxToken): Promise<
|
|
4205
|
+
async findOrInsertOutputBasket(userId: number, name: string, trx?: sdk.TrxToken): Promise<TableOutputBasket>
|
|
4206
|
+
async findOrInsertTxLabel(userId: number, label: string, trx?: sdk.TrxToken): Promise<TableTxLabel>
|
|
4207
|
+
async findOrInsertTxLabelMap(transactionId: number, txLabelId: number, trx?: sdk.TrxToken): Promise<TableTxLabelMap>
|
|
4208
|
+
async findOrInsertOutputTag(userId: number, tag: string, trx?: sdk.TrxToken): Promise<TableOutputTag>
|
|
4209
|
+
async findOrInsertOutputTagMap(outputId: number, outputTagId: number, trx?: sdk.TrxToken): Promise<TableOutputTagMap>
|
|
4199
4210
|
async findOrInsertSyncStateAuth(auth: sdk.AuthId, storageIdentityKey: string, storageName: string): Promise<{
|
|
4200
|
-
syncState:
|
|
4211
|
+
syncState: TableSyncState;
|
|
4201
4212
|
isNew: boolean;
|
|
4202
4213
|
}>
|
|
4203
|
-
async findOrInsertProvenTxReq(newReq:
|
|
4204
|
-
req:
|
|
4214
|
+
async findOrInsertProvenTxReq(newReq: TableProvenTxReq, trx?: sdk.TrxToken): Promise<{
|
|
4215
|
+
req: TableProvenTxReq;
|
|
4205
4216
|
isNew: boolean;
|
|
4206
4217
|
}>
|
|
4207
|
-
async findOrInsertProvenTx(newProven:
|
|
4208
|
-
proven:
|
|
4218
|
+
async findOrInsertProvenTx(newProven: TableProvenTx, trx?: sdk.TrxToken): Promise<{
|
|
4219
|
+
proven: TableProvenTx;
|
|
4209
4220
|
isNew: boolean;
|
|
4210
4221
|
}>
|
|
4211
4222
|
abstract processSyncChunk(args: sdk.RequestSyncChunkArgs, chunk: sdk.SyncChunk): Promise<sdk.ProcessSyncChunkResult>;
|
|
4212
|
-
async tagOutput(partial: Partial<
|
|
4223
|
+
async tagOutput(partial: Partial<TableOutput>, tag: string, trx?: sdk.TrxToken): Promise<void>
|
|
4213
4224
|
}
|
|
4214
4225
|
```
|
|
4215
4226
|
|
|
4216
|
-
See also: [AuthId](#interface-authid), [FindOutputTagMapsArgs](#interface-findoutputtagmapsargs), [FindProvenTxReqsArgs](#interface-findproventxreqsargs), [FindProvenTxsArgs](#interface-findproventxsargs), [FindTxLabelMapsArgs](#interface-findtxlabelmapsargs), [ProcessSyncChunkResult](#interface-processsyncchunkresult), [RequestSyncChunkArgs](#interface-requestsyncchunkargs), [StorageReader](#class-storagereader), [StorageReaderWriterOptions](#interface-storagereaderwriteroptions), [SyncChunk](#interface-syncchunk), [TrxToken](#interface-trxtoken)
|
|
4227
|
+
See also: [AuthId](./client.md#interface-authid), [FindOutputTagMapsArgs](./client.md#interface-findoutputtagmapsargs), [FindProvenTxReqsArgs](./client.md#interface-findproventxreqsargs), [FindProvenTxsArgs](./client.md#interface-findproventxsargs), [FindTxLabelMapsArgs](./client.md#interface-findtxlabelmapsargs), [ProcessSyncChunkResult](./client.md#interface-processsyncchunkresult), [RequestSyncChunkArgs](./client.md#interface-requestsyncchunkargs), [StorageReader](./storage.md#class-storagereader), [StorageReaderWriterOptions](./storage.md#interface-storagereaderwriteroptions), [SyncChunk](./client.md#interface-syncchunk), [TableCertificate](./storage.md#interface-tablecertificate), [TableCertificateField](./storage.md#interface-tablecertificatefield), [TableCommission](./storage.md#interface-tablecommission), [TableMonitorEvent](./storage.md#interface-tablemonitorevent), [TableOutput](./storage.md#interface-tableoutput), [TableOutputBasket](./storage.md#interface-tableoutputbasket), [TableOutputTag](./storage.md#interface-tableoutputtag), [TableOutputTagMap](./storage.md#interface-tableoutputtagmap), [TableProvenTx](./storage.md#interface-tableproventx), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TableSyncState](./storage.md#interface-tablesyncstate), [TableTransaction](./storage.md#interface-tabletransaction), [TableTxLabel](./storage.md#interface-tabletxlabel), [TableTxLabelMap](./storage.md#interface-tabletxlabelmap), [TableUser](./storage.md#interface-tableuser), [TrxToken](./client.md#interface-trxtoken)
|
|
4217
4228
|
|
|
4218
4229
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4219
4230
|
|
|
@@ -4229,28 +4240,28 @@ and the `StorageBaseReader` to be protected.
|
|
|
4229
4240
|
export class StorageSyncReader implements sdk.StorageSyncReader {
|
|
4230
4241
|
constructor(public auth: sdk.AuthId, public storage: StorageReader)
|
|
4231
4242
|
isAvailable(): boolean
|
|
4232
|
-
async makeAvailable(): Promise<
|
|
4243
|
+
async makeAvailable(): Promise<TableSettings>
|
|
4233
4244
|
destroy(): Promise<void>
|
|
4234
|
-
getSettings():
|
|
4245
|
+
getSettings(): TableSettings
|
|
4235
4246
|
async getSyncChunk(args: sdk.RequestSyncChunkArgs): Promise<sdk.SyncChunk>
|
|
4236
|
-
async findUserByIdentityKey(key: string): Promise<
|
|
4237
|
-
async findSyncStates(args: sdk.FindSyncStatesArgs): Promise<
|
|
4238
|
-
async findCertificateFields(args: sdk.FindCertificateFieldsArgs): Promise<
|
|
4239
|
-
async findCertificates(args: sdk.FindCertificatesArgs): Promise<
|
|
4240
|
-
async findCommissions(args: sdk.FindCommissionsArgs): Promise<
|
|
4241
|
-
async findOutputBaskets(args: sdk.FindOutputBasketsArgs): Promise<
|
|
4242
|
-
async findOutputs(args: sdk.FindOutputsArgs): Promise<
|
|
4243
|
-
async findOutputTags(args: sdk.FindOutputTagsArgs): Promise<
|
|
4244
|
-
async findTransactions(args: sdk.FindTransactionsArgs): Promise<
|
|
4245
|
-
async findTxLabels(args: sdk.FindTxLabelsArgs): Promise<
|
|
4246
|
-
async getProvenTxsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
4247
|
-
async getProvenTxReqsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
4248
|
-
async getTxLabelMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
4249
|
-
async getOutputTagMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<
|
|
4247
|
+
async findUserByIdentityKey(key: string): Promise<TableUser | undefined>
|
|
4248
|
+
async findSyncStates(args: sdk.FindSyncStatesArgs): Promise<TableSyncState[]>
|
|
4249
|
+
async findCertificateFields(args: sdk.FindCertificateFieldsArgs): Promise<TableCertificateField[]>
|
|
4250
|
+
async findCertificates(args: sdk.FindCertificatesArgs): Promise<TableCertificate[]>
|
|
4251
|
+
async findCommissions(args: sdk.FindCommissionsArgs): Promise<TableCommission[]>
|
|
4252
|
+
async findOutputBaskets(args: sdk.FindOutputBasketsArgs): Promise<TableOutputBasket[]>
|
|
4253
|
+
async findOutputs(args: sdk.FindOutputsArgs): Promise<TableOutput[]>
|
|
4254
|
+
async findOutputTags(args: sdk.FindOutputTagsArgs): Promise<TableOutputTag[]>
|
|
4255
|
+
async findTransactions(args: sdk.FindTransactionsArgs): Promise<TableTransaction[]>
|
|
4256
|
+
async findTxLabels(args: sdk.FindTxLabelsArgs): Promise<TableTxLabel[]>
|
|
4257
|
+
async getProvenTxsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableProvenTx[]>
|
|
4258
|
+
async getProvenTxReqsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableProvenTxReq[]>
|
|
4259
|
+
async getTxLabelMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableTxLabelMap[]>
|
|
4260
|
+
async getOutputTagMapsForUser(args: sdk.FindForUserSincePagedArgs): Promise<TableOutputTagMap[]>
|
|
4250
4261
|
}
|
|
4251
4262
|
```
|
|
4252
4263
|
|
|
4253
|
-
See also: [AuthId](#interface-authid), [FindCertificateFieldsArgs](#interface-findcertificatefieldsargs), [FindCertificatesArgs](#interface-findcertificatesargs), [FindCommissionsArgs](#interface-findcommissionsargs), [FindForUserSincePagedArgs](#interface-findforusersincepagedargs), [FindOutputBasketsArgs](#interface-findoutputbasketsargs), [FindOutputTagsArgs](#interface-findoutputtagsargs), [FindOutputsArgs](#interface-findoutputsargs), [FindSyncStatesArgs](#interface-findsyncstatesargs), [FindTransactionsArgs](#interface-findtransactionsargs), [FindTxLabelsArgs](#interface-findtxlabelsargs), [RequestSyncChunkArgs](#interface-requestsyncchunkargs), [StorageReader](#class-storagereader), [SyncChunk](#interface-syncchunk), [getSyncChunk](#function-getsyncchunk)
|
|
4264
|
+
See also: [AuthId](./client.md#interface-authid), [FindCertificateFieldsArgs](./client.md#interface-findcertificatefieldsargs), [FindCertificatesArgs](./client.md#interface-findcertificatesargs), [FindCommissionsArgs](./client.md#interface-findcommissionsargs), [FindForUserSincePagedArgs](./client.md#interface-findforusersincepagedargs), [FindOutputBasketsArgs](./client.md#interface-findoutputbasketsargs), [FindOutputTagsArgs](./client.md#interface-findoutputtagsargs), [FindOutputsArgs](./client.md#interface-findoutputsargs), [FindSyncStatesArgs](./client.md#interface-findsyncstatesargs), [FindTransactionsArgs](./client.md#interface-findtransactionsargs), [FindTxLabelsArgs](./client.md#interface-findtxlabelsargs), [RequestSyncChunkArgs](./client.md#interface-requestsyncchunkargs), [StorageReader](./storage.md#class-storagereader), [SyncChunk](./client.md#interface-syncchunk), [TableCertificate](./storage.md#interface-tablecertificate), [TableCertificateField](./storage.md#interface-tablecertificatefield), [TableCommission](./storage.md#interface-tablecommission), [TableOutput](./storage.md#interface-tableoutput), [TableOutputBasket](./storage.md#interface-tableoutputbasket), [TableOutputTag](./storage.md#interface-tableoutputtag), [TableOutputTagMap](./storage.md#interface-tableoutputtagmap), [TableProvenTx](./storage.md#interface-tableproventx), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TableSettings](./storage.md#interface-tablesettings), [TableSyncState](./storage.md#interface-tablesyncstate), [TableTransaction](./storage.md#interface-tabletransaction), [TableTxLabel](./storage.md#interface-tabletxlabel), [TableTxLabelMap](./storage.md#interface-tabletxlabelmap), [TableUser](./storage.md#interface-tableuser), [getSyncChunk](./storage.md#function-getsyncchunk)
|
|
4254
4265
|
|
|
4255
4266
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4256
4267
|
|
|
@@ -4277,15 +4288,15 @@ export class TaskCheckForProofs extends WalletMonitorTask {
|
|
|
4277
4288
|
run: boolean;
|
|
4278
4289
|
}
|
|
4279
4290
|
async runTask(): Promise<string>
|
|
4280
|
-
async getProofs(reqs:
|
|
4281
|
-
proven:
|
|
4282
|
-
invalid:
|
|
4291
|
+
async getProofs(reqs: TableProvenTxReq[], indent = 0, countsAsAttempt = false, ignoreStatus = false): Promise<{
|
|
4292
|
+
proven: TableProvenTxReq[];
|
|
4293
|
+
invalid: TableProvenTxReq[];
|
|
4283
4294
|
log: string;
|
|
4284
4295
|
}>
|
|
4285
4296
|
}
|
|
4286
4297
|
```
|
|
4287
4298
|
|
|
4288
|
-
See also: [Monitor](#class-monitor), [WalletMonitorTask](#class-walletmonitortask)
|
|
4299
|
+
See also: [Monitor](./monitor.md#class-monitor), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [WalletMonitorTask](./monitor.md#class-walletmonitortask)
|
|
4289
4300
|
|
|
4290
4301
|
###### Property checkNow
|
|
4291
4302
|
|
|
@@ -4310,12 +4321,13 @@ depending on chaintracks succeeding on proof verification.
|
|
|
4310
4321
|
Increments attempts if proofs where requested.
|
|
4311
4322
|
|
|
4312
4323
|
```ts
|
|
4313
|
-
async getProofs(reqs:
|
|
4314
|
-
proven:
|
|
4315
|
-
invalid:
|
|
4324
|
+
async getProofs(reqs: TableProvenTxReq[], indent = 0, countsAsAttempt = false, ignoreStatus = false): Promise<{
|
|
4325
|
+
proven: TableProvenTxReq[];
|
|
4326
|
+
invalid: TableProvenTxReq[];
|
|
4316
4327
|
log: string;
|
|
4317
4328
|
}>
|
|
4318
4329
|
```
|
|
4330
|
+
See also: [TableProvenTxReq](./storage.md#interface-tableproventxreq)
|
|
4319
4331
|
|
|
4320
4332
|
Returns
|
|
4321
4333
|
|
|
@@ -4349,7 +4361,7 @@ export class TaskClock extends WalletMonitorTask {
|
|
|
4349
4361
|
}
|
|
4350
4362
|
```
|
|
4351
4363
|
|
|
4352
|
-
See also: [Monitor](#class-monitor), [WalletMonitorTask](#class-walletmonitortask)
|
|
4364
|
+
See also: [Monitor](./monitor.md#class-monitor), [WalletMonitorTask](./monitor.md#class-walletmonitortask)
|
|
4353
4365
|
|
|
4354
4366
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4355
4367
|
|
|
@@ -4374,7 +4386,7 @@ export class TaskFailAbandoned extends WalletMonitorTask {
|
|
|
4374
4386
|
}
|
|
4375
4387
|
```
|
|
4376
4388
|
|
|
4377
|
-
See also: [Monitor](#class-monitor), [WalletMonitorTask](#class-walletmonitortask)
|
|
4389
|
+
See also: [Monitor](./monitor.md#class-monitor), [WalletMonitorTask](./monitor.md#class-walletmonitortask)
|
|
4378
4390
|
|
|
4379
4391
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4380
4392
|
|
|
@@ -4394,7 +4406,7 @@ export class TaskNewHeader extends WalletMonitorTask {
|
|
|
4394
4406
|
}
|
|
4395
4407
|
```
|
|
4396
4408
|
|
|
4397
|
-
See also: [BlockHeader](#interface-blockheader), [Monitor](#class-monitor), [WalletMonitorTask](#class-walletmonitortask)
|
|
4409
|
+
See also: [BlockHeader](./client.md#interface-blockheader), [Monitor](./monitor.md#class-monitor), [WalletMonitorTask](./monitor.md#class-walletmonitortask)
|
|
4398
4410
|
|
|
4399
4411
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4400
4412
|
|
|
@@ -4413,7 +4425,7 @@ export class TaskPurge extends WalletMonitorTask {
|
|
|
4413
4425
|
}
|
|
4414
4426
|
```
|
|
4415
4427
|
|
|
4416
|
-
See also: [Monitor](#class-monitor), [TaskPurgeParams](#interface-taskpurgeparams), [WalletMonitorTask](#class-walletmonitortask)
|
|
4428
|
+
See also: [Monitor](./monitor.md#class-monitor), [TaskPurgeParams](./monitor.md#interface-taskpurgeparams), [WalletMonitorTask](./monitor.md#class-walletmonitortask)
|
|
4417
4429
|
|
|
4418
4430
|
###### Property checkNow
|
|
4419
4431
|
|
|
@@ -4448,7 +4460,7 @@ export class TaskReviewStatus extends WalletMonitorTask {
|
|
|
4448
4460
|
}
|
|
4449
4461
|
```
|
|
4450
4462
|
|
|
4451
|
-
See also: [Monitor](#class-monitor), [WalletMonitorTask](#class-walletmonitortask)
|
|
4463
|
+
See also: [Monitor](./monitor.md#class-monitor), [WalletMonitorTask](./monitor.md#class-walletmonitortask)
|
|
4452
4464
|
|
|
4453
4465
|
###### Property checkNow
|
|
4454
4466
|
|
|
@@ -4471,11 +4483,11 @@ export class TaskSendWaiting extends WalletMonitorTask {
|
|
|
4471
4483
|
run: boolean;
|
|
4472
4484
|
}
|
|
4473
4485
|
async runTask(): Promise<string>
|
|
4474
|
-
async processUnsent(reqApis:
|
|
4486
|
+
async processUnsent(reqApis: TableProvenTxReq[], indent = 0): Promise<string>
|
|
4475
4487
|
}
|
|
4476
4488
|
```
|
|
4477
4489
|
|
|
4478
|
-
See also: [Monitor](#class-monitor), [WalletMonitorTask](#class-walletmonitortask)
|
|
4490
|
+
See also: [Monitor](./monitor.md#class-monitor), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [WalletMonitorTask](./monitor.md#class-walletmonitortask)
|
|
4479
4491
|
|
|
4480
4492
|
###### Method processUnsent
|
|
4481
4493
|
|
|
@@ -4494,8 +4506,9 @@ Add mapi responses to database table if received.
|
|
|
4494
4506
|
Increments attempts if sending was attempted.
|
|
4495
4507
|
|
|
4496
4508
|
```ts
|
|
4497
|
-
async processUnsent(reqApis:
|
|
4509
|
+
async processUnsent(reqApis: TableProvenTxReq[], indent = 0): Promise<string>
|
|
4498
4510
|
```
|
|
4511
|
+
See also: [TableProvenTxReq](./storage.md#interface-tableproventxreq)
|
|
4499
4512
|
|
|
4500
4513
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4501
4514
|
|
|
@@ -4513,7 +4526,7 @@ export class TaskSyncWhenIdle extends WalletMonitorTask {
|
|
|
4513
4526
|
}
|
|
4514
4527
|
```
|
|
4515
4528
|
|
|
4516
|
-
See also: [Monitor](#class-monitor), [WalletMonitorTask](#class-walletmonitortask)
|
|
4529
|
+
See also: [Monitor](./monitor.md#class-monitor), [WalletMonitorTask](./monitor.md#class-walletmonitortask)
|
|
4517
4530
|
|
|
4518
4531
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4519
4532
|
|
|
@@ -4528,7 +4541,7 @@ export class WERR_BAD_REQUEST extends WalletError {
|
|
|
4528
4541
|
}
|
|
4529
4542
|
```
|
|
4530
4543
|
|
|
4531
|
-
See also: [WalletError](#class-walleterror)
|
|
4544
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4532
4545
|
|
|
4533
4546
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4534
4547
|
|
|
@@ -4546,7 +4559,7 @@ export class WERR_INSUFFICIENT_FUNDS extends WalletError {
|
|
|
4546
4559
|
}
|
|
4547
4560
|
```
|
|
4548
4561
|
|
|
4549
|
-
See also: [WalletError](#class-walleterror)
|
|
4562
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4550
4563
|
|
|
4551
4564
|
###### Constructor
|
|
4552
4565
|
|
|
@@ -4576,7 +4589,7 @@ export class WERR_INTERNAL extends WalletError {
|
|
|
4576
4589
|
}
|
|
4577
4590
|
```
|
|
4578
4591
|
|
|
4579
|
-
See also: [WalletError](#class-walleterror)
|
|
4592
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4580
4593
|
|
|
4581
4594
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4582
4595
|
|
|
@@ -4593,7 +4606,7 @@ export class WERR_INVALID_OPERATION extends WalletError {
|
|
|
4593
4606
|
}
|
|
4594
4607
|
```
|
|
4595
4608
|
|
|
4596
|
-
See also: [WalletError](#class-walleterror)
|
|
4609
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4597
4610
|
|
|
4598
4611
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4599
4612
|
|
|
@@ -4610,7 +4623,7 @@ export class WERR_INVALID_PARAMETER extends WalletError {
|
|
|
4610
4623
|
}
|
|
4611
4624
|
```
|
|
4612
4625
|
|
|
4613
|
-
See also: [WalletError](#class-walleterror)
|
|
4626
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4614
4627
|
|
|
4615
4628
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4616
4629
|
|
|
@@ -4623,7 +4636,7 @@ export class WERR_INVALID_PUBLIC_KEY extends WalletError {
|
|
|
4623
4636
|
}
|
|
4624
4637
|
```
|
|
4625
4638
|
|
|
4626
|
-
See also: [WalletError](#class-walleterror)
|
|
4639
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4627
4640
|
|
|
4628
4641
|
###### Constructor
|
|
4629
4642
|
|
|
@@ -4653,7 +4666,7 @@ export class WERR_MISSING_PARAMETER extends WalletError {
|
|
|
4653
4666
|
}
|
|
4654
4667
|
```
|
|
4655
4668
|
|
|
4656
|
-
See also: [WalletError](#class-walleterror)
|
|
4669
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4657
4670
|
|
|
4658
4671
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4659
4672
|
|
|
@@ -4668,7 +4681,7 @@ export class WERR_NETWORK_CHAIN extends WalletError {
|
|
|
4668
4681
|
}
|
|
4669
4682
|
```
|
|
4670
4683
|
|
|
4671
|
-
See also: [WalletError](#class-walleterror)
|
|
4684
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4672
4685
|
|
|
4673
4686
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4674
4687
|
|
|
@@ -4683,7 +4696,7 @@ export class WERR_NOT_ACTIVE extends WalletError {
|
|
|
4683
4696
|
}
|
|
4684
4697
|
```
|
|
4685
4698
|
|
|
4686
|
-
See also: [WalletError](#class-walleterror)
|
|
4699
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4687
4700
|
|
|
4688
4701
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4689
4702
|
|
|
@@ -4698,7 +4711,7 @@ export class WERR_NOT_IMPLEMENTED extends WalletError {
|
|
|
4698
4711
|
}
|
|
4699
4712
|
```
|
|
4700
4713
|
|
|
4701
|
-
See also: [WalletError](#class-walleterror)
|
|
4714
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4702
4715
|
|
|
4703
4716
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4704
4717
|
|
|
@@ -4713,7 +4726,7 @@ export class WERR_UNAUTHORIZED extends WalletError {
|
|
|
4713
4726
|
}
|
|
4714
4727
|
```
|
|
4715
4728
|
|
|
4716
|
-
See also: [WalletError](#class-walleterror)
|
|
4729
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4717
4730
|
|
|
4718
4731
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4719
4732
|
|
|
@@ -4774,7 +4787,7 @@ export class Wallet implements WalletInterface, ProtoWallet {
|
|
|
4774
4787
|
}
|
|
4775
4788
|
```
|
|
4776
4789
|
|
|
4777
|
-
See also: [Chain](#type-chain), [KeyPair](#interface-keypair), [Monitor](#class-monitor), [PendingSignAction](#interface-pendingsignaction), [PrivilegedKeyManager](#class-privilegedkeymanager), [StorageIdentity](#interface-storageidentity), [WalletArgs](#interface-walletargs), [WalletServices](#interface-walletservices), [WalletSigner](#class-walletsigner), [WalletStorageManager](#class-walletstoragemanager), [createAction](#function-createaction), [getIdentityKey](#function-getidentitykey), [internalizeAction](#function-internalizeaction), [listCertificates](#function-listcertificates), [proveCertificate](#function-provecertificate), [signAction](#function-signaction)
|
|
4790
|
+
See also: [Chain](./client.md#type-chain), [KeyPair](./client.md#interface-keypair), [Monitor](./monitor.md#class-monitor), [PendingSignAction](./client.md#interface-pendingsignaction), [PrivilegedKeyManager](./client.md#class-privilegedkeymanager), [StorageIdentity](./client.md#interface-storageidentity), [WalletArgs](./client.md#interface-walletargs), [WalletServices](./client.md#interface-walletservices), [WalletSigner](./client.md#class-walletsigner), [WalletStorageManager](./storage.md#class-walletstoragemanager), [createAction](./storage.md#function-createaction), [getIdentityKey](./client.md#function-getidentitykey), [internalizeAction](./storage.md#function-internalizeaction), [listActions](./storage.md#function-listactions), [listCertificates](./storage.md#function-listcertificates), [listOutputs](./storage.md#function-listoutputs), [proveCertificate](./client.md#function-provecertificate), [signAction](./client.md#function-signaction)
|
|
4778
4791
|
|
|
4779
4792
|
###### Property beef
|
|
4780
4793
|
|
|
@@ -4870,7 +4883,7 @@ Recovers all public fields from WalletError derived error classes and relevant E
|
|
|
4870
4883
|
```ts
|
|
4871
4884
|
static fromUnknown(err: unknown): WalletError
|
|
4872
4885
|
```
|
|
4873
|
-
See also: [WalletError](#class-walleterror)
|
|
4886
|
+
See also: [WalletError](./client.md#class-walleterror)
|
|
4874
4887
|
|
|
4875
4888
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4876
4889
|
|
|
@@ -4904,7 +4917,7 @@ export abstract class WalletMonitorTask {
|
|
|
4904
4917
|
}
|
|
4905
4918
|
```
|
|
4906
4919
|
|
|
4907
|
-
See also: [Monitor](#class-monitor), [MonitorStorage](#type-monitorstorage)
|
|
4920
|
+
See also: [Monitor](./monitor.md#class-monitor), [MonitorStorage](./monitor.md#type-monitorstorage)
|
|
4908
4921
|
|
|
4909
4922
|
###### Property lastRunMsecsSinceEpoch
|
|
4910
4923
|
|
|
@@ -4949,7 +4962,7 @@ export class WalletSigner {
|
|
|
4949
4962
|
}
|
|
4950
4963
|
```
|
|
4951
4964
|
|
|
4952
|
-
See also: [Chain](#type-chain), [WalletStorageManager](#class-walletstoragemanager)
|
|
4965
|
+
See also: [Chain](./client.md#type-chain), [WalletStorageManager](./storage.md#class-walletstoragemanager)
|
|
4953
4966
|
|
|
4954
4967
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
4955
4968
|
|
|
@@ -4999,12 +5012,12 @@ export class WalletStorageManager implements sdk.WalletStorage {
|
|
|
4999
5012
|
async addWalletStorageProvider(provider: sdk.WalletStorageProvider): Promise<void>
|
|
5000
5013
|
setServices(v: sdk.WalletServices)
|
|
5001
5014
|
getServices(): sdk.WalletServices
|
|
5002
|
-
getSettings():
|
|
5003
|
-
async makeAvailable(): Promise<
|
|
5015
|
+
getSettings(): TableSettings
|
|
5016
|
+
async makeAvailable(): Promise<TableSettings>
|
|
5004
5017
|
async migrate(storageName: string, storageIdentityKey: string): Promise<string>
|
|
5005
5018
|
async destroy(): Promise<void>
|
|
5006
5019
|
async findOrInsertUser(identityKey: string): Promise<{
|
|
5007
|
-
user:
|
|
5020
|
+
user: TableUser;
|
|
5008
5021
|
isNew: boolean;
|
|
5009
5022
|
}>
|
|
5010
5023
|
async abortAction(args: AbortActionArgs): Promise<AbortActionResult>
|
|
@@ -5013,14 +5026,14 @@ export class WalletStorageManager implements sdk.WalletStorage {
|
|
|
5013
5026
|
async relinquishCertificate(args: RelinquishCertificateArgs): Promise<number>
|
|
5014
5027
|
async relinquishOutput(args: RelinquishOutputArgs): Promise<number>
|
|
5015
5028
|
async processAction(args: sdk.StorageProcessActionArgs): Promise<sdk.StorageProcessActionResults>
|
|
5016
|
-
async insertCertificate(certificate:
|
|
5029
|
+
async insertCertificate(certificate: TableCertificate): Promise<number>
|
|
5017
5030
|
async listActions(vargs: sdk.ValidListActionsArgs): Promise<ListActionsResult>
|
|
5018
5031
|
async listCertificates(args: sdk.ValidListCertificatesArgs): Promise<ListCertificatesResult>
|
|
5019
5032
|
async listOutputs(vargs: sdk.ValidListOutputsArgs): Promise<ListOutputsResult>
|
|
5020
|
-
async findCertificates(args: sdk.FindCertificatesArgs): Promise<
|
|
5021
|
-
async findOutputBaskets(args: sdk.FindOutputBasketsArgs): Promise<
|
|
5022
|
-
async findOutputs(args: sdk.FindOutputsArgs): Promise<
|
|
5023
|
-
async findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<
|
|
5033
|
+
async findCertificates(args: sdk.FindCertificatesArgs): Promise<TableCertificate[]>
|
|
5034
|
+
async findOutputBaskets(args: sdk.FindOutputBasketsArgs): Promise<TableOutputBasket[]>
|
|
5035
|
+
async findOutputs(args: sdk.FindOutputsArgs): Promise<TableOutput[]>
|
|
5036
|
+
async findProvenTxReqs(args: sdk.FindProvenTxReqsArgs): Promise<TableProvenTxReq[]>
|
|
5024
5037
|
async syncFromReader(identityKey: string, reader: StorageSyncReader): Promise<void>
|
|
5025
5038
|
async updateBackups(activeSync?: sdk.WalletStorageSync)
|
|
5026
5039
|
async syncToWriter(auth: sdk.AuthId, writer: sdk.WalletStorageProvider, activeSync?: sdk.WalletStorageSync): Promise<{
|
|
@@ -5031,7 +5044,7 @@ export class WalletStorageManager implements sdk.WalletStorage {
|
|
|
5031
5044
|
}
|
|
5032
5045
|
```
|
|
5033
5046
|
|
|
5034
|
-
See also: [AuthId](#interface-authid), [FindCertificatesArgs](#interface-findcertificatesargs), [FindOutputBasketsArgs](#interface-findoutputbasketsargs), [FindOutputsArgs](#interface-findoutputsargs), [FindProvenTxReqsArgs](#interface-findproventxreqsargs), [StorageCreateActionResult](#interface-storagecreateactionresult), [StorageProcessActionArgs](#interface-storageprocessactionargs), [StorageProcessActionResults](#interface-storageprocessactionresults), [StorageProvider](#class-storageprovider), [StorageSyncReader](#class-storagesyncreader), [ValidCreateActionArgs](#interface-validcreateactionargs), [ValidListActionsArgs](#interface-validlistactionsargs), [ValidListCertificatesArgs](#interface-validlistcertificatesargs), [ValidListOutputsArgs](#interface-validlistoutputsargs), [WalletServices](#interface-walletservices), [WalletStorage](#interface-walletstorage), [WalletStorageProvider](#interface-walletstorageprovider), [WalletStorageReader](#interface-walletstoragereader), [WalletStorageSync](#interface-walletstoragesync), [WalletStorageWriter](#interface-walletstoragewriter), [createAction](#function-createaction), [internalizeAction](#function-internalizeaction), [listCertificates](#function-listcertificates), [processAction](#function-processaction)
|
|
5047
|
+
See also: [AuthId](./client.md#interface-authid), [FindCertificatesArgs](./client.md#interface-findcertificatesargs), [FindOutputBasketsArgs](./client.md#interface-findoutputbasketsargs), [FindOutputsArgs](./client.md#interface-findoutputsargs), [FindProvenTxReqsArgs](./client.md#interface-findproventxreqsargs), [StorageCreateActionResult](./client.md#interface-storagecreateactionresult), [StorageProcessActionArgs](./client.md#interface-storageprocessactionargs), [StorageProcessActionResults](./client.md#interface-storageprocessactionresults), [StorageProvider](./storage.md#class-storageprovider), [StorageSyncReader](./storage.md#class-storagesyncreader), [TableCertificate](./storage.md#interface-tablecertificate), [TableOutput](./storage.md#interface-tableoutput), [TableOutputBasket](./storage.md#interface-tableoutputbasket), [TableProvenTxReq](./storage.md#interface-tableproventxreq), [TableSettings](./storage.md#interface-tablesettings), [TableUser](./storage.md#interface-tableuser), [ValidCreateActionArgs](./client.md#interface-validcreateactionargs), [ValidListActionsArgs](./client.md#interface-validlistactionsargs), [ValidListCertificatesArgs](./client.md#interface-validlistcertificatesargs), [ValidListOutputsArgs](./client.md#interface-validlistoutputsargs), [WalletServices](./client.md#interface-walletservices), [WalletStorage](./client.md#interface-walletstorage), [WalletStorageProvider](./client.md#interface-walletstorageprovider), [WalletStorageReader](./client.md#interface-walletstoragereader), [WalletStorageSync](./client.md#interface-walletstoragesync), [WalletStorageWriter](./client.md#interface-walletstoragewriter), [createAction](./storage.md#function-createaction), [internalizeAction](./storage.md#function-internalizeaction), [listActions](./storage.md#function-listactions), [listCertificates](./storage.md#function-listcertificates), [listOutputs](./storage.md#function-listoutputs), [processAction](./storage.md#function-processaction)
|
|
5035
5048
|
|
|
5036
5049
|
###### Property _isSingleWriter
|
|
5037
5050
|
|
|
@@ -5075,7 +5088,7 @@ true if the active `WalletStorageProvider` also implements `StorageProvider`
|
|
|
5075
5088
|
```ts
|
|
5076
5089
|
async runAsSync<R>(sync: (active: sdk.WalletStorageSync) => Promise<R>, activeSync?: sdk.WalletStorageSync): Promise<R>
|
|
5077
5090
|
```
|
|
5078
|
-
See also: [WalletStorageSync](#interface-walletstoragesync)
|
|
5091
|
+
See also: [WalletStorageSync](./client.md#interface-walletstoragesync)
|
|
5079
5092
|
|
|
5080
5093
|
Argument Details
|
|
5081
5094
|
|
|
@@ -5153,7 +5166,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5153
5166
|
export async function acquireDirectCertificate(wallet: Wallet, auth: sdk.AuthId, vargs: sdk.ValidAcquireDirectCertificateArgs): Promise<AcquireCertificateResult>
|
|
5154
5167
|
```
|
|
5155
5168
|
|
|
5156
|
-
See also: [AuthId](#interface-authid), [ValidAcquireDirectCertificateArgs](#interface-validacquiredirectcertificateargs), [Wallet](#class-wallet)
|
|
5169
|
+
See also: [AuthId](./client.md#interface-authid), [ValidAcquireDirectCertificateArgs](./client.md#interface-validacquiredirectcertificateargs), [Wallet](./client.md#class-wallet)
|
|
5157
5170
|
|
|
5158
5171
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5159
5172
|
|
|
@@ -5276,10 +5289,10 @@ Attempt to post one or more `ProvenTxReq` with status 'unsent'
|
|
|
5276
5289
|
to the bitcoin network.
|
|
5277
5290
|
|
|
5278
5291
|
```ts
|
|
5279
|
-
export async function attemptToPostReqsToNetwork(storage: StorageProvider, reqs:
|
|
5292
|
+
export async function attemptToPostReqsToNetwork(storage: StorageProvider, reqs: EntityProvenTxReq[], trx?: sdk.TrxToken): Promise<PostReqsToNetworkResult>
|
|
5280
5293
|
```
|
|
5281
5294
|
|
|
5282
|
-
See also: [PostReqsToNetworkResult](#interface-postreqstonetworkresult), [StorageProvider](#class-storageprovider), [TrxToken](#interface-trxtoken)
|
|
5295
|
+
See also: [EntityProvenTxReq](./storage.md#class-entityproventxreq), [PostReqsToNetworkResult](./storage.md#interface-postreqstonetworkresult), [StorageProvider](./storage.md#class-storageprovider), [TrxToken](./client.md#interface-trxtoken)
|
|
5283
5296
|
|
|
5284
5297
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5285
5298
|
|
|
@@ -5290,7 +5303,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5290
5303
|
export async function completeSignedTransaction(prior: PendingSignAction, spends: Record<number, SignActionSpend>, wallet: Wallet): Promise<Transaction>
|
|
5291
5304
|
```
|
|
5292
5305
|
|
|
5293
|
-
See also: [PendingSignAction](#interface-pendingsignaction), [Wallet](#class-wallet)
|
|
5306
|
+
See also: [PendingSignAction](./client.md#interface-pendingsignaction), [Wallet](./client.md#class-wallet)
|
|
5294
5307
|
|
|
5295
5308
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5296
5309
|
|
|
@@ -5301,7 +5314,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5301
5314
|
export async function completeSignedTransaction(prior: PendingSignAction, spends: Record<number, SignActionSpend>, wallet: Wallet): Promise<BsvTransaction>
|
|
5302
5315
|
```
|
|
5303
5316
|
|
|
5304
|
-
See also: [PendingSignAction](#interface-pendingsignaction), [Wallet](#class-wallet)
|
|
5317
|
+
See also: [PendingSignAction](./client.md#interface-pendingsignaction), [Wallet](./client.md#class-wallet)
|
|
5305
5318
|
|
|
5306
5319
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5307
5320
|
|
|
@@ -5312,7 +5325,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5312
5325
|
export function convertProofToMerklePath(txid: string, proof: TscMerkleProofApi): MerklePath
|
|
5313
5326
|
```
|
|
5314
5327
|
|
|
5315
|
-
See also: [TscMerkleProofApi](#interface-tscmerkleproofapi)
|
|
5328
|
+
See also: [TscMerkleProofApi](./client.md#interface-tscmerkleproofapi)
|
|
5316
5329
|
|
|
5317
5330
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5318
5331
|
|
|
@@ -5323,7 +5336,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5323
5336
|
export async function createAction(wallet: Wallet, auth: sdk.AuthId, vargs: sdk.ValidCreateActionArgs): Promise<CreateActionResult>
|
|
5324
5337
|
```
|
|
5325
5338
|
|
|
5326
|
-
See also: [AuthId](#interface-authid), [ValidCreateActionArgs](#interface-validcreateactionargs), [Wallet](#class-wallet)
|
|
5339
|
+
See also: [AuthId](./client.md#interface-authid), [ValidCreateActionArgs](./client.md#interface-validcreateactionargs), [Wallet](./client.md#class-wallet)
|
|
5327
5340
|
|
|
5328
5341
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5329
5342
|
|
|
@@ -5334,7 +5347,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5334
5347
|
export async function createAction(storage: StorageProvider, auth: sdk.AuthId, vargs: sdk.ValidCreateActionArgs, originator?: OriginatorDomainNameStringUnder250Bytes): Promise<sdk.StorageCreateActionResult>
|
|
5335
5348
|
```
|
|
5336
5349
|
|
|
5337
|
-
See also: [AuthId](#interface-authid), [StorageCreateActionResult](#interface-storagecreateactionresult), [StorageProvider](#class-storageprovider), [ValidCreateActionArgs](#interface-validcreateactionargs)
|
|
5350
|
+
See also: [AuthId](./client.md#interface-authid), [StorageCreateActionResult](./client.md#interface-storagecreateactionresult), [StorageProvider](./storage.md#class-storageprovider), [ValidCreateActionArgs](./client.md#interface-validcreateactionargs)
|
|
5338
5351
|
|
|
5339
5352
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5340
5353
|
|
|
@@ -5345,7 +5358,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5345
5358
|
export function createDefaultWalletServicesOptions(chain: sdk.Chain): sdk.WalletServicesOptions
|
|
5346
5359
|
```
|
|
5347
5360
|
|
|
5348
|
-
See also: [Chain](#type-chain), [WalletServicesOptions](#interface-walletservicesoptions)
|
|
5361
|
+
See also: [Chain](./client.md#type-chain), [WalletServicesOptions](./client.md#interface-walletservicesoptions)
|
|
5349
5362
|
|
|
5350
5363
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5351
5364
|
|
|
@@ -5372,7 +5385,7 @@ export function doubleSha256BE(data: number[]): number[] {
|
|
|
5372
5385
|
}
|
|
5373
5386
|
```
|
|
5374
5387
|
|
|
5375
|
-
See also: [doubleSha256HashLE](#function-doublesha256hashle)
|
|
5388
|
+
See also: [doubleSha256HashLE](./client.md#function-doublesha256hashle)
|
|
5376
5389
|
|
|
5377
5390
|
Returns
|
|
5378
5391
|
|
|
@@ -5422,7 +5435,7 @@ Confirms for each availbleChange output that it remains available as they are al
|
|
|
5422
5435
|
export async function generateChangeSdk(params: GenerateChangeSdkParams, allocateChangeInput: (targetSatoshis: number, exactSatoshis?: number) => Promise<GenerateChangeSdkChangeInput | undefined>, releaseChangeInput: (outputId: number) => Promise<void>): Promise<GenerateChangeSdkResult>
|
|
5423
5436
|
```
|
|
5424
5437
|
|
|
5425
|
-
See also: [GenerateChangeSdkChangeInput](#interface-generatechangesdkchangeinput), [GenerateChangeSdkParams](#interface-generatechangesdkparams), [GenerateChangeSdkResult](#interface-generatechangesdkresult)
|
|
5438
|
+
See also: [GenerateChangeSdkChangeInput](./storage.md#interface-generatechangesdkchangeinput), [GenerateChangeSdkParams](./storage.md#interface-generatechangesdkparams), [GenerateChangeSdkResult](./storage.md#interface-generatechangesdkresult)
|
|
5426
5439
|
|
|
5427
5440
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5428
5441
|
|
|
@@ -5437,7 +5450,7 @@ export function generateChangeSdkMakeStorage(availableChange: GenerateChangeSdkC
|
|
|
5437
5450
|
}
|
|
5438
5451
|
```
|
|
5439
5452
|
|
|
5440
|
-
See also: [GenerateChangeSdkChangeInput](#interface-generatechangesdkchangeinput)
|
|
5453
|
+
See also: [GenerateChangeSdkChangeInput](./storage.md#interface-generatechangesdkchangeinput)
|
|
5441
5454
|
|
|
5442
5455
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5443
5456
|
|
|
@@ -5461,7 +5474,7 @@ If `knownTxids` is defined, any 'txid' required by the `Beef` that appears in th
|
|
|
5461
5474
|
export async function getBeefForTransaction(storage: StorageProvider, txid: string, options: sdk.StorageGetBeefOptions): Promise<Beef>
|
|
5462
5475
|
```
|
|
5463
5476
|
|
|
5464
|
-
See also: [StorageGetBeefOptions](#interface-storagegetbeefoptions), [StorageProvider](#class-storageprovider)
|
|
5477
|
+
See also: [StorageGetBeefOptions](./client.md#interface-storagegetbeefoptions), [StorageProvider](./storage.md#class-storageprovider)
|
|
5465
5478
|
|
|
5466
5479
|
Argument Details
|
|
5467
5480
|
|
|
@@ -5479,7 +5492,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5479
5492
|
export async function getExchangeRatesIo(key: string): Promise<ExchangeRatesIoApi>
|
|
5480
5493
|
```
|
|
5481
5494
|
|
|
5482
|
-
See also: [ExchangeRatesIoApi](#interface-exchangeratesioapi)
|
|
5495
|
+
See also: [ExchangeRatesIoApi](./services.md#interface-exchangeratesioapi)
|
|
5483
5496
|
|
|
5484
5497
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5485
5498
|
|
|
@@ -5490,7 +5503,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5490
5503
|
export async function getIdentityKey(wallet: CertOpsWallet): Promise<PubKeyHex>
|
|
5491
5504
|
```
|
|
5492
5505
|
|
|
5493
|
-
See also: [CertOpsWallet](#interface-certopswallet)
|
|
5506
|
+
See also: [CertOpsWallet](./client.md#interface-certopswallet)
|
|
5494
5507
|
|
|
5495
5508
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5496
5509
|
|
|
@@ -5501,7 +5514,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5501
5514
|
export async function getMerklePathFromTaalARC(txid: string, config: ArcServiceConfig, services: sdk.WalletServices): Promise<sdk.GetMerklePathResult>
|
|
5502
5515
|
```
|
|
5503
5516
|
|
|
5504
|
-
See also: [ArcServiceConfig](#interface-arcserviceconfig), [GetMerklePathResult](#interface-getmerklepathresult), [WalletServices](#interface-walletservices)
|
|
5517
|
+
See also: [ArcServiceConfig](./services.md#interface-arcserviceconfig), [GetMerklePathResult](./client.md#interface-getmerklepathresult), [WalletServices](./client.md#interface-walletservices)
|
|
5505
5518
|
|
|
5506
5519
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5507
5520
|
|
|
@@ -5518,7 +5531,7 @@ Duplicate hash values are provided in full instead of being replaced by "*".
|
|
|
5518
5531
|
export async function getMerklePathFromWhatsOnChainTsc(txid: string, chain: sdk.Chain, services: sdk.WalletServices): Promise<sdk.GetMerklePathResult>
|
|
5519
5532
|
```
|
|
5520
5533
|
|
|
5521
|
-
See also: [Chain](#type-chain), [GetMerklePathResult](#interface-getmerklepathresult), [WalletServices](#interface-walletservices)
|
|
5534
|
+
See also: [Chain](./client.md#type-chain), [GetMerklePathResult](./client.md#interface-getmerklepathresult), [WalletServices](./client.md#interface-walletservices)
|
|
5522
5535
|
|
|
5523
5536
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5524
5537
|
|
|
@@ -5529,7 +5542,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5529
5542
|
export async function getRawTxFromWhatsOnChain(txid: string, chain: sdk.Chain): Promise<sdk.GetRawTxResult>
|
|
5530
5543
|
```
|
|
5531
5544
|
|
|
5532
|
-
See also: [Chain](#type-chain), [GetRawTxResult](#interface-getrawtxresult)
|
|
5545
|
+
See also: [Chain](./client.md#type-chain), [GetRawTxResult](./client.md#interface-getrawtxresult)
|
|
5533
5546
|
|
|
5534
5547
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5535
5548
|
|
|
@@ -5542,7 +5555,7 @@ Gets the next sync chunk of updated data from un-remoted storage (could be using
|
|
|
5542
5555
|
export async function getSyncChunk(storage: StorageReader, args: sdk.RequestSyncChunkArgs): Promise<sdk.SyncChunk>
|
|
5543
5556
|
```
|
|
5544
5557
|
|
|
5545
|
-
See also: [RequestSyncChunkArgs](#interface-requestsyncchunkargs), [StorageReader](#class-storagereader), [SyncChunk](#interface-syncchunk)
|
|
5558
|
+
See also: [RequestSyncChunkArgs](./client.md#interface-requestsyncchunkargs), [StorageReader](./storage.md#class-storagereader), [SyncChunk](./client.md#interface-syncchunk)
|
|
5546
5559
|
|
|
5547
5560
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5548
5561
|
|
|
@@ -5553,7 +5566,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5553
5566
|
export function getTaalArcServiceConfig(chain: sdk.Chain, apiKey: string): ArcServiceConfig
|
|
5554
5567
|
```
|
|
5555
5568
|
|
|
5556
|
-
See also: [ArcServiceConfig](#interface-arcserviceconfig), [Chain](#type-chain)
|
|
5569
|
+
See also: [ArcServiceConfig](./services.md#interface-arcserviceconfig), [Chain](./client.md#type-chain)
|
|
5557
5570
|
|
|
5558
5571
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5559
5572
|
|
|
@@ -5564,7 +5577,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5564
5577
|
export async function getUtxoStatusFromWhatsOnChain(output: string, chain: sdk.Chain, outputFormat?: sdk.GetUtxoStatusOutputFormat): Promise<sdk.GetUtxoStatusResult>
|
|
5565
5578
|
```
|
|
5566
5579
|
|
|
5567
|
-
See also: [Chain](#type-chain), [GetUtxoStatusOutputFormat](#type-getutxostatusoutputformat), [GetUtxoStatusResult](#interface-getutxostatusresult)
|
|
5580
|
+
See also: [Chain](./client.md#type-chain), [GetUtxoStatusOutputFormat](./client.md#type-getutxostatusoutputformat), [GetUtxoStatusResult](./client.md#interface-getutxostatusresult)
|
|
5568
5581
|
|
|
5569
5582
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5570
5583
|
|
|
@@ -5600,7 +5613,7 @@ When the transaction already exists, the description is updated. The isOutgoing
|
|
|
5600
5613
|
export async function internalizeAction(wallet: Wallet, auth: sdk.AuthId, args: InternalizeActionArgs): Promise<InternalizeActionResult>
|
|
5601
5614
|
```
|
|
5602
5615
|
|
|
5603
|
-
See also: [AuthId](#interface-authid), [Wallet](#class-wallet)
|
|
5616
|
+
See also: [AuthId](./client.md#interface-authid), [Wallet](./client.md#class-wallet)
|
|
5604
5617
|
|
|
5605
5618
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5606
5619
|
|
|
@@ -5636,7 +5649,7 @@ When the transaction already exists, the description is updated. The isOutgoing
|
|
|
5636
5649
|
export async function internalizeAction(storage: StorageProvider, auth: sdk.AuthId, args: InternalizeActionArgs): Promise<InternalizeActionResult>
|
|
5637
5650
|
```
|
|
5638
5651
|
|
|
5639
|
-
See also: [AuthId](#interface-authid), [StorageProvider](#class-storageprovider)
|
|
5652
|
+
See also: [AuthId](./client.md#interface-authid), [StorageProvider](./storage.md#class-storageprovider)
|
|
5640
5653
|
|
|
5641
5654
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5642
5655
|
|
|
@@ -5656,7 +5669,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5656
5669
|
export async function listCertificates(storage: StorageProvider, auth: sdk.AuthId, vargs: sdk.ValidListCertificatesArgs, originator?: OriginatorDomainNameStringUnder250Bytes): Promise<ListCertificatesResult>
|
|
5657
5670
|
```
|
|
5658
5671
|
|
|
5659
|
-
See also: [AuthId](#interface-authid), [StorageProvider](#class-storageprovider), [ValidListCertificatesArgs](#interface-validlistcertificatesargs)
|
|
5672
|
+
See also: [AuthId](./client.md#interface-authid), [StorageProvider](./storage.md#class-storageprovider), [ValidListCertificatesArgs](./client.md#interface-validlistcertificatesargs)
|
|
5660
5673
|
|
|
5661
5674
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5662
5675
|
|
|
@@ -5697,7 +5710,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5697
5710
|
export function makeErrorResult(error: sdk.WalletError, miner: ArcServiceConfig, beef: number[], txids: string[], dd?: ArcMinerPostBeefDataApi): sdk.PostBeefResult
|
|
5698
5711
|
```
|
|
5699
5712
|
|
|
5700
|
-
See also: [ArcMinerPostBeefDataApi](#interface-arcminerpostbeefdataapi), [ArcServiceConfig](#interface-arcserviceconfig), [PostBeefResult](#interface-postbeefresult), [WalletError](#class-walleterror)
|
|
5713
|
+
See also: [ArcMinerPostBeefDataApi](./services.md#interface-arcminerpostbeefdataapi), [ArcServiceConfig](./services.md#interface-arcserviceconfig), [PostBeefResult](./client.md#interface-postbeefresult), [WalletError](./client.md#class-walleterror)
|
|
5701
5714
|
|
|
5702
5715
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5703
5716
|
|
|
@@ -5708,7 +5721,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5708
5721
|
export function makeGetMerklePathFromTaalARC(config: ArcServiceConfig): sdk.GetMerklePathService
|
|
5709
5722
|
```
|
|
5710
5723
|
|
|
5711
|
-
See also: [ArcServiceConfig](#interface-arcserviceconfig), [GetMerklePathService](#type-getmerklepathservice)
|
|
5724
|
+
See also: [ArcServiceConfig](./services.md#interface-arcserviceconfig), [GetMerklePathService](./client.md#type-getmerklepathservice)
|
|
5712
5725
|
|
|
5713
5726
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5714
5727
|
|
|
@@ -5719,7 +5732,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5719
5732
|
export function makePostBeefResult(dd: ArcMinerPostBeefDataApi, miner: ArcServiceConfig, beef: number[], txids: string[]): sdk.PostBeefResult
|
|
5720
5733
|
```
|
|
5721
5734
|
|
|
5722
|
-
See also: [ArcMinerPostBeefDataApi](#interface-arcminerpostbeefdataapi), [ArcServiceConfig](#interface-arcserviceconfig), [PostBeefResult](#interface-postbeefresult)
|
|
5735
|
+
See also: [ArcMinerPostBeefDataApi](./services.md#interface-arcminerpostbeefdataapi), [ArcServiceConfig](./services.md#interface-arcserviceconfig), [PostBeefResult](./client.md#interface-postbeefresult)
|
|
5723
5736
|
|
|
5724
5737
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5725
5738
|
|
|
@@ -5730,7 +5743,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5730
5743
|
export function makePostBeefToTaalARC(config: ArcServiceConfig): sdk.PostBeefService
|
|
5731
5744
|
```
|
|
5732
5745
|
|
|
5733
|
-
See also: [ArcServiceConfig](#interface-arcserviceconfig), [PostBeefService](#type-postbeefservice)
|
|
5746
|
+
See also: [ArcServiceConfig](./services.md#interface-arcserviceconfig), [PostBeefService](./client.md#type-postbeefservice)
|
|
5734
5747
|
|
|
5735
5748
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5736
5749
|
|
|
@@ -5741,7 +5754,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5741
5754
|
export function makePostTxsToTaalARC(config: ArcServiceConfig): sdk.PostTxsService
|
|
5742
5755
|
```
|
|
5743
5756
|
|
|
5744
|
-
See also: [ArcServiceConfig](#interface-arcserviceconfig), [PostTxsService](#type-posttxsservice)
|
|
5757
|
+
See also: [ArcServiceConfig](./services.md#interface-arcserviceconfig), [PostTxsService](./client.md#type-posttxsservice)
|
|
5745
5758
|
|
|
5746
5759
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5747
5760
|
|
|
@@ -5782,7 +5795,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5782
5795
|
export function parseTxScriptOffsets(rawTx: number[]): TxScriptOffsets
|
|
5783
5796
|
```
|
|
5784
5797
|
|
|
5785
|
-
See also: [TxScriptOffsets](#interface-txscriptoffsets)
|
|
5798
|
+
See also: [TxScriptOffsets](./client.md#interface-txscriptoffsets)
|
|
5786
5799
|
|
|
5787
5800
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5788
5801
|
|
|
@@ -5805,7 +5818,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5805
5818
|
export async function postBeefToArcMiner(beef: Beef | number[], txids: string[], config: ArcServiceConfig): Promise<sdk.PostBeefResult>
|
|
5806
5819
|
```
|
|
5807
5820
|
|
|
5808
|
-
See also: [ArcServiceConfig](#interface-arcserviceconfig), [PostBeefResult](#interface-postbeefresult)
|
|
5821
|
+
See also: [ArcServiceConfig](./services.md#interface-arcserviceconfig), [PostBeefResult](./client.md#interface-postbeefresult)
|
|
5809
5822
|
|
|
5810
5823
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5811
5824
|
|
|
@@ -5816,7 +5829,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5816
5829
|
export async function postBeefToTaalArcMiner(beef: Beef, txids: string[], config: ArcServiceConfig, services: sdk.WalletServices): Promise<sdk.PostBeefResult>
|
|
5817
5830
|
```
|
|
5818
5831
|
|
|
5819
|
-
See also: [ArcServiceConfig](#interface-arcserviceconfig), [PostBeefResult](#interface-postbeefresult), [WalletServices](#interface-walletservices)
|
|
5832
|
+
See also: [ArcServiceConfig](./services.md#interface-arcserviceconfig), [PostBeefResult](./client.md#interface-postbeefresult), [WalletServices](./client.md#interface-walletservices)
|
|
5820
5833
|
|
|
5821
5834
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5822
5835
|
|
|
@@ -5827,7 +5840,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5827
5840
|
export async function postTxsToTaalArcMiner(beef: Beef, txids: string[], config: ArcServiceConfig, services: sdk.WalletServices): Promise<sdk.PostTxsResult>
|
|
5828
5841
|
```
|
|
5829
5842
|
|
|
5830
|
-
See also: [ArcServiceConfig](#interface-arcserviceconfig), [PostTxsResult](#interface-posttxsresult), [WalletServices](#interface-walletservices)
|
|
5843
|
+
See also: [ArcServiceConfig](./services.md#interface-arcserviceconfig), [PostTxsResult](./client.md#interface-posttxsresult), [WalletServices](./client.md#interface-walletservices)
|
|
5831
5844
|
|
|
5832
5845
|
Argument Details
|
|
5833
5846
|
|
|
@@ -5843,7 +5856,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5843
5856
|
export async function processAction(prior: PendingSignAction | undefined, wallet: Wallet, auth: sdk.AuthId, vargs: sdk.ValidProcessActionArgs): Promise<SendWithResult[] | undefined>
|
|
5844
5857
|
```
|
|
5845
5858
|
|
|
5846
|
-
See also: [AuthId](#interface-authid), [PendingSignAction](#interface-pendingsignaction), [ValidProcessActionArgs](#interface-validprocessactionargs), [Wallet](#class-wallet)
|
|
5859
|
+
See also: [AuthId](./client.md#interface-authid), [PendingSignAction](./client.md#interface-pendingsignaction), [ValidProcessActionArgs](./client.md#interface-validprocessactionargs), [Wallet](./client.md#class-wallet)
|
|
5847
5860
|
|
|
5848
5861
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5849
5862
|
|
|
@@ -5854,7 +5867,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5854
5867
|
export async function processAction(storage: StorageProvider, auth: sdk.AuthId, args: sdk.StorageProcessActionArgs): Promise<sdk.StorageProcessActionResults>
|
|
5855
5868
|
```
|
|
5856
5869
|
|
|
5857
|
-
See also: [AuthId](#interface-authid), [StorageProcessActionArgs](#interface-storageprocessactionargs), [StorageProcessActionResults](#interface-storageprocessactionresults), [StorageProvider](#class-storageprovider)
|
|
5870
|
+
See also: [AuthId](./client.md#interface-authid), [StorageProcessActionArgs](./client.md#interface-storageprocessactionargs), [StorageProcessActionResults](./client.md#interface-storageprocessactionresults), [StorageProvider](./storage.md#class-storageprovider)
|
|
5858
5871
|
|
|
5859
5872
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5860
5873
|
|
|
@@ -5865,7 +5878,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5865
5878
|
export async function proveCertificate(wallet: Wallet, auth: sdk.AuthId, vargs: sdk.ValidProveCertificateArgs): Promise<ProveCertificateResult>
|
|
5866
5879
|
```
|
|
5867
5880
|
|
|
5868
|
-
See also: [AuthId](#interface-authid), [ValidProveCertificateArgs](#interface-validprovecertificateargs), [Wallet](#class-wallet)
|
|
5881
|
+
See also: [AuthId](./client.md#interface-authid), [ValidProveCertificateArgs](./client.md#interface-validprovecertificateargs), [Wallet](./client.md#class-wallet)
|
|
5869
5882
|
|
|
5870
5883
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5871
5884
|
|
|
@@ -5933,7 +5946,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
5933
5946
|
export async function signAction(wallet: Wallet, auth: sdk.AuthId, vargs: sdk.ValidSignActionArgs): Promise<SignActionResult>
|
|
5934
5947
|
```
|
|
5935
5948
|
|
|
5936
|
-
See also: [AuthId](#interface-authid), [ValidSignActionArgs](#interface-validsignactionargs), [Wallet](#class-wallet)
|
|
5949
|
+
See also: [AuthId](./client.md#interface-authid), [ValidSignActionArgs](./client.md#interface-validsignactionargs), [Wallet](./client.md#class-wallet)
|
|
5937
5950
|
|
|
5938
5951
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
5939
5952
|
|
|
@@ -6005,7 +6018,7 @@ export function toBinaryBaseBlockHeader(header: sdk.BaseBlockHeader): number[] {
|
|
|
6005
6018
|
}
|
|
6006
6019
|
```
|
|
6007
6020
|
|
|
6008
|
-
See also: [BaseBlockHeader](#interface-baseblockheader), [asArray](#function-asarray)
|
|
6021
|
+
See also: [BaseBlockHeader](./client.md#interface-baseblockheader), [asArray](./client.md#function-asarray)
|
|
6009
6022
|
|
|
6010
6023
|
Returns
|
|
6011
6024
|
|
|
@@ -6020,7 +6033,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6020
6033
|
export function toWalletNetwork(chain: Chain): WalletNetwork
|
|
6021
6034
|
```
|
|
6022
6035
|
|
|
6023
|
-
See also: [Chain](#type-chain)
|
|
6036
|
+
See also: [Chain](./client.md#type-chain)
|
|
6024
6037
|
|
|
6025
6038
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6026
6039
|
|
|
@@ -6091,7 +6104,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6091
6104
|
export async function updateBsvExchangeRate(rate?: sdk.BsvExchangeRate, updateMsecs?: number): Promise<sdk.BsvExchangeRate>
|
|
6092
6105
|
```
|
|
6093
6106
|
|
|
6094
|
-
See also: [BsvExchangeRate](#interface-bsvexchangerate)
|
|
6107
|
+
See also: [BsvExchangeRate](./client.md#interface-bsvexchangerate)
|
|
6095
6108
|
|
|
6096
6109
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6097
6110
|
|
|
@@ -6102,7 +6115,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6102
6115
|
export async function updateChaintracksFiatExchangeRates(targetCurrencies: string[], options: sdk.WalletServicesOptions): Promise<sdk.FiatExchangeRates>
|
|
6103
6116
|
```
|
|
6104
6117
|
|
|
6105
|
-
See also: [FiatExchangeRates](#interface-fiatexchangerates), [WalletServicesOptions](#interface-walletservicesoptions)
|
|
6118
|
+
See also: [FiatExchangeRates](./client.md#interface-fiatexchangerates), [WalletServicesOptions](./client.md#interface-walletservicesoptions)
|
|
6106
6119
|
|
|
6107
6120
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6108
6121
|
|
|
@@ -6113,7 +6126,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6113
6126
|
export async function updateExchangeratesapi(targetCurrencies: string[], options: sdk.WalletServicesOptions): Promise<sdk.FiatExchangeRates>
|
|
6114
6127
|
```
|
|
6115
6128
|
|
|
6116
|
-
See also: [FiatExchangeRates](#interface-fiatexchangerates), [WalletServicesOptions](#interface-walletservicesoptions)
|
|
6129
|
+
See also: [FiatExchangeRates](./client.md#interface-fiatexchangerates), [WalletServicesOptions](./client.md#interface-walletservicesoptions)
|
|
6117
6130
|
|
|
6118
6131
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6119
6132
|
|
|
@@ -6124,7 +6137,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6124
6137
|
export function validateAbortActionArgs(args: AbortActionArgs): ValidAbortActionArgs
|
|
6125
6138
|
```
|
|
6126
6139
|
|
|
6127
|
-
See also: [ValidAbortActionArgs](#interface-validabortactionargs)
|
|
6140
|
+
See also: [ValidAbortActionArgs](./client.md#interface-validabortactionargs)
|
|
6128
6141
|
|
|
6129
6142
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6130
6143
|
|
|
@@ -6135,7 +6148,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6135
6148
|
export async function validateAcquireCertificateArgs(args: AcquireCertificateArgs): Promise<ValidAcquireCertificateArgs>
|
|
6136
6149
|
```
|
|
6137
6150
|
|
|
6138
|
-
See also: [ValidAcquireCertificateArgs](#interface-validacquirecertificateargs)
|
|
6151
|
+
See also: [ValidAcquireCertificateArgs](./client.md#interface-validacquirecertificateargs)
|
|
6139
6152
|
|
|
6140
6153
|
Argument Details
|
|
6141
6154
|
|
|
@@ -6151,7 +6164,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6151
6164
|
export function validateAcquireDirectCertificateArgs(args: AcquireCertificateArgs): ValidAcquireDirectCertificateArgs
|
|
6152
6165
|
```
|
|
6153
6166
|
|
|
6154
|
-
See also: [ValidAcquireDirectCertificateArgs](#interface-validacquiredirectcertificateargs)
|
|
6167
|
+
See also: [ValidAcquireDirectCertificateArgs](./client.md#interface-validacquiredirectcertificateargs)
|
|
6155
6168
|
|
|
6156
6169
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6157
6170
|
|
|
@@ -6162,7 +6175,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6162
6175
|
export function validateAcquireIssuanceCertificateArgs(args: AcquireCertificateArgs): ValidAcquireIssuanceCertificateArgs
|
|
6163
6176
|
```
|
|
6164
6177
|
|
|
6165
|
-
See also: [ValidAcquireIssuanceCertificateArgs](#interface-validacquireissuancecertificateargs)
|
|
6178
|
+
See also: [ValidAcquireIssuanceCertificateArgs](./client.md#interface-validacquireissuancecertificateargs)
|
|
6166
6179
|
|
|
6167
6180
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6168
6181
|
|
|
@@ -6173,7 +6186,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6173
6186
|
export function validateBasketInsertion(args?: BasketInsertion): ValidBasketInsertion | undefined
|
|
6174
6187
|
```
|
|
6175
6188
|
|
|
6176
|
-
See also: [ValidBasketInsertion](#interface-validbasketinsertion)
|
|
6189
|
+
See also: [ValidBasketInsertion](./client.md#interface-validbasketinsertion)
|
|
6177
6190
|
|
|
6178
6191
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6179
6192
|
|
|
@@ -6184,7 +6197,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6184
6197
|
export function validateCreateActionArgs(args: CreateActionArgs): ValidCreateActionArgs
|
|
6185
6198
|
```
|
|
6186
6199
|
|
|
6187
|
-
See also: [ValidCreateActionArgs](#interface-validcreateactionargs)
|
|
6200
|
+
See also: [ValidCreateActionArgs](./client.md#interface-validcreateactionargs)
|
|
6188
6201
|
|
|
6189
6202
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6190
6203
|
|
|
@@ -6195,7 +6208,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6195
6208
|
export function validateCreateActionInput(i: CreateActionInput): ValidCreateActionInput
|
|
6196
6209
|
```
|
|
6197
6210
|
|
|
6198
|
-
See also: [ValidCreateActionInput](#interface-validcreateactioninput)
|
|
6211
|
+
See also: [ValidCreateActionInput](./client.md#interface-validcreateactioninput)
|
|
6199
6212
|
|
|
6200
6213
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6201
6214
|
|
|
@@ -6211,7 +6224,7 @@ Convert string outpoints to `{ txid: string, vout: number }`
|
|
|
6211
6224
|
export function validateCreateActionOptions(options?: CreateActionOptions): ValidCreateActionOptions
|
|
6212
6225
|
```
|
|
6213
6226
|
|
|
6214
|
-
See also: [ValidCreateActionOptions](#interface-validcreateactionoptions)
|
|
6227
|
+
See also: [ValidCreateActionOptions](./client.md#interface-validcreateactionoptions)
|
|
6215
6228
|
|
|
6216
6229
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6217
6230
|
|
|
@@ -6222,7 +6235,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6222
6235
|
export function validateCreateActionOutput(o: CreateActionOutput): ValidCreateActionOutput
|
|
6223
6236
|
```
|
|
6224
6237
|
|
|
6225
|
-
See also: [ValidCreateActionOutput](#interface-validcreateactionoutput)
|
|
6238
|
+
See also: [ValidCreateActionOutput](./client.md#interface-validcreateactionoutput)
|
|
6226
6239
|
|
|
6227
6240
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6228
6241
|
|
|
@@ -6233,7 +6246,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6233
6246
|
export function validateDiscoverByAttributesArgs(args: DiscoverByAttributesArgs): ValidDiscoverByAttributesArgs
|
|
6234
6247
|
```
|
|
6235
6248
|
|
|
6236
|
-
See also: [ValidDiscoverByAttributesArgs](#interface-validdiscoverbyattributesargs)
|
|
6249
|
+
See also: [ValidDiscoverByAttributesArgs](./client.md#interface-validdiscoverbyattributesargs)
|
|
6237
6250
|
|
|
6238
6251
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6239
6252
|
|
|
@@ -6244,7 +6257,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6244
6257
|
export function validateDiscoverByIdentityKeyArgs(args: DiscoverByIdentityKeyArgs): ValidDiscoverByIdentityKeyArgs
|
|
6245
6258
|
```
|
|
6246
6259
|
|
|
6247
|
-
See also: [ValidDiscoverByIdentityKeyArgs](#interface-validdiscoverbyidentitykeyargs)
|
|
6260
|
+
See also: [ValidDiscoverByIdentityKeyArgs](./client.md#interface-validdiscoverbyidentitykeyargs)
|
|
6248
6261
|
|
|
6249
6262
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6250
6263
|
|
|
@@ -6255,7 +6268,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6255
6268
|
export function validateGenerateChangeSdkParams(params: GenerateChangeSdkParams)
|
|
6256
6269
|
```
|
|
6257
6270
|
|
|
6258
|
-
See also: [GenerateChangeSdkParams](#interface-generatechangesdkparams)
|
|
6271
|
+
See also: [GenerateChangeSdkParams](./storage.md#interface-generatechangesdkparams)
|
|
6259
6272
|
|
|
6260
6273
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6261
6274
|
|
|
@@ -6269,7 +6282,7 @@ export function validateGenerateChangeSdkResult(params: GenerateChangeSdkParams,
|
|
|
6269
6282
|
}
|
|
6270
6283
|
```
|
|
6271
6284
|
|
|
6272
|
-
See also: [GenerateChangeSdkParams](#interface-generatechangesdkparams), [GenerateChangeSdkResult](#interface-generatechangesdkresult)
|
|
6285
|
+
See also: [GenerateChangeSdkParams](./storage.md#interface-generatechangesdkparams), [GenerateChangeSdkResult](./storage.md#interface-generatechangesdkresult)
|
|
6273
6286
|
|
|
6274
6287
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6275
6288
|
|
|
@@ -6289,7 +6302,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6289
6302
|
export function validateInternalizeActionArgs(args: InternalizeActionArgs): ValidInternalizeActionArgs
|
|
6290
6303
|
```
|
|
6291
6304
|
|
|
6292
|
-
See also: [ValidInternalizeActionArgs](#interface-validinternalizeactionargs)
|
|
6305
|
+
See also: [ValidInternalizeActionArgs](./client.md#interface-validinternalizeactionargs)
|
|
6293
6306
|
|
|
6294
6307
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6295
6308
|
|
|
@@ -6300,7 +6313,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6300
6313
|
export function validateInternalizeOutput(args: InternalizeOutput): ValidInternalizeOutput
|
|
6301
6314
|
```
|
|
6302
6315
|
|
|
6303
|
-
See also: [ValidInternalizeOutput](#interface-validinternalizeoutput)
|
|
6316
|
+
See also: [ValidInternalizeOutput](./client.md#interface-validinternalizeoutput)
|
|
6304
6317
|
|
|
6305
6318
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6306
6319
|
|
|
@@ -6311,7 +6324,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6311
6324
|
export function validateListActionsArgs(args: ListActionsArgs): ValidListActionsArgs
|
|
6312
6325
|
```
|
|
6313
6326
|
|
|
6314
|
-
See also: [ValidListActionsArgs](#interface-validlistactionsargs)
|
|
6327
|
+
See also: [ValidListActionsArgs](./client.md#interface-validlistactionsargs)
|
|
6315
6328
|
|
|
6316
6329
|
Argument Details
|
|
6317
6330
|
|
|
@@ -6347,7 +6360,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6347
6360
|
export function validateListCertificatesArgs(args: ListCertificatesArgs): ValidListCertificatesArgs
|
|
6348
6361
|
```
|
|
6349
6362
|
|
|
6350
|
-
See also: [ValidListCertificatesArgs](#interface-validlistcertificatesargs)
|
|
6363
|
+
See also: [ValidListCertificatesArgs](./client.md#interface-validlistcertificatesargs)
|
|
6351
6364
|
|
|
6352
6365
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6353
6366
|
|
|
@@ -6358,7 +6371,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6358
6371
|
export function validateListOutputsArgs(args: ListOutputsArgs): ValidListOutputsArgs
|
|
6359
6372
|
```
|
|
6360
6373
|
|
|
6361
|
-
See also: [ValidListOutputsArgs](#interface-validlistoutputsargs)
|
|
6374
|
+
See also: [ValidListOutputsArgs](./client.md#interface-validlistoutputsargs)
|
|
6362
6375
|
|
|
6363
6376
|
Argument Details
|
|
6364
6377
|
|
|
@@ -6439,7 +6452,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6439
6452
|
export function validateProveCertificateArgs(args: ProveCertificateArgs): ValidProveCertificateArgs
|
|
6440
6453
|
```
|
|
6441
6454
|
|
|
6442
|
-
See also: [ValidProveCertificateArgs](#interface-validprovecertificateargs)
|
|
6455
|
+
See also: [ValidProveCertificateArgs](./client.md#interface-validprovecertificateargs)
|
|
6443
6456
|
|
|
6444
6457
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6445
6458
|
|
|
@@ -6450,7 +6463,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6450
6463
|
export function validateRelinquishCertificateArgs(args: RelinquishCertificateArgs): ValidRelinquishCertificateArgs
|
|
6451
6464
|
```
|
|
6452
6465
|
|
|
6453
|
-
See also: [ValidRelinquishCertificateArgs](#interface-validrelinquishcertificateargs)
|
|
6466
|
+
See also: [ValidRelinquishCertificateArgs](./client.md#interface-validrelinquishcertificateargs)
|
|
6454
6467
|
|
|
6455
6468
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6456
6469
|
|
|
@@ -6461,7 +6474,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6461
6474
|
export function validateRelinquishOutputArgs(args: RelinquishOutputArgs): ValidRelinquishOutputArgs
|
|
6462
6475
|
```
|
|
6463
6476
|
|
|
6464
|
-
See also: [ValidRelinquishOutputArgs](#interface-validrelinquishoutputargs)
|
|
6477
|
+
See also: [ValidRelinquishOutputArgs](./client.md#interface-validrelinquishoutputargs)
|
|
6465
6478
|
|
|
6466
6479
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6467
6480
|
|
|
@@ -6481,7 +6494,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6481
6494
|
export function validateScriptHash(output: string, outputFormat?: sdk.GetUtxoStatusOutputFormat): string
|
|
6482
6495
|
```
|
|
6483
6496
|
|
|
6484
|
-
See also: [GetUtxoStatusOutputFormat](#type-getutxostatusoutputformat)
|
|
6497
|
+
See also: [GetUtxoStatusOutputFormat](./client.md#type-getutxostatusoutputformat)
|
|
6485
6498
|
|
|
6486
6499
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6487
6500
|
|
|
@@ -6501,7 +6514,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6501
6514
|
export function validateSignActionArgs(args: SignActionArgs): ValidSignActionArgs
|
|
6502
6515
|
```
|
|
6503
6516
|
|
|
6504
|
-
See also: [ValidSignActionArgs](#interface-validsignactionargs)
|
|
6517
|
+
See also: [ValidSignActionArgs](./client.md#interface-validsignactionargs)
|
|
6505
6518
|
|
|
6506
6519
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6507
6520
|
|
|
@@ -6517,7 +6530,7 @@ Convert string outpoints to `{ txid: string, vout: number }`
|
|
|
6517
6530
|
export function validateSignActionOptions(options?: SignActionOptions): ValidSignActionOptions
|
|
6518
6531
|
```
|
|
6519
6532
|
|
|
6520
|
-
See also: [ValidSignActionOptions](#interface-validsignactionoptions)
|
|
6533
|
+
See also: [ValidSignActionOptions](./client.md#interface-validsignactionoptions)
|
|
6521
6534
|
|
|
6522
6535
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6523
6536
|
|
|
@@ -6528,7 +6541,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6528
6541
|
export function validateStorageFeeModel(v?: sdk.StorageFeeModel): sdk.StorageFeeModel
|
|
6529
6542
|
```
|
|
6530
6543
|
|
|
6531
|
-
See also: [StorageFeeModel](#interface-storagefeemodel)
|
|
6544
|
+
See also: [StorageFeeModel](./client.md#interface-storagefeemodel)
|
|
6532
6545
|
|
|
6533
6546
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6534
6547
|
|
|
@@ -6548,7 +6561,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6548
6561
|
export function validateWalletPayment(args?: WalletPayment): ValidWalletPayment | undefined
|
|
6549
6562
|
```
|
|
6550
6563
|
|
|
6551
|
-
See also: [ValidWalletPayment](#interface-validwalletpayment)
|
|
6564
|
+
See also: [ValidWalletPayment](./client.md#interface-validwalletpayment)
|
|
6552
6565
|
|
|
6553
6566
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6554
6567
|
|
|
@@ -6565,7 +6578,7 @@ export function varUintSize(val: number): 1 | 3 | 5 | 9 {
|
|
|
6565
6578
|
}
|
|
6566
6579
|
```
|
|
6567
6580
|
|
|
6568
|
-
See also: [WERR_INVALID_PARAMETER](#class-werr_invalid_parameter)
|
|
6581
|
+
See also: [WERR_INVALID_PARAMETER](./client.md#class-werr_invalid_parameter)
|
|
6569
6582
|
|
|
6570
6583
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6571
6584
|
|
|
@@ -6741,7 +6754,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6741
6754
|
export type GetMerklePathService = (txid: string, chain: sdk.Chain, services: WalletServices) => Promise<GetMerklePathResult>
|
|
6742
6755
|
```
|
|
6743
6756
|
|
|
6744
|
-
See also: [Chain](#type-chain), [GetMerklePathResult](#interface-getmerklepathresult), [WalletServices](#interface-walletservices)
|
|
6757
|
+
See also: [Chain](./client.md#type-chain), [GetMerklePathResult](./client.md#interface-getmerklepathresult), [WalletServices](./client.md#interface-walletservices)
|
|
6745
6758
|
|
|
6746
6759
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6747
6760
|
|
|
@@ -6752,7 +6765,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6752
6765
|
export type GetRawTxService = (txid: string, chain: sdk.Chain) => Promise<GetRawTxResult>
|
|
6753
6766
|
```
|
|
6754
6767
|
|
|
6755
|
-
See also: [Chain](#type-chain), [GetRawTxResult](#interface-getrawtxresult)
|
|
6768
|
+
See also: [Chain](./client.md#type-chain), [GetRawTxResult](./client.md#interface-getrawtxresult)
|
|
6756
6769
|
|
|
6757
6770
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6758
6771
|
|
|
@@ -6772,7 +6785,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6772
6785
|
export type GetUtxoStatusService = (output: string, chain: sdk.Chain, outputFormat?: GetUtxoStatusOutputFormat) => Promise<GetUtxoStatusResult>
|
|
6773
6786
|
```
|
|
6774
6787
|
|
|
6775
|
-
See also: [Chain](#type-chain), [GetUtxoStatusOutputFormat](#type-getutxostatusoutputformat), [GetUtxoStatusResult](#interface-getutxostatusresult)
|
|
6788
|
+
See also: [Chain](./client.md#type-chain), [GetUtxoStatusOutputFormat](./client.md#type-getutxostatusoutputformat), [GetUtxoStatusResult](./client.md#interface-getutxostatusresult)
|
|
6776
6789
|
|
|
6777
6790
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6778
6791
|
|
|
@@ -6796,7 +6809,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6796
6809
|
export type MonitorStorage = WalletStorageManager
|
|
6797
6810
|
```
|
|
6798
6811
|
|
|
6799
|
-
See also: [WalletStorageManager](#class-walletstoragemanager)
|
|
6812
|
+
See also: [WalletStorageManager](./storage.md#class-walletstoragemanager)
|
|
6800
6813
|
|
|
6801
6814
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6802
6815
|
|
|
@@ -6807,7 +6820,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6807
6820
|
export type PostBeefService = (beef: Beef, txids: string[], services: WalletServices) => Promise<PostBeefResult>
|
|
6808
6821
|
```
|
|
6809
6822
|
|
|
6810
|
-
See also: [PostBeefResult](#interface-postbeefresult), [WalletServices](#interface-walletservices)
|
|
6823
|
+
See also: [PostBeefResult](./client.md#interface-postbeefresult), [WalletServices](./client.md#interface-walletservices)
|
|
6811
6824
|
|
|
6812
6825
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6813
6826
|
|
|
@@ -6827,7 +6840,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6827
6840
|
export type PostTxsService = (beef: Beef, txids: string[], services: WalletServices) => Promise<PostTxsResult>
|
|
6828
6841
|
```
|
|
6829
6842
|
|
|
6830
|
-
See also: [PostTxsResult](#interface-posttxsresult), [WalletServices](#interface-walletservices)
|
|
6843
|
+
See also: [PostTxsResult](./client.md#interface-posttxsresult), [WalletServices](./client.md#interface-walletservices)
|
|
6831
6844
|
|
|
6832
6845
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6833
6846
|
|
|
@@ -6923,7 +6936,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
6923
6936
|
export type UpdateFiatExchangeRateService = (targetCurrencies: string[], options: WalletServicesOptions) => Promise<FiatExchangeRates>
|
|
6924
6937
|
```
|
|
6925
6938
|
|
|
6926
|
-
See also: [FiatExchangeRates](#interface-fiatexchangerates), [WalletServicesOptions](#interface-walletservicesoptions)
|
|
6939
|
+
See also: [FiatExchangeRates](./client.md#interface-fiatexchangerates), [WalletServicesOptions](./client.md#interface-walletservicesoptions)
|
|
6927
6940
|
|
|
6928
6941
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6929
6942
|
|
|
@@ -6956,7 +6969,7 @@ ProvenTxReqNonTerminalStatus: ProvenTxReqStatus[] = [
|
|
|
6956
6969
|
]
|
|
6957
6970
|
```
|
|
6958
6971
|
|
|
6959
|
-
See also: [ProvenTxReqStatus](#type-proventxreqstatus)
|
|
6972
|
+
See also: [ProvenTxReqStatus](./client.md#type-proventxreqstatus)
|
|
6960
6973
|
|
|
6961
6974
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6962
6975
|
|
|
@@ -6971,7 +6984,7 @@ ProvenTxReqTerminalStatus: ProvenTxReqStatus[] = [
|
|
|
6971
6984
|
]
|
|
6972
6985
|
```
|
|
6973
6986
|
|
|
6974
|
-
See also: [ProvenTxReqStatus](#type-proventxreqstatus)
|
|
6987
|
+
See also: [ProvenTxReqStatus](./client.md#type-proventxreqstatus)
|
|
6975
6988
|
|
|
6976
6989
|
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
6977
6990
|
|