@bsv/sdk 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/package.json +1 -1
- package/dist/cjs/src/script/templates/PushDrop.js +2 -2
- package/dist/cjs/src/script/templates/PushDrop.js.map +1 -1
- package/dist/cjs/src/transaction/Transaction.js +1 -5
- package/dist/cjs/src/transaction/Transaction.js.map +1 -1
- package/dist/cjs/src/wallet/CachedKeyDeriver.js +4 -4
- package/dist/cjs/src/wallet/CachedKeyDeriver.js.map +1 -1
- package/dist/cjs/src/wallet/KeyDeriver.js +5 -5
- package/dist/cjs/src/wallet/KeyDeriver.js.map +1 -1
- package/dist/cjs/src/wallet/ProtoWallet.js.map +1 -1
- package/dist/cjs/src/wallet/Wallet.interfaces.js +14 -0
- package/dist/cjs/src/wallet/Wallet.interfaces.js.map +1 -1
- package/dist/cjs/src/wallet/WalletClient.js.map +1 -1
- package/dist/cjs/src/wallet/substrates/WalletWireProcessor.js.map +1 -1
- package/dist/cjs/src/wallet/substrates/WalletWireTransceiver.js.map +1 -1
- package/dist/cjs/src/wallet/substrates/XDM.js.map +1 -1
- package/dist/cjs/src/wallet/substrates/window.CWI.js.map +1 -1
- package/dist/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/esm/src/script/templates/PushDrop.js +2 -2
- package/dist/esm/src/script/templates/PushDrop.js.map +1 -1
- package/dist/esm/src/transaction/Transaction.js +1 -5
- package/dist/esm/src/transaction/Transaction.js.map +1 -1
- package/dist/esm/src/wallet/CachedKeyDeriver.js +4 -4
- package/dist/esm/src/wallet/CachedKeyDeriver.js.map +1 -1
- package/dist/esm/src/wallet/KeyDeriver.js +5 -5
- package/dist/esm/src/wallet/KeyDeriver.js.map +1 -1
- package/dist/esm/src/wallet/ProtoWallet.js.map +1 -1
- package/dist/esm/src/wallet/Wallet.interfaces.js +13 -1
- package/dist/esm/src/wallet/Wallet.interfaces.js.map +1 -1
- package/dist/esm/src/wallet/WalletClient.js.map +1 -1
- package/dist/esm/src/wallet/substrates/WalletWireProcessor.js.map +1 -1
- package/dist/esm/src/wallet/substrates/WalletWireTransceiver.js.map +1 -1
- package/dist/esm/src/wallet/substrates/XDM.js.map +1 -1
- package/dist/esm/src/wallet/substrates/window.CWI.js.map +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/types/src/script/templates/PushDrop.d.ts +5 -4
- package/dist/types/src/script/templates/PushDrop.d.ts.map +1 -1
- package/dist/types/src/transaction/Transaction.d.ts +0 -1
- package/dist/types/src/transaction/Transaction.d.ts.map +1 -1
- package/dist/types/src/wallet/CachedKeyDeriver.d.ts +9 -8
- package/dist/types/src/wallet/CachedKeyDeriver.d.ts.map +1 -1
- package/dist/types/src/wallet/KeyDeriver.d.ts +10 -9
- package/dist/types/src/wallet/KeyDeriver.d.ts.map +1 -1
- package/dist/types/src/wallet/ProtoWallet.d.ts +10 -10
- package/dist/types/src/wallet/ProtoWallet.d.ts.map +1 -1
- package/dist/types/src/wallet/Wallet.interfaces.d.ts +31 -2
- package/dist/types/src/wallet/Wallet.interfaces.d.ts.map +1 -1
- package/dist/types/src/wallet/WalletClient.d.ts +10 -10
- package/dist/types/src/wallet/WalletClient.d.ts.map +1 -1
- package/dist/types/src/wallet/substrates/WalletWireProcessor.d.ts.map +1 -1
- package/dist/types/src/wallet/substrates/WalletWireTransceiver.d.ts +10 -10
- package/dist/types/src/wallet/substrates/WalletWireTransceiver.d.ts.map +1 -1
- package/dist/types/src/wallet/substrates/XDM.d.ts +10 -10
- package/dist/types/src/wallet/substrates/XDM.d.ts.map +1 -1
- package/dist/types/src/wallet/substrates/window.CWI.d.ts +10 -10
- package/dist/types/src/wallet/substrates/window.CWI.d.ts.map +1 -1
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/dist/umd/bundle.js +1 -1
- package/docs/overlay-tools.md +21 -19
- package/docs/script.md +21 -19
- package/docs/transaction.md +4 -6
- package/docs/wallet.md +231 -197
- package/package.json +1 -1
- package/src/script/templates/PushDrop.ts +5 -4
- package/src/transaction/Transaction.ts +1 -5
- package/src/wallet/CachedKeyDeriver.ts +9 -8
- package/src/wallet/KeyDeriver.ts +11 -10
- package/src/wallet/ProtoWallet.ts +10 -9
- package/src/wallet/Wallet.interfaces.ts +33 -2
- package/src/wallet/WalletClient.ts +9 -9
- package/src/wallet/substrates/WalletWireProcessor.ts +3 -2
- package/src/wallet/substrates/WalletWireTransceiver.ts +11 -11
- package/src/wallet/substrates/XDM.ts +9 -9
- package/src/wallet/substrates/window.CWI.ts +9 -9
package/docs/wallet.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# API
|
|
2
2
|
|
|
3
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
4
4
|
|
|
5
5
|
## Interfaces
|
|
6
6
|
|
|
@@ -26,7 +26,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
26
26
|
| [IdentityCertifier](#interface-identitycertifier) | [SendWithResult](#interface-sendwithresult) | [WalletWire](#interface-walletwire) |
|
|
27
27
|
| [InternalizeActionArgs](#interface-internalizeactionargs) | [SignActionArgs](#interface-signactionargs) | |
|
|
28
28
|
|
|
29
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
29
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
30
30
|
|
|
31
31
|
---
|
|
32
32
|
|
|
@@ -40,7 +40,7 @@ export interface AbortActionArgs {
|
|
|
40
40
|
|
|
41
41
|
See also: [Base64String](#type-base64string)
|
|
42
42
|
|
|
43
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
43
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
44
44
|
|
|
45
45
|
---
|
|
46
46
|
### Interface: AbortActionResult
|
|
@@ -51,7 +51,7 @@ export interface AbortActionResult {
|
|
|
51
51
|
}
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
54
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
55
55
|
|
|
56
56
|
---
|
|
57
57
|
### Interface: AcquireCertificateArgs
|
|
@@ -75,7 +75,7 @@ export interface AcquireCertificateArgs {
|
|
|
75
75
|
|
|
76
76
|
See also: [AcquisitionProtocol](#type-acquisitionprotocol), [Base64String](#type-base64string), [BooleanDefaultFalse](#type-booleandefaultfalse), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [HexString](#type-hexstring), [KeyringRevealer](#type-keyringrevealer), [OutpointString](#type-outpointstring), [PubKeyHex](#type-pubkeyhex)
|
|
77
77
|
|
|
78
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
78
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
79
79
|
|
|
80
80
|
---
|
|
81
81
|
### Interface: AcquireCertificateResult
|
|
@@ -87,7 +87,7 @@ export interface AcquireCertificateResult extends WalletCertificate {
|
|
|
87
87
|
|
|
88
88
|
See also: [WalletCertificate](#interface-walletcertificate)
|
|
89
89
|
|
|
90
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
90
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
91
91
|
|
|
92
92
|
---
|
|
93
93
|
### Interface: BasketInsertion
|
|
@@ -102,7 +102,7 @@ export interface BasketInsertion {
|
|
|
102
102
|
|
|
103
103
|
See also: [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes)
|
|
104
104
|
|
|
105
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
105
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
106
106
|
|
|
107
107
|
---
|
|
108
108
|
### Interface: CreateActionArgs
|
|
@@ -122,7 +122,7 @@ export interface CreateActionArgs {
|
|
|
122
122
|
|
|
123
123
|
See also: [BEEF](#type-beef), [CreateActionInput](#interface-createactioninput), [CreateActionOptions](#interface-createactionoptions), [CreateActionOutput](#interface-createactionoutput), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [LabelStringUnder300Bytes](#type-labelstringunder300bytes), [PositiveIntegerOrZero](#type-positiveintegerorzero)
|
|
124
124
|
|
|
125
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
125
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
126
126
|
|
|
127
127
|
---
|
|
128
128
|
### Interface: CreateActionInput
|
|
@@ -139,7 +139,7 @@ export interface CreateActionInput {
|
|
|
139
139
|
|
|
140
140
|
See also: [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [HexString](#type-hexstring), [OutpointString](#type-outpointstring), [PositiveInteger](#type-positiveinteger), [PositiveIntegerOrZero](#type-positiveintegerorzero)
|
|
141
141
|
|
|
142
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
142
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
143
143
|
|
|
144
144
|
---
|
|
145
145
|
### Interface: CreateActionOptions
|
|
@@ -160,7 +160,7 @@ export interface CreateActionOptions {
|
|
|
160
160
|
|
|
161
161
|
See also: [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [OutpointString](#type-outpointstring), [TXIDHexString](#type-txidhexstring), [TrustSelf](#type-trustself)
|
|
162
162
|
|
|
163
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
163
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
164
164
|
|
|
165
165
|
---
|
|
166
166
|
### Interface: CreateActionOutput
|
|
@@ -178,7 +178,7 @@ export interface CreateActionOutput {
|
|
|
178
178
|
|
|
179
179
|
See also: [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [HexString](#type-hexstring), [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes), [SatoshiValue](#type-satoshivalue)
|
|
180
180
|
|
|
181
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
181
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
182
182
|
|
|
183
183
|
---
|
|
184
184
|
### Interface: CreateActionResult
|
|
@@ -195,7 +195,7 @@ export interface CreateActionResult {
|
|
|
195
195
|
|
|
196
196
|
See also: [AtomicBEEF](#type-atomicbeef), [OutpointString](#type-outpointstring), [SendWithResult](#interface-sendwithresult), [SignableTransaction](#interface-signabletransaction), [TXIDHexString](#type-txidhexstring)
|
|
197
197
|
|
|
198
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
198
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
199
199
|
|
|
200
200
|
---
|
|
201
201
|
### Interface: CreateHmacArgs
|
|
@@ -208,7 +208,7 @@ export interface CreateHmacArgs extends WalletEncryptionArgs {
|
|
|
208
208
|
|
|
209
209
|
See also: [Byte](#type-byte), [WalletEncryptionArgs](#interface-walletencryptionargs)
|
|
210
210
|
|
|
211
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
211
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
212
212
|
|
|
213
213
|
---
|
|
214
214
|
### Interface: CreateSignatureArgs
|
|
@@ -222,7 +222,7 @@ export interface CreateSignatureArgs extends WalletEncryptionArgs {
|
|
|
222
222
|
|
|
223
223
|
See also: [Byte](#type-byte), [WalletEncryptionArgs](#interface-walletencryptionargs)
|
|
224
224
|
|
|
225
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
225
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
226
226
|
|
|
227
227
|
---
|
|
228
228
|
### Interface: DiscoverByAttributesArgs
|
|
@@ -238,7 +238,7 @@ export interface DiscoverByAttributesArgs {
|
|
|
238
238
|
|
|
239
239
|
See also: [BooleanDefaultTrue](#type-booleandefaulttrue), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerOrZero](#type-positiveintegerorzero)
|
|
240
240
|
|
|
241
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
241
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
242
242
|
|
|
243
243
|
---
|
|
244
244
|
### Interface: DiscoverByIdentityKeyArgs
|
|
@@ -254,7 +254,7 @@ export interface DiscoverByIdentityKeyArgs {
|
|
|
254
254
|
|
|
255
255
|
See also: [BooleanDefaultTrue](#type-booleandefaulttrue), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerOrZero](#type-positiveintegerorzero), [PubKeyHex](#type-pubkeyhex)
|
|
256
256
|
|
|
257
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
257
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
258
258
|
|
|
259
259
|
---
|
|
260
260
|
### Interface: DiscoverCertificatesResult
|
|
@@ -268,7 +268,7 @@ export interface DiscoverCertificatesResult {
|
|
|
268
268
|
|
|
269
269
|
See also: [IdentityCertificate](#interface-identitycertificate), [PositiveIntegerOrZero](#type-positiveintegerorzero)
|
|
270
270
|
|
|
271
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
271
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
272
272
|
|
|
273
273
|
---
|
|
274
274
|
### Interface: GetPublicKeyArgs
|
|
@@ -286,7 +286,7 @@ export interface GetPublicKeyArgs extends Partial<WalletEncryptionArgs> {
|
|
|
286
286
|
|
|
287
287
|
See also: [BooleanDefaultFalse](#type-booleandefaultfalse), [WalletEncryptionArgs](#interface-walletencryptionargs)
|
|
288
288
|
|
|
289
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
289
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
290
290
|
|
|
291
291
|
---
|
|
292
292
|
### Interface: IdentityCertificate
|
|
@@ -301,7 +301,7 @@ export interface IdentityCertificate extends WalletCertificate {
|
|
|
301
301
|
|
|
302
302
|
See also: [Base64String](#type-base64string), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [IdentityCertifier](#interface-identitycertifier), [WalletCertificate](#interface-walletcertificate)
|
|
303
303
|
|
|
304
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
304
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
305
305
|
|
|
306
306
|
---
|
|
307
307
|
### Interface: IdentityCertifier
|
|
@@ -317,7 +317,7 @@ export interface IdentityCertifier {
|
|
|
317
317
|
|
|
318
318
|
See also: [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [EntityIconURLStringMax500Bytes](#type-entityiconurlstringmax500bytes), [EntityNameStringMax100Bytes](#type-entitynamestringmax100bytes), [PositiveIntegerMax10](#type-positiveintegermax10)
|
|
319
319
|
|
|
320
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
320
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
321
321
|
|
|
322
322
|
---
|
|
323
323
|
### Interface: InternalizeActionArgs
|
|
@@ -334,7 +334,7 @@ export interface InternalizeActionArgs {
|
|
|
334
334
|
|
|
335
335
|
See also: [AtomicBEEF](#type-atomicbeef), [BooleanDefaultTrue](#type-booleandefaulttrue), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [InternalizeOutput](#interface-internalizeoutput), [LabelStringUnder300Bytes](#type-labelstringunder300bytes)
|
|
336
336
|
|
|
337
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
337
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
338
338
|
|
|
339
339
|
---
|
|
340
340
|
### Interface: InternalizeActionResult
|
|
@@ -345,7 +345,7 @@ export interface InternalizeActionResult {
|
|
|
345
345
|
}
|
|
346
346
|
```
|
|
347
347
|
|
|
348
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
348
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
349
349
|
|
|
350
350
|
---
|
|
351
351
|
### Interface: InternalizeOutput
|
|
@@ -361,14 +361,17 @@ export interface InternalizeOutput {
|
|
|
361
361
|
|
|
362
362
|
See also: [BasketInsertion](#interface-basketinsertion), [PositiveIntegerOrZero](#type-positiveintegerorzero), [WalletPayment](#interface-walletpayment)
|
|
363
363
|
|
|
364
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
364
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
365
365
|
|
|
366
366
|
---
|
|
367
367
|
### Interface: KeyLinkageArgs
|
|
368
368
|
|
|
369
369
|
```ts
|
|
370
370
|
export interface KeyLinkageArgs {
|
|
371
|
-
protocolID:
|
|
371
|
+
protocolID: [
|
|
372
|
+
SecurityLevel,
|
|
373
|
+
ProtocolString5To400Bytes
|
|
374
|
+
];
|
|
372
375
|
keyID: KeyIDStringUnder800Bytes;
|
|
373
376
|
counterparty?: WalletCounterparty;
|
|
374
377
|
privileged?: BooleanDefaultFalse;
|
|
@@ -376,9 +379,9 @@ export interface KeyLinkageArgs {
|
|
|
376
379
|
}
|
|
377
380
|
```
|
|
378
381
|
|
|
379
|
-
See also: [BooleanDefaultFalse](#type-booleandefaultfalse), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [
|
|
382
|
+
See also: [BooleanDefaultFalse](#type-booleandefaultfalse), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [SecurityLevel](#type-securitylevel), [WalletCounterparty](#type-walletcounterparty)
|
|
380
383
|
|
|
381
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
384
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
382
385
|
|
|
383
386
|
---
|
|
384
387
|
### Interface: KeyLinkageResult
|
|
@@ -395,7 +398,7 @@ export interface KeyLinkageResult {
|
|
|
395
398
|
|
|
396
399
|
See also: [Byte](#type-byte), [PubKeyHex](#type-pubkeyhex)
|
|
397
400
|
|
|
398
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
401
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
399
402
|
|
|
400
403
|
---
|
|
401
404
|
### Interface: ListActionsArgs
|
|
@@ -418,7 +421,7 @@ export interface ListActionsArgs {
|
|
|
418
421
|
|
|
419
422
|
See also: [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [LabelStringUnder300Bytes](#type-labelstringunder300bytes), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerOrZero](#type-positiveintegerorzero)
|
|
420
423
|
|
|
421
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
424
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
422
425
|
|
|
423
426
|
---
|
|
424
427
|
### Interface: ListActionsResult
|
|
@@ -432,7 +435,7 @@ export interface ListActionsResult {
|
|
|
432
435
|
|
|
433
436
|
See also: [PositiveIntegerOrZero](#type-positiveintegerorzero), [WalletAction](#interface-walletaction)
|
|
434
437
|
|
|
435
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
438
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
436
439
|
|
|
437
440
|
---
|
|
438
441
|
### Interface: ListCertificatesArgs
|
|
@@ -450,7 +453,7 @@ export interface ListCertificatesArgs {
|
|
|
450
453
|
|
|
451
454
|
See also: [Base64String](#type-base64string), [BooleanDefaultFalse](#type-booleandefaultfalse), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerOrZero](#type-positiveintegerorzero), [PubKeyHex](#type-pubkeyhex)
|
|
452
455
|
|
|
453
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
456
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
454
457
|
|
|
455
458
|
---
|
|
456
459
|
### Interface: ListCertificatesResult
|
|
@@ -464,7 +467,7 @@ export interface ListCertificatesResult {
|
|
|
464
467
|
|
|
465
468
|
See also: [PositiveIntegerOrZero](#type-positiveintegerorzero), [WalletCertificate](#interface-walletcertificate)
|
|
466
469
|
|
|
467
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
470
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
468
471
|
|
|
469
472
|
---
|
|
470
473
|
### Interface: ListOutputsArgs
|
|
@@ -486,7 +489,7 @@ export interface ListOutputsArgs {
|
|
|
486
489
|
|
|
487
490
|
See also: [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerOrZero](#type-positiveintegerorzero)
|
|
488
491
|
|
|
489
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
492
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
490
493
|
|
|
491
494
|
---
|
|
492
495
|
### Interface: ListOutputsResult
|
|
@@ -501,7 +504,7 @@ export interface ListOutputsResult {
|
|
|
501
504
|
|
|
502
505
|
See also: [BEEF](#type-beef), [PositiveIntegerOrZero](#type-positiveintegerorzero), [WalletOutput](#interface-walletoutput)
|
|
503
506
|
|
|
504
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
507
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
505
508
|
|
|
506
509
|
---
|
|
507
510
|
### Interface: ProveCertificateArgs
|
|
@@ -518,7 +521,7 @@ export interface ProveCertificateArgs {
|
|
|
518
521
|
|
|
519
522
|
See also: [BooleanDefaultFalse](#type-booleandefaultfalse), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [PubKeyHex](#type-pubkeyhex), [WalletCertificate](#interface-walletcertificate)
|
|
520
523
|
|
|
521
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
524
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
522
525
|
|
|
523
526
|
---
|
|
524
527
|
### Interface: ProveCertificateResult
|
|
@@ -531,7 +534,7 @@ export interface ProveCertificateResult {
|
|
|
531
534
|
|
|
532
535
|
See also: [Base64String](#type-base64string), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes)
|
|
533
536
|
|
|
534
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
537
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
535
538
|
|
|
536
539
|
---
|
|
537
540
|
### Interface: RelinquishCertificateArgs
|
|
@@ -546,7 +549,7 @@ export interface RelinquishCertificateArgs {
|
|
|
546
549
|
|
|
547
550
|
See also: [Base64String](#type-base64string), [PubKeyHex](#type-pubkeyhex)
|
|
548
551
|
|
|
549
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
552
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
550
553
|
|
|
551
554
|
---
|
|
552
555
|
### Interface: RevealCounterpartyKeyLinkageArgs
|
|
@@ -562,7 +565,7 @@ export interface RevealCounterpartyKeyLinkageArgs {
|
|
|
562
565
|
|
|
563
566
|
See also: [BooleanDefaultFalse](#type-booleandefaultfalse), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [PubKeyHex](#type-pubkeyhex)
|
|
564
567
|
|
|
565
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
568
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
566
569
|
|
|
567
570
|
---
|
|
568
571
|
### Interface: RevealCounterpartyKeyLinkageResult
|
|
@@ -575,7 +578,7 @@ export interface RevealCounterpartyKeyLinkageResult extends KeyLinkageResult {
|
|
|
575
578
|
|
|
576
579
|
See also: [ISOTimestampString](#type-isotimestampstring), [KeyLinkageResult](#interface-keylinkageresult)
|
|
577
580
|
|
|
578
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
581
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
579
582
|
|
|
580
583
|
---
|
|
581
584
|
### Interface: RevealSpecificKeyLinkageArgs
|
|
@@ -583,12 +586,13 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
583
586
|
```ts
|
|
584
587
|
export interface RevealSpecificKeyLinkageArgs extends KeyLinkageArgs {
|
|
585
588
|
verifier: PubKeyHex;
|
|
589
|
+
counterparty: WalletCounterparty;
|
|
586
590
|
}
|
|
587
591
|
```
|
|
588
592
|
|
|
589
|
-
See also: [KeyLinkageArgs](#interface-keylinkageargs), [PubKeyHex](#type-pubkeyhex)
|
|
593
|
+
See also: [KeyLinkageArgs](#interface-keylinkageargs), [PubKeyHex](#type-pubkeyhex), [WalletCounterparty](#type-walletcounterparty)
|
|
590
594
|
|
|
591
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
595
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
592
596
|
|
|
593
597
|
---
|
|
594
598
|
### Interface: RevealSpecificKeyLinkageResult
|
|
@@ -603,7 +607,7 @@ export interface RevealSpecificKeyLinkageResult extends KeyLinkageResult {
|
|
|
603
607
|
|
|
604
608
|
See also: [Byte](#type-byte), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [KeyLinkageResult](#interface-keylinkageresult), [WalletProtocol](#type-walletprotocol)
|
|
605
609
|
|
|
606
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
610
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
607
611
|
|
|
608
612
|
---
|
|
609
613
|
### Interface: SendWithResult
|
|
@@ -617,7 +621,7 @@ export interface SendWithResult {
|
|
|
617
621
|
|
|
618
622
|
See also: [TXIDHexString](#type-txidhexstring)
|
|
619
623
|
|
|
620
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
624
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
621
625
|
|
|
622
626
|
---
|
|
623
627
|
### Interface: SignActionArgs
|
|
@@ -632,7 +636,7 @@ export interface SignActionArgs {
|
|
|
632
636
|
|
|
633
637
|
See also: [Base64String](#type-base64string), [PositiveIntegerOrZero](#type-positiveintegerorzero), [SignActionOptions](#interface-signactionoptions), [SignActionSpend](#interface-signactionspend)
|
|
634
638
|
|
|
635
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
639
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
636
640
|
|
|
637
641
|
---
|
|
638
642
|
### Interface: SignActionOptions
|
|
@@ -648,7 +652,7 @@ export interface SignActionOptions {
|
|
|
648
652
|
|
|
649
653
|
See also: [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [TXIDHexString](#type-txidhexstring)
|
|
650
654
|
|
|
651
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
655
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
652
656
|
|
|
653
657
|
---
|
|
654
658
|
### Interface: SignActionResult
|
|
@@ -663,7 +667,7 @@ export interface SignActionResult {
|
|
|
663
667
|
|
|
664
668
|
See also: [AtomicBEEF](#type-atomicbeef), [SendWithResult](#interface-sendwithresult), [TXIDHexString](#type-txidhexstring)
|
|
665
669
|
|
|
666
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
670
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
667
671
|
|
|
668
672
|
---
|
|
669
673
|
### Interface: SignActionSpend
|
|
@@ -677,7 +681,7 @@ export interface SignActionSpend {
|
|
|
677
681
|
|
|
678
682
|
See also: [HexString](#type-hexstring), [PositiveIntegerOrZero](#type-positiveintegerorzero)
|
|
679
683
|
|
|
680
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
684
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
681
685
|
|
|
682
686
|
---
|
|
683
687
|
### Interface: SignableTransaction
|
|
@@ -691,7 +695,7 @@ export interface SignableTransaction {
|
|
|
691
695
|
|
|
692
696
|
See also: [AtomicBEEF](#type-atomicbeef), [Base64String](#type-base64string)
|
|
693
697
|
|
|
694
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
698
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
695
699
|
|
|
696
700
|
---
|
|
697
701
|
### Interface: VerifyHmacArgs
|
|
@@ -705,7 +709,7 @@ export interface VerifyHmacArgs extends WalletEncryptionArgs {
|
|
|
705
709
|
|
|
706
710
|
See also: [Byte](#type-byte), [WalletEncryptionArgs](#interface-walletencryptionargs)
|
|
707
711
|
|
|
708
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
712
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
709
713
|
|
|
710
714
|
---
|
|
711
715
|
### Interface: VerifySignatureArgs
|
|
@@ -721,7 +725,7 @@ export interface VerifySignatureArgs extends WalletEncryptionArgs {
|
|
|
721
725
|
|
|
722
726
|
See also: [BooleanDefaultFalse](#type-booleandefaultfalse), [Byte](#type-byte), [WalletEncryptionArgs](#interface-walletencryptionargs)
|
|
723
727
|
|
|
724
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
728
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
725
729
|
|
|
726
730
|
---
|
|
727
731
|
### Interface: Wallet
|
|
@@ -1101,7 +1105,7 @@ See also: [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamest
|
|
|
1101
1105
|
|
|
1102
1106
|
</details>
|
|
1103
1107
|
|
|
1104
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1108
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1105
1109
|
|
|
1106
1110
|
---
|
|
1107
1111
|
### Interface: WalletAction
|
|
@@ -1123,7 +1127,7 @@ export interface WalletAction {
|
|
|
1123
1127
|
|
|
1124
1128
|
See also: [ActionStatus](#type-actionstatus), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [LabelStringUnder300Bytes](#type-labelstringunder300bytes), [PositiveIntegerOrZero](#type-positiveintegerorzero), [SatoshiValue](#type-satoshivalue), [TXIDHexString](#type-txidhexstring), [WalletActionInput](#interface-walletactioninput), [WalletActionOutput](#interface-walletactionoutput)
|
|
1125
1129
|
|
|
1126
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1130
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1127
1131
|
|
|
1128
1132
|
---
|
|
1129
1133
|
### Interface: WalletActionInput
|
|
@@ -1141,7 +1145,7 @@ export interface WalletActionInput {
|
|
|
1141
1145
|
|
|
1142
1146
|
See also: [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [HexString](#type-hexstring), [OutpointString](#type-outpointstring), [PositiveIntegerOrZero](#type-positiveintegerorzero), [SatoshiValue](#type-satoshivalue)
|
|
1143
1147
|
|
|
1144
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1148
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1145
1149
|
|
|
1146
1150
|
---
|
|
1147
1151
|
### Interface: WalletActionOutput
|
|
@@ -1161,7 +1165,7 @@ export interface WalletActionOutput {
|
|
|
1161
1165
|
|
|
1162
1166
|
See also: [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [HexString](#type-hexstring), [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes), [PositiveIntegerOrZero](#type-positiveintegerorzero), [SatoshiValue](#type-satoshivalue)
|
|
1163
1167
|
|
|
1164
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1168
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1165
1169
|
|
|
1166
1170
|
---
|
|
1167
1171
|
### Interface: WalletCertificate
|
|
@@ -1180,7 +1184,7 @@ export interface WalletCertificate {
|
|
|
1180
1184
|
|
|
1181
1185
|
See also: [Base64String](#type-base64string), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [HexString](#type-hexstring), [OutpointString](#type-outpointstring), [PubKeyHex](#type-pubkeyhex)
|
|
1182
1186
|
|
|
1183
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1187
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1184
1188
|
|
|
1185
1189
|
---
|
|
1186
1190
|
### Interface: WalletDecryptArgs
|
|
@@ -1193,7 +1197,7 @@ export interface WalletDecryptArgs extends WalletEncryptionArgs {
|
|
|
1193
1197
|
|
|
1194
1198
|
See also: [Byte](#type-byte), [WalletEncryptionArgs](#interface-walletencryptionargs)
|
|
1195
1199
|
|
|
1196
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1200
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1197
1201
|
|
|
1198
1202
|
---
|
|
1199
1203
|
### Interface: WalletEncryptArgs
|
|
@@ -1206,7 +1210,7 @@ export interface WalletEncryptArgs extends WalletEncryptionArgs {
|
|
|
1206
1210
|
|
|
1207
1211
|
See also: [Byte](#type-byte), [WalletEncryptionArgs](#interface-walletencryptionargs)
|
|
1208
1212
|
|
|
1209
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1213
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1210
1214
|
|
|
1211
1215
|
---
|
|
1212
1216
|
### Interface: WalletEncryptionArgs
|
|
@@ -1219,7 +1223,7 @@ export interface WalletEncryptionArgs extends KeyLinkageArgs {
|
|
|
1219
1223
|
|
|
1220
1224
|
See also: [BooleanDefaultTrue](#type-booleandefaulttrue), [KeyLinkageArgs](#interface-keylinkageargs)
|
|
1221
1225
|
|
|
1222
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1226
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1223
1227
|
|
|
1224
1228
|
---
|
|
1225
1229
|
### Interface: WalletErrorObject
|
|
@@ -1235,7 +1239,7 @@ export interface WalletErrorObject extends Error {
|
|
|
1235
1239
|
}
|
|
1236
1240
|
```
|
|
1237
1241
|
|
|
1238
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1242
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1239
1243
|
|
|
1240
1244
|
---
|
|
1241
1245
|
### Interface: WalletOutput
|
|
@@ -1254,7 +1258,7 @@ export interface WalletOutput {
|
|
|
1254
1258
|
|
|
1255
1259
|
See also: [HexString](#type-hexstring), [LabelStringUnder300Bytes](#type-labelstringunder300bytes), [OutpointString](#type-outpointstring), [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes), [SatoshiValue](#type-satoshivalue)
|
|
1256
1260
|
|
|
1257
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1261
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1258
1262
|
|
|
1259
1263
|
---
|
|
1260
1264
|
### Interface: WalletPayment
|
|
@@ -1269,7 +1273,7 @@ export interface WalletPayment {
|
|
|
1269
1273
|
|
|
1270
1274
|
See also: [Base64String](#type-base64string), [PubKeyHex](#type-pubkeyhex)
|
|
1271
1275
|
|
|
1272
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1276
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1273
1277
|
|
|
1274
1278
|
---
|
|
1275
1279
|
### Interface: WalletWire
|
|
@@ -1282,7 +1286,7 @@ export default interface WalletWire {
|
|
|
1282
1286
|
}
|
|
1283
1287
|
```
|
|
1284
1288
|
|
|
1285
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1289
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1286
1290
|
|
|
1287
1291
|
---
|
|
1288
1292
|
## Classes
|
|
@@ -1300,7 +1304,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
1300
1304
|
| [WindowCWISubstrate](#class-windowcwisubstrate) |
|
|
1301
1305
|
| [XDMSubstrate](#class-xdmsubstrate) |
|
|
1302
1306
|
|
|
1303
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1307
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1304
1308
|
|
|
1305
1309
|
---
|
|
1306
1310
|
|
|
@@ -1316,26 +1320,26 @@ export default class CachedKeyDeriver {
|
|
|
1316
1320
|
maxCacheSize?: number;
|
|
1317
1321
|
})
|
|
1318
1322
|
derivePublicKey(protocolID: [
|
|
1319
|
-
|
|
1323
|
+
SecurityLevel,
|
|
1320
1324
|
string
|
|
1321
1325
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone", forSelf: boolean = false): PublicKey
|
|
1322
1326
|
derivePrivateKey(protocolID: [
|
|
1323
|
-
|
|
1327
|
+
SecurityLevel,
|
|
1324
1328
|
string
|
|
1325
1329
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone"): PrivateKey
|
|
1326
1330
|
deriveSymmetricKey(protocolID: [
|
|
1327
|
-
|
|
1331
|
+
SecurityLevel,
|
|
1328
1332
|
string
|
|
1329
1333
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone"): SymmetricKey
|
|
1330
1334
|
revealCounterpartySecret(counterparty: PublicKey | string | "self" | "anyone"): number[]
|
|
1331
1335
|
revealSpecificSecret(counterparty: PublicKey | string | "self" | "anyone", protocolID: [
|
|
1332
|
-
|
|
1336
|
+
SecurityLevel,
|
|
1333
1337
|
string
|
|
1334
1338
|
], keyID: string): number[]
|
|
1335
1339
|
}
|
|
1336
1340
|
```
|
|
1337
1341
|
|
|
1338
|
-
See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey), [SymmetricKey](#class-symmetrickey)
|
|
1342
|
+
See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey), [SecurityLevel](#type-securitylevel), [SymmetricKey](#class-symmetrickey)
|
|
1339
1343
|
|
|
1340
1344
|
<details>
|
|
1341
1345
|
|
|
@@ -1366,11 +1370,11 @@ Caches the result for future calls with the same parameters.
|
|
|
1366
1370
|
|
|
1367
1371
|
```ts
|
|
1368
1372
|
derivePrivateKey(protocolID: [
|
|
1369
|
-
|
|
1373
|
+
SecurityLevel,
|
|
1370
1374
|
string
|
|
1371
1375
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone"): PrivateKey
|
|
1372
1376
|
```
|
|
1373
|
-
See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
|
|
1377
|
+
See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey), [SecurityLevel](#type-securitylevel)
|
|
1374
1378
|
|
|
1375
1379
|
Returns
|
|
1376
1380
|
|
|
@@ -1392,11 +1396,11 @@ Caches the result for future calls with the same parameters.
|
|
|
1392
1396
|
|
|
1393
1397
|
```ts
|
|
1394
1398
|
derivePublicKey(protocolID: [
|
|
1395
|
-
|
|
1399
|
+
SecurityLevel,
|
|
1396
1400
|
string
|
|
1397
1401
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone", forSelf: boolean = false): PublicKey
|
|
1398
1402
|
```
|
|
1399
|
-
See also: [PublicKey](#class-publickey)
|
|
1403
|
+
See also: [PublicKey](#class-publickey), [SecurityLevel](#type-securitylevel)
|
|
1400
1404
|
|
|
1401
1405
|
Returns
|
|
1402
1406
|
|
|
@@ -1420,11 +1424,11 @@ Caches the result for future calls with the same parameters.
|
|
|
1420
1424
|
|
|
1421
1425
|
```ts
|
|
1422
1426
|
deriveSymmetricKey(protocolID: [
|
|
1423
|
-
|
|
1427
|
+
SecurityLevel,
|
|
1424
1428
|
string
|
|
1425
1429
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone"): SymmetricKey
|
|
1426
1430
|
```
|
|
1427
|
-
See also: [PublicKey](#class-publickey), [SymmetricKey](#class-symmetrickey)
|
|
1431
|
+
See also: [PublicKey](#class-publickey), [SecurityLevel](#type-securitylevel), [SymmetricKey](#class-symmetrickey)
|
|
1428
1432
|
|
|
1429
1433
|
Returns
|
|
1430
1434
|
|
|
@@ -1473,11 +1477,11 @@ Caches the result for future calls with the same parameters.
|
|
|
1473
1477
|
|
|
1474
1478
|
```ts
|
|
1475
1479
|
revealSpecificSecret(counterparty: PublicKey | string | "self" | "anyone", protocolID: [
|
|
1476
|
-
|
|
1480
|
+
SecurityLevel,
|
|
1477
1481
|
string
|
|
1478
1482
|
], keyID: string): number[]
|
|
1479
1483
|
```
|
|
1480
|
-
See also: [PublicKey](#class-publickey)
|
|
1484
|
+
See also: [PublicKey](#class-publickey), [SecurityLevel](#type-securitylevel)
|
|
1481
1485
|
|
|
1482
1486
|
Returns
|
|
1483
1487
|
|
|
@@ -1494,7 +1498,7 @@ Argument Details
|
|
|
1494
1498
|
|
|
1495
1499
|
</details>
|
|
1496
1500
|
|
|
1497
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1501
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1498
1502
|
|
|
1499
1503
|
---
|
|
1500
1504
|
### Class: HTTPWalletWire
|
|
@@ -1511,7 +1515,7 @@ export default class HTTPWalletWire implements WalletWire {
|
|
|
1511
1515
|
|
|
1512
1516
|
See also: [WalletWire](#interface-walletwire)
|
|
1513
1517
|
|
|
1514
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1518
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1515
1519
|
|
|
1516
1520
|
---
|
|
1517
1521
|
### Class: KeyDeriver
|
|
@@ -1524,26 +1528,26 @@ export default class KeyDeriver {
|
|
|
1524
1528
|
rootKey: PrivateKey;
|
|
1525
1529
|
constructor(rootKey: PrivateKey | "anyone")
|
|
1526
1530
|
derivePublicKey(protocolID: [
|
|
1527
|
-
|
|
1531
|
+
SecurityLevel,
|
|
1528
1532
|
string
|
|
1529
1533
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone", forSelf: boolean = false): PublicKey
|
|
1530
1534
|
derivePrivateKey(protocolID: [
|
|
1531
|
-
|
|
1535
|
+
SecurityLevel,
|
|
1532
1536
|
string
|
|
1533
1537
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone"): PrivateKey
|
|
1534
1538
|
deriveSymmetricKey(protocolID: [
|
|
1535
|
-
|
|
1539
|
+
SecurityLevel,
|
|
1536
1540
|
string
|
|
1537
1541
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone"): SymmetricKey
|
|
1538
1542
|
revealCounterpartySecret(counterparty: PublicKey | string | "self" | "anyone"): number[]
|
|
1539
1543
|
revealSpecificSecret(counterparty: PublicKey | string | "self" | "anyone", protocolID: [
|
|
1540
|
-
|
|
1544
|
+
SecurityLevel,
|
|
1541
1545
|
string
|
|
1542
1546
|
], keyID: string): number[]
|
|
1543
1547
|
}
|
|
1544
1548
|
```
|
|
1545
1549
|
|
|
1546
|
-
See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey), [SymmetricKey](#class-symmetrickey)
|
|
1550
|
+
See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey), [SecurityLevel](#type-securitylevel), [SymmetricKey](#class-symmetrickey)
|
|
1547
1551
|
|
|
1548
1552
|
<details>
|
|
1549
1553
|
|
|
@@ -1569,11 +1573,11 @@ Derives a private key based on protocol ID, key ID, and counterparty.
|
|
|
1569
1573
|
|
|
1570
1574
|
```ts
|
|
1571
1575
|
derivePrivateKey(protocolID: [
|
|
1572
|
-
|
|
1576
|
+
SecurityLevel,
|
|
1573
1577
|
string
|
|
1574
1578
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone"): PrivateKey
|
|
1575
1579
|
```
|
|
1576
|
-
See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
|
|
1580
|
+
See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey), [SecurityLevel](#type-securitylevel)
|
|
1577
1581
|
|
|
1578
1582
|
Returns
|
|
1579
1583
|
|
|
@@ -1594,11 +1598,11 @@ Derives a public key based on protocol ID, key ID, and counterparty.
|
|
|
1594
1598
|
|
|
1595
1599
|
```ts
|
|
1596
1600
|
derivePublicKey(protocolID: [
|
|
1597
|
-
|
|
1601
|
+
SecurityLevel,
|
|
1598
1602
|
string
|
|
1599
1603
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone", forSelf: boolean = false): PublicKey
|
|
1600
1604
|
```
|
|
1601
|
-
See also: [PublicKey](#class-publickey)
|
|
1605
|
+
See also: [PublicKey](#class-publickey), [SecurityLevel](#type-securitylevel)
|
|
1602
1606
|
|
|
1603
1607
|
Returns
|
|
1604
1608
|
|
|
@@ -1622,11 +1626,11 @@ Note: Symmetric keys should not be derivable by everyone due to security risks.
|
|
|
1622
1626
|
|
|
1623
1627
|
```ts
|
|
1624
1628
|
deriveSymmetricKey(protocolID: [
|
|
1625
|
-
|
|
1629
|
+
SecurityLevel,
|
|
1626
1630
|
string
|
|
1627
1631
|
], keyID: string, counterparty: PublicKey | string | "self" | "anyone"): SymmetricKey
|
|
1628
1632
|
```
|
|
1629
|
-
See also: [PublicKey](#class-publickey), [SymmetricKey](#class-symmetrickey)
|
|
1633
|
+
See also: [PublicKey](#class-publickey), [SecurityLevel](#type-securitylevel), [SymmetricKey](#class-symmetrickey)
|
|
1630
1634
|
|
|
1631
1635
|
Returns
|
|
1632
1636
|
|
|
@@ -1674,11 +1678,11 @@ Reveals the specific key association for a given protocol ID, key ID, and counte
|
|
|
1674
1678
|
|
|
1675
1679
|
```ts
|
|
1676
1680
|
revealSpecificSecret(counterparty: PublicKey | string | "self" | "anyone", protocolID: [
|
|
1677
|
-
|
|
1681
|
+
SecurityLevel,
|
|
1678
1682
|
string
|
|
1679
1683
|
], keyID: string): number[]
|
|
1680
1684
|
```
|
|
1681
|
-
See also: [PublicKey](#class-publickey)
|
|
1685
|
+
See also: [PublicKey](#class-publickey), [SecurityLevel](#type-securitylevel)
|
|
1682
1686
|
|
|
1683
1687
|
Returns
|
|
1684
1688
|
|
|
@@ -1695,7 +1699,7 @@ Argument Details
|
|
|
1695
1699
|
|
|
1696
1700
|
</details>
|
|
1697
1701
|
|
|
1698
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
1702
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
1699
1703
|
|
|
1700
1704
|
---
|
|
1701
1705
|
### Class: ProtoWallet
|
|
@@ -1874,7 +1878,7 @@ export default class ProtoWallet implements Wallet {
|
|
|
1874
1878
|
async getPublicKey(args: {
|
|
1875
1879
|
identityKey?: true;
|
|
1876
1880
|
protocolID?: [
|
|
1877
|
-
|
|
1881
|
+
SecurityLevel,
|
|
1878
1882
|
ProtocolString5To400Bytes
|
|
1879
1883
|
];
|
|
1880
1884
|
keyID?: KeyIDStringUnder800Bytes;
|
|
@@ -1902,7 +1906,7 @@ export default class ProtoWallet implements Wallet {
|
|
|
1902
1906
|
counterparty: PubKeyHex;
|
|
1903
1907
|
verifier: PubKeyHex;
|
|
1904
1908
|
protocolID: [
|
|
1905
|
-
|
|
1909
|
+
SecurityLevel,
|
|
1906
1910
|
ProtocolString5To400Bytes
|
|
1907
1911
|
];
|
|
1908
1912
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -1913,7 +1917,7 @@ export default class ProtoWallet implements Wallet {
|
|
|
1913
1917
|
verifier: PubKeyHex;
|
|
1914
1918
|
counterparty: PubKeyHex;
|
|
1915
1919
|
protocolID: [
|
|
1916
|
-
|
|
1920
|
+
SecurityLevel,
|
|
1917
1921
|
ProtocolString5To400Bytes
|
|
1918
1922
|
];
|
|
1919
1923
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -1924,7 +1928,7 @@ export default class ProtoWallet implements Wallet {
|
|
|
1924
1928
|
async encrypt(args: {
|
|
1925
1929
|
plaintext: Byte[];
|
|
1926
1930
|
protocolID: [
|
|
1927
|
-
|
|
1931
|
+
SecurityLevel,
|
|
1928
1932
|
ProtocolString5To400Bytes
|
|
1929
1933
|
];
|
|
1930
1934
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -1937,7 +1941,7 @@ export default class ProtoWallet implements Wallet {
|
|
|
1937
1941
|
async decrypt(args: {
|
|
1938
1942
|
ciphertext: Byte[];
|
|
1939
1943
|
protocolID: [
|
|
1940
|
-
|
|
1944
|
+
SecurityLevel,
|
|
1941
1945
|
ProtocolString5To400Bytes
|
|
1942
1946
|
];
|
|
1943
1947
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -1950,7 +1954,7 @@ export default class ProtoWallet implements Wallet {
|
|
|
1950
1954
|
async createHmac(args: {
|
|
1951
1955
|
data: Byte[];
|
|
1952
1956
|
protocolID: [
|
|
1953
|
-
|
|
1957
|
+
SecurityLevel,
|
|
1954
1958
|
ProtocolString5To400Bytes
|
|
1955
1959
|
];
|
|
1956
1960
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -1964,7 +1968,7 @@ export default class ProtoWallet implements Wallet {
|
|
|
1964
1968
|
data: Byte[];
|
|
1965
1969
|
hmac: Byte[];
|
|
1966
1970
|
protocolID: [
|
|
1967
|
-
|
|
1971
|
+
SecurityLevel,
|
|
1968
1972
|
ProtocolString5To400Bytes
|
|
1969
1973
|
];
|
|
1970
1974
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -1978,7 +1982,7 @@ export default class ProtoWallet implements Wallet {
|
|
|
1978
1982
|
data?: Byte[];
|
|
1979
1983
|
hashToDirectlySign?: Byte[];
|
|
1980
1984
|
protocolID: [
|
|
1981
|
-
|
|
1985
|
+
SecurityLevel,
|
|
1982
1986
|
ProtocolString5To400Bytes
|
|
1983
1987
|
];
|
|
1984
1988
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -1993,7 +1997,7 @@ export default class ProtoWallet implements Wallet {
|
|
|
1993
1997
|
hashToDirectlyVerify?: Byte[];
|
|
1994
1998
|
signature: Byte[];
|
|
1995
1999
|
protocolID: [
|
|
1996
|
-
|
|
2000
|
+
SecurityLevel,
|
|
1997
2001
|
ProtocolString5To400Bytes
|
|
1998
2002
|
];
|
|
1999
2003
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2140,9 +2144,9 @@ export default class ProtoWallet implements Wallet {
|
|
|
2140
2144
|
}
|
|
2141
2145
|
```
|
|
2142
2146
|
|
|
2143
|
-
See also: [BEEF](#type-beef), [Base64String](#type-base64string), [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [Byte](#type-byte), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [EntityIconURLStringMax500Bytes](#type-entityiconurlstringmax500bytes), [EntityNameStringMax100Bytes](#type-entitynamestringmax100bytes), [HexString](#type-hexstring), [ISOTimestampString](#type-isotimestampstring), [KeyDeriver](#class-keyderiver), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [LabelStringUnder300Bytes](#type-labelstringunder300bytes), [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamestringunder250bytes), [OutpointString](#type-outpointstring), [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes), [PositiveInteger](#type-positiveinteger), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerMax10](#type-positiveintegermax10), [PositiveIntegerOrZero](#type-positiveintegerorzero), [PrivateKey](#class-privatekey), [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [PubKeyHex](#type-pubkeyhex), [SatoshiValue](#type-satoshivalue), [TXIDHexString](#type-txidhexstring), [VersionString7To30Bytes](#type-versionstring7to30bytes), [Wallet](#interface-wallet), [decrypt](#variable-decrypt), [encrypt](#variable-encrypt)
|
|
2147
|
+
See also: [BEEF](#type-beef), [Base64String](#type-base64string), [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [Byte](#type-byte), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [EntityIconURLStringMax500Bytes](#type-entityiconurlstringmax500bytes), [EntityNameStringMax100Bytes](#type-entitynamestringmax100bytes), [HexString](#type-hexstring), [ISOTimestampString](#type-isotimestampstring), [KeyDeriver](#class-keyderiver), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [LabelStringUnder300Bytes](#type-labelstringunder300bytes), [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamestringunder250bytes), [OutpointString](#type-outpointstring), [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes), [PositiveInteger](#type-positiveinteger), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerMax10](#type-positiveintegermax10), [PositiveIntegerOrZero](#type-positiveintegerorzero), [PrivateKey](#class-privatekey), [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [PubKeyHex](#type-pubkeyhex), [SatoshiValue](#type-satoshivalue), [SecurityLevel](#type-securitylevel), [TXIDHexString](#type-txidhexstring), [VersionString7To30Bytes](#type-versionstring7to30bytes), [Wallet](#interface-wallet), [decrypt](#variable-decrypt), [encrypt](#variable-encrypt)
|
|
2144
2148
|
|
|
2145
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2149
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
2146
2150
|
|
|
2147
2151
|
---
|
|
2148
2152
|
### Class: WalletClient
|
|
@@ -2176,7 +2180,7 @@ export default class WalletClient implements Wallet {
|
|
|
2176
2180
|
async getPublicKey(args: {
|
|
2177
2181
|
identityKey?: true;
|
|
2178
2182
|
protocolID?: [
|
|
2179
|
-
|
|
2183
|
+
SecurityLevel,
|
|
2180
2184
|
ProtocolString5To400Bytes
|
|
2181
2185
|
];
|
|
2182
2186
|
keyID?: KeyIDStringUnder800Bytes;
|
|
@@ -2204,7 +2208,7 @@ export default class WalletClient implements Wallet {
|
|
|
2204
2208
|
counterparty: PubKeyHex;
|
|
2205
2209
|
verifier: PubKeyHex;
|
|
2206
2210
|
protocolID: [
|
|
2207
|
-
|
|
2211
|
+
SecurityLevel,
|
|
2208
2212
|
ProtocolString5To400Bytes
|
|
2209
2213
|
];
|
|
2210
2214
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2215,7 +2219,7 @@ export default class WalletClient implements Wallet {
|
|
|
2215
2219
|
verifier: PubKeyHex;
|
|
2216
2220
|
counterparty: PubKeyHex;
|
|
2217
2221
|
protocolID: [
|
|
2218
|
-
|
|
2222
|
+
SecurityLevel,
|
|
2219
2223
|
ProtocolString5To400Bytes
|
|
2220
2224
|
];
|
|
2221
2225
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2226,7 +2230,7 @@ export default class WalletClient implements Wallet {
|
|
|
2226
2230
|
async encrypt(args: {
|
|
2227
2231
|
plaintext: Byte[];
|
|
2228
2232
|
protocolID: [
|
|
2229
|
-
|
|
2233
|
+
SecurityLevel,
|
|
2230
2234
|
ProtocolString5To400Bytes
|
|
2231
2235
|
];
|
|
2232
2236
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2239,7 +2243,7 @@ export default class WalletClient implements Wallet {
|
|
|
2239
2243
|
async decrypt(args: {
|
|
2240
2244
|
ciphertext: Byte[];
|
|
2241
2245
|
protocolID: [
|
|
2242
|
-
|
|
2246
|
+
SecurityLevel,
|
|
2243
2247
|
ProtocolString5To400Bytes
|
|
2244
2248
|
];
|
|
2245
2249
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2252,7 +2256,7 @@ export default class WalletClient implements Wallet {
|
|
|
2252
2256
|
async createHmac(args: {
|
|
2253
2257
|
data: Byte[];
|
|
2254
2258
|
protocolID: [
|
|
2255
|
-
|
|
2259
|
+
SecurityLevel,
|
|
2256
2260
|
ProtocolString5To400Bytes
|
|
2257
2261
|
];
|
|
2258
2262
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2266,7 +2270,7 @@ export default class WalletClient implements Wallet {
|
|
|
2266
2270
|
data: Byte[];
|
|
2267
2271
|
hmac: Byte[];
|
|
2268
2272
|
protocolID: [
|
|
2269
|
-
|
|
2273
|
+
SecurityLevel,
|
|
2270
2274
|
ProtocolString5To400Bytes
|
|
2271
2275
|
];
|
|
2272
2276
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2280,7 +2284,7 @@ export default class WalletClient implements Wallet {
|
|
|
2280
2284
|
data?: Byte[];
|
|
2281
2285
|
hashToDirectlySign?: Byte[];
|
|
2282
2286
|
protocolID: [
|
|
2283
|
-
|
|
2287
|
+
SecurityLevel,
|
|
2284
2288
|
ProtocolString5To400Bytes
|
|
2285
2289
|
];
|
|
2286
2290
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2295,7 +2299,7 @@ export default class WalletClient implements Wallet {
|
|
|
2295
2299
|
hashToDirectlyVerify?: Byte[];
|
|
2296
2300
|
signature: Byte[];
|
|
2297
2301
|
protocolID: [
|
|
2298
|
-
|
|
2302
|
+
SecurityLevel,
|
|
2299
2303
|
ProtocolString5To400Bytes
|
|
2300
2304
|
];
|
|
2301
2305
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2356,9 +2360,9 @@ export default class WalletClient implements Wallet {
|
|
|
2356
2360
|
}
|
|
2357
2361
|
```
|
|
2358
2362
|
|
|
2359
|
-
See also: [AcquireCertificateArgs](#interface-acquirecertificateargs), [AcquireCertificateResult](#interface-acquirecertificateresult), [Base64String](#type-base64string), [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [BooleanDefaultFalse](#type-booleandefaultfalse), [Byte](#type-byte), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [CreateActionArgs](#interface-createactionargs), [CreateActionResult](#interface-createactionresult), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [DiscoverCertificatesResult](#interface-discovercertificatesresult), [HexString](#type-hexstring), [ISOTimestampString](#type-isotimestampstring), [InternalizeActionArgs](#interface-internalizeactionargs), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [ListActionsArgs](#interface-listactionsargs), [ListActionsResult](#interface-listactionsresult), [ListCertificatesResult](#interface-listcertificatesresult), [ListOutputsArgs](#interface-listoutputsargs), [ListOutputsResult](#interface-listoutputsresult), [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamestringunder250bytes), [OutpointString](#type-outpointstring), [PositiveInteger](#type-positiveinteger), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerOrZero](#type-positiveintegerorzero), [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [ProveCertificateArgs](#interface-provecertificateargs), [ProveCertificateResult](#interface-provecertificateresult), [PubKeyHex](#type-pubkeyhex), [SignActionArgs](#interface-signactionargs), [SignActionResult](#interface-signactionresult), [VersionString7To30Bytes](#type-versionstring7to30bytes), [Wallet](#interface-wallet), [decrypt](#variable-decrypt), [encrypt](#variable-encrypt)
|
|
2363
|
+
See also: [AcquireCertificateArgs](#interface-acquirecertificateargs), [AcquireCertificateResult](#interface-acquirecertificateresult), [Base64String](#type-base64string), [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [BooleanDefaultFalse](#type-booleandefaultfalse), [Byte](#type-byte), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [CreateActionArgs](#interface-createactionargs), [CreateActionResult](#interface-createactionresult), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [DiscoverCertificatesResult](#interface-discovercertificatesresult), [HexString](#type-hexstring), [ISOTimestampString](#type-isotimestampstring), [InternalizeActionArgs](#interface-internalizeactionargs), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [ListActionsArgs](#interface-listactionsargs), [ListActionsResult](#interface-listactionsresult), [ListCertificatesResult](#interface-listcertificatesresult), [ListOutputsArgs](#interface-listoutputsargs), [ListOutputsResult](#interface-listoutputsresult), [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamestringunder250bytes), [OutpointString](#type-outpointstring), [PositiveInteger](#type-positiveinteger), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerOrZero](#type-positiveintegerorzero), [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [ProveCertificateArgs](#interface-provecertificateargs), [ProveCertificateResult](#interface-provecertificateresult), [PubKeyHex](#type-pubkeyhex), [SecurityLevel](#type-securitylevel), [SignActionArgs](#interface-signactionargs), [SignActionResult](#interface-signactionresult), [VersionString7To30Bytes](#type-versionstring7to30bytes), [Wallet](#interface-wallet), [decrypt](#variable-decrypt), [encrypt](#variable-encrypt)
|
|
2360
2364
|
|
|
2361
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2365
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
2362
2366
|
|
|
2363
2367
|
---
|
|
2364
2368
|
### Class: WalletError
|
|
@@ -2371,7 +2375,7 @@ export class WalletError extends Error {
|
|
|
2371
2375
|
}
|
|
2372
2376
|
```
|
|
2373
2377
|
|
|
2374
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2378
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
2375
2379
|
|
|
2376
2380
|
---
|
|
2377
2381
|
### Class: WalletWireProcessor
|
|
@@ -2388,7 +2392,7 @@ export default class WalletWireProcessor implements WalletWire {
|
|
|
2388
2392
|
|
|
2389
2393
|
See also: [Wallet](#interface-wallet), [WalletWire](#interface-walletwire)
|
|
2390
2394
|
|
|
2391
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2395
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
2392
2396
|
|
|
2393
2397
|
---
|
|
2394
2398
|
### Class: WalletWireTransceiver
|
|
@@ -2421,7 +2425,7 @@ export default class WalletWireTransceiver implements Wallet {
|
|
|
2421
2425
|
seekPermission?: BooleanDefaultTrue;
|
|
2422
2426
|
identityKey?: true;
|
|
2423
2427
|
protocolID?: [
|
|
2424
|
-
|
|
2428
|
+
SecurityLevel,
|
|
2425
2429
|
ProtocolString5To400Bytes
|
|
2426
2430
|
];
|
|
2427
2431
|
keyID?: KeyIDStringUnder800Bytes;
|
|
@@ -2449,7 +2453,7 @@ export default class WalletWireTransceiver implements Wallet {
|
|
|
2449
2453
|
counterparty: PubKeyHex;
|
|
2450
2454
|
verifier: PubKeyHex;
|
|
2451
2455
|
protocolID: [
|
|
2452
|
-
|
|
2456
|
+
SecurityLevel,
|
|
2453
2457
|
ProtocolString5To400Bytes
|
|
2454
2458
|
];
|
|
2455
2459
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2460,7 +2464,7 @@ export default class WalletWireTransceiver implements Wallet {
|
|
|
2460
2464
|
verifier: PubKeyHex;
|
|
2461
2465
|
counterparty: PubKeyHex;
|
|
2462
2466
|
protocolID: [
|
|
2463
|
-
|
|
2467
|
+
SecurityLevel,
|
|
2464
2468
|
ProtocolString5To400Bytes
|
|
2465
2469
|
];
|
|
2466
2470
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2472,7 +2476,7 @@ export default class WalletWireTransceiver implements Wallet {
|
|
|
2472
2476
|
seekPermission?: BooleanDefaultTrue;
|
|
2473
2477
|
plaintext: Byte[];
|
|
2474
2478
|
protocolID: [
|
|
2475
|
-
|
|
2479
|
+
SecurityLevel,
|
|
2476
2480
|
ProtocolString5To400Bytes
|
|
2477
2481
|
];
|
|
2478
2482
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2486,7 +2490,7 @@ export default class WalletWireTransceiver implements Wallet {
|
|
|
2486
2490
|
seekPermission?: BooleanDefaultTrue;
|
|
2487
2491
|
ciphertext: Byte[];
|
|
2488
2492
|
protocolID: [
|
|
2489
|
-
|
|
2493
|
+
SecurityLevel,
|
|
2490
2494
|
ProtocolString5To400Bytes
|
|
2491
2495
|
];
|
|
2492
2496
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2500,7 +2504,7 @@ export default class WalletWireTransceiver implements Wallet {
|
|
|
2500
2504
|
seekPermission?: BooleanDefaultTrue;
|
|
2501
2505
|
data: Byte[];
|
|
2502
2506
|
protocolID: [
|
|
2503
|
-
|
|
2507
|
+
SecurityLevel,
|
|
2504
2508
|
ProtocolString5To400Bytes
|
|
2505
2509
|
];
|
|
2506
2510
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2515,7 +2519,7 @@ export default class WalletWireTransceiver implements Wallet {
|
|
|
2515
2519
|
data: Byte[];
|
|
2516
2520
|
hmac: Byte[];
|
|
2517
2521
|
protocolID: [
|
|
2518
|
-
|
|
2522
|
+
SecurityLevel,
|
|
2519
2523
|
ProtocolString5To400Bytes
|
|
2520
2524
|
];
|
|
2521
2525
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2530,7 +2534,7 @@ export default class WalletWireTransceiver implements Wallet {
|
|
|
2530
2534
|
data?: Byte[];
|
|
2531
2535
|
hashToDirectlySign?: Byte[];
|
|
2532
2536
|
protocolID: [
|
|
2533
|
-
|
|
2537
|
+
SecurityLevel,
|
|
2534
2538
|
ProtocolString5To400Bytes
|
|
2535
2539
|
];
|
|
2536
2540
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2546,7 +2550,7 @@ export default class WalletWireTransceiver implements Wallet {
|
|
|
2546
2550
|
hashToDirectlyVerify?: Byte[];
|
|
2547
2551
|
signature: Byte[];
|
|
2548
2552
|
protocolID: [
|
|
2549
|
-
|
|
2553
|
+
SecurityLevel,
|
|
2550
2554
|
ProtocolString5To400Bytes
|
|
2551
2555
|
];
|
|
2552
2556
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2609,9 +2613,9 @@ export default class WalletWireTransceiver implements Wallet {
|
|
|
2609
2613
|
}
|
|
2610
2614
|
```
|
|
2611
2615
|
|
|
2612
|
-
See also: [AcquireCertificateArgs](#interface-acquirecertificateargs), [AcquireCertificateResult](#interface-acquirecertificateresult), [Base64String](#type-base64string), [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [Byte](#type-byte), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [CreateActionArgs](#interface-createactionargs), [CreateActionResult](#interface-createactionresult), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [DiscoverCertificatesResult](#interface-discovercertificatesresult), [HexString](#type-hexstring), [ISOTimestampString](#type-isotimestampstring), [InternalizeActionArgs](#interface-internalizeactionargs), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [ListActionsArgs](#interface-listactionsargs), [ListActionsResult](#interface-listactionsresult), [ListCertificatesResult](#interface-listcertificatesresult), [ListOutputsArgs](#interface-listoutputsargs), [ListOutputsResult](#interface-listoutputsresult), [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamestringunder250bytes), [OutpointString](#type-outpointstring), [PositiveInteger](#type-positiveinteger), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerOrZero](#type-positiveintegerorzero), [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [ProveCertificateArgs](#interface-provecertificateargs), [ProveCertificateResult](#interface-provecertificateresult), [PubKeyHex](#type-pubkeyhex), [SignActionArgs](#interface-signactionargs), [SignActionResult](#interface-signactionresult), [VersionString7To30Bytes](#type-versionstring7to30bytes), [Wallet](#interface-wallet), [WalletWire](#interface-walletwire), [decrypt](#variable-decrypt), [encrypt](#variable-encrypt)
|
|
2616
|
+
See also: [AcquireCertificateArgs](#interface-acquirecertificateargs), [AcquireCertificateResult](#interface-acquirecertificateresult), [Base64String](#type-base64string), [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [Byte](#type-byte), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [CreateActionArgs](#interface-createactionargs), [CreateActionResult](#interface-createactionresult), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [DiscoverCertificatesResult](#interface-discovercertificatesresult), [HexString](#type-hexstring), [ISOTimestampString](#type-isotimestampstring), [InternalizeActionArgs](#interface-internalizeactionargs), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [ListActionsArgs](#interface-listactionsargs), [ListActionsResult](#interface-listactionsresult), [ListCertificatesResult](#interface-listcertificatesresult), [ListOutputsArgs](#interface-listoutputsargs), [ListOutputsResult](#interface-listoutputsresult), [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamestringunder250bytes), [OutpointString](#type-outpointstring), [PositiveInteger](#type-positiveinteger), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerOrZero](#type-positiveintegerorzero), [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [ProveCertificateArgs](#interface-provecertificateargs), [ProveCertificateResult](#interface-provecertificateresult), [PubKeyHex](#type-pubkeyhex), [SecurityLevel](#type-securitylevel), [SignActionArgs](#interface-signactionargs), [SignActionResult](#interface-signactionresult), [VersionString7To30Bytes](#type-versionstring7to30bytes), [Wallet](#interface-wallet), [WalletWire](#interface-walletwire), [decrypt](#variable-decrypt), [encrypt](#variable-encrypt)
|
|
2613
2617
|
|
|
2614
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
2618
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
2615
2619
|
|
|
2616
2620
|
---
|
|
2617
2621
|
### Class: WindowCWISubstrate
|
|
@@ -2787,7 +2791,7 @@ export default class WindowCWISubstrate implements Wallet {
|
|
|
2787
2791
|
async getPublicKey(args: {
|
|
2788
2792
|
identityKey?: true;
|
|
2789
2793
|
protocolID?: [
|
|
2790
|
-
|
|
2794
|
+
SecurityLevel,
|
|
2791
2795
|
ProtocolString5To400Bytes
|
|
2792
2796
|
];
|
|
2793
2797
|
keyID?: KeyIDStringUnder800Bytes;
|
|
@@ -2815,7 +2819,7 @@ export default class WindowCWISubstrate implements Wallet {
|
|
|
2815
2819
|
counterparty: PubKeyHex;
|
|
2816
2820
|
verifier: PubKeyHex;
|
|
2817
2821
|
protocolID: [
|
|
2818
|
-
|
|
2822
|
+
SecurityLevel,
|
|
2819
2823
|
ProtocolString5To400Bytes
|
|
2820
2824
|
];
|
|
2821
2825
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2826,7 +2830,7 @@ export default class WindowCWISubstrate implements Wallet {
|
|
|
2826
2830
|
verifier: PubKeyHex;
|
|
2827
2831
|
counterparty: PubKeyHex;
|
|
2828
2832
|
protocolID: [
|
|
2829
|
-
|
|
2833
|
+
SecurityLevel,
|
|
2830
2834
|
ProtocolString5To400Bytes
|
|
2831
2835
|
];
|
|
2832
2836
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2837,7 +2841,7 @@ export default class WindowCWISubstrate implements Wallet {
|
|
|
2837
2841
|
async encrypt(args: {
|
|
2838
2842
|
plaintext: Byte[];
|
|
2839
2843
|
protocolID: [
|
|
2840
|
-
|
|
2844
|
+
SecurityLevel,
|
|
2841
2845
|
ProtocolString5To400Bytes
|
|
2842
2846
|
];
|
|
2843
2847
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2850,7 +2854,7 @@ export default class WindowCWISubstrate implements Wallet {
|
|
|
2850
2854
|
async decrypt(args: {
|
|
2851
2855
|
ciphertext: Byte[];
|
|
2852
2856
|
protocolID: [
|
|
2853
|
-
|
|
2857
|
+
SecurityLevel,
|
|
2854
2858
|
ProtocolString5To400Bytes
|
|
2855
2859
|
];
|
|
2856
2860
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2863,7 +2867,7 @@ export default class WindowCWISubstrate implements Wallet {
|
|
|
2863
2867
|
async createHmac(args: {
|
|
2864
2868
|
data: Byte[];
|
|
2865
2869
|
protocolID: [
|
|
2866
|
-
|
|
2870
|
+
SecurityLevel,
|
|
2867
2871
|
ProtocolString5To400Bytes
|
|
2868
2872
|
];
|
|
2869
2873
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2877,7 +2881,7 @@ export default class WindowCWISubstrate implements Wallet {
|
|
|
2877
2881
|
data: Byte[];
|
|
2878
2882
|
hmac: Byte[];
|
|
2879
2883
|
protocolID: [
|
|
2880
|
-
|
|
2884
|
+
SecurityLevel,
|
|
2881
2885
|
ProtocolString5To400Bytes
|
|
2882
2886
|
];
|
|
2883
2887
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2891,7 +2895,7 @@ export default class WindowCWISubstrate implements Wallet {
|
|
|
2891
2895
|
data?: Byte[];
|
|
2892
2896
|
hashToDirectlySign?: Byte[];
|
|
2893
2897
|
protocolID: [
|
|
2894
|
-
|
|
2898
|
+
SecurityLevel,
|
|
2895
2899
|
ProtocolString5To400Bytes
|
|
2896
2900
|
];
|
|
2897
2901
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -2906,7 +2910,7 @@ export default class WindowCWISubstrate implements Wallet {
|
|
|
2906
2910
|
hashToDirectlyVerify?: Byte[];
|
|
2907
2911
|
signature: Byte[];
|
|
2908
2912
|
protocolID: [
|
|
2909
|
-
|
|
2913
|
+
SecurityLevel,
|
|
2910
2914
|
ProtocolString5To400Bytes
|
|
2911
2915
|
];
|
|
2912
2916
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -3052,9 +3056,9 @@ export default class WindowCWISubstrate implements Wallet {
|
|
|
3052
3056
|
}
|
|
3053
3057
|
```
|
|
3054
3058
|
|
|
3055
|
-
See also: [BEEF](#type-beef), [Base64String](#type-base64string), [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [Byte](#type-byte), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [EntityIconURLStringMax500Bytes](#type-entityiconurlstringmax500bytes), [EntityNameStringMax100Bytes](#type-entitynamestringmax100bytes), [HexString](#type-hexstring), [ISOTimestampString](#type-isotimestampstring), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [LabelStringUnder300Bytes](#type-labelstringunder300bytes), [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamestringunder250bytes), [OutpointString](#type-outpointstring), [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes), [PositiveInteger](#type-positiveinteger), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerMax10](#type-positiveintegermax10), [PositiveIntegerOrZero](#type-positiveintegerorzero), [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [PubKeyHex](#type-pubkeyhex), [SatoshiValue](#type-satoshivalue), [TXIDHexString](#type-txidhexstring), [VersionString7To30Bytes](#type-versionstring7to30bytes), [Wallet](#interface-wallet), [decrypt](#variable-decrypt), [encrypt](#variable-encrypt)
|
|
3059
|
+
See also: [BEEF](#type-beef), [Base64String](#type-base64string), [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [Byte](#type-byte), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [EntityIconURLStringMax500Bytes](#type-entityiconurlstringmax500bytes), [EntityNameStringMax100Bytes](#type-entitynamestringmax100bytes), [HexString](#type-hexstring), [ISOTimestampString](#type-isotimestampstring), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [LabelStringUnder300Bytes](#type-labelstringunder300bytes), [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamestringunder250bytes), [OutpointString](#type-outpointstring), [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes), [PositiveInteger](#type-positiveinteger), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerMax10](#type-positiveintegermax10), [PositiveIntegerOrZero](#type-positiveintegerorzero), [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [PubKeyHex](#type-pubkeyhex), [SatoshiValue](#type-satoshivalue), [SecurityLevel](#type-securitylevel), [TXIDHexString](#type-txidhexstring), [VersionString7To30Bytes](#type-versionstring7to30bytes), [Wallet](#interface-wallet), [decrypt](#variable-decrypt), [encrypt](#variable-encrypt)
|
|
3056
3060
|
|
|
3057
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3061
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3058
3062
|
|
|
3059
3063
|
---
|
|
3060
3064
|
### Class: XDMSubstrate
|
|
@@ -3231,7 +3235,7 @@ export default class XDMSubstrate implements Wallet {
|
|
|
3231
3235
|
async getPublicKey(args: {
|
|
3232
3236
|
identityKey?: true;
|
|
3233
3237
|
protocolID?: [
|
|
3234
|
-
|
|
3238
|
+
SecurityLevel,
|
|
3235
3239
|
ProtocolString5To400Bytes
|
|
3236
3240
|
];
|
|
3237
3241
|
keyID?: KeyIDStringUnder800Bytes;
|
|
@@ -3259,7 +3263,7 @@ export default class XDMSubstrate implements Wallet {
|
|
|
3259
3263
|
counterparty: PubKeyHex;
|
|
3260
3264
|
verifier: PubKeyHex;
|
|
3261
3265
|
protocolID: [
|
|
3262
|
-
|
|
3266
|
+
SecurityLevel,
|
|
3263
3267
|
ProtocolString5To400Bytes
|
|
3264
3268
|
];
|
|
3265
3269
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -3270,7 +3274,7 @@ export default class XDMSubstrate implements Wallet {
|
|
|
3270
3274
|
verifier: PubKeyHex;
|
|
3271
3275
|
counterparty: PubKeyHex;
|
|
3272
3276
|
protocolID: [
|
|
3273
|
-
|
|
3277
|
+
SecurityLevel,
|
|
3274
3278
|
ProtocolString5To400Bytes
|
|
3275
3279
|
];
|
|
3276
3280
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -3281,7 +3285,7 @@ export default class XDMSubstrate implements Wallet {
|
|
|
3281
3285
|
async encrypt(args: {
|
|
3282
3286
|
plaintext: Byte[];
|
|
3283
3287
|
protocolID: [
|
|
3284
|
-
|
|
3288
|
+
SecurityLevel,
|
|
3285
3289
|
ProtocolString5To400Bytes
|
|
3286
3290
|
];
|
|
3287
3291
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -3294,7 +3298,7 @@ export default class XDMSubstrate implements Wallet {
|
|
|
3294
3298
|
async decrypt(args: {
|
|
3295
3299
|
ciphertext: Byte[];
|
|
3296
3300
|
protocolID: [
|
|
3297
|
-
|
|
3301
|
+
SecurityLevel,
|
|
3298
3302
|
ProtocolString5To400Bytes
|
|
3299
3303
|
];
|
|
3300
3304
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -3307,7 +3311,7 @@ export default class XDMSubstrate implements Wallet {
|
|
|
3307
3311
|
async createHmac(args: {
|
|
3308
3312
|
data: Byte[];
|
|
3309
3313
|
protocolID: [
|
|
3310
|
-
|
|
3314
|
+
SecurityLevel,
|
|
3311
3315
|
ProtocolString5To400Bytes
|
|
3312
3316
|
];
|
|
3313
3317
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -3321,7 +3325,7 @@ export default class XDMSubstrate implements Wallet {
|
|
|
3321
3325
|
data: Byte[];
|
|
3322
3326
|
hmac: Byte[];
|
|
3323
3327
|
protocolID: [
|
|
3324
|
-
|
|
3328
|
+
SecurityLevel,
|
|
3325
3329
|
ProtocolString5To400Bytes
|
|
3326
3330
|
];
|
|
3327
3331
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -3335,7 +3339,7 @@ export default class XDMSubstrate implements Wallet {
|
|
|
3335
3339
|
data?: Byte[];
|
|
3336
3340
|
hashToDirectlySign?: Byte[];
|
|
3337
3341
|
protocolID: [
|
|
3338
|
-
|
|
3342
|
+
SecurityLevel,
|
|
3339
3343
|
ProtocolString5To400Bytes
|
|
3340
3344
|
];
|
|
3341
3345
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -3350,7 +3354,7 @@ export default class XDMSubstrate implements Wallet {
|
|
|
3350
3354
|
hashToDirectlyVerify?: Byte[];
|
|
3351
3355
|
signature: Byte[];
|
|
3352
3356
|
protocolID: [
|
|
3353
|
-
|
|
3357
|
+
SecurityLevel,
|
|
3354
3358
|
ProtocolString5To400Bytes
|
|
3355
3359
|
];
|
|
3356
3360
|
keyID: KeyIDStringUnder800Bytes;
|
|
@@ -3496,9 +3500,9 @@ export default class XDMSubstrate implements Wallet {
|
|
|
3496
3500
|
}
|
|
3497
3501
|
```
|
|
3498
3502
|
|
|
3499
|
-
See also: [BEEF](#type-beef), [Base64String](#type-base64string), [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [Byte](#type-byte), [CallType](#type-calltype), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [EntityIconURLStringMax500Bytes](#type-entityiconurlstringmax500bytes), [EntityNameStringMax100Bytes](#type-entitynamestringmax100bytes), [HexString](#type-hexstring), [ISOTimestampString](#type-isotimestampstring), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [LabelStringUnder300Bytes](#type-labelstringunder300bytes), [OutpointString](#type-outpointstring), [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes), [PositiveInteger](#type-positiveinteger), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerMax10](#type-positiveintegermax10), [PositiveIntegerOrZero](#type-positiveintegerorzero), [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [PubKeyHex](#type-pubkeyhex), [SatoshiValue](#type-satoshivalue), [TXIDHexString](#type-txidhexstring), [VersionString7To30Bytes](#type-versionstring7to30bytes), [Wallet](#interface-wallet), [decrypt](#variable-decrypt), [encrypt](#variable-encrypt)
|
|
3503
|
+
See also: [BEEF](#type-beef), [Base64String](#type-base64string), [BasketStringUnder300Bytes](#type-basketstringunder300bytes), [BooleanDefaultFalse](#type-booleandefaultfalse), [BooleanDefaultTrue](#type-booleandefaulttrue), [Byte](#type-byte), [CallType](#type-calltype), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes), [EntityIconURLStringMax500Bytes](#type-entityiconurlstringmax500bytes), [EntityNameStringMax100Bytes](#type-entitynamestringmax100bytes), [HexString](#type-hexstring), [ISOTimestampString](#type-isotimestampstring), [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes), [LabelStringUnder300Bytes](#type-labelstringunder300bytes), [OutpointString](#type-outpointstring), [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes), [PositiveInteger](#type-positiveinteger), [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000), [PositiveIntegerMax10](#type-positiveintegermax10), [PositiveIntegerOrZero](#type-positiveintegerorzero), [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [PubKeyHex](#type-pubkeyhex), [SatoshiValue](#type-satoshivalue), [SecurityLevel](#type-securitylevel), [TXIDHexString](#type-txidhexstring), [VersionString7To30Bytes](#type-versionstring7to30bytes), [Wallet](#interface-wallet), [decrypt](#variable-decrypt), [encrypt](#variable-encrypt)
|
|
3500
3504
|
|
|
3501
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3505
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3502
3506
|
|
|
3503
3507
|
---
|
|
3504
3508
|
## Functions
|
|
@@ -3512,16 +3516,16 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3512
3516
|
| [AtomicBEEF](#type-atomicbeef) | [ErrorDescriptionString20To200Bytes](#type-errordescriptionstring20to200bytes) | [ProtocolString5To400Bytes](#type-protocolstring5to400bytes) |
|
|
3513
3517
|
| [BEEF](#type-beef) | [HexString](#type-hexstring) | [PubKeyHex](#type-pubkeyhex) |
|
|
3514
3518
|
| [Base64String](#type-base64string) | [ISOTimestampString](#type-isotimestampstring) | [SatoshiValue](#type-satoshivalue) |
|
|
3515
|
-
| [BasketStringUnder300Bytes](#type-basketstringunder300bytes) | [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes) | [
|
|
3516
|
-
| [BooleanDefaultFalse](#type-booleandefaultfalse) | [KeyringRevealer](#type-keyringrevealer) | [
|
|
3517
|
-
| [BooleanDefaultTrue](#type-booleandefaulttrue) | [LabelStringUnder300Bytes](#type-labelstringunder300bytes) | [
|
|
3518
|
-
| [Byte](#type-byte) | [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamestringunder250bytes) | [
|
|
3519
|
-
| [CallType](#type-calltype) | [OutpointString](#type-outpointstring) | [
|
|
3520
|
-
| [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes) | [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes) | [
|
|
3521
|
-
| [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes) | [PositiveInteger](#type-positiveinteger) | [
|
|
3522
|
-
| [EntityIconURLStringMax500Bytes](#type-entityiconurlstringmax500bytes) | [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000) |
|
|
3519
|
+
| [BasketStringUnder300Bytes](#type-basketstringunder300bytes) | [KeyIDStringUnder800Bytes](#type-keyidstringunder800bytes) | [SecurityLevel](#type-securitylevel) |
|
|
3520
|
+
| [BooleanDefaultFalse](#type-booleandefaultfalse) | [KeyringRevealer](#type-keyringrevealer) | [TXIDHexString](#type-txidhexstring) |
|
|
3521
|
+
| [BooleanDefaultTrue](#type-booleandefaulttrue) | [LabelStringUnder300Bytes](#type-labelstringunder300bytes) | [TrustSelf](#type-trustself) |
|
|
3522
|
+
| [Byte](#type-byte) | [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamestringunder250bytes) | [VersionString7To30Bytes](#type-versionstring7to30bytes) |
|
|
3523
|
+
| [CallType](#type-calltype) | [OutpointString](#type-outpointstring) | [WalletCounterparty](#type-walletcounterparty) |
|
|
3524
|
+
| [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes) | [OutputTagStringUnder300Bytes](#type-outputtagstringunder300bytes) | [WalletErrorCode](#type-walleterrorcode) |
|
|
3525
|
+
| [DescriptionString5to50Bytes](#type-descriptionstring5to50bytes) | [PositiveInteger](#type-positiveinteger) | [WalletNetwork](#type-walletnetwork) |
|
|
3526
|
+
| [EntityIconURLStringMax500Bytes](#type-entityiconurlstringmax500bytes) | [PositiveIntegerDefault10Max10000](#type-positiveintegerdefault10max10000) | [WalletProtocol](#type-walletprotocol) |
|
|
3523
3527
|
|
|
3524
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3528
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3525
3529
|
|
|
3526
3530
|
---
|
|
3527
3531
|
|
|
@@ -3531,7 +3535,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3531
3535
|
export type AcquisitionProtocol = "direct" | "issuance"
|
|
3532
3536
|
```
|
|
3533
3537
|
|
|
3534
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3538
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3535
3539
|
|
|
3536
3540
|
---
|
|
3537
3541
|
### Type: ActionStatus
|
|
@@ -3540,7 +3544,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3540
3544
|
export type ActionStatus = "completed" | "unprocessed" | "sending" | "unproven" | "unsigned" | "nosend" | "nonfinal"
|
|
3541
3545
|
```
|
|
3542
3546
|
|
|
3543
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3547
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3544
3548
|
|
|
3545
3549
|
---
|
|
3546
3550
|
### Type: AtomicBEEF
|
|
@@ -3551,7 +3555,7 @@ export type AtomicBEEF = Byte[]
|
|
|
3551
3555
|
|
|
3552
3556
|
See also: [Byte](#type-byte)
|
|
3553
3557
|
|
|
3554
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3558
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3555
3559
|
|
|
3556
3560
|
---
|
|
3557
3561
|
### Type: BEEF
|
|
@@ -3562,7 +3566,7 @@ export type BEEF = Byte[]
|
|
|
3562
3566
|
|
|
3563
3567
|
See also: [Byte](#type-byte)
|
|
3564
3568
|
|
|
3565
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3569
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3566
3570
|
|
|
3567
3571
|
---
|
|
3568
3572
|
### Type: Base64String
|
|
@@ -3571,7 +3575,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3571
3575
|
export type Base64String = string
|
|
3572
3576
|
```
|
|
3573
3577
|
|
|
3574
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3578
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3575
3579
|
|
|
3576
3580
|
---
|
|
3577
3581
|
### Type: BasketStringUnder300Bytes
|
|
@@ -3580,7 +3584,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3580
3584
|
export type BasketStringUnder300Bytes = string
|
|
3581
3585
|
```
|
|
3582
3586
|
|
|
3583
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3587
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3584
3588
|
|
|
3585
3589
|
---
|
|
3586
3590
|
### Type: BooleanDefaultFalse
|
|
@@ -3589,7 +3593,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3589
3593
|
export type BooleanDefaultFalse = boolean
|
|
3590
3594
|
```
|
|
3591
3595
|
|
|
3592
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3596
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3593
3597
|
|
|
3594
3598
|
---
|
|
3595
3599
|
### Type: BooleanDefaultTrue
|
|
@@ -3598,7 +3602,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3598
3602
|
export type BooleanDefaultTrue = boolean
|
|
3599
3603
|
```
|
|
3600
3604
|
|
|
3601
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3605
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3602
3606
|
|
|
3603
3607
|
---
|
|
3604
3608
|
### Type: Byte
|
|
@@ -3607,7 +3611,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3607
3611
|
export type Byte = number
|
|
3608
3612
|
```
|
|
3609
3613
|
|
|
3610
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3614
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3611
3615
|
|
|
3612
3616
|
---
|
|
3613
3617
|
### Type: CallType
|
|
@@ -3616,7 +3620,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3616
3620
|
export type CallType = keyof typeof calls
|
|
3617
3621
|
```
|
|
3618
3622
|
|
|
3619
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3623
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3620
3624
|
|
|
3621
3625
|
---
|
|
3622
3626
|
### Type: CertificateFieldNameUnder50Bytes
|
|
@@ -3625,7 +3629,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3625
3629
|
export type CertificateFieldNameUnder50Bytes = string
|
|
3626
3630
|
```
|
|
3627
3631
|
|
|
3628
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3632
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3629
3633
|
|
|
3630
3634
|
---
|
|
3631
3635
|
### Type: DescriptionString5to50Bytes
|
|
@@ -3634,7 +3638,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3634
3638
|
export type DescriptionString5to50Bytes = string
|
|
3635
3639
|
```
|
|
3636
3640
|
|
|
3637
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3641
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3638
3642
|
|
|
3639
3643
|
---
|
|
3640
3644
|
### Type: EntityIconURLStringMax500Bytes
|
|
@@ -3643,7 +3647,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3643
3647
|
export type EntityIconURLStringMax500Bytes = string
|
|
3644
3648
|
```
|
|
3645
3649
|
|
|
3646
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3650
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3647
3651
|
|
|
3648
3652
|
---
|
|
3649
3653
|
### Type: EntityNameStringMax100Bytes
|
|
@@ -3652,7 +3656,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3652
3656
|
export type EntityNameStringMax100Bytes = string
|
|
3653
3657
|
```
|
|
3654
3658
|
|
|
3655
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3659
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3656
3660
|
|
|
3657
3661
|
---
|
|
3658
3662
|
### Type: ErrorCodeString10To40Bytes
|
|
@@ -3661,7 +3665,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3661
3665
|
export type ErrorCodeString10To40Bytes = string
|
|
3662
3666
|
```
|
|
3663
3667
|
|
|
3664
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3668
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3665
3669
|
|
|
3666
3670
|
---
|
|
3667
3671
|
### Type: ErrorDescriptionString20To200Bytes
|
|
@@ -3670,7 +3674,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3670
3674
|
export type ErrorDescriptionString20To200Bytes = string
|
|
3671
3675
|
```
|
|
3672
3676
|
|
|
3673
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3677
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3674
3678
|
|
|
3675
3679
|
---
|
|
3676
3680
|
### Type: HexString
|
|
@@ -3679,7 +3683,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3679
3683
|
export type HexString = string
|
|
3680
3684
|
```
|
|
3681
3685
|
|
|
3682
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3686
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3683
3687
|
|
|
3684
3688
|
---
|
|
3685
3689
|
### Type: ISOTimestampString
|
|
@@ -3688,7 +3692,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3688
3692
|
export type ISOTimestampString = string
|
|
3689
3693
|
```
|
|
3690
3694
|
|
|
3691
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3695
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3692
3696
|
|
|
3693
3697
|
---
|
|
3694
3698
|
### Type: KeyIDStringUnder800Bytes
|
|
@@ -3697,7 +3701,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3697
3701
|
export type KeyIDStringUnder800Bytes = string
|
|
3698
3702
|
```
|
|
3699
3703
|
|
|
3700
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3704
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3701
3705
|
|
|
3702
3706
|
---
|
|
3703
3707
|
### Type: KeyringRevealer
|
|
@@ -3708,7 +3712,7 @@ export type KeyringRevealer = PubKeyHex | "certifier"
|
|
|
3708
3712
|
|
|
3709
3713
|
See also: [PubKeyHex](#type-pubkeyhex)
|
|
3710
3714
|
|
|
3711
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3715
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3712
3716
|
|
|
3713
3717
|
---
|
|
3714
3718
|
### Type: LabelStringUnder300Bytes
|
|
@@ -3717,7 +3721,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3717
3721
|
export type LabelStringUnder300Bytes = string
|
|
3718
3722
|
```
|
|
3719
3723
|
|
|
3720
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3724
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3721
3725
|
|
|
3722
3726
|
---
|
|
3723
3727
|
### Type: OriginatorDomainNameStringUnder250Bytes
|
|
@@ -3726,7 +3730,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3726
3730
|
export type OriginatorDomainNameStringUnder250Bytes = string
|
|
3727
3731
|
```
|
|
3728
3732
|
|
|
3729
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3733
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3730
3734
|
|
|
3731
3735
|
---
|
|
3732
3736
|
### Type: OutpointString
|
|
@@ -3735,7 +3739,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3735
3739
|
export type OutpointString = string
|
|
3736
3740
|
```
|
|
3737
3741
|
|
|
3738
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3742
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3739
3743
|
|
|
3740
3744
|
---
|
|
3741
3745
|
### Type: OutputTagStringUnder300Bytes
|
|
@@ -3744,7 +3748,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3744
3748
|
export type OutputTagStringUnder300Bytes = string
|
|
3745
3749
|
```
|
|
3746
3750
|
|
|
3747
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3751
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3748
3752
|
|
|
3749
3753
|
---
|
|
3750
3754
|
### Type: PositiveInteger
|
|
@@ -3753,7 +3757,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3753
3757
|
export type PositiveInteger = number
|
|
3754
3758
|
```
|
|
3755
3759
|
|
|
3756
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3760
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3757
3761
|
|
|
3758
3762
|
---
|
|
3759
3763
|
### Type: PositiveIntegerDefault10Max10000
|
|
@@ -3762,7 +3766,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3762
3766
|
export type PositiveIntegerDefault10Max10000 = number
|
|
3763
3767
|
```
|
|
3764
3768
|
|
|
3765
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3769
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3766
3770
|
|
|
3767
3771
|
---
|
|
3768
3772
|
### Type: PositiveIntegerMax10
|
|
@@ -3771,7 +3775,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3771
3775
|
export type PositiveIntegerMax10 = number
|
|
3772
3776
|
```
|
|
3773
3777
|
|
|
3774
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3778
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3775
3779
|
|
|
3776
3780
|
---
|
|
3777
3781
|
### Type: PositiveIntegerOrZero
|
|
@@ -3780,7 +3784,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3780
3784
|
export type PositiveIntegerOrZero = number
|
|
3781
3785
|
```
|
|
3782
3786
|
|
|
3783
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3787
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3784
3788
|
|
|
3785
3789
|
---
|
|
3786
3790
|
### Type: ProtocolString5To400Bytes
|
|
@@ -3789,7 +3793,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3789
3793
|
export type ProtocolString5To400Bytes = string
|
|
3790
3794
|
```
|
|
3791
3795
|
|
|
3792
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3796
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3793
3797
|
|
|
3794
3798
|
---
|
|
3795
3799
|
### Type: PubKeyHex
|
|
@@ -3800,7 +3804,7 @@ export type PubKeyHex = HexString
|
|
|
3800
3804
|
|
|
3801
3805
|
See also: [HexString](#type-hexstring)
|
|
3802
3806
|
|
|
3803
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3807
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3804
3808
|
|
|
3805
3809
|
---
|
|
3806
3810
|
### Type: SatoshiValue
|
|
@@ -3809,7 +3813,22 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3809
3813
|
export type SatoshiValue = number
|
|
3810
3814
|
```
|
|
3811
3815
|
|
|
3812
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3816
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3817
|
+
|
|
3818
|
+
---
|
|
3819
|
+
### Type: SecurityLevel
|
|
3820
|
+
|
|
3821
|
+
|
|
3822
|
+
SecurityLevel for protocols.
|
|
3823
|
+
0 = Silently grants the request with no user interation.
|
|
3824
|
+
1 = Requires user approval for every application.
|
|
3825
|
+
2 = Requires user approval per counterparty per application.
|
|
3826
|
+
|
|
3827
|
+
```ts
|
|
3828
|
+
export type SecurityLevel = 0 | 1 | 2
|
|
3829
|
+
```
|
|
3830
|
+
|
|
3831
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3813
3832
|
|
|
3814
3833
|
---
|
|
3815
3834
|
### Type: TXIDHexString
|
|
@@ -3820,7 +3839,7 @@ export type TXIDHexString = HexString
|
|
|
3820
3839
|
|
|
3821
3840
|
See also: [HexString](#type-hexstring)
|
|
3822
3841
|
|
|
3823
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3842
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3824
3843
|
|
|
3825
3844
|
---
|
|
3826
3845
|
### Type: TrustSelf
|
|
@@ -3835,7 +3854,7 @@ If undefined, input BEEFs must be complete and valid.
|
|
|
3835
3854
|
export type TrustSelf = "known"
|
|
3836
3855
|
```
|
|
3837
3856
|
|
|
3838
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3857
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3839
3858
|
|
|
3840
3859
|
---
|
|
3841
3860
|
### Type: VersionString7To30Bytes
|
|
@@ -3844,7 +3863,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3844
3863
|
export type VersionString7To30Bytes = string
|
|
3845
3864
|
```
|
|
3846
3865
|
|
|
3847
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3866
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3848
3867
|
|
|
3849
3868
|
---
|
|
3850
3869
|
### Type: WalletCounterparty
|
|
@@ -3855,7 +3874,7 @@ export type WalletCounterparty = PubKeyHex | "self" | "anyone"
|
|
|
3855
3874
|
|
|
3856
3875
|
See also: [PubKeyHex](#type-pubkeyhex)
|
|
3857
3876
|
|
|
3858
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3877
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3859
3878
|
|
|
3860
3879
|
---
|
|
3861
3880
|
### Type: WalletErrorCode
|
|
@@ -3864,7 +3883,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3864
3883
|
export type WalletErrorCode = keyof typeof walletErrors
|
|
3865
3884
|
```
|
|
3866
3885
|
|
|
3867
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3886
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3868
3887
|
|
|
3869
3888
|
---
|
|
3870
3889
|
### Type: WalletNetwork
|
|
@@ -3873,21 +3892,36 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
|
|
|
3873
3892
|
export type WalletNetwork = "mainnet" | "testnet"
|
|
3874
3893
|
```
|
|
3875
3894
|
|
|
3876
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3895
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3877
3896
|
|
|
3878
3897
|
---
|
|
3879
3898
|
### Type: WalletProtocol
|
|
3880
3899
|
|
|
3881
3900
|
```ts
|
|
3882
3901
|
export type WalletProtocol = [
|
|
3883
|
-
|
|
3902
|
+
SecurityLevel,
|
|
3884
3903
|
ProtocolString5To400Bytes
|
|
3885
3904
|
]
|
|
3886
3905
|
```
|
|
3887
3906
|
|
|
3888
|
-
See also: [ProtocolString5To400Bytes](#type-protocolstring5to400bytes)
|
|
3907
|
+
See also: [ProtocolString5To400Bytes](#type-protocolstring5to400bytes), [SecurityLevel](#type-securitylevel)
|
|
3908
|
+
|
|
3909
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3910
|
+
|
|
3911
|
+
---
|
|
3912
|
+
## Enums
|
|
3913
|
+
|
|
3914
|
+
### Enum: SecurityLevels
|
|
3915
|
+
|
|
3916
|
+
```ts
|
|
3917
|
+
export enum SecurityLevels {
|
|
3918
|
+
Silent = 0,
|
|
3919
|
+
App = 1,
|
|
3920
|
+
Counterparty = 2
|
|
3921
|
+
}
|
|
3922
|
+
```
|
|
3889
3923
|
|
|
3890
|
-
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
|
|
3924
|
+
Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
|
|
3891
3925
|
|
|
3892
3926
|
---
|
|
3893
3927
|
## Variables
|