@xyo-network/xl1-wrappers 1.15.2 → 1.15.3

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @xyo-network/chain-wrappers
1
+ # @xyo-network/xl1-wrappers
2
2
 
3
3
  [![logo][]](https://xyo.network)
4
4
 
@@ -14,527 +14,474 @@ XYO Layer One SDK Wrappers
14
14
 
15
15
  ## Reference
16
16
 
17
- **@xyo-network/chain-wrappers**
17
+ **@xyo-network/xl1-wrappers**
18
18
 
19
19
  ***
20
20
 
21
21
  ## Classes
22
22
 
23
+ - [BaseWrapper](#classes/BaseWrapper)
23
24
  - [FeesWrapper](#classes/FeesWrapper)
24
25
  - [SignatureWrapper](#classes/SignatureWrapper)
25
- - [ShiftedBigInt](#classes/ShiftedBigInt)
26
- - [XL1Amount](#classes/XL1Amount)
27
- - [HydratedBlockWrapper](#classes/HydratedBlockWrapper)
28
- - [IndexedHydratedBlockRangeStore](#classes/IndexedHydratedBlockRangeStore)
26
+ - [~~ShiftedBigInt~~](#classes/ShiftedBigInt)
27
+ - [~~XL1Amount~~](#classes/XL1Amount)
28
+ - [ChainWrapper](#classes/ChainWrapper)
29
29
  - [HydratedTransactionWrapper](#classes/HydratedTransactionWrapper)
30
30
 
31
31
  ## Interfaces
32
32
 
33
- - [XL1AmountInstance](#interfaces/XL1AmountInstance)
34
- - [HydratedBlockStoreInstance](#interfaces/HydratedBlockStoreInstance)
35
- - [IndexedHydratedBlockStoreInstance](#interfaces/IndexedHydratedBlockStoreInstance)
36
- - [HydratedBlockRangeStoreParams](#interfaces/HydratedBlockRangeStoreParams)
37
- - [IndexedHydratedBlockRangeStoreInstance](#interfaces/IndexedHydratedBlockRangeStoreInstance)
38
-
39
- ## Type Aliases
40
-
41
- - [HydratedBlockStoreParams](#type-aliases/HydratedBlockStoreParams)
33
+ - [BaseWrapperConfig](#interfaces/BaseWrapperConfig)
34
+ - [~~XL1AmountInstance~~](#interfaces/XL1AmountInstance)
42
35
 
43
36
  ## Functions
44
37
 
45
- - [splitOnDecimal](#functions/splitOnDecimal)
46
- - [splitOnDecimalToString](#functions/splitOnDecimalToString)
38
+ - [~~splitOnDecimal~~](#functions/splitOnDecimal)
39
+ - [~~splitOnDecimalToString~~](#functions/splitOnDecimalToString)
40
+ - [createSignatureWrappers](#functions/createSignatureWrappers)
47
41
 
48
42
  ### classes
49
43
 
50
- ### <a id="FeesWrapper"></a>FeesWrapper
44
+ ### <a id="BaseWrapper"></a>BaseWrapper
51
45
 
52
- [**@xyo-network/chain-wrappers**](#../README)
46
+ [**@xyo-network/xl1-wrappers**](#../README)
53
47
 
54
48
  ***
55
49
 
56
- ## Implements
50
+ ## Extended by
57
51
 
58
- - `TransactionFeesInstance`
52
+ - [`ChainWrapper`](#ChainWrapper)
53
+
54
+ ## Type Parameters
55
+
56
+ ### T
57
+
58
+ `T`
59
+
60
+ ### C
61
+
62
+ `C` *extends* [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\> = [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\>
59
63
 
60
64
  ## Constructors
61
65
 
62
66
  ### Constructor
63
67
 
64
68
  ```ts
65
- new FeesWrapper(__namedParameters): FeesWrapper;
69
+ protected new BaseWrapper<T, C>(value, config): BaseWrapper<T, C>;
66
70
  ```
67
71
 
68
72
  ### Parameters
69
73
 
70
- #### \_\_namedParameters
74
+ #### value
71
75
 
72
- `TransactionFeesHex` | `TransactionFeesBigInt`
76
+ `T`
77
+
78
+ #### config
79
+
80
+ `Partial`\<`C`\> = `{}`
73
81
 
74
82
  ### Returns
75
83
 
76
- `FeesWrapper`
84
+ `BaseWrapper`\<`T`, `C`\>
77
85
 
78
86
  ## Properties
79
87
 
80
- ### base
88
+ ### config
81
89
 
82
90
  ```ts
83
- base: AttoXL1;
91
+ protected readonly config: Partial<C>;
84
92
  ```
85
93
 
86
- ### Implementation of
94
+ ***
95
+
96
+ ### value
87
97
 
88
98
  ```ts
89
- TransactionFeesInstance.base
99
+ protected readonly value: T;
90
100
  ```
91
101
 
92
- ***
102
+ ## Accessors
93
103
 
94
- ### gasLimit
104
+ ### provider
105
+
106
+ ### Get Signature
95
107
 
96
108
  ```ts
97
- gasLimit: AttoXL1;
109
+ get provider(): undefined | XyoConnection;
98
110
  ```
99
111
 
100
- ### Implementation of
112
+ #### Returns
101
113
 
102
- ```ts
103
- TransactionFeesInstance.gasLimit
104
- ```
114
+ `undefined` \| `XyoConnection`
105
115
 
106
- ***
116
+ ## Methods
107
117
 
108
- ### gasPrice
118
+ ### create()
109
119
 
110
120
  ```ts
111
- gasPrice: AttoXL1;
121
+ static create<T, C>(value, config): Promise<BaseWrapper<T, BaseWrapperConfig<T>>>;
112
122
  ```
113
123
 
114
- ### Implementation of
124
+ ### Type Parameters
115
125
 
116
- ```ts
117
- TransactionFeesInstance.gasPrice
118
- ```
126
+ #### T
119
127
 
120
- ***
128
+ `T`
121
129
 
122
- ### priority
130
+ #### C
123
131
 
124
- ```ts
125
- priority: AttoXL1;
126
- ```
132
+ `C` *extends* [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\> = [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\>
127
133
 
128
- ### Implementation of
134
+ ### Parameters
129
135
 
130
- ```ts
131
- TransactionFeesInstance.priority
132
- ```
136
+ #### value
133
137
 
134
- ## Methods
138
+ `T`
135
139
 
136
- ### validate()
140
+ #### config
141
+
142
+ `Partial`\<`C`\> = `{}`
143
+
144
+ ### Returns
145
+
146
+ `Promise`\<`BaseWrapper`\<`T`, [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\>\>\>
147
+
148
+ ***
149
+
150
+ ### validateConfig()
137
151
 
138
152
  ```ts
139
- static validate(__namedParameters): Promisable<Error[]>;
153
+ static validateConfig(_config): PromisableArray<Error>;
140
154
  ```
141
155
 
142
156
  ### Parameters
143
157
 
144
- #### \_\_namedParameters
158
+ #### \_config
145
159
 
146
- `TransactionFeesHex` | `TransactionFeesBigInt`
160
+ `unknown`
147
161
 
148
162
  ### Returns
149
163
 
150
- `Promisable`\<`Error`[]\>
164
+ `PromisableArray`\<`Error`\>
151
165
 
152
166
  ***
153
167
 
154
- ### validate()
168
+ ### validateValue()
155
169
 
156
170
  ```ts
157
- validate(): Promise<Error[]>;
171
+ static validateValue(_value): PromisableArray<Error>;
158
172
  ```
159
173
 
174
+ ### Parameters
175
+
176
+ #### \_value
177
+
178
+ `unknown`
179
+
160
180
  ### Returns
161
181
 
162
- `Promise`\<`Error`[]\>
182
+ `PromisableArray`\<`Error`\>
163
183
 
164
- ### Implementation of
184
+ ***
185
+
186
+ ### validate()
165
187
 
166
188
  ```ts
167
- TransactionFeesInstance.validate
189
+ validate(): PromisableArray<Error>;
168
190
  ```
169
191
 
170
- ### <a id="HydratedBlockWrapper"></a>HydratedBlockWrapper
171
-
172
- [**@xyo-network/chain-wrappers**](#../README)
192
+ ### Returns
173
193
 
174
- ***
194
+ `PromisableArray`\<`Error`\>
175
195
 
176
- ## Type Parameters
196
+ ### <a id="ChainWrapper"></a>ChainWrapper
177
197
 
178
- ### T
198
+ [**@xyo-network/xl1-wrappers**](#../README)
179
199
 
180
- `T` *extends* `HydratedBlock`
200
+ ***
181
201
 
182
- ## Implements
202
+ ## Extends
183
203
 
184
- - `HydratedBlockInstance`\<\[`WithHashStorageMeta`\<`T`\[`0`\]\>, `WithHashStorageMeta`\<`T`\[`1`\]\[`number`\]\>[]\]\>
204
+ - [`BaseWrapper`](#BaseWrapper)\<`Address`, [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`Address`\>\>
185
205
 
186
206
  ## Constructors
187
207
 
188
208
  ### Constructor
189
209
 
190
210
  ```ts
191
- protected new HydratedBlockWrapper<T>(data): HydratedBlockWrapper<T>;
211
+ protected new ChainWrapper(value, config): ChainWrapper;
192
212
  ```
193
213
 
194
214
  ### Parameters
195
215
 
196
- #### data
216
+ #### value
217
+
218
+ `Brand`
219
+
220
+ #### config
197
221
 
198
- \[`WithHashStorageMeta`\<`T`\[`0`\]\>, `WithHashStorageMeta`\<`T`\[`1`\]\[`number`\]\>[]\]
222
+ `Partial`\<`C`\> = `{}`
199
223
 
200
224
  ### Returns
201
225
 
202
- `HydratedBlockWrapper`\<`T`\>
226
+ `ChainWrapper`
227
+
228
+ ### Inherited from
229
+
230
+ [`BaseWrapper`](#BaseWrapper).[`constructor`](BaseWrapper.md#constructor)
203
231
 
204
232
  ## Properties
205
233
 
206
- ### data
234
+ ### config
207
235
 
208
236
  ```ts
209
- data: [WithHashStorageMeta<T[0]>, WithHashStorageMeta<T[1][number]>[]];
237
+ protected readonly config: Partial<C>;
210
238
  ```
211
239
 
212
- ### Implementation of
240
+ ### Inherited from
213
241
 
214
- ```ts
215
- HydratedBlockInstance.data
216
- ```
242
+ [`BaseWrapper`](#BaseWrapper).[`config`](BaseWrapper.md#config)
217
243
 
218
244
  ***
219
245
 
220
- ### allPayloadsCache
246
+ ### value
221
247
 
222
248
  ```ts
223
- protected allPayloadsCache: WithHashStorageMeta<WithHashStorageMeta<T[1][number]>>[] = [];
249
+ protected readonly value: Brand;
224
250
  ```
225
251
 
226
- ***
227
-
228
- ### transactionsCache
252
+ ### Inherited from
229
253
 
230
- ```ts
231
- protected transactionsCache: HydratedTransactionInstance<HydratedTransaction, AllowedBlockPayload>[] = [];
232
- ```
254
+ [`BaseWrapper`](#BaseWrapper).[`value`](BaseWrapper.md#value)
233
255
 
234
256
  ## Accessors
235
257
 
236
- ### block
258
+ ### provider
237
259
 
238
260
  ### Get Signature
239
261
 
240
262
  ```ts
241
- get block(): number;
263
+ get provider(): undefined | XyoConnection;
242
264
  ```
243
265
 
244
266
  #### Returns
245
267
 
246
- `number`
268
+ `undefined` \| `XyoConnection`
269
+
270
+ ### Inherited from
271
+
272
+ [`BaseWrapper`](#BaseWrapper).[`provider`](BaseWrapper.md#provider)
247
273
 
248
274
  ***
249
275
 
250
- ### boundWitness
276
+ ### id
251
277
 
252
278
  ### Get Signature
253
279
 
254
280
  ```ts
255
- get boundWitness(): WithHashStorageMeta<T[0]>;
281
+ get id(): Brand;
256
282
  ```
257
283
 
258
284
  #### Returns
259
285
 
260
- `WithHashStorageMeta`\<`T`\[`0`\]\>
286
+ `Brand`
261
287
 
262
- ### Implementation of
288
+ ## Methods
289
+
290
+ ### create()
263
291
 
264
292
  ```ts
265
- HydratedBlockInstance.boundWitness
293
+ static create<T, C>(value, config): Promise<BaseWrapper<T, BaseWrapperConfig<T>>>;
266
294
  ```
267
295
 
268
- ***
296
+ ### Type Parameters
269
297
 
270
- ### chain
298
+ #### T
271
299
 
272
- ### Get Signature
300
+ `T`
273
301
 
274
- ```ts
275
- get chain(): Lowercase<string>;
276
- ```
302
+ #### C
277
303
 
278
- #### Returns
304
+ `C` *extends* [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\> = [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\>
279
305
 
280
- `Lowercase`\<`string`\>
306
+ ### Parameters
281
307
 
282
- ***
308
+ #### value
283
309
 
284
- ### payloadCount
310
+ `T`
285
311
 
286
- ### Get Signature
312
+ #### config
287
313
 
288
- ```ts
289
- get payloadCount(): number;
290
- ```
314
+ `Partial`\<`C`\> = `{}`
291
315
 
292
- #### Returns
316
+ ### Returns
293
317
 
294
- `number`
318
+ `Promise`\<[`BaseWrapper`](#BaseWrapper)\<`T`, [`BaseWrapperConfig`](#../interfaces/BaseWrapperConfig)\<`T`\>\>\>
295
319
 
296
- ### Implementation of
320
+ ### Inherited from
297
321
 
298
- ```ts
299
- HydratedBlockInstance.payloadCount
300
- ```
322
+ [`BaseWrapper`](#BaseWrapper).[`create`](BaseWrapper.md#create)
301
323
 
302
324
  ***
303
325
 
304
- ### payloads
305
-
306
- ### Get Signature
326
+ ### validateConfig()
307
327
 
308
328
  ```ts
309
- get payloads(): T[1][number][];
329
+ static validateConfig(_config): PromisableArray<Error>;
310
330
  ```
311
331
 
312
- #### Returns
332
+ ### Parameters
313
333
 
314
- `T`\[`1`\]\[`number`\][]
334
+ #### \_config
315
335
 
316
- ### Implementation of
336
+ `unknown`
317
337
 
318
- ```ts
319
- HydratedBlockInstance.payloads
320
- ```
338
+ ### Returns
321
339
 
322
- ***
340
+ `PromisableArray`\<`Error`\>
323
341
 
324
- ### reward
342
+ ### Inherited from
325
343
 
326
- ### Get Signature
344
+ [`BaseWrapper`](#BaseWrapper).[`validateConfig`](BaseWrapper.md#validateconfig)
345
+
346
+ ***
347
+
348
+ ### validateValue()
327
349
 
328
350
  ```ts
329
- get reward(): bigint;
351
+ static validateValue(_value): PromisableArray<Error>;
330
352
  ```
331
353
 
332
- #### Returns
354
+ ### Parameters
333
355
 
334
- `bigint`
356
+ #### \_value
335
357
 
336
- ### Implementation of
358
+ `unknown`
337
359
 
338
- ```ts
339
- HydratedBlockInstance.reward
340
- ```
360
+ ### Returns
341
361
 
342
- ***
362
+ `PromisableArray`\<`Error`\>
343
363
 
344
- ### signatureCount
364
+ ### Inherited from
345
365
 
346
- ### Get Signature
366
+ [`BaseWrapper`](#BaseWrapper).[`validateValue`](BaseWrapper.md#validatevalue)
367
+
368
+ ***
369
+
370
+ ### validate()
347
371
 
348
372
  ```ts
349
- get signatureCount(): number;
373
+ validate(): PromisableArray<Error>;
350
374
  ```
351
375
 
352
- #### Returns
376
+ ### Returns
353
377
 
354
- `number`
378
+ `PromisableArray`\<`Error`\>
355
379
 
356
- ### Implementation of
380
+ ### Inherited from
357
381
 
358
- ```ts
359
- HydratedBlockInstance.signatureCount
360
- ```
382
+ [`BaseWrapper`](#BaseWrapper).[`validate`](BaseWrapper.md#validate)
383
+
384
+ ### <a id="FeesWrapper"></a>FeesWrapper
385
+
386
+ [**@xyo-network/xl1-wrappers**](#../README)
361
387
 
362
388
  ***
363
389
 
364
- ### signatures
390
+ ## Implements
365
391
 
366
- ### Get Signature
392
+ - `TransactionFeesInstance`
393
+
394
+ ## Constructors
395
+
396
+ ### Constructor
367
397
 
368
398
  ```ts
369
- get signatures(): SignatureInstance[];
399
+ new FeesWrapper(__namedParameters): FeesWrapper;
370
400
  ```
371
401
 
372
- #### Returns
402
+ ### Parameters
373
403
 
374
- `SignatureInstance`[]
404
+ #### \_\_namedParameters
375
405
 
376
- ### Implementation of
406
+ `TransactionFeesHex` | `TransactionFeesBigInt`
377
407
 
378
- ```ts
379
- HydratedBlockInstance.signatures
380
- ```
408
+ ### Returns
381
409
 
382
- ***
410
+ `FeesWrapper`
383
411
 
384
- ### stepHashes
412
+ ## Properties
385
413
 
386
- ### Get Signature
414
+ ### base
387
415
 
388
416
  ```ts
389
- get stepHashes(): Lowercase<string>[];
417
+ base: AttoXL1;
390
418
  ```
391
419
 
392
- #### Returns
420
+ ### Implementation of
393
421
 
394
- `Lowercase`\<`string`\>[]
422
+ ```ts
423
+ TransactionFeesInstance.base
424
+ ```
395
425
 
396
426
  ***
397
427
 
398
- ### transactionCount
399
-
400
- ### Get Signature
428
+ ### gasLimit
401
429
 
402
430
  ```ts
403
- get transactionCount(): number;
431
+ gasLimit: AttoXL1;
404
432
  ```
405
433
 
406
- #### Returns
407
-
408
- `number`
409
-
410
434
  ### Implementation of
411
435
 
412
436
  ```ts
413
- HydratedBlockInstance.transactionCount
437
+ TransactionFeesInstance.gasLimit
414
438
  ```
415
439
 
416
440
  ***
417
441
 
418
- ### transactions
442
+ ### gasPrice
419
443
 
420
- ### Get Signature
444
+ ```ts
445
+ gasPrice: AttoXL1;
446
+ ```
447
+
448
+ ### Implementation of
421
449
 
422
450
  ```ts
423
- get transactions(): HydratedTransactionInstance<HydratedTransaction, AllowedBlockPayload>[];
451
+ TransactionFeesInstance.gasPrice
424
452
  ```
425
453
 
426
- #### Returns
454
+ ***
427
455
 
428
- `HydratedTransactionInstance`\<`HydratedTransaction`, `AllowedBlockPayload`\>[]
456
+ ### priority
457
+
458
+ ```ts
459
+ priority: AttoXL1;
460
+ ```
429
461
 
430
462
  ### Implementation of
431
463
 
432
464
  ```ts
433
- HydratedBlockInstance.transactions
465
+ TransactionFeesInstance.priority
434
466
  ```
435
467
 
436
468
  ## Methods
437
469
 
438
- ### parse()
470
+ ### validate()
439
471
 
440
472
  ```ts
441
- static parse<T>(block, validate): Promise<HydratedBlockInstance<HydratedBlock>>;
473
+ static validate(__namedParameters): Promisable<Error[]>;
442
474
  ```
443
475
 
444
- ### Type Parameters
476
+ ### Parameters
445
477
 
446
- #### T
447
-
448
- `T` *extends* `HydratedBlock`
449
-
450
- ### Parameters
451
-
452
- #### block
453
-
454
- `T`
455
-
456
- #### validate
457
-
458
- `boolean` = `false`
459
-
460
- ### Returns
461
-
462
- `Promise`\<`HydratedBlockInstance`\<`HydratedBlock`\>\>
463
-
464
- ***
465
-
466
- ### payload()
467
-
468
- ```ts
469
- payload(index): undefined | WithHashStorageMeta<T[1][number]>;
470
- ```
471
-
472
- ### Parameters
473
-
474
- #### index
475
-
476
- `number`
477
-
478
- ### Returns
479
-
480
- `undefined` \| `WithHashStorageMeta`\<`T`\[`1`\]\[`number`\]\>
481
-
482
- ### Implementation of
483
-
484
- ```ts
485
- HydratedBlockInstance.payload
486
- ```
487
-
488
- ***
489
-
490
- ### signature()
491
-
492
- ```ts
493
- signature(index): undefined | SignatureInstance;
494
- ```
495
-
496
- ### Parameters
497
-
498
- #### index
499
-
500
- `number`
501
-
502
- ### Returns
503
-
504
- `undefined` \| `SignatureInstance`
505
-
506
- ### Implementation of
507
-
508
- ```ts
509
- HydratedBlockInstance.signature
510
- ```
511
-
512
- ***
513
-
514
- ### transaction()
515
-
516
- ```ts
517
- transaction(index):
518
- | undefined
519
- | HydratedTransactionInstance<HydratedTransaction, AllowedBlockPayload>;
520
- ```
521
-
522
- ### Parameters
523
-
524
- #### index
478
+ #### \_\_namedParameters
525
479
 
526
- `number`
480
+ `TransactionFeesHex` | `TransactionFeesBigInt`
527
481
 
528
482
  ### Returns
529
483
 
530
- \| `undefined`
531
- \| `HydratedTransactionInstance`\<`HydratedTransaction`, `AllowedBlockPayload`\>
532
-
533
- ### Implementation of
534
-
535
- ```ts
536
- HydratedBlockInstance.transaction
537
- ```
484
+ `Promisable`\<`Error`[]\>
538
485
 
539
486
  ***
540
487
 
@@ -551,50 +498,12 @@ validate(): Promise<Error[]>;
551
498
  ### Implementation of
552
499
 
553
500
  ```ts
554
- HydratedBlockInstance.validate
555
- ```
556
-
557
- ***
558
-
559
- ### validateState()
560
-
561
- ```ts
562
- validateState(services): Promise<Error[]>;
563
- ```
564
-
565
- ### Parameters
566
-
567
- #### services
568
-
569
- ##### accountBalance
570
-
571
- `AccountBalanceServiceV2`
572
-
573
- ### Returns
574
-
575
- `Promise`\<`Error`[]\>
576
-
577
- ***
578
-
579
- ### parse()
580
-
581
- ```ts
582
- protected parse(validate): Promise<HydratedBlockInstance<[WithHashStorageMeta<T[0]>, WithHashStorageMeta<T[1][number]>[]]>>;
501
+ TransactionFeesInstance.validate
583
502
  ```
584
503
 
585
- ### Parameters
586
-
587
- #### validate
588
-
589
- `boolean` = `false`
590
-
591
- ### Returns
592
-
593
- `Promise`\<`HydratedBlockInstance`\<\[`WithHashStorageMeta`\<`T`\[`0`\]\>, `WithHashStorageMeta`\<`T`\[`1`\]\[`number`\]\>[]\]\>\>
594
-
595
504
  ### <a id="HydratedTransactionWrapper"></a>HydratedTransactionWrapper
596
505
 
597
- [**@xyo-network/chain-wrappers**](#../README)
506
+ [**@xyo-network/xl1-wrappers**](#../README)
598
507
 
599
508
  ***
600
509
 
@@ -602,7 +511,7 @@ protected parse(validate): Promise<HydratedBlockInstance<[WithHashStorageMeta<T[
602
511
 
603
512
  ### T
604
513
 
605
- `T` *extends* `HydratedTransaction`
514
+ `T` *extends* `HydratedTransactionWithStorageMeta`
606
515
 
607
516
  ## Implements
608
517
 
@@ -749,12 +658,16 @@ HydratedTransactionInstance.externalPayloads
749
658
  ### Get Signature
750
659
 
751
660
  ```ts
752
- get from(): Lowercase<string>;
661
+ get from(): Brand<Brand<Lowercase<string>, {
662
+ }>, {
663
+ }>;
753
664
  ```
754
665
 
755
666
  #### Returns
756
667
 
757
- `Lowercase`\<`string`\>
668
+ `Brand`\<`Brand`\<`Lowercase`\<`string`\>, \{
669
+ \}\>, \{
670
+ \}\>
758
671
 
759
672
  ***
760
673
 
@@ -888,7 +801,7 @@ static parse<T>(transaction, validate): Promise<HydratedTransactionInstance<[T[0
888
801
 
889
802
  #### T
890
803
 
891
- `T` *extends* `HydratedTransaction`
804
+ `T` *extends* `HydratedTransactionWithStorageMeta`
892
805
 
893
806
  ### Parameters
894
807
 
@@ -1045,1350 +958,773 @@ protected parse(validate): Promise<HydratedTransactionInstance<[WithHashStorageM
1045
958
 
1046
959
  `Promise`\<`HydratedTransactionInstance`\<\[`WithHashStorageMeta`\<`T`\[`0`\]\>, `WithHashStorageMeta`\<`T`\[`1`\]\[`number`\]\>[]\], `AllowedBlockPayload`\>\>
1047
960
 
1048
- ### <a id="IndexedHydratedBlockRangeStore"></a>IndexedHydratedBlockRangeStore
961
+ ### <a id="ShiftedBigInt"></a>ShiftedBigInt
1049
962
 
1050
- [**@xyo-network/chain-wrappers**](#../README)
963
+ [**@xyo-network/xl1-wrappers**](#../README)
1051
964
 
1052
965
  ***
1053
966
 
1054
- ## Extends
1055
-
1056
- - `BaseEmitter`\<[`HydratedBlockRangeStoreParams`](#../interfaces/HydratedBlockRangeStoreParams)\>
1057
-
1058
- ## Implements
967
+ ## Deprecated
1059
968
 
1060
- - [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance)
969
+ use from @xyo-network/xl1-protocol instead
1061
970
 
1062
971
  ## Constructors
1063
972
 
1064
973
  ### Constructor
1065
974
 
1066
975
  ```ts
1067
- protected new IndexedHydratedBlockRangeStore(
1068
- params,
1069
- firstNumber,
1070
- lastNumber): IndexedHydratedBlockRangeStore;
976
+ new ShiftedBigInt(value, config): ShiftedBigInt;
1071
977
  ```
1072
978
 
1073
979
  ### Parameters
1074
980
 
1075
- #### params
981
+ #### value
982
+
983
+ `bigint` | `ShiftedBigInt`
1076
984
 
1077
- [`HydratedBlockRangeStoreParams`](#../interfaces/HydratedBlockRangeStoreParams)
985
+ #### config
1078
986
 
1079
- #### firstNumber
987
+ `Partial`\<`ShiftedBigIntConfig`\> = `{}`
1080
988
 
1081
- `number`
989
+ ### Returns
1082
990
 
1083
- #### lastNumber
991
+ `ShiftedBigInt`
1084
992
 
1085
- `number`
993
+ ## Properties
1086
994
 
1087
- ### Returns
995
+ ### ~~defaultConfig~~
1088
996
 
1089
- `IndexedHydratedBlockRangeStore`
997
+ ```ts
998
+ readonly static defaultConfig: ShiftedBigIntConfig;
999
+ ```
1000
+
1001
+ ***
1002
+
1003
+ ### ~~config~~
1004
+
1005
+ ```ts
1006
+ config: ShiftedBigIntConfig;
1007
+ ```
1008
+
1009
+ ***
1090
1010
 
1091
- ### Overrides
1011
+ ### ~~value~~
1092
1012
 
1093
1013
  ```ts
1094
- BaseEmitter<HydratedBlockRangeStoreParams>.constructor
1014
+ value: bigint;
1095
1015
  ```
1096
1016
 
1097
1017
  ## Accessors
1098
1018
 
1099
- ### count
1019
+ ### ~~locale~~
1100
1020
 
1101
1021
  ### Get Signature
1102
1022
 
1103
1023
  ```ts
1104
- get count(): number;
1024
+ get locale(): LocalesArgument;
1105
1025
  ```
1106
1026
 
1107
1027
  #### Returns
1108
1028
 
1109
- `number`
1110
-
1111
- ### Implementation of
1112
-
1113
- [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance).[`count`](../interfaces/IndexedHydratedBlockRangeStoreInstance.md#count)
1029
+ `LocalesArgument`
1114
1030
 
1115
1031
  ***
1116
1032
 
1117
- ### numberRange
1033
+ ### ~~maxCharacters~~
1118
1034
 
1119
1035
  ### Get Signature
1120
1036
 
1121
1037
  ```ts
1122
- get numberRange(): [number, number];
1038
+ get maxCharacters(): number;
1123
1039
  ```
1124
1040
 
1125
1041
  #### Returns
1126
1042
 
1127
- \[`number`, `number`\]
1043
+ `number`
1128
1044
 
1129
- ### Implementation of
1045
+ ***
1046
+
1047
+ ### ~~maxDecimal~~
1048
+
1049
+ ### Get Signature
1050
+
1051
+ ```ts
1052
+ get maxDecimal(): number;
1053
+ ```
1054
+
1055
+ #### Returns
1130
1056
 
1131
- [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance).[`numberRange`](../interfaces/IndexedHydratedBlockRangeStoreInstance.md#numberrange)
1057
+ `number`
1132
1058
 
1133
1059
  ***
1134
1060
 
1135
- ### range
1061
+ ### ~~minDecimals~~
1136
1062
 
1137
1063
  ### Get Signature
1138
1064
 
1139
1065
  ```ts
1140
- get range(): [Lowercase<string>, Lowercase<string>];
1066
+ get minDecimals(): number;
1141
1067
  ```
1142
1068
 
1143
1069
  #### Returns
1144
1070
 
1145
- \[`Lowercase`\<`string`\>, `Lowercase`\<`string`\>\]
1146
-
1147
- ### Implementation of
1071
+ `number`
1148
1072
 
1149
- [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance).[`range`](../interfaces/IndexedHydratedBlockRangeStoreInstance.md#range)
1073
+ ***
1150
1074
 
1151
- ## Methods
1075
+ ### ~~places~~
1152
1076
 
1153
- ### create()
1077
+ ### Get Signature
1154
1078
 
1155
1079
  ```ts
1156
- static create(params): Promise<IndexedHydratedBlockRangeStore>;
1080
+ get places(): number;
1157
1081
  ```
1158
1082
 
1159
- ### Parameters
1083
+ #### Returns
1084
+
1085
+ `number`
1086
+
1087
+ ## Methods
1160
1088
 
1161
- #### params
1089
+ ### ~~toFullString()~~
1162
1090
 
1163
- [`HydratedBlockRangeStoreParams`](#../interfaces/HydratedBlockRangeStoreParams)
1091
+ ```ts
1092
+ toFullString(): string;
1093
+ ```
1164
1094
 
1165
1095
  ### Returns
1166
1096
 
1167
- `Promise`\<`IndexedHydratedBlockRangeStore`\>
1097
+ `string`
1168
1098
 
1169
1099
  ***
1170
1100
 
1171
- ### first()
1101
+ ### ~~toShortString()~~
1172
1102
 
1173
1103
  ```ts
1174
- first(): Promise<HydratedBlock>;
1104
+ toShortString(): string;
1175
1105
  ```
1176
1106
 
1177
1107
  ### Returns
1178
1108
 
1179
- `Promise`\<`HydratedBlock`\>
1180
-
1181
- ### Implementation of
1182
-
1183
- [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance).[`first`](../interfaces/IndexedHydratedBlockRangeStoreInstance.md#first)
1109
+ `string`
1184
1110
 
1185
1111
  ***
1186
1112
 
1187
- ### fromHash()
1113
+ ### ~~toString()~~
1188
1114
 
1189
1115
  ```ts
1190
- fromHash(hash): Promise<undefined | HydratedBlock>;
1116
+ toString(): string;
1191
1117
  ```
1192
1118
 
1193
- ### Parameters
1119
+ ### Returns
1194
1120
 
1195
- #### hash
1121
+ `string`
1196
1122
 
1197
- `Lowercase`\<`string`\>
1123
+ ### <a id="SignatureWrapper"></a>SignatureWrapper
1198
1124
 
1199
- ### Returns
1125
+ [**@xyo-network/xl1-wrappers**](#../README)
1200
1126
 
1201
- `Promise`\<`undefined` \| `HydratedBlock`\>
1127
+ ***
1202
1128
 
1203
- ### Implementation of
1129
+ ## Implements
1204
1130
 
1205
- [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance).[`fromHash`](../interfaces/IndexedHydratedBlockRangeStoreInstance.md#fromhash)
1131
+ - `SignatureInstance`
1206
1132
 
1207
- ***
1133
+ ## Constructors
1208
1134
 
1209
- ### fromNumber()
1135
+ ### Constructor
1210
1136
 
1211
1137
  ```ts
1212
- fromNumber(number): Promisable<undefined | HydratedBlock>;
1138
+ new SignatureWrapper(
1139
+ signature,
1140
+ address,
1141
+ hash): SignatureWrapper;
1213
1142
  ```
1214
1143
 
1215
1144
  ### Parameters
1216
1145
 
1217
- #### number
1146
+ #### signature
1218
1147
 
1219
- `number`
1148
+ `Brand`
1220
1149
 
1221
- ### Returns
1150
+ #### address
1222
1151
 
1223
- `Promisable`\<`undefined` \| `HydratedBlock`\>
1152
+ `Brand`
1224
1153
 
1225
- ### Implementation of
1154
+ #### hash
1226
1155
 
1227
- [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance).[`fromNumber`](../interfaces/IndexedHydratedBlockRangeStoreInstance.md#fromnumber)
1156
+ `Brand`
1228
1157
 
1229
- ***
1158
+ ### Returns
1230
1159
 
1231
- ### last()
1160
+ `SignatureWrapper`
1232
1161
 
1233
- ```ts
1234
- last(): Promise<HydratedBlock>;
1235
- ```
1162
+ ## Properties
1236
1163
 
1237
- ### Returns
1164
+ ### address
1238
1165
 
1239
- `Promise`\<`HydratedBlock`\>
1166
+ ```ts
1167
+ address: Brand;
1168
+ ```
1240
1169
 
1241
1170
  ### Implementation of
1242
1171
 
1243
- [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance).[`last`](../interfaces/IndexedHydratedBlockRangeStoreInstance.md#last)
1172
+ ```ts
1173
+ SignatureInstance.address
1174
+ ```
1244
1175
 
1245
1176
  ***
1246
1177
 
1247
- ### next()
1248
-
1249
- ### Call Signature
1178
+ ### hash
1250
1179
 
1251
1180
  ```ts
1252
- next(from): Promise<undefined | HydratedBlock>;
1181
+ hash: Brand;
1253
1182
  ```
1254
1183
 
1255
- #### Parameters
1184
+ ### Implementation of
1185
+
1186
+ ```ts
1187
+ SignatureInstance.hash
1188
+ ```
1256
1189
 
1257
- ##### from
1190
+ ***
1258
1191
 
1259
- `HydratedBlock`
1192
+ ### signature
1260
1193
 
1261
- #### Returns
1194
+ ```ts
1195
+ signature: Brand;
1196
+ ```
1262
1197
 
1263
- `Promise`\<`undefined` \| `HydratedBlock`\>
1198
+ ### Implementation of
1264
1199
 
1265
- #### Implementation of
1200
+ ```ts
1201
+ SignatureInstance.signature
1202
+ ```
1266
1203
 
1267
- [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance).[`next`](../interfaces/IndexedHydratedBlockRangeStoreInstance.md#next)
1204
+ ## Methods
1268
1205
 
1269
- ### Call Signature
1206
+ ### validate()
1270
1207
 
1271
1208
  ```ts
1272
- next(from, count): Promise<HydratedBlock[]>;
1209
+ static validate(
1210
+ hash,
1211
+ address,
1212
+ signature): Promise<Error[]>;
1273
1213
  ```
1274
1214
 
1275
- #### Parameters
1215
+ ### Parameters
1276
1216
 
1277
- ##### from
1217
+ #### hash
1278
1218
 
1279
- `HydratedBlock`
1219
+ `Brand`
1280
1220
 
1281
- ##### count
1221
+ #### address
1282
1222
 
1283
- `number`
1223
+ `Brand`
1284
1224
 
1285
- #### Returns
1225
+ #### signature
1286
1226
 
1287
- `Promise`\<`HydratedBlock`[]\>
1227
+ `Brand`
1288
1228
 
1289
- #### Implementation of
1229
+ ### Returns
1290
1230
 
1291
- [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance).[`next`](../interfaces/IndexedHydratedBlockRangeStoreInstance.md#next)
1231
+ `Promise`\<`Error`[]\>
1292
1232
 
1293
1233
  ***
1294
1234
 
1295
- ### prev()
1296
-
1297
- ### Call Signature
1235
+ ### validate()
1298
1236
 
1299
1237
  ```ts
1300
- prev(from): Promise<undefined | HydratedBlock>;
1238
+ validate(): Promise<Error[]>;
1301
1239
  ```
1302
1240
 
1303
- #### Parameters
1241
+ ### Returns
1304
1242
 
1305
- ##### from
1306
-
1307
- `HydratedBlock`
1308
-
1309
- #### Returns
1310
-
1311
- `Promise`\<`undefined` \| `HydratedBlock`\>
1312
-
1313
- #### Implementation of
1314
-
1315
- [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance).[`prev`](../interfaces/IndexedHydratedBlockRangeStoreInstance.md#prev)
1243
+ `Promise`\<`Error`[]\>
1316
1244
 
1317
- ### Call Signature
1245
+ ### Implementation of
1318
1246
 
1319
1247
  ```ts
1320
- prev(from, count): Promise<HydratedBlock[]>;
1248
+ SignatureInstance.validate
1321
1249
  ```
1322
1250
 
1323
- #### Parameters
1324
-
1325
- ##### from
1326
-
1327
- `HydratedBlock`
1328
-
1329
- ##### count
1330
-
1331
- `number`
1332
-
1333
- #### Returns
1251
+ ### <a id="XL1Amount"></a>XL1Amount
1334
1252
 
1335
- `Promise`\<`HydratedBlock`[]\>
1253
+ [**@xyo-network/xl1-wrappers**](#../README)
1336
1254
 
1337
- #### Implementation of
1255
+ ***
1338
1256
 
1339
- [`IndexedHydratedBlockRangeStoreInstance`](#../interfaces/IndexedHydratedBlockRangeStoreInstance).[`prev`](../interfaces/IndexedHydratedBlockRangeStoreInstance.md#prev)
1257
+ ## Deprecated
1340
1258
 
1341
- ### <a id="ShiftedBigInt"></a>ShiftedBigInt
1259
+ use from @xyo-network/xl1-protocol instead
1342
1260
 
1343
- [**@xyo-network/chain-wrappers**](#../README)
1261
+ ## Implements
1344
1262
 
1345
- ***
1263
+ - [`XL1AmountInstance`](#../interfaces/XL1AmountInstance)
1346
1264
 
1347
1265
  ## Constructors
1348
1266
 
1349
1267
  ### Constructor
1350
1268
 
1351
1269
  ```ts
1352
- new ShiftedBigInt(value, config): ShiftedBigInt;
1270
+ new XL1Amount(value, locale): XL1Amount;
1353
1271
  ```
1354
1272
 
1355
1273
  ### Parameters
1356
1274
 
1357
1275
  #### value
1358
1276
 
1359
- `bigint` | `ShiftedBigInt`
1277
+ `bigint`
1360
1278
 
1361
- #### config
1279
+ #### locale
1362
1280
 
1363
- `Partial`\<`ShiftedBigIntConfig`\> = `{}`
1281
+ `LocalesArgument` = `'en-US'`
1364
1282
 
1365
1283
  ### Returns
1366
1284
 
1367
- `ShiftedBigInt`
1285
+ `XL1Amount`
1368
1286
 
1369
1287
  ## Properties
1370
1288
 
1371
- ### defaultConfig
1289
+ ### ~~value~~
1372
1290
 
1373
1291
  ```ts
1374
- readonly static defaultConfig: ShiftedBigIntConfig;
1375
- ```
1376
-
1377
- ***
1378
-
1379
- ### config
1380
-
1381
- ```ts
1382
- config: ShiftedBigIntConfig;
1292
+ value: AttoXL1;
1383
1293
  ```
1384
1294
 
1385
- ***
1386
-
1387
- ### value
1295
+ ### Implementation of
1388
1296
 
1389
- ```ts
1390
- value: bigint;
1391
- ```
1297
+ [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`value`](../interfaces/XL1AmountInstance.md#value)
1392
1298
 
1393
1299
  ## Accessors
1394
1300
 
1395
- ### locale
1301
+ ### ~~milli~~
1396
1302
 
1397
1303
  ### Get Signature
1398
1304
 
1399
1305
  ```ts
1400
- get locale(): LocalesArgument;
1306
+ get milli(): MilliXL1;
1401
1307
  ```
1402
1308
 
1403
1309
  #### Returns
1404
1310
 
1405
- `LocalesArgument`
1406
-
1407
- ***
1408
-
1409
- ### maxCharacters
1410
-
1411
- ### Get Signature
1412
-
1413
- ```ts
1414
- get maxCharacters(): number;
1415
- ```
1311
+ `MilliXL1`
1416
1312
 
1417
- #### Returns
1313
+ ### Implementation of
1418
1314
 
1419
- `number`
1315
+ [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`milli`](../interfaces/XL1AmountInstance.md#milli)
1420
1316
 
1421
1317
  ***
1422
1318
 
1423
- ### maxDecimal
1319
+ ### ~~micro~~
1424
1320
 
1425
1321
  ### Get Signature
1426
1322
 
1427
1323
  ```ts
1428
- get maxDecimal(): number;
1324
+ get micro(): MicroXL1;
1429
1325
  ```
1430
1326
 
1431
1327
  #### Returns
1432
1328
 
1433
- `number`
1434
-
1435
- ***
1436
-
1437
- ### minDecimals
1438
-
1439
- ### Get Signature
1440
-
1441
- ```ts
1442
- get minDecimals(): number;
1443
- ```
1329
+ `MicroXL1`
1444
1330
 
1445
- #### Returns
1331
+ ### Implementation of
1446
1332
 
1447
- `number`
1333
+ [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`micro`](../interfaces/XL1AmountInstance.md#micro)
1448
1334
 
1449
1335
  ***
1450
1336
 
1451
- ### places
1337
+ ### ~~nano~~
1452
1338
 
1453
1339
  ### Get Signature
1454
1340
 
1455
1341
  ```ts
1456
- get places(): number;
1342
+ get nano(): NanoXL1;
1457
1343
  ```
1458
1344
 
1459
1345
  #### Returns
1460
1346
 
1461
- `number`
1462
-
1463
- ## Methods
1464
-
1465
- ### toFullString()
1466
-
1467
- ```ts
1468
- toFullString(): string;
1469
- ```
1470
-
1471
- ### Returns
1472
-
1473
- `string`
1474
-
1475
- ***
1476
-
1477
- ### toShortString()
1478
-
1479
- ```ts
1480
- toShortString(): string;
1481
- ```
1482
-
1483
- ### Returns
1484
-
1485
- `string`
1486
-
1487
- ***
1488
-
1489
- ### toString()
1490
-
1491
- ```ts
1492
- toString(): string;
1493
- ```
1494
-
1495
- ### Returns
1496
-
1497
- `string`
1498
-
1499
- ### <a id="SignatureWrapper"></a>SignatureWrapper
1500
-
1501
- [**@xyo-network/chain-wrappers**](#../README)
1502
-
1503
- ***
1504
-
1505
- ## Implements
1506
-
1507
- - `SignatureInstance`
1508
-
1509
- ## Constructors
1510
-
1511
- ### Constructor
1512
-
1513
- ```ts
1514
- new SignatureWrapper(
1515
- signature,
1516
- address,
1517
- hash): SignatureWrapper;
1518
- ```
1519
-
1520
- ### Parameters
1521
-
1522
- #### signature
1523
-
1524
- `Lowercase`\<`string`\>
1525
-
1526
- #### address
1527
-
1528
- `Lowercase`\<`string`\>
1529
-
1530
- #### hash
1531
-
1532
- `Lowercase`\<`string`\>
1533
-
1534
- ### Returns
1535
-
1536
- `SignatureWrapper`
1537
-
1538
- ## Properties
1539
-
1540
- ### address
1541
-
1542
- ```ts
1543
- address: Lowercase<string>;
1544
- ```
1545
-
1546
- ### Implementation of
1547
-
1548
- ```ts
1549
- SignatureInstance.address
1550
- ```
1551
-
1552
- ***
1553
-
1554
- ### hash
1555
-
1556
- ```ts
1557
- hash: Lowercase<string>;
1558
- ```
1559
-
1560
- ### Implementation of
1561
-
1562
- ```ts
1563
- SignatureInstance.hash
1564
- ```
1565
-
1566
- ***
1567
-
1568
- ### signature
1569
-
1570
- ```ts
1571
- signature: Lowercase<string>;
1572
- ```
1573
-
1574
- ### Implementation of
1575
-
1576
- ```ts
1577
- SignatureInstance.signature
1578
- ```
1579
-
1580
- ## Methods
1581
-
1582
- ### validate()
1583
-
1584
- ```ts
1585
- static validate(
1586
- hash,
1587
- address,
1588
- signature): Promise<Error[]>;
1589
- ```
1590
-
1591
- ### Parameters
1592
-
1593
- #### hash
1594
-
1595
- `Lowercase`\<`string`\>
1596
-
1597
- #### address
1598
-
1599
- `Lowercase`\<`string`\>
1600
-
1601
- #### signature
1602
-
1603
- `Lowercase`\<`string`\>
1604
-
1605
- ### Returns
1606
-
1607
- `Promise`\<`Error`[]\>
1608
-
1609
- ***
1610
-
1611
- ### validate()
1612
-
1613
- ```ts
1614
- validate(): Promise<Error[]>;
1615
- ```
1616
-
1617
- ### Returns
1618
-
1619
- `Promise`\<`Error`[]\>
1620
-
1621
- ### Implementation of
1622
-
1623
- ```ts
1624
- SignatureInstance.validate
1625
- ```
1626
-
1627
- ### <a id="XL1Amount"></a>XL1Amount
1628
-
1629
- [**@xyo-network/chain-wrappers**](#../README)
1630
-
1631
- ***
1632
-
1633
- ## Implements
1634
-
1635
- - [`XL1AmountInstance`](#../interfaces/XL1AmountInstance)
1636
-
1637
- ## Constructors
1638
-
1639
- ### Constructor
1640
-
1641
- ```ts
1642
- new XL1Amount(value, locale): XL1Amount;
1643
- ```
1644
-
1645
- ### Parameters
1646
-
1647
- #### value
1648
-
1649
- `bigint`
1650
-
1651
- #### locale
1652
-
1653
- `LocalesArgument` = `'en-US'`
1654
-
1655
- ### Returns
1656
-
1657
- `XL1Amount`
1658
-
1659
- ## Properties
1660
-
1661
- ### value
1662
-
1663
- ```ts
1664
- value: AttoXL1;
1665
- ```
1666
-
1667
- ### Implementation of
1668
-
1669
- [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`value`](../interfaces/XL1AmountInstance.md#value)
1670
-
1671
- ## Accessors
1672
-
1673
- ### milli
1674
-
1675
- ### Get Signature
1676
-
1677
- ```ts
1678
- get milli(): MilliXL1;
1679
- ```
1680
-
1681
- #### Returns
1682
-
1683
- `MilliXL1`
1684
-
1685
- ### Implementation of
1686
-
1687
- [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`milli`](../interfaces/XL1AmountInstance.md#milli)
1688
-
1689
- ***
1690
-
1691
- ### micro
1692
-
1693
- ### Get Signature
1694
-
1695
- ```ts
1696
- get micro(): MicroXL1;
1697
- ```
1698
-
1699
- #### Returns
1700
-
1701
- `MicroXL1`
1702
-
1703
- ### Implementation of
1704
-
1705
- [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`micro`](../interfaces/XL1AmountInstance.md#micro)
1706
-
1707
- ***
1708
-
1709
- ### nano
1710
-
1711
- ### Get Signature
1712
-
1713
- ```ts
1714
- get nano(): NanoXL1;
1715
- ```
1716
-
1717
- #### Returns
1718
-
1719
- `NanoXL1`
1720
-
1721
- ### Implementation of
1722
-
1723
- [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`nano`](../interfaces/XL1AmountInstance.md#nano)
1724
-
1725
- ***
1726
-
1727
- ### pico
1728
-
1729
- ### Get Signature
1730
-
1731
- ```ts
1732
- get pico(): PicoXL1;
1733
- ```
1734
-
1735
- #### Returns
1736
-
1737
- `PicoXL1`
1738
-
1739
- ### Implementation of
1740
-
1741
- [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`pico`](../interfaces/XL1AmountInstance.md#pico)
1742
-
1743
- ***
1744
-
1745
- ### femto
1746
-
1747
- ### Get Signature
1748
-
1749
- ```ts
1750
- get femto(): FemtoXL1;
1751
- ```
1752
-
1753
- #### Returns
1754
-
1755
- `FemtoXL1`
1756
-
1757
- ### Implementation of
1758
-
1759
- [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`femto`](../interfaces/XL1AmountInstance.md#femto)
1760
-
1761
- ***
1762
-
1763
- ### atto
1764
-
1765
- ### Get Signature
1766
-
1767
- ```ts
1768
- get atto(): AttoXL1;
1769
- ```
1770
-
1771
- #### Returns
1772
-
1773
- `AttoXL1`
1774
-
1775
- ### Implementation of
1776
-
1777
- [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`atto`](../interfaces/XL1AmountInstance.md#atto)
1778
-
1779
- ## Methods
1780
-
1781
- ### from()
1782
-
1783
- ```ts
1784
- static from(value, places): XL1Amount;
1785
- ```
1786
-
1787
- ### Parameters
1788
-
1789
- #### value
1790
-
1791
- `bigint`
1792
-
1793
- #### places
1794
-
1795
- `bigint` = `XL1Places.atto`
1796
-
1797
- ### Returns
1798
-
1799
- `XL1Amount`
1800
-
1801
- ***
1802
-
1803
- ### fromMilli()
1804
-
1805
- ```ts
1806
- static fromMilli(value): XL1Amount;
1807
- ```
1808
-
1809
- ### Parameters
1810
-
1811
- #### value
1812
-
1813
- `MilliXL1`
1814
-
1815
- ### Returns
1816
-
1817
- `XL1Amount`
1818
-
1819
- ***
1820
-
1821
- ### fromMicro()
1822
-
1823
- ```ts
1824
- static fromMicro(value): XL1Amount;
1825
- ```
1826
-
1827
- ### Parameters
1828
-
1829
- #### value
1830
-
1831
- `MicroXL1`
1832
-
1833
- ### Returns
1834
-
1835
- `XL1Amount`
1836
-
1837
- ***
1838
-
1839
- ### fromNano()
1840
-
1841
- ```ts
1842
- static fromNano(value): XL1Amount;
1843
- ```
1844
-
1845
- ### Parameters
1846
-
1847
- #### value
1848
-
1849
1347
  `NanoXL1`
1850
1348
 
1851
- ### Returns
1852
-
1853
- `XL1Amount`
1854
-
1855
- ***
1856
-
1857
- ### fromPico()
1858
-
1859
- ```ts
1860
- static fromPico(value): XL1Amount;
1861
- ```
1862
-
1863
- ### Parameters
1864
-
1865
- #### value
1866
-
1867
- `PicoXL1`
1868
-
1869
- ### Returns
1870
-
1871
- `XL1Amount`
1872
-
1873
- ***
1874
-
1875
- ### fromFemto()
1876
-
1877
- ```ts
1878
- static fromFemto(value): XL1Amount;
1879
- ```
1880
-
1881
- ### Parameters
1882
-
1883
- #### value
1884
-
1885
- `FemtoXL1`
1886
-
1887
- ### Returns
1888
-
1889
- `XL1Amount`
1890
-
1891
- ***
1892
-
1893
- ### fromAtto()
1894
-
1895
- ```ts
1896
- static fromAtto(value): XL1Amount;
1897
- ```
1898
-
1899
- ### Parameters
1900
-
1901
- #### value
1902
-
1903
- `AttoXL1`
1904
-
1905
- ### Returns
1906
-
1907
- `XL1Amount`
1908
-
1909
- ***
1910
-
1911
- ### to()
1912
-
1913
- ```ts
1914
- to(places): bigint;
1915
- ```
1916
-
1917
- ### Parameters
1918
-
1919
- #### places
1920
-
1921
- `number` | `bigint`
1922
-
1923
- ### Returns
1924
-
1925
- `bigint`
1926
-
1927
- ### Implementation of
1928
-
1929
- [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`to`](../interfaces/XL1AmountInstance.md#to)
1930
-
1931
- ***
1932
-
1933
- ### toString()
1934
-
1935
- ```ts
1936
- toString(places, config): string;
1937
- ```
1938
-
1939
- ### Parameters
1940
-
1941
- #### places
1942
-
1943
- `number` = `...`
1944
-
1945
- #### config
1946
-
1947
- `Partial`\<`ShiftedBigIntConfig`\> = `{}`
1948
-
1949
- ### Returns
1950
-
1951
- `string`
1952
-
1953
- ### Implementation of
1954
-
1955
- [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`toString`](../interfaces/XL1AmountInstance.md#tostring)
1956
-
1957
- ### functions
1958
-
1959
- ### <a id="splitOnDecimal"></a>splitOnDecimal
1960
-
1961
- [**@xyo-network/chain-wrappers**](#../README)
1962
-
1963
- ***
1964
-
1965
- ```ts
1966
- function splitOnDecimal(value, places): [bigint, bigint];
1967
- ```
1968
-
1969
- ## Parameters
1970
-
1971
- ### value
1972
-
1973
- `bigint`
1974
-
1975
- ### places
1976
-
1977
- `number` = `18`
1978
-
1979
- ## Returns
1980
-
1981
- \[`bigint`, `bigint`\]
1982
-
1983
- ### <a id="splitOnDecimalToString"></a>splitOnDecimalToString
1984
-
1985
- [**@xyo-network/chain-wrappers**](#../README)
1986
-
1987
- ***
1988
-
1989
- ```ts
1990
- function splitOnDecimalToString(
1991
- value,
1992
- places,
1993
- maxDecimal,
1994
- maxCharacters,
1995
- minDecimals,
1996
- locale): string;
1997
- ```
1998
-
1999
- ## Parameters
2000
-
2001
- ### value
2002
-
2003
- `bigint`
1349
+ ### Implementation of
2004
1350
 
2005
- ### places
1351
+ [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`nano`](../interfaces/XL1AmountInstance.md#nano)
2006
1352
 
2007
- `number` = `18`
1353
+ ***
2008
1354
 
2009
- ### maxDecimal
1355
+ ### ~~pico~~
2010
1356
 
2011
- `number` = `places`
1357
+ ### Get Signature
2012
1358
 
2013
- ### maxCharacters
1359
+ ```ts
1360
+ get pico(): PicoXL1;
1361
+ ```
2014
1362
 
2015
- `number` = `9`
1363
+ #### Returns
2016
1364
 
2017
- ### minDecimals
1365
+ `PicoXL1`
2018
1366
 
2019
- `number` = `1`
1367
+ ### Implementation of
2020
1368
 
2021
- ### locale
1369
+ [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`pico`](../interfaces/XL1AmountInstance.md#pico)
2022
1370
 
2023
- `LocalesArgument` = `'en-US'`
1371
+ ***
2024
1372
 
2025
- ## Returns
1373
+ ### ~~femto~~
2026
1374
 
2027
- `string`
1375
+ ### Get Signature
2028
1376
 
2029
- ### interfaces
1377
+ ```ts
1378
+ get femto(): FemtoXL1;
1379
+ ```
2030
1380
 
2031
- ### <a id="HydratedBlockRangeStoreParams"></a>HydratedBlockRangeStoreParams
1381
+ #### Returns
2032
1382
 
2033
- [**@xyo-network/chain-wrappers**](#../README)
1383
+ `FemtoXL1`
2034
1384
 
2035
- ***
1385
+ ### Implementation of
2036
1386
 
2037
- ## Extends
1387
+ [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`femto`](../interfaces/XL1AmountInstance.md#femto)
2038
1388
 
2039
- - [`HydratedBlockStoreParams`](#../type-aliases/HydratedBlockStoreParams)\<\{
2040
- `first`: `Hash`;
2041
- `last`: `Hash`;
2042
- `snapshotArchivist`: `ArchivistInstance`;
2043
- \}\>
1389
+ ***
2044
1390
 
2045
- ## Properties
1391
+ ### ~~atto~~
2046
1392
 
2047
- ### sourceArchivist
1393
+ ### Get Signature
2048
1394
 
2049
1395
  ```ts
2050
- sourceArchivist: ArchivistInstance;
1396
+ get atto(): AttoXL1;
2051
1397
  ```
2052
1398
 
2053
- ### Inherited from
1399
+ #### Returns
2054
1400
 
2055
- ```ts
2056
- HydratedBlockStoreParams.sourceArchivist
2057
- ```
1401
+ `AttoXL1`
2058
1402
 
2059
- ***
1403
+ ### Implementation of
2060
1404
 
2061
- ### first
1405
+ [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`atto`](../interfaces/XL1AmountInstance.md#atto)
2062
1406
 
2063
- ```ts
2064
- first: Lowercase<string>;
2065
- ```
1407
+ ## Methods
2066
1408
 
2067
- ### Inherited from
1409
+ ### ~~from()~~
2068
1410
 
2069
1411
  ```ts
2070
- HydratedBlockStoreParams.first
1412
+ static from(value, places): XL1Amount;
2071
1413
  ```
2072
1414
 
2073
- ***
1415
+ ### Parameters
2074
1416
 
2075
- ### last
1417
+ #### value
2076
1418
 
2077
- ```ts
2078
- last: Lowercase<string>;
2079
- ```
1419
+ `bigint`
2080
1420
 
2081
- ### Inherited from
1421
+ #### places
2082
1422
 
2083
- ```ts
2084
- HydratedBlockStoreParams.last
2085
- ```
1423
+ `bigint` = `XL1Places.atto`
2086
1424
 
2087
- ***
1425
+ ### Returns
2088
1426
 
2089
- ### snapshotArchivist
1427
+ `XL1Amount`
2090
1428
 
2091
- ```ts
2092
- snapshotArchivist: ArchivistInstance;
2093
- ```
1429
+ ***
2094
1430
 
2095
- ### Inherited from
1431
+ ### ~~fromMilli()~~
2096
1432
 
2097
1433
  ```ts
2098
- HydratedBlockStoreParams.snapshotArchivist
1434
+ static fromMilli(value): XL1Amount;
2099
1435
  ```
2100
1436
 
2101
- ### <a id="HydratedBlockStoreInstance"></a>HydratedBlockStoreInstance
1437
+ ### Parameters
2102
1438
 
2103
- [**@xyo-network/chain-wrappers**](#../README)
1439
+ #### value
2104
1440
 
2105
- ***
1441
+ `MilliXL1`
2106
1442
 
2107
- ## Extended by
1443
+ ### Returns
2108
1444
 
2109
- - [`IndexedHydratedBlockStoreInstance`](#IndexedHydratedBlockStoreInstance)
1445
+ `XL1Amount`
2110
1446
 
2111
- ## Methods
1447
+ ***
2112
1448
 
2113
- ### fromHash()
1449
+ ### ~~fromMicro()~~
2114
1450
 
2115
1451
  ```ts
2116
- fromHash(hash): Promisable<undefined | HydratedBlock>;
1452
+ static fromMicro(value): XL1Amount;
2117
1453
  ```
2118
1454
 
2119
1455
  ### Parameters
2120
1456
 
2121
- #### hash
1457
+ #### value
2122
1458
 
2123
- `Lowercase`\<`string`\>
1459
+ `MicroXL1`
2124
1460
 
2125
1461
  ### Returns
2126
1462
 
2127
- `Promisable`\<`undefined` \| `HydratedBlock`\>
2128
-
2129
- ### <a id="IndexedHydratedBlockRangeStoreInstance"></a>IndexedHydratedBlockRangeStoreInstance
2130
-
2131
- [**@xyo-network/chain-wrappers**](#../README)
1463
+ `XL1Amount`
2132
1464
 
2133
1465
  ***
2134
1466
 
2135
- ## Extends
1467
+ ### ~~fromNano()~~
2136
1468
 
2137
- - `BlockWindowInstance`.[`IndexedHydratedBlockStoreInstance`](#IndexedHydratedBlockStoreInstance)
1469
+ ```ts
1470
+ static fromNano(value): XL1Amount;
1471
+ ```
2138
1472
 
2139
- ## Properties
1473
+ ### Parameters
2140
1474
 
2141
- ### count
1475
+ #### value
2142
1476
 
2143
- ```ts
2144
- count: number;
2145
- ```
1477
+ `NanoXL1`
2146
1478
 
2147
- ### Inherited from
1479
+ ### Returns
2148
1480
 
2149
- ```ts
2150
- BlockWindowInstance.count
2151
- ```
1481
+ `XL1Amount`
2152
1482
 
2153
1483
  ***
2154
1484
 
2155
- ### numberRange
1485
+ ### ~~fromPico()~~
2156
1486
 
2157
1487
  ```ts
2158
- numberRange: [number, number];
1488
+ static fromPico(value): XL1Amount;
2159
1489
  ```
2160
1490
 
2161
- ### Inherited from
1491
+ ### Parameters
2162
1492
 
2163
- ```ts
2164
- BlockWindowInstance.numberRange
2165
- ```
1493
+ #### value
1494
+
1495
+ `PicoXL1`
1496
+
1497
+ ### Returns
1498
+
1499
+ `XL1Amount`
2166
1500
 
2167
1501
  ***
2168
1502
 
2169
- ### range
1503
+ ### ~~fromFemto()~~
2170
1504
 
2171
1505
  ```ts
2172
- range: [Lowercase<string>, Lowercase<string>];
1506
+ static fromFemto(value): XL1Amount;
2173
1507
  ```
2174
1508
 
2175
- ### Inherited from
1509
+ ### Parameters
2176
1510
 
2177
- ```ts
2178
- BlockWindowInstance.range
2179
- ```
1511
+ #### value
2180
1512
 
2181
- ## Methods
1513
+ `FemtoXL1`
1514
+
1515
+ ### Returns
1516
+
1517
+ `XL1Amount`
2182
1518
 
2183
- ### fromHash()
1519
+ ***
1520
+
1521
+ ### ~~fromAtto()~~
2184
1522
 
2185
1523
  ```ts
2186
- fromHash(hash): Promisable<undefined | HydratedBlock>;
1524
+ static fromAtto(value): XL1Amount;
2187
1525
  ```
2188
1526
 
2189
1527
  ### Parameters
2190
1528
 
2191
- #### hash
1529
+ #### value
2192
1530
 
2193
- `Lowercase`\<`string`\>
1531
+ `AttoXL1`
2194
1532
 
2195
1533
  ### Returns
2196
1534
 
2197
- `Promisable`\<`undefined` \| `HydratedBlock`\>
2198
-
2199
- ### Inherited from
2200
-
2201
- [`IndexedHydratedBlockStoreInstance`](#IndexedHydratedBlockStoreInstance).[`fromHash`](IndexedHydratedBlockStoreInstance.md#fromhash)
1535
+ `XL1Amount`
2202
1536
 
2203
1537
  ***
2204
1538
 
2205
- ### fromNumber()
1539
+ ### ~~to()~~
2206
1540
 
2207
1541
  ```ts
2208
- fromNumber(number): Promisable<undefined | HydratedBlock>;
1542
+ to(places): bigint;
2209
1543
  ```
2210
1544
 
2211
1545
  ### Parameters
2212
1546
 
2213
- #### number
1547
+ #### places
2214
1548
 
2215
- `number`
1549
+ `number` | `bigint`
2216
1550
 
2217
1551
  ### Returns
2218
1552
 
2219
- `Promisable`\<`undefined` \| `HydratedBlock`\>
1553
+ `bigint`
2220
1554
 
2221
- ### Inherited from
1555
+ ### Implementation of
2222
1556
 
2223
- [`IndexedHydratedBlockStoreInstance`](#IndexedHydratedBlockStoreInstance).[`fromNumber`](IndexedHydratedBlockStoreInstance.md#fromnumber)
1557
+ [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`to`](../interfaces/XL1AmountInstance.md#to)
2224
1558
 
2225
1559
  ***
2226
1560
 
2227
- ### first()
1561
+ ### ~~toString()~~
2228
1562
 
2229
1563
  ```ts
2230
- first(): Promisable<HydratedBlock>;
1564
+ toString(places, config): string;
2231
1565
  ```
2232
1566
 
2233
- ### Returns
1567
+ ### Parameters
2234
1568
 
2235
- `Promisable`\<`HydratedBlock`\>
1569
+ #### places
2236
1570
 
2237
- ***
1571
+ `number` = `...`
2238
1572
 
2239
- ### last()
1573
+ #### config
2240
1574
 
2241
- ```ts
2242
- last(): Promisable<HydratedBlock>;
2243
- ```
1575
+ `Partial`\<`ShiftedBigIntConfig`\> = `{}`
2244
1576
 
2245
1577
  ### Returns
2246
1578
 
2247
- `Promisable`\<`HydratedBlock`\>
1579
+ `string`
2248
1580
 
2249
- ***
1581
+ ### Implementation of
2250
1582
 
2251
- ### next()
1583
+ [`XL1AmountInstance`](#../interfaces/XL1AmountInstance).[`toString`](../interfaces/XL1AmountInstance.md#tostring)
2252
1584
 
2253
- ### Call Signature
1585
+ ### functions
2254
1586
 
2255
- ```ts
2256
- next(from): Promisable<undefined | HydratedBlock>;
2257
- ```
1587
+ ### <a id="createSignatureWrappers"></a>createSignatureWrappers
2258
1588
 
2259
- #### Parameters
1589
+ [**@xyo-network/xl1-wrappers**](#../README)
2260
1590
 
2261
- ##### from
1591
+ ***
2262
1592
 
2263
- `HydratedBlock`
1593
+ ```ts
1594
+ function createSignatureWrappers(bw): Promise<SignatureInstance[]>;
1595
+ ```
2264
1596
 
2265
- #### Returns
1597
+ ## Parameters
2266
1598
 
2267
- `Promisable`\<`undefined` \| `HydratedBlock`\>
1599
+ ### bw
2268
1600
 
2269
- ### Call Signature
1601
+ `BoundWitness`
2270
1602
 
2271
- ```ts
2272
- next(from, count): Promisable<HydratedBlock[]>;
2273
- ```
1603
+ ## Returns
2274
1604
 
2275
- #### Parameters
1605
+ `Promise`\<`SignatureInstance`[]\>
2276
1606
 
2277
- ##### from
1607
+ ### <a id="splitOnDecimal"></a>splitOnDecimal
2278
1608
 
2279
- `HydratedBlock`
1609
+ [**@xyo-network/xl1-wrappers**](#../README)
2280
1610
 
2281
- ##### count
1611
+ ***
2282
1612
 
2283
- `number`
1613
+ ```ts
1614
+ function splitOnDecimal(value, places): [bigint, bigint];
1615
+ ```
2284
1616
 
2285
- #### Returns
1617
+ ## Parameters
2286
1618
 
2287
- `Promisable`\<`HydratedBlock`[]\>
1619
+ ### value
2288
1620
 
2289
- ***
1621
+ `bigint`
2290
1622
 
2291
- ### prev()
1623
+ ### places
2292
1624
 
2293
- ### Call Signature
1625
+ `number` = `18`
2294
1626
 
2295
- ```ts
2296
- prev(from): Promisable<undefined | HydratedBlock>;
2297
- ```
1627
+ ## Returns
2298
1628
 
2299
- #### Parameters
1629
+ \[`bigint`, `bigint`\]
2300
1630
 
2301
- ##### from
1631
+ ## Deprecated
2302
1632
 
2303
- `HydratedBlock`
1633
+ use from @xyo-network/xl1-protocol instead
2304
1634
 
2305
- #### Returns
1635
+ ### <a id="splitOnDecimalToString"></a>splitOnDecimalToString
2306
1636
 
2307
- `Promisable`\<`undefined` \| `HydratedBlock`\>
1637
+ [**@xyo-network/xl1-wrappers**](#../README)
2308
1638
 
2309
- ### Call Signature
1639
+ ***
2310
1640
 
2311
1641
  ```ts
2312
- prev(from, count): Promisable<HydratedBlock[]>;
1642
+ function splitOnDecimalToString(
1643
+ value,
1644
+ places,
1645
+ maxDecimal,
1646
+ maxCharacters,
1647
+ minDecimals,
1648
+ locale): string;
2313
1649
  ```
2314
1650
 
2315
- #### Parameters
1651
+ ## Parameters
2316
1652
 
2317
- ##### from
1653
+ ### value
2318
1654
 
2319
- `HydratedBlock`
1655
+ `bigint`
2320
1656
 
2321
- ##### count
1657
+ ### places
2322
1658
 
2323
- `number`
1659
+ `number` = `18`
2324
1660
 
2325
- #### Returns
1661
+ ### maxDecimal
2326
1662
 
2327
- `Promisable`\<`HydratedBlock`[]\>
1663
+ `number` = `places`
2328
1664
 
2329
- ### <a id="IndexedHydratedBlockStoreInstance"></a>IndexedHydratedBlockStoreInstance
1665
+ ### maxCharacters
2330
1666
 
2331
- [**@xyo-network/chain-wrappers**](#../README)
1667
+ `number` = `9`
2332
1668
 
2333
- ***
1669
+ ### minDecimals
2334
1670
 
2335
- ## Extends
1671
+ `number` = `1`
2336
1672
 
2337
- - [`HydratedBlockStoreInstance`](#HydratedBlockStoreInstance)
1673
+ ### locale
2338
1674
 
2339
- ## Extended by
1675
+ `LocalesArgument` = `'en-US'`
2340
1676
 
2341
- - [`IndexedHydratedBlockRangeStoreInstance`](#IndexedHydratedBlockRangeStoreInstance)
1677
+ ## Returns
2342
1678
 
2343
- ## Methods
1679
+ `string`
2344
1680
 
2345
- ### fromHash()
1681
+ ## Deprecated
2346
1682
 
2347
- ```ts
2348
- fromHash(hash): Promisable<undefined | HydratedBlock>;
2349
- ```
1683
+ use from @xyo-network/xl1-protocol instead
2350
1684
 
2351
- ### Parameters
1685
+ ### interfaces
2352
1686
 
2353
- #### hash
1687
+ ### <a id="BaseWrapperConfig"></a>BaseWrapperConfig
2354
1688
 
2355
- `Lowercase`\<`string`\>
1689
+ [**@xyo-network/xl1-wrappers**](#../README)
2356
1690
 
2357
- ### Returns
1691
+ ***
2358
1692
 
2359
- `Promisable`\<`undefined` \| `HydratedBlock`\>
1693
+ ## Type Parameters
2360
1694
 
2361
- ### Inherited from
1695
+ ### T
2362
1696
 
2363
- [`HydratedBlockStoreInstance`](#HydratedBlockStoreInstance).[`fromHash`](HydratedBlockStoreInstance.md#fromhash)
1697
+ `T`
2364
1698
 
2365
- ***
1699
+ ## Properties
2366
1700
 
2367
- ### fromNumber()
1701
+ ### provider
2368
1702
 
2369
1703
  ```ts
2370
- fromNumber(number): Promisable<undefined | HydratedBlock>;
1704
+ provider: XyoConnection;
2371
1705
  ```
2372
1706
 
2373
- ### Parameters
2374
-
2375
- #### number
2376
-
2377
- `number`
1707
+ ***
2378
1708
 
2379
- ### Returns
1709
+ ### value
2380
1710
 
2381
- `Promisable`\<`undefined` \| `HydratedBlock`\>
1711
+ ```ts
1712
+ value: T;
1713
+ ```
2382
1714
 
2383
1715
  ### <a id="XL1AmountInstance"></a>XL1AmountInstance
2384
1716
 
2385
- [**@xyo-network/chain-wrappers**](#../README)
1717
+ [**@xyo-network/xl1-wrappers**](#../README)
2386
1718
 
2387
1719
  ***
2388
1720
 
1721
+ ## Deprecated
1722
+
1723
+ use from @xyo-network/xl1-protocol instead
1724
+
2389
1725
  ## Properties
2390
1726
 
2391
- ### value
1727
+ ### ~~value~~
2392
1728
 
2393
1729
  ```ts
2394
1730
  value: AttoXL1;
@@ -2396,7 +1732,7 @@ value: AttoXL1;
2396
1732
 
2397
1733
  ***
2398
1734
 
2399
- ### milli
1735
+ ### ~~milli~~
2400
1736
 
2401
1737
  ```ts
2402
1738
  milli: MilliXL1;
@@ -2404,7 +1740,7 @@ milli: MilliXL1;
2404
1740
 
2405
1741
  ***
2406
1742
 
2407
- ### micro
1743
+ ### ~~micro~~
2408
1744
 
2409
1745
  ```ts
2410
1746
  micro: MicroXL1;
@@ -2412,7 +1748,7 @@ micro: MicroXL1;
2412
1748
 
2413
1749
  ***
2414
1750
 
2415
- ### nano
1751
+ ### ~~nano~~
2416
1752
 
2417
1753
  ```ts
2418
1754
  nano: NanoXL1;
@@ -2420,7 +1756,7 @@ nano: NanoXL1;
2420
1756
 
2421
1757
  ***
2422
1758
 
2423
- ### pico
1759
+ ### ~~pico~~
2424
1760
 
2425
1761
  ```ts
2426
1762
  pico: PicoXL1;
@@ -2428,7 +1764,7 @@ pico: PicoXL1;
2428
1764
 
2429
1765
  ***
2430
1766
 
2431
- ### femto
1767
+ ### ~~femto~~
2432
1768
 
2433
1769
  ```ts
2434
1770
  femto: FemtoXL1;
@@ -2436,7 +1772,7 @@ femto: FemtoXL1;
2436
1772
 
2437
1773
  ***
2438
1774
 
2439
- ### atto
1775
+ ### ~~atto~~
2440
1776
 
2441
1777
  ```ts
2442
1778
  atto: AttoXL1;
@@ -2444,7 +1780,7 @@ atto: AttoXL1;
2444
1780
 
2445
1781
  ## Methods
2446
1782
 
2447
- ### to()
1783
+ ### ~~to()~~
2448
1784
 
2449
1785
  ```ts
2450
1786
  to(places): bigint;
@@ -2462,7 +1798,7 @@ to(places): bigint;
2462
1798
 
2463
1799
  ***
2464
1800
 
2465
- ### toString()
1801
+ ### ~~toString()~~
2466
1802
 
2467
1803
  ```ts
2468
1804
  toString(places, config): string;
@@ -2482,24 +1818,6 @@ toString(places, config): string;
2482
1818
 
2483
1819
  `string`
2484
1820
 
2485
- ### type-aliases
2486
-
2487
- ### <a id="HydratedBlockStoreParams"></a>HydratedBlockStoreParams
2488
-
2489
- [**@xyo-network/chain-wrappers**](#../README)
2490
-
2491
- ***
2492
-
2493
- ```ts
2494
- type HydratedBlockStoreParams<TAdditionalParams> = BaseParams<object & TAdditionalParams>;
2495
- ```
2496
-
2497
- ## Type Parameters
2498
-
2499
- ### TAdditionalParams
2500
-
2501
- `TAdditionalParams` *extends* `EmptyObject` = `EmptyObject`
2502
-
2503
1821
 
2504
1822
  ## Maintainers
2505
1823
 
@@ -2518,14 +1836,14 @@ type HydratedBlockStoreParams<TAdditionalParams> = BaseParams<object & TAddition
2518
1836
 
2519
1837
  [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
2520
1838
 
2521
- [npm-badge]: https://img.shields.io/npm/v/@xyo-network/chain-wrappers.svg
2522
- [npm-link]: https://www.npmjs.com/package/@xyo-network/chain-wrappers
1839
+ [npm-badge]: https://img.shields.io/npm/v/@xyo-network/xl1-wrappers.svg
1840
+ [npm-link]: https://www.npmjs.com/package/@xyo-network/xl1-wrappers
2523
1841
 
2524
- [npm-downloads-badge]: https://img.shields.io/npm/dw/@xyo-network/chain-wrappers
2525
- [npm-license-badge]: https://img.shields.io/npm/l/@xyo-network/chain-wrappers
1842
+ [npm-downloads-badge]: https://img.shields.io/npm/dw/@xyo-network/xl1-wrappers
1843
+ [npm-license-badge]: https://img.shields.io/npm/l/@xyo-network/xl1-wrappers
2526
1844
 
2527
- [jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/@xyo-network/chain-wrappers/badge
2528
- [jsdelivr-link]: https://www.jsdelivr.com/package/npm/@xyo-network/chain-wrappers
1845
+ [jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/@xyo-network/xl1-wrappers/badge
1846
+ [jsdelivr-link]: https://www.jsdelivr.com/package/npm/@xyo-network/xl1-wrappers
2529
1847
 
2530
- [socket-badge]: https://socket.dev/api/badge/npm/package/@xyo-network/chain-wrappers
2531
- [socket-link]: https://socket.dev/npm/package/@xyo-network/chain-wrappers
1848
+ [socket-badge]: https://socket.dev/api/badge/npm/package/@xyo-network/xl1-wrappers
1849
+ [socket-link]: https://socket.dev/npm/package/@xyo-network/xl1-wrappers