@xyo-network/diviner-range 5.3.25 → 5.3.26

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.
Files changed (2) hide show
  1. package/README.md +2977 -10
  2. package/package.json +18 -18
package/README.md CHANGED
@@ -1,23 +1,2990 @@
1
+ [![logo][]](https://xyo.network)
2
+
1
3
  # @xyo-network/diviner-range
2
4
 
3
- [![logo][]](https://xyo.network)
5
+ [![npm][npm-badge]][npm-link]
6
+ [![license][license-badge]][license-link]
7
+
8
+ > Primary SDK for using XYO Protocol 2.0
9
+
10
+ ## Install
11
+
12
+ Using npm:
13
+
14
+ ```sh
15
+ npm install {{name}}
16
+ ```
17
+
18
+ Using yarn:
4
19
 
5
- Version: 5.0.2
20
+ ```sh
21
+ yarn add {{name}}
22
+ ```
6
23
 
7
- Primary SDK for using XYO Protocol 2.0
24
+ Using pnpm:
8
25
 
9
- ## Documentation
26
+ ```sh
27
+ pnpm add {{name}}
28
+ ```
10
29
 
11
- [TypeDoc Generated Documentation](https://gitbook.xyo.network/xyo-data-lab/xyo-reference/package-documentation/xyo-network__diviner-range)
30
+ Using bun:
31
+
32
+ ```sh
33
+ bun add {{name}}
34
+ ```
12
35
 
13
- Part of [sdk-xyo-client-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)
14
36
 
15
37
  ## License
16
38
 
17
- > See the [LICENSE](LICENSE) file for license details
39
+ See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
+
41
+ ## Reference
42
+
43
+ ### packages
44
+
45
+ ### modules
46
+
47
+ ### packages
48
+
49
+ ### diviner
50
+
51
+ ### packages
52
+
53
+ ### range
54
+
55
+ ### .temp-typedoc
56
+
57
+ ### classes
58
+
59
+ ### <a id="RangeDiviner"></a>RangeDiviner
60
+
61
+ [**@xyo-network/diviner-range**](#../README)
62
+
63
+ ***
64
+
65
+ ## Extends
66
+
67
+ - `AbstractDiviner`\<`TParams`, [`RangePayload`](#../type-aliases/RangePayload),
68
+ \| [`NumberPayload`](#../type-aliases/NumberPayload)
69
+ \| [`BigIntPayload`](#../type-aliases/BigIntPayload)\>
70
+
71
+ ## Type Parameters
72
+
73
+ ### TParams
74
+
75
+ `TParams` *extends* [`RangeDivinerParams`](#../type-aliases/RangeDivinerParams) = [`RangeDivinerParams`](#../type-aliases/RangeDivinerParams)
76
+
77
+ ## Constructors
78
+
79
+ ### Constructor
80
+
81
+ ```ts
82
+ new RangeDiviner<TParams>(key, params): RangeDiviner<TParams>;
83
+ ```
84
+
85
+ ### Parameters
86
+
87
+ #### key
88
+
89
+ `unknown`
90
+
91
+ #### params
92
+
93
+ `Partial`\<`TParams` & `RequiredCreatableParams`\>
94
+
95
+ ### Returns
96
+
97
+ `RangeDiviner`\<`TParams`\>
98
+
99
+ ### Inherited from
100
+
101
+ ```ts
102
+ AbstractDiviner<
103
+ TParams,
104
+ RangePayload,
105
+ NumberPayload | BigIntPayload
106
+ >.constructor
107
+ ```
108
+
109
+ ## Properties
110
+
111
+ ### targetSchema
112
+
113
+ ```ts
114
+ readonly static targetSchema: Schema;
115
+ ```
116
+
117
+ ### Inherited from
118
+
119
+ ```ts
120
+ AbstractDiviner.targetSchema
121
+ ```
122
+
123
+ ***
124
+
125
+ ### uniqueName
126
+
127
+ ```ts
128
+ readonly static uniqueName: string;
129
+ ```
130
+
131
+ ### Inherited from
132
+
133
+ ```ts
134
+ AbstractDiviner.uniqueName
135
+ ```
136
+
137
+ ***
138
+
139
+ ### configSchemas
140
+
141
+ ```ts
142
+ readonly static configSchemas: Schema[];
143
+ ```
144
+
145
+ ### Overrides
146
+
147
+ ```ts
148
+ AbstractDiviner.configSchemas
149
+ ```
150
+
151
+ ***
152
+
153
+ ### defaultConfigSchema
154
+
155
+ ```ts
156
+ readonly static defaultConfigSchema: Schema = RangeDivinerConfigSchema;
157
+ ```
158
+
159
+ ### Overrides
160
+
161
+ ```ts
162
+ AbstractDiviner.defaultConfigSchema
163
+ ```
164
+
165
+ ***
166
+
167
+ ### allowRandomAccount
168
+
169
+ ```ts
170
+ readonly static allowRandomAccount: boolean;
171
+ ```
172
+
173
+ ### Inherited from
174
+
175
+ ```ts
176
+ AbstractDiviner.allowRandomAccount
177
+ ```
178
+
179
+ ***
180
+
181
+ ### defaultLogger
182
+
183
+ ```ts
184
+ static defaultLogger: Logger;
185
+ ```
186
+
187
+ ### Inherited from
188
+
189
+ ```ts
190
+ AbstractDiviner.defaultLogger
191
+ ```
192
+
193
+ ***
194
+
195
+ ### enableLazyLoad
196
+
197
+ ```ts
198
+ static enableLazyLoad: boolean;
199
+ ```
200
+
201
+ ### Inherited from
202
+
203
+ ```ts
204
+ AbstractDiviner.enableLazyLoad
205
+ ```
206
+
207
+ ***
208
+
209
+ ### labels
210
+
211
+ ```ts
212
+ readonly static labels: Labels;
213
+ ```
214
+
215
+ ### Inherited from
216
+
217
+ ```ts
218
+ AbstractDiviner.labels
219
+ ```
220
+
221
+ ***
222
+
223
+ ### privateConstructorKey
224
+
225
+ ```ts
226
+ protected static privateConstructorKey: string;
227
+ ```
228
+
229
+ ### Inherited from
230
+
231
+ ```ts
232
+ AbstractDiviner.privateConstructorKey
233
+ ```
234
+
235
+ ***
236
+
237
+ ### \_account
238
+
239
+ ```ts
240
+ protected _account: AccountInstance | undefined;
241
+ ```
242
+
243
+ ### Inherited from
244
+
245
+ ```ts
246
+ AbstractDiviner._account
247
+ ```
248
+
249
+ ***
250
+
251
+ ### \_cachedManifests
252
+
253
+ ```ts
254
+ protected _cachedManifests: LRUCache<number, ModuleManifestPayload, unknown>;
255
+ ```
256
+
257
+ ### Inherited from
258
+
259
+ ```ts
260
+ AbstractDiviner._cachedManifests
261
+ ```
262
+
263
+ ***
264
+
265
+ ### \_globalReentrancyMutex
266
+
267
+ ```ts
268
+ protected _globalReentrancyMutex: Mutex | undefined;
269
+ ```
270
+
271
+ ### Inherited from
272
+
273
+ ```ts
274
+ AbstractDiviner._globalReentrancyMutex
275
+ ```
276
+
277
+ ***
278
+
279
+ ### \_lastError?
280
+
281
+ ```ts
282
+ protected optional _lastError?: ModuleDetailsError;
283
+ ```
284
+
285
+ ### Inherited from
286
+
287
+ ```ts
288
+ AbstractDiviner._lastError
289
+ ```
290
+
291
+ ***
292
+
293
+ ### \_moduleConfigQueryValidator
294
+
295
+ ```ts
296
+ protected _moduleConfigQueryValidator: Queryable | undefined;
297
+ ```
298
+
299
+ ### Inherited from
300
+
301
+ ```ts
302
+ AbstractDiviner._moduleConfigQueryValidator
303
+ ```
304
+
305
+ ***
306
+
307
+ ### \_supportedQueryValidator
308
+
309
+ ```ts
310
+ protected _supportedQueryValidator: Queryable | undefined;
311
+ ```
312
+
313
+ ### Inherited from
314
+
315
+ ```ts
316
+ AbstractDiviner._supportedQueryValidator
317
+ ```
318
+
319
+ ***
320
+
321
+ ### useNewResolver
322
+
323
+ ```ts
324
+ readonly static useNewResolver: false = false;
325
+ ```
326
+
327
+ ### Inherited from
328
+
329
+ ```ts
330
+ AbstractDiviner.useNewResolver
331
+ ```
332
+
333
+ ## Accessors
334
+
335
+ ### queries
336
+
337
+ ### Get Signature
338
+
339
+ ```ts
340
+ get queries(): Schema[];
341
+ ```
342
+
343
+ #### Returns
344
+
345
+ `Schema`[]
346
+
347
+ ### Inherited from
348
+
349
+ ```ts
350
+ AbstractDiviner.queries
351
+ ```
352
+
353
+ ***
354
+
355
+ ### ranges
356
+
357
+ ### Get Signature
358
+
359
+ ```ts
360
+ get ranges(): RangePayload[] | undefined;
361
+ ```
362
+
363
+ #### Returns
364
+
365
+ [`RangePayload`](#../type-aliases/RangePayload)[] \| `undefined`
366
+
367
+ ***
368
+
369
+ ### account
370
+
371
+ ### Get Signature
372
+
373
+ ```ts
374
+ get account(): AccountInstance;
375
+ ```
376
+
377
+ #### Returns
378
+
379
+ `AccountInstance`
380
+
381
+ ### Inherited from
382
+
383
+ ```ts
384
+ AbstractDiviner.account
385
+ ```
386
+
387
+ ***
388
+
389
+ ### additionalSigners
390
+
391
+ ### Get Signature
392
+
393
+ ```ts
394
+ get additionalSigners(): AccountInstance[];
395
+ ```
396
+
397
+ #### Returns
398
+
399
+ `AccountInstance`[]
400
+
401
+ ### Inherited from
402
+
403
+ ```ts
404
+ AbstractDiviner.additionalSigners
405
+ ```
406
+
407
+ ***
408
+
409
+ ### address
410
+
411
+ ### Get Signature
412
+
413
+ ```ts
414
+ get address(): Lowercase<string> & object & object;
415
+ ```
416
+
417
+ #### Returns
418
+
419
+ `Lowercase`\<`string`\> & `object` & `object`
420
+
421
+ ### Inherited from
422
+
423
+ ```ts
424
+ AbstractDiviner.address
425
+ ```
426
+
427
+ ***
428
+
429
+ ### allowAnonymous
430
+
431
+ ### Get Signature
432
+
433
+ ```ts
434
+ get allowAnonymous(): boolean;
435
+ ```
436
+
437
+ #### Returns
438
+
439
+ `boolean`
440
+
441
+ ### Inherited from
442
+
443
+ ```ts
444
+ AbstractDiviner.allowAnonymous
445
+ ```
446
+
447
+ ***
448
+
449
+ ### allowNameResolution
450
+
451
+ ### Get Signature
452
+
453
+ ```ts
454
+ get allowNameResolution(): boolean;
455
+ ```
456
+
457
+ #### Returns
458
+
459
+ `boolean`
460
+
461
+ ### Inherited from
462
+
463
+ ```ts
464
+ AbstractDiviner.allowNameResolution
465
+ ```
466
+
467
+ ***
468
+
469
+ ### archiving
470
+
471
+ ### Get Signature
472
+
473
+ ```ts
474
+ get archiving():
475
+ | {
476
+ archivists?: ModuleIdentifier[];
477
+ queries?: Schema[];
478
+ }
479
+ | undefined;
480
+ ```
481
+
482
+ #### Returns
483
+
484
+ \| \{
485
+ `archivists?`: `ModuleIdentifier`[];
486
+ `queries?`: `Schema`[];
487
+ \}
488
+ \| `undefined`
489
+
490
+ ### Inherited from
491
+
492
+ ```ts
493
+ AbstractDiviner.archiving
494
+ ```
495
+
496
+ ***
497
+
498
+ ### archivist
499
+
500
+ ### Get Signature
501
+
502
+ ```ts
503
+ get archivist(): ModuleIdentifier | undefined;
504
+ ```
505
+
506
+ #### Returns
507
+
508
+ `ModuleIdentifier` \| `undefined`
509
+
510
+ ### Inherited from
511
+
512
+ ```ts
513
+ AbstractDiviner.archivist
514
+ ```
515
+
516
+ ***
517
+
518
+ ### config
519
+
520
+ ### Get Signature
521
+
522
+ ```ts
523
+ get config(): TParams["config"] & object;
524
+ ```
525
+
526
+ #### Returns
527
+
528
+ `TParams`\[`"config"`\] & `object`
529
+
530
+ ### Inherited from
531
+
532
+ ```ts
533
+ AbstractDiviner.config
534
+ ```
535
+
536
+ ***
537
+
538
+ ### dead
539
+
540
+ ### Get Signature
541
+
542
+ ```ts
543
+ get dead(): boolean;
544
+ ```
545
+
546
+ #### Returns
547
+
548
+ `boolean`
549
+
550
+ ### Inherited from
551
+
552
+ ```ts
553
+ AbstractDiviner.dead
554
+ ```
555
+
556
+ ***
557
+
558
+ ### ephemeralQueryAccountEnabled
559
+
560
+ ### Get Signature
561
+
562
+ ```ts
563
+ get ephemeralQueryAccountEnabled(): boolean;
564
+ ```
565
+
566
+ #### Returns
567
+
568
+ `boolean`
569
+
570
+ ### Inherited from
571
+
572
+ ```ts
573
+ AbstractDiviner.ephemeralQueryAccountEnabled
574
+ ```
575
+
576
+ ***
577
+
578
+ ### globalReentrancyMutex
579
+
580
+ ### Get Signature
581
+
582
+ ```ts
583
+ get globalReentrancyMutex(): Mutex | undefined;
584
+ ```
585
+
586
+ #### Returns
587
+
588
+ `Mutex` \| `undefined`
589
+
590
+ ### Inherited from
591
+
592
+ ```ts
593
+ AbstractDiviner.globalReentrancyMutex
594
+ ```
595
+
596
+ ***
597
+
598
+ ### id
599
+
600
+ ### Get Signature
601
+
602
+ ```ts
603
+ get id(): string;
604
+ ```
605
+
606
+ The name (if specified) or address of the module
607
+
608
+ #### Returns
609
+
610
+ `string`
611
+
612
+ ### Inherited from
613
+
614
+ ```ts
615
+ AbstractDiviner.id
616
+ ```
617
+
618
+ ***
619
+
620
+ ### logger
621
+
622
+ ### Get Signature
623
+
624
+ ```ts
625
+ get logger(): Logger | undefined;
626
+ ```
627
+
628
+ #### Returns
629
+
630
+ `Logger` \| `undefined`
631
+
632
+ ### Inherited from
633
+
634
+ ```ts
635
+ AbstractDiviner.logger
636
+ ```
637
+
638
+ ***
639
+
640
+ ### priority
641
+
642
+ ### Get Signature
643
+
644
+ ```ts
645
+ get priority(): 2;
646
+ ```
647
+
648
+ #### Returns
649
+
650
+ `2`
651
+
652
+ ### Inherited from
653
+
654
+ ```ts
655
+ AbstractDiviner.priority
656
+ ```
657
+
658
+ ***
659
+
660
+ ### reentrancy
661
+
662
+ ### Get Signature
663
+
664
+ ```ts
665
+ get reentrancy():
666
+ | {
667
+ action: "skip" | "wait";
668
+ scope: "global";
669
+ }
670
+ | undefined;
671
+ ```
672
+
673
+ #### Returns
674
+
675
+ \| \{
676
+ `action`: `"skip"` \| `"wait"`;
677
+ `scope`: `"global"`;
678
+ \}
679
+ \| `undefined`
680
+
681
+ ### Inherited from
682
+
683
+ ```ts
684
+ AbstractDiviner.reentrancy
685
+ ```
686
+
687
+ ***
688
+
689
+ ### statusReporter
690
+
691
+ ### Get Signature
692
+
693
+ ```ts
694
+ get statusReporter():
695
+ | ModuleStatusReporter & CreatableStatusReporter<void>
696
+ | undefined;
697
+ ```
698
+
699
+ The status reporter used to broadcast lifecycle changes.
700
+
701
+ #### Returns
702
+
703
+ \| `ModuleStatusReporter` & `CreatableStatusReporter`\<`void`\>
704
+ \| `undefined`
705
+
706
+ ### Inherited from
707
+
708
+ ```ts
709
+ AbstractDiviner.statusReporter
710
+ ```
711
+
712
+ ***
713
+
714
+ ### timestamp
715
+
716
+ ### Get Signature
717
+
718
+ ```ts
719
+ get timestamp(): boolean;
720
+ ```
721
+
722
+ #### Returns
723
+
724
+ `boolean`
725
+
726
+ ### Inherited from
727
+
728
+ ```ts
729
+ AbstractDiviner.timestamp
730
+ ```
731
+
732
+ ***
733
+
734
+ ### moduleConfigQueryValidator
735
+
736
+ ### Get Signature
737
+
738
+ ```ts
739
+ get protected moduleConfigQueryValidator(): Queryable;
740
+ ```
741
+
742
+ #### Returns
743
+
744
+ `Queryable`
745
+
746
+ ### Inherited from
747
+
748
+ ```ts
749
+ AbstractDiviner.moduleConfigQueryValidator
750
+ ```
751
+
752
+ ***
753
+
754
+ ### supportedQueryValidator
755
+
756
+ ### Get Signature
757
+
758
+ ```ts
759
+ get protected supportedQueryValidator(): Queryable;
760
+ ```
761
+
762
+ #### Returns
763
+
764
+ `Queryable`
765
+
766
+ ### Inherited from
767
+
768
+ ```ts
769
+ AbstractDiviner.supportedQueryValidator
770
+ ```
771
+
772
+ ***
773
+
774
+ ### downResolver
775
+
776
+ ### Get Signature
777
+
778
+ ```ts
779
+ get downResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
780
+ ```
781
+
782
+ #### Returns
783
+
784
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
785
+
786
+ ### Inherited from
787
+
788
+ ```ts
789
+ AbstractDiviner.downResolver
790
+ ```
791
+
792
+ ***
793
+
794
+ ### modName
795
+
796
+ ### Get Signature
797
+
798
+ ```ts
799
+ get modName(): string | undefined;
800
+ ```
801
+
802
+ #### Returns
803
+
804
+ `string` \| `undefined`
805
+
806
+ ### Inherited from
807
+
808
+ ```ts
809
+ AbstractDiviner.modName
810
+ ```
811
+
812
+ ***
813
+
814
+ ### moduleIdentifierTransformers
815
+
816
+ ### Get Signature
817
+
818
+ ```ts
819
+ get moduleIdentifierTransformers(): ModuleIdentifierTransformer[];
820
+ ```
821
+
822
+ #### Returns
823
+
824
+ `ModuleIdentifierTransformer`[]
825
+
826
+ ### Inherited from
827
+
828
+ ```ts
829
+ AbstractDiviner.moduleIdentifierTransformers
830
+ ```
831
+
832
+ ***
833
+
834
+ ### privateResolver
835
+
836
+ ### Get Signature
837
+
838
+ ```ts
839
+ get privateResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
840
+ ```
841
+
842
+ #### Returns
843
+
844
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
845
+
846
+ ### Inherited from
847
+
848
+ ```ts
849
+ AbstractDiviner.privateResolver
850
+ ```
851
+
852
+ ***
853
+
854
+ ### root
855
+
856
+ ### Get Signature
857
+
858
+ ```ts
859
+ get root(): this;
860
+ ```
861
+
862
+ #### Returns
863
+
864
+ `this`
865
+
866
+ ### Inherited from
867
+
868
+ ```ts
869
+ AbstractDiviner.root
870
+ ```
871
+
872
+ ***
873
+
874
+ ### timeBudget
875
+
876
+ ### Get Signature
877
+
878
+ ```ts
879
+ get timeBudget(): number | undefined;
880
+ ```
881
+
882
+ #### Returns
883
+
884
+ `number` \| `undefined`
885
+
886
+ ### Inherited from
887
+
888
+ ```ts
889
+ AbstractDiviner.timeBudget
890
+ ```
891
+
892
+ ***
893
+
894
+ ### upResolver
895
+
896
+ ### Get Signature
897
+
898
+ ```ts
899
+ get upResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
900
+ ```
901
+
902
+ #### Returns
903
+
904
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
905
+
906
+ ### Inherited from
907
+
908
+ ```ts
909
+ AbstractDiviner.upResolver
910
+ ```
911
+
912
+ ## Methods
913
+
914
+ ### divine()
915
+
916
+ ```ts
917
+ divine(payloads?, retryConfigIn?): Promise<DivinerDivineResult<
918
+ | NumberPayload
919
+ | BigIntPayload>[]>;
920
+ ```
921
+
922
+ **`Function`**
923
+
924
+ divine The main entry point for a diviner. Do not override this function. Implement/override divineHandler for custom functionality
925
+
926
+ ### Parameters
927
+
928
+ #### payloads?
929
+
930
+ [`RangePayload`](#../type-aliases/RangePayload)[]
931
+
932
+ #### retryConfigIn?
933
+
934
+ `RetryConfigWithComplete`\<`unknown`\>
935
+
936
+ ### Returns
937
+
938
+ `Promise`\<`DivinerDivineResult`\<
939
+ \| [`NumberPayload`](#../type-aliases/NumberPayload)
940
+ \| [`BigIntPayload`](#../type-aliases/BigIntPayload)\>[]\>
941
+
942
+ ### Inherited from
943
+
944
+ ```ts
945
+ AbstractDiviner.divine
946
+ ```
947
+
948
+ ***
949
+
950
+ ### divineQuery()
951
+
952
+ ```ts
953
+ divineQuery(
954
+ payloads?,
955
+ account?,
956
+ _retry?): Promise<ModuleQueryResult<
957
+ | NumberPayload
958
+ | BigIntPayload>>;
959
+ ```
960
+
961
+ ### Parameters
962
+
963
+ #### payloads?
964
+
965
+ [`RangePayload`](#../type-aliases/RangePayload)[]
966
+
967
+ #### account?
968
+
969
+ `AccountInstance`
970
+
971
+ #### \_retry?
972
+
973
+ `RetryConfig`
974
+
975
+ ### Returns
976
+
977
+ `Promise`\<`ModuleQueryResult`\<
978
+ \| [`NumberPayload`](#../type-aliases/NumberPayload)
979
+ \| [`BigIntPayload`](#../type-aliases/BigIntPayload)\>\>
980
+
981
+ ### Inherited from
982
+
983
+ ```ts
984
+ AbstractDiviner.divineQuery
985
+ ```
986
+
987
+ ***
988
+
989
+ ### queryHandler()
990
+
991
+ ```ts
992
+ protected queryHandler<T, TConfig>(
993
+ query,
994
+ payloads?,
995
+ queryConfig?): Promise<ModuleQueryHandlerResult>;
996
+ ```
997
+
998
+ **`Function`**
999
+
1000
+ queryHandler Calls divine for a divine query. Override to support additional queries.
1001
+
1002
+ ### Type Parameters
1003
+
1004
+ #### T
1005
+
1006
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1007
+
1008
+ #### TConfig
1009
+
1010
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
1011
+
1012
+ ### Parameters
1013
+
1014
+ #### query
1015
+
1016
+ `T`
1017
+
1018
+ #### payloads?
1019
+
1020
+ `Payload`[]
1021
+
1022
+ #### queryConfig?
1023
+
1024
+ `TConfig`
1025
+
1026
+ ### Returns
1027
+
1028
+ `Promise`\<`ModuleQueryHandlerResult`\>
1029
+
1030
+ ### Inherited from
1031
+
1032
+ ```ts
1033
+ AbstractDiviner.queryHandler
1034
+ ```
1035
+
1036
+ ***
1037
+
1038
+ ### startHandler()
1039
+
1040
+ ```ts
1041
+ protected startHandler(): Promise<void>;
1042
+ ```
1043
+
1044
+ ### Returns
1045
+
1046
+ `Promise`\<`void`\>
1047
+
1048
+ ### Inherited from
1049
+
1050
+ ```ts
1051
+ AbstractDiviner.startHandler
1052
+ ```
1053
+
1054
+ ***
1055
+
1056
+ ### stopHandler()
1057
+
1058
+ ```ts
1059
+ protected stopHandler(): Promise<void>;
1060
+ ```
1061
+
1062
+ ### Returns
1063
+
1064
+ `Promise`\<`void`\>
1065
+
1066
+ ### Inherited from
1067
+
1068
+ ```ts
1069
+ AbstractDiviner.stopHandler
1070
+ ```
1071
+
1072
+ ***
1073
+
1074
+ ### generateBigIntRange()
1075
+
1076
+ ```ts
1077
+ protected static generateBigIntRange(range): BigIntPayload[];
1078
+ ```
1079
+
1080
+ ### Parameters
1081
+
1082
+ #### range
1083
+
1084
+ [`BigIntRangePayload`](#../type-aliases/BigIntRangePayload)
1085
+
1086
+ ### Returns
1087
+
1088
+ [`BigIntPayload`](#../type-aliases/BigIntPayload)[]
1089
+
1090
+ ***
1091
+
1092
+ ### generateNumberRange()
1093
+
1094
+ ```ts
1095
+ protected static generateNumberRange(range): NumberPayload[];
1096
+ ```
1097
+
1098
+ ### Parameters
1099
+
1100
+ #### range
1101
+
1102
+ [`NumberRangePayload`](#../type-aliases/NumberRangePayload)
1103
+
1104
+ ### Returns
1105
+
1106
+ [`NumberPayload`](#../type-aliases/NumberPayload)[]
1107
+
1108
+ ***
1109
+
1110
+ ### divineHandler()
1111
+
1112
+ ```ts
1113
+ protected divineHandler(ranges?): (
1114
+ | NumberPayload
1115
+ | BigIntPayload)[];
1116
+ ```
1117
+
1118
+ **`Function`**
1119
+
1120
+ divineHandler Implement or override to add custom functionality to a diviner
1121
+
1122
+ ### Parameters
1123
+
1124
+ #### ranges?
1125
+
1126
+ [`RangePayload`](#../type-aliases/RangePayload)[]
1127
+
1128
+ ### Returns
1129
+
1130
+ (
1131
+ \| [`NumberPayload`](#../type-aliases/NumberPayload)
1132
+ \| [`BigIntPayload`](#../type-aliases/BigIntPayload))[]
1133
+
1134
+ ### Overrides
1135
+
1136
+ ```ts
1137
+ AbstractDiviner.divineHandler
1138
+ ```
1139
+
1140
+ ***
1141
+
1142
+ ### \_getRootFunction()
1143
+
1144
+ ```ts
1145
+ static _getRootFunction(funcName): any;
1146
+ ```
1147
+
1148
+ ### Parameters
1149
+
1150
+ #### funcName
1151
+
1152
+ `string`
1153
+
1154
+ ### Returns
1155
+
1156
+ `any`
1157
+
1158
+ ### Inherited from
1159
+
1160
+ ```ts
1161
+ AbstractDiviner._getRootFunction
1162
+ ```
1163
+
1164
+ ***
1165
+
1166
+ ### \_noOverride()
1167
+
1168
+ ```ts
1169
+ static _noOverride(functionName): void;
1170
+ ```
1171
+
1172
+ ### Parameters
1173
+
1174
+ #### functionName
1175
+
1176
+ `string`
1177
+
1178
+ ### Returns
1179
+
1180
+ `void`
1181
+
1182
+ ### Inherited from
1183
+
1184
+ ```ts
1185
+ AbstractDiviner._noOverride
1186
+ ```
1187
+
1188
+ ***
1189
+
1190
+ ### createHandler()
1191
+
1192
+ ```ts
1193
+ static createHandler<T>(inInstance): Promise<T & AbstractModule<any, any>>;
1194
+ ```
1195
+
1196
+ Static hook called during creation to perform additional initialization.
1197
+ Override in subclasses to customize post-construction setup.
1198
+
1199
+ ### Type Parameters
1200
+
1201
+ #### T
1202
+
1203
+ `T` *extends* `CreatableInstance`\<`CreatableParams`, `EventData`\>
1204
+
1205
+ ### Parameters
1206
+
1207
+ #### inInstance
1208
+
1209
+ `T`
1210
+
1211
+ ### Returns
1212
+
1213
+ `Promise`\<`T` & `AbstractModule`\<`any`, `any`\>\>
1214
+
1215
+ The instance, potentially modified
1216
+
1217
+ ### Inherited from
1218
+
1219
+ ```ts
1220
+ AbstractDiviner.createHandler
1221
+ ```
1222
+
1223
+ ***
1224
+
1225
+ ### determineAccount()
1226
+
1227
+ ```ts
1228
+ static determineAccount(params): Promise<AccountInstance>;
1229
+ ```
1230
+
1231
+ ### Parameters
1232
+
1233
+ #### params
1234
+
1235
+ ##### account?
1236
+
1237
+ `AccountInstance` \| `"random"`
1238
+
1239
+ ##### accountPath?
1240
+
1241
+ `string`
1242
+
1243
+ ##### wallet?
1244
+
1245
+ `WalletInstance`
1246
+
1247
+ ### Returns
1248
+
1249
+ `Promise`\<`AccountInstance`\>
1250
+
1251
+ ### Inherited from
1252
+
1253
+ ```ts
1254
+ AbstractDiviner.determineAccount
1255
+ ```
1256
+
1257
+ ***
1258
+
1259
+ ### factory()
1260
+
1261
+ ```ts
1262
+ static factory<TModule>(this, params?): CreatableModuleFactory<TModule>;
1263
+ ```
1264
+
1265
+ ### Type Parameters
1266
+
1267
+ #### TModule
1268
+
1269
+ `TModule` *extends* `CreatableModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1270
+
1271
+ ### Parameters
1272
+
1273
+ #### this
1274
+
1275
+ `CreatableModule`\<`TModule`\>
1276
+
1277
+ #### params?
1278
+
1279
+ `Partial`\<`TModule`\[`"params"`\]\>
1280
+
1281
+ ### Returns
1282
+
1283
+ `CreatableModuleFactory`\<`TModule`\>
1284
+
1285
+ ### Inherited from
1286
+
1287
+ ```ts
1288
+ AbstractDiviner.factory
1289
+ ```
1290
+
1291
+ ***
1292
+
1293
+ ### isAllowedSchema()
1294
+
1295
+ ```ts
1296
+ static isAllowedSchema(schema): boolean;
1297
+ ```
1298
+
1299
+ ### Parameters
1300
+
1301
+ #### schema
1302
+
1303
+ `Schema`
1304
+
1305
+ ### Returns
1306
+
1307
+ `boolean`
1308
+
1309
+ ### Inherited from
1310
+
1311
+ ```ts
1312
+ AbstractDiviner.isAllowedSchema
1313
+ ```
1314
+
1315
+ ***
1316
+
1317
+ ### paramsHandler()
1318
+
1319
+ ```ts
1320
+ static paramsHandler<T>(inParams?): Promise<T["params"]>;
1321
+ ```
1322
+
1323
+ Static hook called during creation to validate and transform params.
1324
+ Override in subclasses to add default values or validation.
1325
+
1326
+ ### Type Parameters
1327
+
1328
+ #### T
1329
+
1330
+ `T` *extends* `AttachableModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1331
+
1332
+ ### Parameters
1333
+
1334
+ #### inParams?
1335
+
1336
+ `Partial`\<`T`\[`"params"`\]\>
1337
+
1338
+ ### Returns
1339
+
1340
+ `Promise`\<`T`\[`"params"`\]\>
1341
+
1342
+ The processed params ready for construction
1343
+
1344
+ ### Inherited from
1345
+
1346
+ ```ts
1347
+ AbstractDiviner.paramsHandler
1348
+ ```
1349
+
1350
+ ***
1351
+
1352
+ ### \_getRootFunction()
1353
+
1354
+ ```ts
1355
+ _getRootFunction(funcName): any;
1356
+ ```
1357
+
1358
+ ### Parameters
1359
+
1360
+ #### funcName
1361
+
1362
+ `string`
1363
+
1364
+ ### Returns
1365
+
1366
+ `any`
1367
+
1368
+ ### Inherited from
1369
+
1370
+ ```ts
1371
+ AbstractDiviner._getRootFunction
1372
+ ```
1373
+
1374
+ ***
1375
+
1376
+ ### busy()
1377
+
1378
+ ```ts
1379
+ busy<R>(closure): Promise<R>;
1380
+ ```
1381
+
1382
+ ### Type Parameters
1383
+
1384
+ #### R
1385
+
1386
+ `R`
1387
+
1388
+ ### Parameters
1389
+
1390
+ #### closure
1391
+
1392
+ () => `Promise`\<`R`\>
1393
+
1394
+ ### Returns
1395
+
1396
+ `Promise`\<`R`\>
1397
+
1398
+ ### Inherited from
1399
+
1400
+ ```ts
1401
+ AbstractDiviner.busy
1402
+ ```
1403
+
1404
+ ***
1405
+
1406
+ ### emit()
1407
+
1408
+ ```ts
1409
+ emit<TEventName, TEventArgs>(eventName, eventArgs): Promise<void>;
1410
+ ```
1411
+
1412
+ Emits an event, invoking all registered listeners concurrently.
1413
+
1414
+ ### Type Parameters
1415
+
1416
+ #### TEventName
1417
+
1418
+ `TEventName` *extends* `string` \| `number` \| `symbol` = `string` \| `number` \| `symbol`
1419
+
1420
+ #### TEventArgs
1421
+
1422
+ `TEventArgs` *extends* `EventArgs` = `DivinerModuleEventData`\<`DivinerInstance`\<`TParams`, [`RangePayload`](#../type-aliases/RangePayload),
1423
+ \| [`NumberPayload`](#../type-aliases/NumberPayload)
1424
+ \| [`BigIntPayload`](#../type-aliases/BigIntPayload), `DivinerModuleEventData`\>, [`RangePayload`](#../type-aliases/RangePayload),
1425
+ \| [`NumberPayload`](#../type-aliases/NumberPayload)
1426
+ \| [`BigIntPayload`](#../type-aliases/BigIntPayload)\>\[`TEventName`\]
1427
+
1428
+ ### Parameters
1429
+
1430
+ #### eventName
1431
+
1432
+ `TEventName`
1433
+
1434
+ The event to emit.
1435
+
1436
+ #### eventArgs
1437
+
1438
+ `TEventArgs`
1439
+
1440
+ The data to pass to listeners.
1441
+
1442
+ ### Returns
1443
+
1444
+ `Promise`\<`void`\>
1445
+
1446
+ ### Inherited from
1447
+
1448
+ ```ts
1449
+ AbstractDiviner.emit
1450
+ ```
1451
+
1452
+ ***
1453
+
1454
+ ### isSupportedQuery()
1455
+
1456
+ ```ts
1457
+ isSupportedQuery(query, assert?): boolean;
1458
+ ```
1459
+
1460
+ ### Parameters
1461
+
1462
+ #### query
1463
+
1464
+ `Schema`
1465
+
1466
+ #### assert?
1467
+
1468
+ `string` \| `boolean`
1469
+
1470
+ ### Returns
1471
+
1472
+ `boolean`
1473
+
1474
+ ### Inherited from
1475
+
1476
+ ```ts
1477
+ AbstractDiviner.isSupportedQuery
1478
+ ```
1479
+
1480
+ ***
1481
+
1482
+ ### previousHash()
1483
+
1484
+ ```ts
1485
+ previousHash(): Promisable<string | undefined>;
1486
+ ```
1487
+
1488
+ ### Returns
1489
+
1490
+ `Promisable`\<`string` \| `undefined`\>
1491
+
1492
+ ### Inherited from
1493
+
1494
+ ```ts
1495
+ AbstractDiviner.previousHash
1496
+ ```
1497
+
1498
+ ***
1499
+
1500
+ ### query()
1501
+
1502
+ ```ts
1503
+ query<T, TConfig>(
1504
+ query,
1505
+ payloads?,
1506
+ queryConfig?): Promise<ModuleQueryResult>;
1507
+ ```
1508
+
1509
+ ### Type Parameters
1510
+
1511
+ #### T
1512
+
1513
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1514
+
1515
+ #### TConfig
1516
+
1517
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
1518
+
1519
+ ### Parameters
1520
+
1521
+ #### query
1522
+
1523
+ `T`
1524
+
1525
+ #### payloads?
1526
+
1527
+ `Payload`[]
1528
+
1529
+ #### queryConfig?
1530
+
1531
+ `TConfig`
1532
+
1533
+ ### Returns
1534
+
1535
+ `Promise`\<`ModuleQueryResult`\>
1536
+
1537
+ ### Inherited from
1538
+
1539
+ ```ts
1540
+ AbstractDiviner.query
1541
+ ```
1542
+
1543
+ ***
1544
+
1545
+ ### queryable()
1546
+
1547
+ ```ts
1548
+ queryable<T, TConfig>(
1549
+ query,
1550
+ payloads?,
1551
+ queryConfig?): Promise<boolean>;
1552
+ ```
1553
+
1554
+ ### Type Parameters
1555
+
1556
+ #### T
1557
+
1558
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1559
+
1560
+ #### TConfig
1561
+
1562
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
1563
+
1564
+ ### Parameters
1565
+
1566
+ #### query
1567
+
1568
+ `T`
1569
+
1570
+ #### payloads?
1571
+
1572
+ `Payload`[]
1573
+
1574
+ #### queryConfig?
1575
+
1576
+ `TConfig`
1577
+
1578
+ ### Returns
1579
+
1580
+ `Promise`\<`boolean`\>
1581
+
1582
+ ### Inherited from
1583
+
1584
+ ```ts
1585
+ AbstractDiviner.queryable
1586
+ ```
1587
+
1588
+ ***
1589
+
1590
+ ### \_checkDead()
1591
+
1592
+ ```ts
1593
+ protected _checkDead(): void;
1594
+ ```
1595
+
1596
+ ### Returns
1597
+
1598
+ `void`
1599
+
1600
+ ### Inherited from
1601
+
1602
+ ```ts
1603
+ AbstractDiviner._checkDead
1604
+ ```
1605
+
1606
+ ***
1607
+
1608
+ ### archivistInstance()
1609
+
1610
+ ### Call Signature
1611
+
1612
+ ```ts
1613
+ protected archivistInstance(): Promise<
1614
+ | ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>
1615
+ | undefined>;
1616
+ ```
1617
+
1618
+ #### Returns
1619
+
1620
+ `Promise`\<
1621
+ \| `ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>
1622
+ \| `undefined`\>
1623
+
1624
+ #### Inherited from
1625
+
1626
+ ```ts
1627
+ AbstractDiviner.archivistInstance
1628
+ ```
1629
+
1630
+ ### Call Signature
1631
+
1632
+ ```ts
1633
+ protected archivistInstance(required): Promise<ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>>;
1634
+ ```
1635
+
1636
+ #### Parameters
1637
+
1638
+ ##### required
1639
+
1640
+ `true`
1641
+
1642
+ #### Returns
1643
+
1644
+ `Promise`\<`ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>\>
1645
+
1646
+ #### Inherited from
1647
+
1648
+ ```ts
1649
+ AbstractDiviner.archivistInstance
1650
+ ```
1651
+
1652
+ ***
1653
+
1654
+ ### bindHashes()
1655
+
1656
+ ```ts
1657
+ protected bindHashes(
1658
+ hashes,
1659
+ schema,
1660
+ account?): PromiseEx<unknown, AccountInstance>;
1661
+ ```
1662
+
1663
+ ### Parameters
1664
+
1665
+ #### hashes
1666
+
1667
+ `BrandedHash`[]
1668
+
1669
+ #### schema
1670
+
1671
+ `Schema`[]
1672
+
1673
+ #### account?
1674
+
1675
+ `AccountInstance`
1676
+
1677
+ ### Returns
1678
+
1679
+ `PromiseEx`\<`unknown`, `AccountInstance`\>
1680
+
1681
+ ### Inherited from
1682
+
1683
+ ```ts
1684
+ AbstractDiviner.bindHashes
1685
+ ```
1686
+
1687
+ ***
1688
+
1689
+ ### bindHashesInternal()
1690
+
1691
+ ```ts
1692
+ protected bindHashesInternal(
1693
+ hashes,
1694
+ schema,
1695
+ account?): Promise<{
1696
+ schema: "network.xyo.boundwitness" & object;
1697
+ addresses: Lowercase<string> & object & object[];
1698
+ payload_hashes: BrandedHash[];
1699
+ payload_schemas: BrandedSchema<string>[];
1700
+ previous_hashes: (BrandedHash | null)[];
1701
+ $destination?: Lowercase<string> & object & object;
1702
+ $sourceQuery?: BrandedHash;
1703
+ $signatures: (BrandedHex | null)[];
1704
+ }>;
1705
+ ```
1706
+
1707
+ ### Parameters
1708
+
1709
+ #### hashes
1710
+
1711
+ `BrandedHash`[]
1712
+
1713
+ #### schema
1714
+
1715
+ `Schema`[]
1716
+
1717
+ #### account?
1718
+
1719
+ `AccountInstance`
1720
+
1721
+ ### Returns
1722
+
1723
+ `Promise`\<\{
1724
+ `schema`: `"network.xyo.boundwitness"` & `object`;
1725
+ `addresses`: `Lowercase`\<`string`\> & `object` & `object`[];
1726
+ `payload_hashes`: `BrandedHash`[];
1727
+ `payload_schemas`: `BrandedSchema`\<`string`\>[];
1728
+ `previous_hashes`: (`BrandedHash` \| `null`)[];
1729
+ `$destination?`: `Lowercase`\<`string`\> & `object` & `object`;
1730
+ `$sourceQuery?`: `BrandedHash`;
1731
+ `$signatures`: (`BrandedHex` \| `null`)[];
1732
+ \}\>
1733
+
1734
+ ### Inherited from
1735
+
1736
+ ```ts
1737
+ AbstractDiviner.bindHashesInternal
1738
+ ```
1739
+
1740
+ ***
1741
+
1742
+ ### bindQuery()
1743
+
1744
+ ```ts
1745
+ protected bindQuery<T>(
1746
+ query,
1747
+ payloads?,
1748
+ account?,
1749
+ additionalSigners?): PromiseEx<[UnsignedQueryBoundWitness, Payload[], Payload[]], AccountInstance>;
1750
+ ```
1751
+
1752
+ ### Type Parameters
1753
+
1754
+ #### T
1755
+
1756
+ `T` *extends* `Query`
1757
+
1758
+ ### Parameters
1759
+
1760
+ #### query
1761
+
1762
+ `T`
1763
+
1764
+ #### payloads?
1765
+
1766
+ `Payload`[]
1767
+
1768
+ #### account?
1769
+
1770
+ `AccountInstance`
1771
+
1772
+ #### additionalSigners?
1773
+
1774
+ `AccountInstance`[]
1775
+
1776
+ ### Returns
1777
+
1778
+ `PromiseEx`\<\[`UnsignedQueryBoundWitness`, `Payload`[], `Payload`[]\], `AccountInstance`\>
1779
+
1780
+ ### Inherited from
1781
+
1782
+ ```ts
1783
+ AbstractDiviner.bindQuery
1784
+ ```
1785
+
1786
+ ***
1787
+
1788
+ ### bindQueryInternal()
1789
+
1790
+ ```ts
1791
+ protected bindQueryInternal<T>(
1792
+ query,
1793
+ payloads?,
1794
+ account?,
1795
+ additionalSigners?): Promise<[UnsignedQueryBoundWitness, Payload[], Payload[]]>;
1796
+ ```
1797
+
1798
+ ### Type Parameters
1799
+
1800
+ #### T
1801
+
1802
+ `T` *extends* `Query`
1803
+
1804
+ ### Parameters
1805
+
1806
+ #### query
1807
+
1808
+ `T`
1809
+
1810
+ #### payloads?
1811
+
1812
+ `Payload`[]
1813
+
1814
+ #### account?
1815
+
1816
+ `AccountInstance`
1817
+
1818
+ #### additionalSigners?
1819
+
1820
+ `AccountInstance`[]
1821
+
1822
+ ### Returns
1823
+
1824
+ `Promise`\<\[`UnsignedQueryBoundWitness`, `Payload`[], `Payload`[]\]\>
1825
+
1826
+ ### Inherited from
1827
+
1828
+ ```ts
1829
+ AbstractDiviner.bindQueryInternal
1830
+ ```
1831
+
1832
+ ***
1833
+
1834
+ ### bindQueryResult()
1835
+
1836
+ ```ts
1837
+ protected bindQueryResult<T>(
1838
+ query,
1839
+ payloads,
1840
+ additionalWitnesses?,
1841
+ errors?): Promise<ModuleQueryResult>;
1842
+ ```
1843
+
1844
+ ### Type Parameters
1845
+
1846
+ #### T
1847
+
1848
+ `T` *extends* `Query`
1849
+
1850
+ ### Parameters
1851
+
1852
+ #### query
1853
+
1854
+ `T`
1855
+
1856
+ #### payloads
1857
+
1858
+ `Payload`[]
1859
+
1860
+ #### additionalWitnesses?
1861
+
1862
+ `AccountInstance`[]
1863
+
1864
+ #### errors?
1865
+
1866
+ `ModuleError`[]
1867
+
1868
+ ### Returns
1869
+
1870
+ `Promise`\<`ModuleQueryResult`\>
1871
+
1872
+ ### Inherited from
1873
+
1874
+ ```ts
1875
+ AbstractDiviner.bindQueryResult
1876
+ ```
1877
+
1878
+ ***
1879
+
1880
+ ### generateConfigAndAddress()
1881
+
1882
+ ```ts
1883
+ protected generateConfigAndAddress(_maxDepth?): Promisable<Payload[]>;
1884
+ ```
1885
+
1886
+ ### Parameters
1887
+
1888
+ #### \_maxDepth?
1889
+
1890
+ `number`
1891
+
1892
+ ### Returns
1893
+
1894
+ `Promisable`\<`Payload`[]\>
1895
+
1896
+ ### Inherited from
1897
+
1898
+ ```ts
1899
+ AbstractDiviner.generateConfigAndAddress
1900
+ ```
1901
+
1902
+ ***
1903
+
1904
+ ### generateDescribe()
1905
+
1906
+ ```ts
1907
+ protected generateDescribe(): Promise<ModuleDescriptionPayload>;
1908
+ ```
1909
+
1910
+ ### Returns
1911
+
1912
+ `Promise`\<`ModuleDescriptionPayload`\>
1913
+
1914
+ ### Inherited from
1915
+
1916
+ ```ts
1917
+ AbstractDiviner.generateDescribe
1918
+ ```
1919
+
1920
+ ***
1921
+
1922
+ ### ~~getArchivist()~~
1923
+
1924
+ ```ts
1925
+ protected getArchivist(): Promise<
1926
+ | ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>
1927
+ | undefined>;
1928
+ ```
1929
+
1930
+ ### Returns
1931
+
1932
+ `Promise`\<
1933
+ \| `ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>
1934
+ \| `undefined`\>
1935
+
1936
+ ### Deprecated
1937
+
1938
+ use archivistInstance() instead
1939
+
1940
+ ### Inherited from
1941
+
1942
+ ```ts
1943
+ AbstractDiviner.getArchivist
1944
+ ```
1945
+
1946
+ ***
1947
+
1948
+ ### isAllowedArchivingQuery()
1949
+
1950
+ ```ts
1951
+ protected isAllowedArchivingQuery(schema): boolean;
1952
+ ```
1953
+
1954
+ ### Parameters
1955
+
1956
+ #### schema
1957
+
1958
+ `Schema`
1959
+
1960
+ ### Returns
1961
+
1962
+ `boolean`
1963
+
1964
+ ### Inherited from
1965
+
1966
+ ```ts
1967
+ AbstractDiviner.isAllowedArchivingQuery
1968
+ ```
1969
+
1970
+ ***
1971
+
1972
+ ### moduleAddressHandler()
1973
+
1974
+ ```ts
1975
+ protected moduleAddressHandler(): Promisable<(AddressPayload | AddressPreviousHashPayload)[]>;
1976
+ ```
1977
+
1978
+ ### Returns
1979
+
1980
+ `Promisable`\<(`AddressPayload` \| `AddressPreviousHashPayload`)[]\>
1981
+
1982
+ ### Inherited from
1983
+
1984
+ ```ts
1985
+ AbstractDiviner.moduleAddressHandler
1986
+ ```
1987
+
1988
+ ***
1989
+
1990
+ ### stateHandler()
1991
+
1992
+ ```ts
1993
+ protected stateHandler(): Promise<Payload[]>;
1994
+ ```
1995
+
1996
+ ### Returns
1997
+
1998
+ `Promise`\<`Payload`[]\>
1999
+
2000
+ ### Inherited from
2001
+
2002
+ ```ts
2003
+ AbstractDiviner.stateHandler
2004
+ ```
2005
+
2006
+ ***
2007
+
2008
+ ### subscribeHandler()
2009
+
2010
+ ```ts
2011
+ protected subscribeHandler(): void;
2012
+ ```
2013
+
2014
+ ### Returns
2015
+
2016
+ `void`
2017
+
2018
+ ### Inherited from
2019
+
2020
+ ```ts
2021
+ AbstractDiviner.subscribeHandler
2022
+ ```
2023
+
2024
+ ***
2025
+
2026
+ ### validateConfig()
2027
+
2028
+ ```ts
2029
+ protected validateConfig(config?, parents?): boolean;
2030
+ ```
2031
+
2032
+ ### Parameters
2033
+
2034
+ #### config?
2035
+
2036
+ `unknown`
2037
+
2038
+ #### parents?
2039
+
2040
+ `string`[]
2041
+
2042
+ ### Returns
2043
+
2044
+ `boolean`
2045
+
2046
+ ### Inherited from
2047
+
2048
+ ```ts
2049
+ AbstractDiviner.validateConfig
2050
+ ```
2051
+
2052
+ ***
2053
+
2054
+ ### addParent()
2055
+
2056
+ ```ts
2057
+ addParent(mod): void;
2058
+ ```
2059
+
2060
+ ### Parameters
2061
+
2062
+ #### mod
2063
+
2064
+ `ModuleInstance`
2065
+
2066
+ ### Returns
2067
+
2068
+ `void`
2069
+
2070
+ ### Inherited from
2071
+
2072
+ ```ts
2073
+ AbstractDiviner.addParent
2074
+ ```
2075
+
2076
+ ***
2077
+
2078
+ ### certifyParents()
2079
+
2080
+ ```ts
2081
+ certifyParents(): Promise<Payload[]>;
2082
+ ```
2083
+
2084
+ ### Returns
2085
+
2086
+ `Promise`\<`Payload`[]\>
2087
+
2088
+ ### Inherited from
2089
+
2090
+ ```ts
2091
+ AbstractDiviner.certifyParents
2092
+ ```
2093
+
2094
+ ***
2095
+
2096
+ ### createHandler()
2097
+
2098
+ ```ts
2099
+ createHandler(): Promise<void>;
2100
+ ```
2101
+
2102
+ ### Returns
2103
+
2104
+ `Promise`\<`void`\>
2105
+
2106
+ ### Inherited from
2107
+
2108
+ ```ts
2109
+ AbstractDiviner.createHandler
2110
+ ```
2111
+
2112
+ ***
2113
+
2114
+ ### manifest()
2115
+
2116
+ ```ts
2117
+ manifest(maxDepth?): Promise<ModuleManifestPayload>;
2118
+ ```
2119
+
2120
+ ### Parameters
2121
+
2122
+ #### maxDepth?
2123
+
2124
+ `number`
2125
+
2126
+ ### Returns
2127
+
2128
+ `Promise`\<`ModuleManifestPayload`\>
2129
+
2130
+ ### Inherited from
2131
+
2132
+ ```ts
2133
+ AbstractDiviner.manifest
2134
+ ```
2135
+
2136
+ ***
2137
+
2138
+ ### manifestQuery()
2139
+
2140
+ ```ts
2141
+ manifestQuery(account, maxDepth?): Promise<ModuleQueryResult<ModuleManifestPayload>>;
2142
+ ```
2143
+
2144
+ ### Parameters
2145
+
2146
+ #### account
2147
+
2148
+ `AccountInstance`
2149
+
2150
+ #### maxDepth?
2151
+
2152
+ `number`
2153
+
2154
+ ### Returns
2155
+
2156
+ `Promise`\<`ModuleQueryResult`\<`ModuleManifestPayload`\>\>
2157
+
2158
+ ### Inherited from
2159
+
2160
+ ```ts
2161
+ AbstractDiviner.manifestQuery
2162
+ ```
2163
+
2164
+ ***
2165
+
2166
+ ### moduleAddress()
2167
+
2168
+ ```ts
2169
+ moduleAddress(): Promise<(AddressPayload | AddressPreviousHashPayload)[]>;
2170
+ ```
2171
+
2172
+ ### Returns
2173
+
2174
+ `Promise`\<(`AddressPayload` \| `AddressPreviousHashPayload`)[]\>
2175
+
2176
+ ### Inherited from
2177
+
2178
+ ```ts
2179
+ AbstractDiviner.moduleAddress
2180
+ ```
2181
+
2182
+ ***
2183
+
2184
+ ### parents()
2185
+
2186
+ ```ts
2187
+ parents(): Promisable<NodeInstance<NodeParams<AnyConfigSchema<NodeConfig>>, NodeModuleEventData>[]>;
2188
+ ```
2189
+
2190
+ ### Returns
2191
+
2192
+ `Promisable`\<`NodeInstance`\<`NodeParams`\<`AnyConfigSchema`\<`NodeConfig`\>\>, `NodeModuleEventData`\>[]\>
2193
+
2194
+ ### Inherited from
2195
+
2196
+ ```ts
2197
+ AbstractDiviner.parents
2198
+ ```
2199
+
2200
+ ***
2201
+
2202
+ ### privateChildren()
2203
+
2204
+ ```ts
2205
+ privateChildren(): Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2206
+ ```
2207
+
2208
+ ### Returns
2209
+
2210
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2211
+
2212
+ ### Inherited from
2213
+
2214
+ ```ts
2215
+ AbstractDiviner.privateChildren
2216
+ ```
2217
+
2218
+ ***
2219
+
2220
+ ### publicChildren()
2221
+
2222
+ ```ts
2223
+ publicChildren(): Promisable<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2224
+ ```
2225
+
2226
+ ### Returns
2227
+
2228
+ `Promisable`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2229
+
2230
+ ### Inherited from
2231
+
2232
+ ```ts
2233
+ AbstractDiviner.publicChildren
2234
+ ```
2235
+
2236
+ ***
2237
+
2238
+ ### removeParent()
2239
+
2240
+ ```ts
2241
+ removeParent(address): void;
2242
+ ```
2243
+
2244
+ ### Parameters
2245
+
2246
+ #### address
2247
+
2248
+ `BrandedAddress`
2249
+
2250
+ ### Returns
2251
+
2252
+ `void`
2253
+
2254
+ ### Inherited from
2255
+
2256
+ ```ts
2257
+ AbstractDiviner.removeParent
2258
+ ```
2259
+
2260
+ ***
2261
+
2262
+ ### resolve()
2263
+
2264
+ ### Call Signature
2265
+
2266
+ ```ts
2267
+ resolve(): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2268
+ ```
2269
+
2270
+ #### Returns
2271
+
2272
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2273
+
2274
+ #### Inherited from
2275
+
2276
+ ```ts
2277
+ AbstractDiviner.resolve
2278
+ ```
2279
+
2280
+ ### Call Signature
2281
+
2282
+ ```ts
2283
+ resolve<T>(all, options?): Promise<T[]>;
2284
+ ```
2285
+
2286
+ #### Type Parameters
2287
+
2288
+ ##### T
2289
+
2290
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2291
+
2292
+ #### Parameters
2293
+
2294
+ ##### all
2295
+
2296
+ `"*"`
2297
+
2298
+ ##### options?
2299
+
2300
+ `ModuleFilterOptions`\<`T`\>
2301
+
2302
+ #### Returns
2303
+
2304
+ `Promise`\<`T`[]\>
2305
+
2306
+ #### Inherited from
2307
+
2308
+ ```ts
2309
+ AbstractDiviner.resolve
2310
+ ```
2311
+
2312
+ ### Call Signature
2313
+
2314
+ ```ts
2315
+ resolve<T>(id, options?): Promise<T | undefined>;
2316
+ ```
2317
+
2318
+ #### Type Parameters
2319
+
2320
+ ##### T
2321
+
2322
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2323
+
2324
+ #### Parameters
2325
+
2326
+ ##### id
2327
+
2328
+ `ModuleIdentifier`
2329
+
2330
+ ##### options?
2331
+
2332
+ `ModuleFilterOptions`\<`T`\>
2333
+
2334
+ #### Returns
2335
+
2336
+ `Promise`\<`T` \| `undefined`\>
2337
+
2338
+ #### Inherited from
2339
+
2340
+ ```ts
2341
+ AbstractDiviner.resolve
2342
+ ```
2343
+
2344
+ ***
2345
+
2346
+ ### resolveIdentifier()
2347
+
2348
+ ```ts
2349
+ resolveIdentifier(id, options?): Promise<BrandedAddress | undefined>;
2350
+ ```
2351
+
2352
+ ### Parameters
2353
+
2354
+ #### id
2355
+
2356
+ `ModuleIdentifier`
2357
+
2358
+ #### options?
2359
+
2360
+ `ObjectFilterOptions`\<`AnyObject`\>
2361
+
2362
+ ### Returns
2363
+
2364
+ `Promise`\<`BrandedAddress` \| `undefined`\>
2365
+
2366
+ ### Inherited from
2367
+
2368
+ ```ts
2369
+ AbstractDiviner.resolveIdentifier
2370
+ ```
2371
+
2372
+ ***
2373
+
2374
+ ### resolvePrivate()
2375
+
2376
+ ### Call Signature
2377
+
2378
+ ```ts
2379
+ resolvePrivate<T>(all, options?): Promise<T[]>;
2380
+ ```
2381
+
2382
+ #### Type Parameters
2383
+
2384
+ ##### T
2385
+
2386
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2387
+
2388
+ #### Parameters
2389
+
2390
+ ##### all
2391
+
2392
+ `"*"`
2393
+
2394
+ ##### options?
2395
+
2396
+ `ModuleFilterOptions`\<`T`\>
2397
+
2398
+ #### Returns
2399
+
2400
+ `Promise`\<`T`[]\>
2401
+
2402
+ #### Inherited from
2403
+
2404
+ ```ts
2405
+ AbstractDiviner.resolvePrivate
2406
+ ```
2407
+
2408
+ ### Call Signature
2409
+
2410
+ ```ts
2411
+ resolvePrivate<T>(id, options?): Promise<T | undefined>;
2412
+ ```
2413
+
2414
+ #### Type Parameters
2415
+
2416
+ ##### T
2417
+
2418
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2419
+
2420
+ #### Parameters
2421
+
2422
+ ##### id
2423
+
2424
+ `ModuleIdentifier`
2425
+
2426
+ ##### options?
2427
+
2428
+ `ModuleFilterOptions`\<`T`\>
2429
+
2430
+ #### Returns
2431
+
2432
+ `Promise`\<`T` \| `undefined`\>
2433
+
2434
+ #### Inherited from
2435
+
2436
+ ```ts
2437
+ AbstractDiviner.resolvePrivate
2438
+ ```
2439
+
2440
+ ***
2441
+
2442
+ ### siblings()
2443
+
2444
+ ```ts
2445
+ siblings(): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2446
+ ```
2447
+
2448
+ ### Returns
2449
+
2450
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2451
+
2452
+ ### Inherited from
2453
+
2454
+ ```ts
2455
+ AbstractDiviner.siblings
2456
+ ```
2457
+
2458
+ ***
2459
+
2460
+ ### state()
2461
+
2462
+ ```ts
2463
+ state(): Promise<Payload[]>;
2464
+ ```
2465
+
2466
+ ### Returns
2467
+
2468
+ `Promise`\<`Payload`[]\>
2469
+
2470
+ ### Inherited from
2471
+
2472
+ ```ts
2473
+ AbstractDiviner.state
2474
+ ```
2475
+
2476
+ ***
2477
+
2478
+ ### stateQuery()
2479
+
2480
+ ```ts
2481
+ stateQuery(account): Promise<ModuleQueryResult>;
2482
+ ```
2483
+
2484
+ ### Parameters
2485
+
2486
+ #### account
2487
+
2488
+ `AccountInstance`
2489
+
2490
+ ### Returns
2491
+
2492
+ `Promise`\<`ModuleQueryResult`\>
2493
+
2494
+ ### Inherited from
2495
+
2496
+ ```ts
2497
+ AbstractDiviner.stateQuery
2498
+ ```
2499
+
2500
+ ***
2501
+
2502
+ ### subscribe()
2503
+
2504
+ ```ts
2505
+ subscribe(_queryAccount?): void;
2506
+ ```
2507
+
2508
+ ### Parameters
2509
+
2510
+ #### \_queryAccount?
2511
+
2512
+ `AccountInstance`
2513
+
2514
+ ### Returns
2515
+
2516
+ `void`
2517
+
2518
+ ### Inherited from
2519
+
2520
+ ```ts
2521
+ AbstractDiviner.subscribe
2522
+ ```
2523
+
2524
+ ***
2525
+
2526
+ ### manifestHandler()
2527
+
2528
+ ```ts
2529
+ protected manifestHandler(maxDepth?, _ignoreAddresses?): Promise<ModuleManifestPayload>;
2530
+ ```
2531
+
2532
+ ### Parameters
2533
+
2534
+ #### maxDepth?
2535
+
2536
+ `number`
2537
+
2538
+ #### \_ignoreAddresses?
2539
+
2540
+ `BrandedAddress`[]
2541
+
2542
+ ### Returns
2543
+
2544
+ `Promise`\<`ModuleManifestPayload`\>
2545
+
2546
+ ### Inherited from
2547
+
2548
+ ```ts
2549
+ AbstractDiviner.manifestHandler
2550
+ ```
2551
+
2552
+ ***
2553
+
2554
+ ### resolveArchivingArchivists()
2555
+
2556
+ ```ts
2557
+ protected resolveArchivingArchivists(): Promise<ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>[]>;
2558
+ ```
2559
+
2560
+ ### Returns
2561
+
2562
+ `Promise`\<`ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>[]\>
2563
+
2564
+ ### Inherited from
2565
+
2566
+ ```ts
2567
+ AbstractDiviner.resolveArchivingArchivists
2568
+ ```
2569
+
2570
+ ***
2571
+
2572
+ ### sendQuery()
2573
+
2574
+ ```ts
2575
+ protected sendQuery<T, P, R>(
2576
+ queryPayload,
2577
+ payloads?,
2578
+ account?): Promise<R[]>;
2579
+ ```
2580
+
2581
+ ### Type Parameters
2582
+
2583
+ #### T
2584
+
2585
+ `T` *extends* `Query`
2586
+
2587
+ #### P
2588
+
2589
+ `P` *extends* `Payload` = `Payload`
2590
+
2591
+ #### R
2592
+
2593
+ `R` *extends* `Payload` = `Payload`
2594
+
2595
+ ### Parameters
2596
+
2597
+ #### queryPayload
2598
+
2599
+ `T`
2600
+
2601
+ #### payloads?
2602
+
2603
+ `P`[]
2604
+
2605
+ #### account?
2606
+
2607
+ `AccountInstance`
2608
+
2609
+ ### Returns
2610
+
2611
+ `Promise`\<`R`[]\>
2612
+
2613
+ ### Inherited from
2614
+
2615
+ ```ts
2616
+ AbstractDiviner.sendQuery
2617
+ ```
2618
+
2619
+ ***
2620
+
2621
+ ### sendQueryRaw()
2622
+
2623
+ ```ts
2624
+ protected sendQueryRaw<T, P, R>(
2625
+ queryPayload,
2626
+ payloads?,
2627
+ account?): Promise<ModuleQueryResult<R>>;
2628
+ ```
2629
+
2630
+ ### Type Parameters
2631
+
2632
+ #### T
2633
+
2634
+ `T` *extends* `Query`
2635
+
2636
+ #### P
2637
+
2638
+ `P` *extends* `Payload` = `Payload`
2639
+
2640
+ #### R
2641
+
2642
+ `R` *extends* `Payload` = `Payload`
2643
+
2644
+ ### Parameters
2645
+
2646
+ #### queryPayload
2647
+
2648
+ `T`
2649
+
2650
+ #### payloads?
2651
+
2652
+ `P`[]
2653
+
2654
+ #### account?
2655
+
2656
+ `AccountInstance`
2657
+
2658
+ ### Returns
2659
+
2660
+ `Promise`\<`ModuleQueryResult`\<`R`\>\>
2661
+
2662
+ ### Inherited from
2663
+
2664
+ ```ts
2665
+ AbstractDiviner.sendQueryRaw
2666
+ ```
2667
+
2668
+ ***
2669
+
2670
+ ### storeToArchivists()
2671
+
2672
+ ```ts
2673
+ protected storeToArchivists(payloads): Promise<Payload[]>;
2674
+ ```
2675
+
2676
+ ### Parameters
2677
+
2678
+ #### payloads
2679
+
2680
+ `Payload`[]
2681
+
2682
+ ### Returns
2683
+
2684
+ `Promise`\<`Payload`[]\>
2685
+
2686
+ ### Inherited from
2687
+
2688
+ ```ts
2689
+ AbstractDiviner.storeToArchivists
2690
+ ```
2691
+
2692
+ ### type-aliases
2693
+
2694
+ ### <a id="BigIntPayload"></a>BigIntPayload
2695
+
2696
+ [**@xyo-network/diviner-range**](#../README)
2697
+
2698
+ ***
2699
+
2700
+ ```ts
2701
+ type BigIntPayload = Payload<{
2702
+ value: Hex;
2703
+ }, BigIntSchema>;
2704
+ ```
2705
+
2706
+ ### <a id="BigIntRangePayload"></a>BigIntRangePayload
2707
+
2708
+ [**@xyo-network/diviner-range**](#../README)
2709
+
2710
+ ***
2711
+
2712
+ ```ts
2713
+ type BigIntRangePayload = RangePayloadBase<Hex>;
2714
+ ```
2715
+
2716
+ ### <a id="BigIntSchema"></a>BigIntSchema
2717
+
2718
+ [**@xyo-network/diviner-range**](#../README)
2719
+
2720
+ ***
2721
+
2722
+ ```ts
2723
+ type BigIntSchema = typeof BigIntSchema;
2724
+ ```
2725
+
2726
+ ### <a id="NumberPayload"></a>NumberPayload
2727
+
2728
+ [**@xyo-network/diviner-range**](#../README)
2729
+
2730
+ ***
2731
+
2732
+ ```ts
2733
+ type NumberPayload = Payload<{
2734
+ value: number;
2735
+ }, NumberSchema>;
2736
+ ```
2737
+
2738
+ ### <a id="NumberRangePayload"></a>NumberRangePayload
2739
+
2740
+ [**@xyo-network/diviner-range**](#../README)
2741
+
2742
+ ***
2743
+
2744
+ ```ts
2745
+ type NumberRangePayload = RangePayloadBase<number>;
2746
+ ```
2747
+
2748
+ ### <a id="NumberSchema"></a>NumberSchema
2749
+
2750
+ [**@xyo-network/diviner-range**](#../README)
2751
+
2752
+ ***
2753
+
2754
+ ```ts
2755
+ type NumberSchema = typeof NumberSchema;
2756
+ ```
2757
+
2758
+ ### <a id="RangeDivinerConfig"></a>RangeDivinerConfig
2759
+
2760
+ [**@xyo-network/diviner-range**](#../README)
2761
+
2762
+ ***
2763
+
2764
+ ```ts
2765
+ type RangeDivinerConfig = DivinerConfig<{
2766
+ ranges?: RangePayload[];
2767
+ }, RangeDivinerConfigSchema>;
2768
+ ```
2769
+
2770
+ ### <a id="RangeDivinerConfigSchema"></a>RangeDivinerConfigSchema
2771
+
2772
+ [**@xyo-network/diviner-range**](#../README)
2773
+
2774
+ ***
2775
+
2776
+ ```ts
2777
+ type RangeDivinerConfigSchema = typeof RangeDivinerConfigSchema;
2778
+ ```
2779
+
2780
+ ### <a id="RangeDivinerParams"></a>RangeDivinerParams
2781
+
2782
+ [**@xyo-network/diviner-range**](#../README)
2783
+
2784
+ ***
2785
+
2786
+ ```ts
2787
+ type RangeDivinerParams = DivinerParams<AnyConfigSchema<RangeDivinerConfig>>;
2788
+ ```
2789
+
2790
+ ### <a id="RangePayload"></a>RangePayload
2791
+
2792
+ [**@xyo-network/diviner-range**](#../README)
2793
+
2794
+ ***
2795
+
2796
+ ```ts
2797
+ type RangePayload =
2798
+ | NumberRangePayload
2799
+ | BigIntRangePayload;
2800
+ ```
2801
+
2802
+ ### <a id="RangePayloadBase"></a>RangePayloadBase
2803
+
2804
+ [**@xyo-network/diviner-range**](#../README)
2805
+
2806
+ ***
2807
+
2808
+ ```ts
2809
+ type RangePayloadBase<T> = Payload<{
2810
+ count: number;
2811
+ start: T;
2812
+ }, RangeSchema>;
2813
+ ```
2814
+
2815
+ ## Type Parameters
2816
+
2817
+ ### T
2818
+
2819
+ `T`
2820
+
2821
+ ### <a id="RangeSchema"></a>RangeSchema
2822
+
2823
+ [**@xyo-network/diviner-range**](#../README)
2824
+
2825
+ ***
2826
+
2827
+ ```ts
2828
+ type RangeSchema = typeof RangeSchema;
2829
+ ```
2830
+
2831
+ ### variables
2832
+
2833
+ ### <a id="BigIntSchema"></a>BigIntSchema
2834
+
2835
+ [**@xyo-network/diviner-range**](#../README)
2836
+
2837
+ ***
2838
+
2839
+ ```ts
2840
+ const BigIntSchema: "network.xyo.bigint" & object;
2841
+ ```
2842
+
2843
+ ## Type Declaration
2844
+
2845
+ ### \_\_schema
2846
+
2847
+ ```ts
2848
+ readonly __schema: true;
2849
+ ```
2850
+
2851
+ ### <a id="NumberSchema"></a>NumberSchema
2852
+
2853
+ [**@xyo-network/diviner-range**](#../README)
2854
+
2855
+ ***
2856
+
2857
+ ```ts
2858
+ const NumberSchema: "network.xyo.number" & object;
2859
+ ```
2860
+
2861
+ ## Type Declaration
2862
+
2863
+ ### \_\_schema
2864
+
2865
+ ```ts
2866
+ readonly __schema: true;
2867
+ ```
2868
+
2869
+ ### <a id="RangeDivinerConfigSchema"></a>RangeDivinerConfigSchema
2870
+
2871
+ [**@xyo-network/diviner-range**](#../README)
2872
+
2873
+ ***
2874
+
2875
+ ```ts
2876
+ const RangeDivinerConfigSchema: "network.xyo.diviner.range.config" & object;
2877
+ ```
2878
+
2879
+ ## Type Declaration
2880
+
2881
+ ### \_\_schema
2882
+
2883
+ ```ts
2884
+ readonly __schema: true;
2885
+ ```
2886
+
2887
+ ### <a id="RangeSchema"></a>RangeSchema
2888
+
2889
+ [**@xyo-network/diviner-range**](#../README)
2890
+
2891
+ ***
2892
+
2893
+ ```ts
2894
+ const RangeSchema: "network.xyo.range" & object;
2895
+ ```
2896
+
2897
+ ## Type Declaration
2898
+
2899
+ ### \_\_schema
2900
+
2901
+ ```ts
2902
+ readonly __schema: true;
2903
+ ```
2904
+
2905
+ ### <a id="isBigIntRangePayload"></a>isBigIntRangePayload
2906
+
2907
+ [**@xyo-network/diviner-range**](#../README)
2908
+
2909
+ ***
2910
+
2911
+ ```ts
2912
+ const isBigIntRangePayload: (payload?) => payload is BigIntRangePayload;
2913
+ ```
2914
+
2915
+ ## Parameters
2916
+
2917
+ ### payload?
2918
+
2919
+ `unknown`
2920
+
2921
+ ## Returns
2922
+
2923
+ `payload is BigIntRangePayload`
2924
+
2925
+ ### <a id="isNumberRangePayload"></a>isNumberRangePayload
2926
+
2927
+ [**@xyo-network/diviner-range**](#../README)
2928
+
2929
+ ***
2930
+
2931
+ ```ts
2932
+ const isNumberRangePayload: (payload?) => payload is NumberRangePayload;
2933
+ ```
2934
+
2935
+ ## Parameters
2936
+
2937
+ ### payload?
2938
+
2939
+ `unknown`
2940
+
2941
+ ## Returns
2942
+
2943
+ `payload is NumberRangePayload`
2944
+
2945
+ ### <a id="isRangeDivinerConfig"></a>isRangeDivinerConfig
2946
+
2947
+ [**@xyo-network/diviner-range**](#../README)
2948
+
2949
+ ***
2950
+
2951
+ ```ts
2952
+ const isRangeDivinerConfig: (x?) => x is RangeDivinerConfig;
2953
+ ```
2954
+
2955
+ ## Parameters
2956
+
2957
+ ### x?
2958
+
2959
+ `unknown` \| `null`
2960
+
2961
+ ## Returns
2962
+
2963
+ `x is RangeDivinerConfig`
2964
+
2965
+ ### <a id="isRangePayload"></a>isRangePayload
2966
+
2967
+ [**@xyo-network/diviner-range**](#../README)
2968
+
2969
+ ***
2970
+
2971
+ ```ts
2972
+ const isRangePayload: (x?) => x is RangePayload;
2973
+ ```
2974
+
2975
+ ## Parameters
2976
+
2977
+ ### x?
2978
+
2979
+ `unknown` \| `null`
2980
+
2981
+ ## Returns
18
2982
 
19
- ## Credits
2983
+ `x is RangePayload`
20
2984
 
21
- [Made with 🔥 and ❄️ by XYO](https://xyo.network)
22
2985
 
23
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
2986
+ [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
2987
+ [npm-badge]: https://img.shields.io/npm/v/@xyo-network/diviner-range.svg
2988
+ [npm-link]: https://www.npmjs.com/package/@xyo-network/diviner-range
2989
+ [license-badge]: https://img.shields.io/npm/l/@xyo-network/diviner-range.svg
2990
+ [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE