@xyo-network/xl1-rpc 1.25.24 → 1.25.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.
@@ -367,29 +367,45 @@ var DataLakeViewerRpcSchemas = {
367
367
  }
368
368
  };
369
369
 
370
+ // src/types/schema/FinalizationViewerRpcSchemas.ts
371
+ import { SignedHydratedBlockWithHashMetaZod as SignedHydratedBlockWithHashMetaZod2 } from "@xyo-network/xl1-protocol";
372
+ import { z as z4 } from "zod";
373
+ var FinalizationViewerRpcSchemas = {
374
+ finalizationViewer_head: {
375
+ params: {
376
+ to: z4.array(z4.any()).length(0).optional(),
377
+ from: z4.array(z4.any()).length(0).optional()
378
+ },
379
+ result: {
380
+ to: SignedHydratedBlockWithHashMetaZod2,
381
+ from: SignedHydratedBlockWithHashMetaZod2
382
+ }
383
+ }
384
+ };
385
+
370
386
  // src/types/schema/MempoolRunnerRpcSchemas.ts
371
387
  import { HashZod as HashZod3 } from "@xylabs/sdk-js";
372
388
  import { SignedHydratedBlockZod, SignedHydratedTransactionZod } from "@xyo-network/xl1-protocol";
373
- import { z as z4 } from "zod";
389
+ import { z as z5 } from "zod";
374
390
  var MempoolRunnerRpcSchemas = {
375
391
  mempoolRunner_submitBlocks: {
376
392
  params: {
377
- to: z4.tuple([z4.array(SignedHydratedBlockZod)]),
378
- from: z4.tuple([z4.array(SignedHydratedBlockZod)])
393
+ to: z5.tuple([z5.array(SignedHydratedBlockZod)]),
394
+ from: z5.tuple([z5.array(SignedHydratedBlockZod)])
379
395
  },
380
396
  result: {
381
- to: z4.array(HashZod3),
382
- from: z4.array(HashZod3)
397
+ to: z5.array(HashZod3),
398
+ from: z5.array(HashZod3)
383
399
  }
384
400
  },
385
401
  mempoolRunner_submitTransactions: {
386
402
  params: {
387
- to: z4.tuple([z4.array(SignedHydratedTransactionZod)]),
388
- from: z4.tuple([z4.array(SignedHydratedTransactionZod)])
403
+ to: z5.tuple([z5.array(SignedHydratedTransactionZod)]),
404
+ from: z5.tuple([z5.array(SignedHydratedTransactionZod)])
389
405
  },
390
406
  result: {
391
- to: z4.array(HashZod3),
392
- from: z4.array(HashZod3)
407
+ to: z5.array(HashZod3),
408
+ from: z5.array(HashZod3)
393
409
  }
394
410
  }
395
411
  };
@@ -398,29 +414,29 @@ var MempoolRunnerRpcSchemas = {
398
414
  import {
399
415
  PendingBlocksOptionsZod,
400
416
  PendingTransactionsOptionsZod,
401
- SignedHydratedBlockWithHashMetaZod as SignedHydratedBlockWithHashMetaZod2,
417
+ SignedHydratedBlockWithHashMetaZod as SignedHydratedBlockWithHashMetaZod3,
402
418
  SignedHydratedTransactionWithHashMetaZod
403
419
  } from "@xyo-network/xl1-protocol";
404
- import { z as z5 } from "zod";
420
+ import { z as z6 } from "zod";
405
421
  var MempoolViewerRpcSchemas = {
406
422
  mempoolViewer_pendingBlocks: {
407
423
  params: {
408
- to: z5.tuple([PendingBlocksOptionsZod.optional()]),
409
- from: z5.tuple([PendingBlocksOptionsZod.optional()])
424
+ to: z6.tuple([PendingBlocksOptionsZod.optional()]),
425
+ from: z6.tuple([PendingBlocksOptionsZod.optional()])
410
426
  },
411
427
  result: {
412
- to: z5.array(SignedHydratedBlockWithHashMetaZod2),
413
- from: z5.array(SignedHydratedBlockWithHashMetaZod2)
428
+ to: z6.array(SignedHydratedBlockWithHashMetaZod3),
429
+ from: z6.array(SignedHydratedBlockWithHashMetaZod3)
414
430
  }
415
431
  },
416
432
  mempoolViewer_pendingTransactions: {
417
433
  params: {
418
- to: z5.tuple([PendingTransactionsOptionsZod.optional()]),
419
- from: z5.tuple([PendingTransactionsOptionsZod.optional()])
434
+ to: z6.tuple([PendingTransactionsOptionsZod.optional()]),
435
+ from: z6.tuple([PendingTransactionsOptionsZod.optional()])
420
436
  },
421
437
  result: {
422
- to: z5.array(SignedHydratedTransactionWithHashMetaZod),
423
- from: z5.array(SignedHydratedTransactionWithHashMetaZod)
438
+ to: z6.array(SignedHydratedTransactionWithHashMetaZod),
439
+ from: z6.array(SignedHydratedTransactionWithHashMetaZod)
424
440
  }
425
441
  }
426
442
  };
@@ -428,16 +444,16 @@ var MempoolViewerRpcSchemas = {
428
444
  // src/types/schema/NetworkStakeViewerRpcSchemas.ts
429
445
  import { BigIntToJsonZod as BigIntToJsonZod2, JsonToBigIntZod as JsonToBigIntZod2 } from "@xylabs/sdk-js";
430
446
  import { BlockNumberZod } from "@xyo-network/xl1-protocol";
431
- import { z as z6 } from "zod";
447
+ import { z as z7 } from "zod";
432
448
  var NetworkStakeViewerRpcSchemas = {
433
449
  networkStakeViewer_active: {
434
450
  params: {
435
- to: z6.tuple([BlockNumberZod.optional()]),
436
- from: z6.tuple([BlockNumberZod.optional()])
451
+ to: z7.tuple([BlockNumberZod.optional()]),
452
+ from: z7.tuple([BlockNumberZod.optional()])
437
453
  },
438
454
  result: {
439
- to: z6.tuple([BigIntToJsonZod2, z6.number()]),
440
- from: z6.tuple([JsonToBigIntZod2, z6.number()])
455
+ to: z7.tuple([BigIntToJsonZod2, z7.number()]),
456
+ from: z7.tuple([JsonToBigIntZod2, z7.number()])
441
457
  }
442
458
  }
443
459
  };
@@ -445,56 +461,56 @@ var NetworkStakeViewerRpcSchemas = {
445
461
  // src/types/schema/RewardsByPositionViewerRpcSchemas.ts
446
462
  import { BigIntToJsonZod as BigIntToJsonZod3, JsonToBigIntZod as JsonToBigIntZod3 } from "@xylabs/sdk-js";
447
463
  import { asAttoXL1, RewardsRangeOptionsZod } from "@xyo-network/xl1-protocol";
448
- import { z as z7 } from "zod";
464
+ import { z as z8 } from "zod";
449
465
  var NetworkStakingStepRewardsByPositionViewerRpcSchemas = {
450
466
  networkStakingStepRewardsByPositionViewer_bonus: {
451
467
  params: {
452
- to: z7.tuple([RewardsRangeOptionsZod.optional()]),
453
- from: z7.tuple([RewardsRangeOptionsZod.optional()])
468
+ to: z8.tuple([RewardsRangeOptionsZod.optional()]),
469
+ from: z8.tuple([RewardsRangeOptionsZod.optional()])
454
470
  },
455
471
  result: {
456
- to: z7.record(z7.number(), BigIntToJsonZod3),
457
- from: z7.record(z7.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val)))
472
+ to: z8.record(z8.number(), BigIntToJsonZod3),
473
+ from: z8.record(z8.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val)))
458
474
  }
459
475
  },
460
476
  networkStakingStepRewardsByPositionViewer_claimed: {
461
477
  params: {
462
- to: z7.tuple([RewardsRangeOptionsZod.optional()]),
463
- from: z7.tuple([RewardsRangeOptionsZod.optional()])
478
+ to: z8.tuple([RewardsRangeOptionsZod.optional()]),
479
+ from: z8.tuple([RewardsRangeOptionsZod.optional()])
464
480
  },
465
481
  result: {
466
- to: z7.record(z7.number(), BigIntToJsonZod3),
467
- from: z7.record(z7.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val)))
482
+ to: z8.record(z8.number(), BigIntToJsonZod3),
483
+ from: z8.record(z8.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val)))
468
484
  }
469
485
  },
470
486
  networkStakingStepRewardsByPositionViewer_earned: {
471
487
  params: {
472
- to: z7.tuple([RewardsRangeOptionsZod.optional()]),
473
- from: z7.tuple([RewardsRangeOptionsZod.optional()])
488
+ to: z8.tuple([RewardsRangeOptionsZod.optional()]),
489
+ from: z8.tuple([RewardsRangeOptionsZod.optional()])
474
490
  },
475
491
  result: {
476
- to: z7.record(z7.number(), BigIntToJsonZod3),
477
- from: z7.record(z7.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val)))
492
+ to: z8.record(z8.number(), BigIntToJsonZod3),
493
+ from: z8.record(z8.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val)))
478
494
  }
479
495
  },
480
496
  networkStakingStepRewardsByPositionViewer_total: {
481
497
  params: {
482
- to: z7.tuple([RewardsRangeOptionsZod.optional()]),
483
- from: z7.tuple([RewardsRangeOptionsZod.optional()])
498
+ to: z8.tuple([RewardsRangeOptionsZod.optional()]),
499
+ from: z8.tuple([RewardsRangeOptionsZod.optional()])
484
500
  },
485
501
  result: {
486
- to: z7.record(z7.number(), BigIntToJsonZod3),
487
- from: z7.record(z7.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val)))
502
+ to: z8.record(z8.number(), BigIntToJsonZod3),
503
+ from: z8.record(z8.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val)))
488
504
  }
489
505
  },
490
506
  networkStakingStepRewardsByPositionViewer_unclaimed: {
491
507
  params: {
492
- to: z7.tuple([RewardsRangeOptionsZod.optional()]),
493
- from: z7.tuple([RewardsRangeOptionsZod.optional()])
508
+ to: z8.tuple([RewardsRangeOptionsZod.optional()]),
509
+ from: z8.tuple([RewardsRangeOptionsZod.optional()])
494
510
  },
495
511
  result: {
496
- to: z7.record(z7.number(), BigIntToJsonZod3),
497
- from: z7.record(z7.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val)))
512
+ to: z8.record(z8.number(), BigIntToJsonZod3),
513
+ from: z8.record(z8.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val)))
498
514
  }
499
515
  }
500
516
  };
@@ -506,56 +522,56 @@ import {
506
522
  JsonToBigIntZod as JsonToBigIntZod4
507
523
  } from "@xylabs/sdk-js";
508
524
  import { asAttoXL1 as asAttoXL12, RewardsRangeOptionsZod as RewardsRangeOptionsZod2 } from "@xyo-network/xl1-protocol";
509
- import { z as z8 } from "zod";
525
+ import { z as z9 } from "zod";
510
526
  var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
511
527
  networkStakingStepRewardsByStakerViewer_bonus: {
512
528
  params: {
513
- to: z8.tuple([RewardsRangeOptionsZod2.optional()]),
514
- from: z8.tuple([RewardsRangeOptionsZod2.optional()])
529
+ to: z9.tuple([RewardsRangeOptionsZod2.optional()]),
530
+ from: z9.tuple([RewardsRangeOptionsZod2.optional()])
515
531
  },
516
532
  result: {
517
- to: z8.record(AddressZod2, BigIntToJsonZod4),
518
- from: z8.record(AddressZod2, JsonToBigIntZod4.transform((val) => asAttoXL12(val)))
533
+ to: z9.record(AddressZod2, BigIntToJsonZod4),
534
+ from: z9.record(AddressZod2, JsonToBigIntZod4.transform((val) => asAttoXL12(val)))
519
535
  }
520
536
  },
521
537
  networkStakingStepRewardsByStakerViewer_claimed: {
522
538
  params: {
523
- to: z8.tuple([RewardsRangeOptionsZod2.optional()]),
524
- from: z8.tuple([RewardsRangeOptionsZod2.optional()])
539
+ to: z9.tuple([RewardsRangeOptionsZod2.optional()]),
540
+ from: z9.tuple([RewardsRangeOptionsZod2.optional()])
525
541
  },
526
542
  result: {
527
- to: z8.record(AddressZod2, BigIntToJsonZod4),
528
- from: z8.record(AddressZod2, JsonToBigIntZod4.transform((val) => asAttoXL12(val)))
543
+ to: z9.record(AddressZod2, BigIntToJsonZod4),
544
+ from: z9.record(AddressZod2, JsonToBigIntZod4.transform((val) => asAttoXL12(val)))
529
545
  }
530
546
  },
531
547
  networkStakingStepRewardsByStakerViewer_earned: {
532
548
  params: {
533
- to: z8.tuple([RewardsRangeOptionsZod2.optional()]),
534
- from: z8.tuple([RewardsRangeOptionsZod2.optional()])
549
+ to: z9.tuple([RewardsRangeOptionsZod2.optional()]),
550
+ from: z9.tuple([RewardsRangeOptionsZod2.optional()])
535
551
  },
536
552
  result: {
537
- to: z8.record(AddressZod2, BigIntToJsonZod4),
538
- from: z8.record(AddressZod2, JsonToBigIntZod4.transform((val) => asAttoXL12(val)))
553
+ to: z9.record(AddressZod2, BigIntToJsonZod4),
554
+ from: z9.record(AddressZod2, JsonToBigIntZod4.transform((val) => asAttoXL12(val)))
539
555
  }
540
556
  },
541
557
  networkStakingStepRewardsByStakerViewer_total: {
542
558
  params: {
543
- to: z8.tuple([RewardsRangeOptionsZod2.optional()]),
544
- from: z8.tuple([RewardsRangeOptionsZod2.optional()])
559
+ to: z9.tuple([RewardsRangeOptionsZod2.optional()]),
560
+ from: z9.tuple([RewardsRangeOptionsZod2.optional()])
545
561
  },
546
562
  result: {
547
- to: z8.record(AddressZod2, BigIntToJsonZod4),
548
- from: z8.record(AddressZod2, JsonToBigIntZod4.transform((val) => asAttoXL12(val)))
563
+ to: z9.record(AddressZod2, BigIntToJsonZod4),
564
+ from: z9.record(AddressZod2, JsonToBigIntZod4.transform((val) => asAttoXL12(val)))
549
565
  }
550
566
  },
551
567
  networkStakingStepRewardsByStakerViewer_unclaimed: {
552
568
  params: {
553
- to: z8.tuple([RewardsRangeOptionsZod2.optional()]),
554
- from: z8.tuple([RewardsRangeOptionsZod2.optional()])
569
+ to: z9.tuple([RewardsRangeOptionsZod2.optional()]),
570
+ from: z9.tuple([RewardsRangeOptionsZod2.optional()])
555
571
  },
556
572
  result: {
557
- to: z8.record(AddressZod2, BigIntToJsonZod4),
558
- from: z8.record(AddressZod2, JsonToBigIntZod4.transform((val) => asAttoXL12(val)))
573
+ to: z9.record(AddressZod2, BigIntToJsonZod4),
574
+ from: z9.record(AddressZod2, JsonToBigIntZod4.transform((val) => asAttoXL12(val)))
559
575
  }
560
576
  }
561
577
  };
@@ -567,56 +583,56 @@ import {
567
583
  JsonToBigIntZod as JsonToBigIntZod5
568
584
  } from "@xylabs/sdk-js";
569
585
  import { asAttoXL1 as asAttoXL13, RewardsRangeOptionsZod as RewardsRangeOptionsZod3 } from "@xyo-network/xl1-protocol";
570
- import { z as z9 } from "zod";
586
+ import { z as z10 } from "zod";
571
587
  var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
572
588
  networkStakingStepRewardsByStepViewer_bonus: {
573
589
  params: {
574
- to: z9.tuple([RewardsRangeOptionsZod3.optional()]),
575
- from: z9.tuple([RewardsRangeOptionsZod3.optional()])
590
+ to: z10.tuple([RewardsRangeOptionsZod3.optional()]),
591
+ from: z10.tuple([RewardsRangeOptionsZod3.optional()])
576
592
  },
577
593
  result: {
578
- to: z9.record(AddressZod3, BigIntToJsonZod5),
579
- from: z9.record(AddressZod3, JsonToBigIntZod5.transform((val) => asAttoXL13(val)))
594
+ to: z10.record(AddressZod3, BigIntToJsonZod5),
595
+ from: z10.record(AddressZod3, JsonToBigIntZod5.transform((val) => asAttoXL13(val)))
580
596
  }
581
597
  },
582
598
  networkStakingStepRewardsByStepViewer_claimed: {
583
599
  params: {
584
- to: z9.tuple([RewardsRangeOptionsZod3.optional()]),
585
- from: z9.tuple([RewardsRangeOptionsZod3.optional()])
600
+ to: z10.tuple([RewardsRangeOptionsZod3.optional()]),
601
+ from: z10.tuple([RewardsRangeOptionsZod3.optional()])
586
602
  },
587
603
  result: {
588
- to: z9.record(AddressZod3, BigIntToJsonZod5),
589
- from: z9.record(AddressZod3, JsonToBigIntZod5.transform((val) => asAttoXL13(val)))
604
+ to: z10.record(AddressZod3, BigIntToJsonZod5),
605
+ from: z10.record(AddressZod3, JsonToBigIntZod5.transform((val) => asAttoXL13(val)))
590
606
  }
591
607
  },
592
608
  networkStakingStepRewardsByStepViewer_earned: {
593
609
  params: {
594
- to: z9.tuple([RewardsRangeOptionsZod3.optional()]),
595
- from: z9.tuple([RewardsRangeOptionsZod3.optional()])
610
+ to: z10.tuple([RewardsRangeOptionsZod3.optional()]),
611
+ from: z10.tuple([RewardsRangeOptionsZod3.optional()])
596
612
  },
597
613
  result: {
598
- to: z9.record(AddressZod3, BigIntToJsonZod5),
599
- from: z9.record(AddressZod3, JsonToBigIntZod5.transform((val) => asAttoXL13(val)))
614
+ to: z10.record(AddressZod3, BigIntToJsonZod5),
615
+ from: z10.record(AddressZod3, JsonToBigIntZod5.transform((val) => asAttoXL13(val)))
600
616
  }
601
617
  },
602
618
  networkStakingStepRewardsByStepViewer_total: {
603
619
  params: {
604
- to: z9.tuple([RewardsRangeOptionsZod3.optional()]),
605
- from: z9.tuple([RewardsRangeOptionsZod3.optional()])
620
+ to: z10.tuple([RewardsRangeOptionsZod3.optional()]),
621
+ from: z10.tuple([RewardsRangeOptionsZod3.optional()])
606
622
  },
607
623
  result: {
608
- to: z9.record(AddressZod3, BigIntToJsonZod5),
609
- from: z9.record(AddressZod3, JsonToBigIntZod5.transform((val) => asAttoXL13(val)))
624
+ to: z10.record(AddressZod3, BigIntToJsonZod5),
625
+ from: z10.record(AddressZod3, JsonToBigIntZod5.transform((val) => asAttoXL13(val)))
610
626
  }
611
627
  },
612
628
  networkStakingStepRewardsByStepViewer_unclaimed: {
613
629
  params: {
614
- to: z9.tuple([RewardsRangeOptionsZod3.optional()]),
615
- from: z9.tuple([RewardsRangeOptionsZod3.optional()])
630
+ to: z10.tuple([RewardsRangeOptionsZod3.optional()]),
631
+ from: z10.tuple([RewardsRangeOptionsZod3.optional()])
616
632
  },
617
633
  result: {
618
- to: z9.record(AddressZod3, BigIntToJsonZod5),
619
- from: z9.record(AddressZod3, JsonToBigIntZod5.transform((val) => asAttoXL13(val)))
634
+ to: z10.record(AddressZod3, BigIntToJsonZod5),
635
+ from: z10.record(AddressZod3, JsonToBigIntZod5.transform((val) => asAttoXL13(val)))
620
636
  }
621
637
  }
622
638
  };
@@ -624,12 +640,12 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
624
640
  // src/types/schema/RewardsTotalViewerRpcSchemas.ts
625
641
  import { BigIntToJsonZod as BigIntToJsonZod6, JsonToBigIntZod as JsonToBigIntZod6 } from "@xylabs/sdk-js";
626
642
  import { asAttoXL1 as asAttoXL14, RewardsRangeOptionsZod as RewardsRangeOptionsZod4 } from "@xyo-network/xl1-protocol";
627
- import { z as z10 } from "zod";
643
+ import { z as z11 } from "zod";
628
644
  var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
629
645
  networkStakingStepRewardsTotalViewer_bonus: {
630
646
  params: {
631
- to: z10.tuple([RewardsRangeOptionsZod4.optional()]),
632
- from: z10.tuple([RewardsRangeOptionsZod4.optional()])
647
+ to: z11.tuple([RewardsRangeOptionsZod4.optional()]),
648
+ from: z11.tuple([RewardsRangeOptionsZod4.optional()])
633
649
  },
634
650
  result: {
635
651
  to: BigIntToJsonZod6,
@@ -638,8 +654,8 @@ var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
638
654
  },
639
655
  networkStakingStepRewardsTotalViewer_claimed: {
640
656
  params: {
641
- to: z10.tuple([RewardsRangeOptionsZod4.optional()]),
642
- from: z10.tuple([RewardsRangeOptionsZod4.optional()])
657
+ to: z11.tuple([RewardsRangeOptionsZod4.optional()]),
658
+ from: z11.tuple([RewardsRangeOptionsZod4.optional()])
643
659
  },
644
660
  result: {
645
661
  to: BigIntToJsonZod6,
@@ -648,8 +664,8 @@ var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
648
664
  },
649
665
  networkStakingStepRewardsTotalViewer_earned: {
650
666
  params: {
651
- to: z10.tuple([RewardsRangeOptionsZod4.optional()]),
652
- from: z10.tuple([RewardsRangeOptionsZod4.optional()])
667
+ to: z11.tuple([RewardsRangeOptionsZod4.optional()]),
668
+ from: z11.tuple([RewardsRangeOptionsZod4.optional()])
653
669
  },
654
670
  result: {
655
671
  to: BigIntToJsonZod6,
@@ -658,8 +674,8 @@ var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
658
674
  },
659
675
  networkStakingStepRewardsTotalViewer_total: {
660
676
  params: {
661
- to: z10.tuple([RewardsRangeOptionsZod4.optional()]),
662
- from: z10.tuple([RewardsRangeOptionsZod4.optional()])
677
+ to: z11.tuple([RewardsRangeOptionsZod4.optional()]),
678
+ from: z11.tuple([RewardsRangeOptionsZod4.optional()])
663
679
  },
664
680
  result: {
665
681
  to: BigIntToJsonZod6,
@@ -668,8 +684,8 @@ var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
668
684
  },
669
685
  networkStakingStepRewardsTotalViewer_unclaimed: {
670
686
  params: {
671
- to: z10.tuple([RewardsRangeOptionsZod4.optional()]),
672
- from: z10.tuple([RewardsRangeOptionsZod4.optional()])
687
+ to: z11.tuple([RewardsRangeOptionsZod4.optional()]),
688
+ from: z11.tuple([RewardsRangeOptionsZod4.optional()])
673
689
  },
674
690
  result: {
675
691
  to: BigIntToJsonZod6,
@@ -685,12 +701,12 @@ import {
685
701
  JsonToBigIntZod as JsonToBigIntZod7
686
702
  } from "@xylabs/sdk-js";
687
703
  import { asAttoXL1 as asAttoXL15 } from "@xyo-network/xl1-protocol";
688
- import { z as z11 } from "zod";
704
+ import { z as z12 } from "zod";
689
705
  var StakeTotalsViewerRpcSchemas = {
690
706
  stakeTotalsViewer_active: {
691
707
  params: {
692
- to: z11.tuple([z11.number().optional()]).optional(),
693
- from: z11.tuple([z11.number().optional()]).optional()
708
+ to: z12.tuple([z12.number().optional()]).optional(),
709
+ from: z12.tuple([z12.number().optional()]).optional()
694
710
  },
695
711
  result: {
696
712
  to: BigIntToJsonZod7,
@@ -699,8 +715,8 @@ var StakeTotalsViewerRpcSchemas = {
699
715
  },
700
716
  stakeTotalsViewer_activeByStaked: {
701
717
  params: {
702
- to: z11.tuple([AddressZod4, z11.number().optional()]),
703
- from: z11.tuple([AddressZod4, z11.number().optional()])
718
+ to: z12.tuple([AddressZod4, z12.number().optional()]),
719
+ from: z12.tuple([AddressZod4, z12.number().optional()])
704
720
  },
705
721
  result: {
706
722
  to: BigIntToJsonZod7,
@@ -709,8 +725,8 @@ var StakeTotalsViewerRpcSchemas = {
709
725
  },
710
726
  stakeTotalsViewer_activeByStaker: {
711
727
  params: {
712
- to: z11.tuple([AddressZod4, z11.number().optional()]),
713
- from: z11.tuple([AddressZod4, z11.number().optional()])
728
+ to: z12.tuple([AddressZod4, z12.number().optional()]),
729
+ from: z12.tuple([AddressZod4, z12.number().optional()])
714
730
  },
715
731
  result: {
716
732
  to: BigIntToJsonZod7,
@@ -719,8 +735,8 @@ var StakeTotalsViewerRpcSchemas = {
719
735
  },
720
736
  stakeTotalsViewer_pending: {
721
737
  params: {
722
- to: z11.tuple([z11.number().optional()]).optional(),
723
- from: z11.tuple([z11.number().optional()]).optional()
738
+ to: z12.tuple([z12.number().optional()]).optional(),
739
+ from: z12.tuple([z12.number().optional()]).optional()
724
740
  },
725
741
  result: {
726
742
  to: BigIntToJsonZod7,
@@ -729,8 +745,8 @@ var StakeTotalsViewerRpcSchemas = {
729
745
  },
730
746
  stakeTotalsViewer_pendingByStaker: {
731
747
  params: {
732
- to: z11.tuple([AddressZod4, z11.number().optional()]),
733
- from: z11.tuple([AddressZod4, z11.number().optional()])
748
+ to: z12.tuple([AddressZod4, z12.number().optional()]),
749
+ from: z12.tuple([AddressZod4, z12.number().optional()])
734
750
  },
735
751
  result: {
736
752
  to: BigIntToJsonZod7,
@@ -739,8 +755,8 @@ var StakeTotalsViewerRpcSchemas = {
739
755
  },
740
756
  stakeTotalsViewer_withdrawn: {
741
757
  params: {
742
- to: z11.tuple([z11.number().optional()]).optional(),
743
- from: z11.tuple([z11.number().optional()]).optional()
758
+ to: z12.tuple([z12.number().optional()]).optional(),
759
+ from: z12.tuple([z12.number().optional()]).optional()
744
760
  },
745
761
  result: {
746
762
  to: BigIntToJsonZod7,
@@ -749,8 +765,8 @@ var StakeTotalsViewerRpcSchemas = {
749
765
  },
750
766
  stakeTotalsViewer_withdrawnByStaker: {
751
767
  params: {
752
- to: z11.tuple([AddressZod4, z11.number().optional()]),
753
- from: z11.tuple([AddressZod4, z11.number().optional()])
768
+ to: z12.tuple([AddressZod4, z12.number().optional()]),
769
+ from: z12.tuple([AddressZod4, z12.number().optional()])
754
770
  },
755
771
  result: {
756
772
  to: BigIntToJsonZod7,
@@ -762,11 +778,11 @@ var StakeTotalsViewerRpcSchemas = {
762
778
  // src/types/schema/StakeViewerRpcSchemas.ts
763
779
  import { AddressZod as AddressZod5 } from "@xylabs/sdk-js";
764
780
  import { JsonToStakeZod, StakeToJsonZod } from "@xyo-network/xl1-protocol";
765
- import { z as z13 } from "zod";
781
+ import { z as z14 } from "zod";
766
782
 
767
783
  // src/types/schema/NoArgsZod.ts
768
- import { z as z12 } from "zod";
769
- var NoArgsZod = z12.array(z12.any()).length(0).optional();
784
+ import { z as z13 } from "zod";
785
+ var NoArgsZod = z13.array(z13.any()).length(0).optional();
770
786
 
771
787
  // src/types/schema/StakeViewerRpcSchemas.ts
772
788
  var StakeViewerRpcSchemas = {
@@ -776,8 +792,8 @@ var StakeViewerRpcSchemas = {
776
792
  from: NoArgsZod
777
793
  },
778
794
  result: {
779
- to: z13.number(),
780
- from: z13.number()
795
+ to: z14.number(),
796
+ from: z14.number()
781
797
  }
782
798
  },
783
799
  stakeViewer_rewardsContract: {
@@ -792,8 +808,8 @@ var StakeViewerRpcSchemas = {
792
808
  },
793
809
  stakeViewer_stakeById: {
794
810
  params: {
795
- to: z13.tuple([z13.number()]),
796
- from: z13.tuple([z13.number()])
811
+ to: z14.tuple([z14.number()]),
812
+ from: z14.tuple([z14.number()])
797
813
  },
798
814
  result: {
799
815
  to: StakeToJsonZod,
@@ -802,8 +818,8 @@ var StakeViewerRpcSchemas = {
802
818
  },
803
819
  stakeViewer_stakeByStaker: {
804
820
  params: {
805
- to: z13.tuple([AddressZod5, z13.number()]),
806
- from: z13.tuple([AddressZod5, z13.number()])
821
+ to: z14.tuple([AddressZod5, z14.number()]),
822
+ from: z14.tuple([AddressZod5, z14.number()])
807
823
  },
808
824
  result: {
809
825
  to: StakeToJsonZod,
@@ -812,22 +828,22 @@ var StakeViewerRpcSchemas = {
812
828
  },
813
829
  stakeViewer_stakesByStaker: {
814
830
  params: {
815
- to: z13.tuple([AddressZod5]),
816
- from: z13.tuple([AddressZod5])
831
+ to: z14.tuple([AddressZod5]),
832
+ from: z14.tuple([AddressZod5])
817
833
  },
818
834
  result: {
819
- to: z13.array(StakeToJsonZod),
820
- from: z13.array(JsonToStakeZod)
835
+ to: z14.array(StakeToJsonZod),
836
+ from: z14.array(JsonToStakeZod)
821
837
  }
822
838
  },
823
839
  stakeViewer_stakesByStaked: {
824
840
  params: {
825
- to: z13.tuple([AddressZod5]),
826
- from: z13.tuple([AddressZod5])
841
+ to: z14.tuple([AddressZod5]),
842
+ from: z14.tuple([AddressZod5])
827
843
  },
828
844
  result: {
829
- to: z13.array(StakeToJsonZod),
830
- from: z13.array(JsonToStakeZod)
845
+ to: z14.array(StakeToJsonZod),
846
+ from: z14.array(JsonToStakeZod)
831
847
  }
832
848
  },
833
849
  stakeViewer_stakingTokenAddress: {
@@ -852,12 +868,12 @@ import {
852
868
  StakeToJsonZod as StakeToJsonZod2,
853
869
  StepIdentityZod
854
870
  } from "@xyo-network/xl1-protocol";
855
- import { z as z14 } from "zod";
871
+ import { z as z15 } from "zod";
856
872
  var StepViewerRpcSchemas = {
857
873
  randomizer: {
858
874
  params: {
859
- to: z14.tuple([StepIdentityZod]),
860
- from: z14.tuple([StepIdentityZod])
875
+ to: z15.tuple([StepIdentityZod]),
876
+ from: z15.tuple([StepIdentityZod])
861
877
  },
862
878
  result: {
863
879
  to: BigIntToJsonZod8,
@@ -866,8 +882,8 @@ var StepViewerRpcSchemas = {
866
882
  },
867
883
  stake: {
868
884
  params: {
869
- to: z14.tuple([StepIdentityZod]),
870
- from: z14.tuple([StepIdentityZod])
885
+ to: z15.tuple([StepIdentityZod]),
886
+ from: z15.tuple([StepIdentityZod])
871
887
  },
872
888
  result: {
873
889
  to: BigIntToJsonZod8,
@@ -876,8 +892,8 @@ var StepViewerRpcSchemas = {
876
892
  },
877
893
  stakers: {
878
894
  params: {
879
- to: z14.tuple([StepIdentityZod]),
880
- from: z14.tuple([StepIdentityZod])
895
+ to: z15.tuple([StepIdentityZod]),
896
+ from: z15.tuple([StepIdentityZod])
881
897
  },
882
898
  result: {
883
899
  to: BigIntToJsonZod8,
@@ -886,8 +902,8 @@ var StepViewerRpcSchemas = {
886
902
  },
887
903
  weight: {
888
904
  params: {
889
- to: z14.tuple([StepIdentityZod]),
890
- from: z14.tuple([StepIdentityZod])
905
+ to: z15.tuple([StepIdentityZod]),
906
+ from: z15.tuple([StepIdentityZod])
891
907
  },
892
908
  result: {
893
909
  to: BigIntToJsonZod8,
@@ -896,74 +912,74 @@ var StepViewerRpcSchemas = {
896
912
  },
897
913
  positionCount: {
898
914
  params: {
899
- to: z14.tuple([StepIdentityZod]),
900
- from: z14.tuple([StepIdentityZod])
915
+ to: z15.tuple([StepIdentityZod]),
916
+ from: z15.tuple([StepIdentityZod])
901
917
  },
902
918
  result: {
903
- to: z14.number(),
904
- from: z14.number()
919
+ to: z15.number(),
920
+ from: z15.number()
905
921
  }
906
922
  },
907
923
  positions: {
908
924
  params: {
909
- to: z14.tuple([StepIdentityZod]),
910
- from: z14.tuple([StepIdentityZod])
925
+ to: z15.tuple([StepIdentityZod]),
926
+ from: z15.tuple([StepIdentityZod])
911
927
  },
912
928
  result: {
913
- to: z14.array(StakeToJsonZod2),
914
- from: z14.array(JsonToStakeZod2)
929
+ to: z15.array(StakeToJsonZod2),
930
+ from: z15.array(JsonToStakeZod2)
915
931
  }
916
932
  },
917
933
  stakerCount: {
918
934
  params: {
919
- to: z14.tuple([StepIdentityZod]),
920
- from: z14.tuple([StepIdentityZod])
935
+ to: z15.tuple([StepIdentityZod]),
936
+ from: z15.tuple([StepIdentityZod])
921
937
  },
922
938
  result: {
923
- to: z14.number(),
924
- from: z14.number()
939
+ to: z15.number(),
940
+ from: z15.number()
925
941
  }
926
942
  }
927
943
  };
928
944
 
929
945
  // src/types/schema/TimeSyncViewerRpcSchema.ts
930
946
  import { TimeDomainZod, TimePayloadZod } from "@xyo-network/xl1-protocol";
931
- import { z as z15 } from "zod";
947
+ import { z as z16 } from "zod";
932
948
  var TimeSyncViewerRpcSchemas = {
933
949
  timeSyncViewer_convertTime: {
934
950
  params: {
935
- from: z15.tuple([TimeDomainZod, TimeDomainZod, z15.number()]),
936
- to: z15.tuple([TimeDomainZod, TimeDomainZod, z15.number()])
951
+ from: z16.tuple([TimeDomainZod, TimeDomainZod, z16.number()]),
952
+ to: z16.tuple([TimeDomainZod, TimeDomainZod, z16.number()])
937
953
  },
938
954
  result: {
939
- from: z15.number(),
940
- to: z15.number()
955
+ from: z16.number(),
956
+ to: z16.number()
941
957
  }
942
958
  },
943
959
  timeSyncViewer_currentTime: {
944
960
  params: {
945
- from: z15.tuple([TimeDomainZod]),
946
- to: z15.tuple([TimeDomainZod])
961
+ from: z16.tuple([TimeDomainZod]),
962
+ to: z16.tuple([TimeDomainZod])
947
963
  },
948
964
  result: {
949
- from: z15.tuple([TimeDomainZod, z15.number()]),
950
- to: z15.tuple([TimeDomainZod, z15.number()])
965
+ from: z16.tuple([TimeDomainZod, z16.number()]),
966
+ to: z16.tuple([TimeDomainZod, z16.number()])
951
967
  }
952
968
  },
953
969
  timeSyncViewer_currentTimeAndHash: {
954
970
  params: {
955
- from: z15.tuple([TimeDomainZod]),
956
- to: z15.tuple([TimeDomainZod])
971
+ from: z16.tuple([TimeDomainZod]),
972
+ to: z16.tuple([TimeDomainZod])
957
973
  },
958
974
  result: {
959
- from: z15.tuple([z15.number(), z15.nullable(z15.string())]),
960
- to: z15.tuple([z15.number(), z15.nullable(z15.string())])
975
+ from: z16.tuple([z16.number(), z16.nullable(z16.string())]),
976
+ to: z16.tuple([z16.number(), z16.nullable(z16.string())])
961
977
  }
962
978
  },
963
979
  timeSyncViewer_currentTimePayload: {
964
980
  params: {
965
- from: z15.tuple([]),
966
- to: z15.tuple([])
981
+ from: z16.tuple([]),
982
+ to: z16.tuple([])
967
983
  },
968
984
  result: {
969
985
  from: TimePayloadZod,
@@ -975,13 +991,13 @@ var TimeSyncViewerRpcSchemas = {
975
991
  // src/types/schema/TransactionViewerRpcSchema.ts
976
992
  import { HashZod as HashZod4 } from "@xylabs/sdk-js";
977
993
  import { SignedHydratedTransactionWithHashMetaZod as SignedHydratedTransactionWithHashMetaZod2 } from "@xyo-network/xl1-protocol";
978
- import { z as z16 } from "zod";
994
+ import { z as z17 } from "zod";
979
995
  var TransactionViewerRpcSchemas = {
980
996
  /** @deprecated use byBlockHashAndIndex instead */
981
997
  transactionViewer_transactionByBlockHashAndIndex: {
982
998
  params: {
983
- to: z16.tuple([HashZod4, z16.number()]),
984
- from: z16.tuple([HashZod4, z16.number()])
999
+ to: z17.tuple([HashZod4, z17.number()]),
1000
+ from: z17.tuple([HashZod4, z17.number()])
985
1001
  },
986
1002
  result: {
987
1003
  to: SignedHydratedTransactionWithHashMetaZod2.nullable(),
@@ -991,8 +1007,8 @@ var TransactionViewerRpcSchemas = {
991
1007
  /** @deprecated use byBlockNumberAndIndex instead */
992
1008
  transactionViewer_transactionByBlockNumberAndIndex: {
993
1009
  params: {
994
- to: z16.tuple([z16.number(), z16.number()]),
995
- from: z16.tuple([z16.number(), z16.number()])
1010
+ to: z17.tuple([z17.number(), z17.number()]),
1011
+ from: z17.tuple([z17.number(), z17.number()])
996
1012
  },
997
1013
  result: {
998
1014
  to: SignedHydratedTransactionWithHashMetaZod2.nullable(),
@@ -1001,8 +1017,8 @@ var TransactionViewerRpcSchemas = {
1001
1017
  },
1002
1018
  transactionViewer_byHash: {
1003
1019
  params: {
1004
- to: z16.tuple([HashZod4]),
1005
- from: z16.tuple([HashZod4])
1020
+ to: z17.tuple([HashZod4]),
1021
+ from: z17.tuple([HashZod4])
1006
1022
  },
1007
1023
  result: {
1008
1024
  to: SignedHydratedTransactionWithHashMetaZod2.nullable(),
@@ -1012,8 +1028,8 @@ var TransactionViewerRpcSchemas = {
1012
1028
  /** @deprecated use byHash instead */
1013
1029
  transactionViewer_transactionByHash: {
1014
1030
  params: {
1015
- to: z16.tuple([HashZod4]),
1016
- from: z16.tuple([HashZod4])
1031
+ to: z17.tuple([HashZod4]),
1032
+ from: z17.tuple([HashZod4])
1017
1033
  },
1018
1034
  result: {
1019
1035
  to: SignedHydratedTransactionWithHashMetaZod2.nullable(),
@@ -1028,36 +1044,36 @@ import {
1028
1044
  PermissionRequestZod,
1029
1045
  RequestedPermissionZod
1030
1046
  } from "@xyo-network/xl1-protocol";
1031
- import { z as z17 } from "zod";
1047
+ import { z as z18 } from "zod";
1032
1048
  var XyoPermissionsRpcSchemas = {
1033
1049
  xyoPermissions_getPermissions: {
1034
1050
  params: {
1035
- to: z17.array(z17.any()).length(0),
1036
- from: z17.array(z17.any()).length(0)
1051
+ to: z18.array(z18.any()).length(0),
1052
+ from: z18.array(z18.any()).length(0)
1037
1053
  },
1038
1054
  result: {
1039
- to: z17.array(InvokerPermissionZod),
1040
- from: z17.array(InvokerPermissionZod)
1055
+ to: z18.array(InvokerPermissionZod),
1056
+ from: z18.array(InvokerPermissionZod)
1041
1057
  }
1042
1058
  },
1043
1059
  xyoPermissions_requestPermissions: {
1044
1060
  params: {
1045
- to: z17.tuple([z17.array(PermissionRequestZod)]),
1046
- from: z17.tuple([z17.array(PermissionRequestZod)])
1061
+ to: z18.tuple([z18.array(PermissionRequestZod)]),
1062
+ from: z18.tuple([z18.array(PermissionRequestZod)])
1047
1063
  },
1048
1064
  result: {
1049
- to: z17.array(RequestedPermissionZod),
1050
- from: z17.array(RequestedPermissionZod)
1065
+ to: z18.array(RequestedPermissionZod),
1066
+ from: z18.array(RequestedPermissionZod)
1051
1067
  }
1052
1068
  },
1053
1069
  xyoPermissions_revokePermissions: {
1054
1070
  params: {
1055
- to: z17.tuple([z17.array(PermissionRequestZod)]),
1056
- from: z17.tuple([z17.array(PermissionRequestZod)])
1071
+ to: z18.tuple([z18.array(PermissionRequestZod)]),
1072
+ from: z18.tuple([z18.array(PermissionRequestZod)])
1057
1073
  },
1058
1074
  result: {
1059
- to: z17.array(RequestedPermissionZod),
1060
- from: z17.array(RequestedPermissionZod)
1075
+ to: z18.array(RequestedPermissionZod),
1076
+ from: z18.array(RequestedPermissionZod)
1061
1077
  }
1062
1078
  }
1063
1079
  };
@@ -1065,12 +1081,12 @@ var XyoPermissionsRpcSchemas = {
1065
1081
  // src/types/schema/XyoRunnerRpcSchemas.ts
1066
1082
  import { HashToJsonZod, JsonToHashZod } from "@xylabs/sdk-js";
1067
1083
  import { SignedHydratedTransactionZod as SignedHydratedTransactionZod2 } from "@xyo-network/xl1-protocol";
1068
- import { z as z18 } from "zod";
1084
+ import { z as z19 } from "zod";
1069
1085
  var XyoRunnerRpcSchemas = {
1070
1086
  xyoRunner_broadcastTransaction: {
1071
1087
  params: {
1072
- to: z18.tuple([SignedHydratedTransactionZod2]),
1073
- from: z18.tuple([SignedHydratedTransactionZod2])
1088
+ to: z19.tuple([SignedHydratedTransactionZod2]),
1089
+ from: z19.tuple([SignedHydratedTransactionZod2])
1074
1090
  },
1075
1091
  result: {
1076
1092
  to: HashToJsonZod,
@@ -1082,12 +1098,12 @@ var XyoRunnerRpcSchemas = {
1082
1098
  // src/types/schema/XyoSignerRpcSchemas.ts
1083
1099
  import { AddressZod as AddressZod6 } from "@xylabs/sdk-js";
1084
1100
  import { SignedHydratedTransactionWithHashMetaZod as SignedHydratedTransactionWithHashMetaZod3, UnsignedHydratedTransactionZod } from "@xyo-network/xl1-protocol";
1085
- import { z as z19 } from "zod";
1101
+ import { z as z20 } from "zod";
1086
1102
  var XyoSignerRpcSchemas = {
1087
1103
  xyoSigner_address: {
1088
1104
  params: {
1089
- to: z19.array(z19.any()).length(0).optional(),
1090
- from: z19.array(z19.any()).length(0).optional()
1105
+ to: z20.array(z20.any()).length(0).optional(),
1106
+ from: z20.array(z20.any()).length(0).optional()
1091
1107
  },
1092
1108
  result: {
1093
1109
  to: AddressZod6,
@@ -1096,8 +1112,8 @@ var XyoSignerRpcSchemas = {
1096
1112
  },
1097
1113
  xyoSigner_signTransaction: {
1098
1114
  params: {
1099
- to: z19.tuple([UnsignedHydratedTransactionZod]),
1100
- from: z19.tuple([UnsignedHydratedTransactionZod])
1115
+ to: z20.tuple([UnsignedHydratedTransactionZod]),
1116
+ from: z20.tuple([UnsignedHydratedTransactionZod])
1101
1117
  },
1102
1118
  result: {
1103
1119
  to: SignedHydratedTransactionWithHashMetaZod3,
@@ -1119,19 +1135,19 @@ import {
1119
1135
  AccountBalanceHistoryItemZod as AccountBalanceHistoryItemZod2,
1120
1136
  asAttoXL1 as asAttoXL16,
1121
1137
  JsonToStakeZod as JsonToStakeZod3,
1122
- SignedHydratedBlockWithHashMetaZod as SignedHydratedBlockWithHashMetaZod3,
1138
+ SignedHydratedBlockWithHashMetaZod as SignedHydratedBlockWithHashMetaZod4,
1123
1139
  SignedHydratedTransactionZod as SignedHydratedTransactionZod3,
1124
1140
  StakeToJsonZod as StakeToJsonZod3,
1125
1141
  StepIdentityZod as StepIdentityZod2,
1126
1142
  XL1BlockNumberZod as XL1BlockNumberZod2,
1127
1143
  XL1BlockRangeZod
1128
1144
  } from "@xyo-network/xl1-protocol";
1129
- import { z as z20 } from "zod";
1145
+ import { z as z21 } from "zod";
1130
1146
  var XyoViewerRpcSchemas = {
1131
1147
  xyoViewer_networkStakeStepRewardClaimedByAddress: {
1132
1148
  params: {
1133
- to: z20.tuple([AddressZod7]),
1134
- from: z20.tuple([AddressZod7])
1149
+ to: z21.tuple([AddressZod7]),
1150
+ from: z21.tuple([AddressZod7])
1135
1151
  },
1136
1152
  result: {
1137
1153
  to: BigIntToJsonZod9,
@@ -1140,38 +1156,38 @@ var XyoViewerRpcSchemas = {
1140
1156
  },
1141
1157
  xyoViewer_networkStakeStepRewardAddressReward: {
1142
1158
  params: {
1143
- to: z20.tuple([StepIdentityZod2, AddressZod7]),
1144
- from: z20.tuple([StepIdentityZod2, AddressZod7])
1159
+ to: z21.tuple([StepIdentityZod2, AddressZod7]),
1160
+ from: z21.tuple([StepIdentityZod2, AddressZod7])
1145
1161
  },
1146
1162
  result: {
1147
- to: z20.record(AddressZod7, BigIntToJsonZod9),
1148
- from: z20.record(AddressZod7, JsonToBigIntZod9.transform((val) => asAttoXL16(val)))
1163
+ to: z21.record(AddressZod7, BigIntToJsonZod9),
1164
+ from: z21.record(AddressZod7, JsonToBigIntZod9.transform((val) => asAttoXL16(val)))
1149
1165
  }
1150
1166
  },
1151
1167
  xyoViewer_networkStakeStepRewardAddressHistory: {
1152
1168
  params: {
1153
- to: z20.tuple([AddressZod7]),
1154
- from: z20.tuple([AddressZod7])
1169
+ to: z21.tuple([AddressZod7]),
1170
+ from: z21.tuple([AddressZod7])
1155
1171
  },
1156
1172
  result: {
1157
- to: z20.record(AddressZod7, BigIntToJsonZod9),
1158
- from: z20.record(AddressZod7, JsonToBigIntZod9.transform((val) => asAttoXL16(val)))
1173
+ to: z21.record(AddressZod7, BigIntToJsonZod9),
1174
+ from: z21.record(AddressZod7, JsonToBigIntZod9.transform((val) => asAttoXL16(val)))
1159
1175
  }
1160
1176
  },
1161
1177
  xyoViewer_networkStakeStepRewardAddressShare: {
1162
1178
  params: {
1163
- to: z20.tuple([StepIdentityZod2, AddressZod7]),
1164
- from: z20.tuple([StepIdentityZod2, AddressZod7])
1179
+ to: z21.tuple([StepIdentityZod2, AddressZod7]),
1180
+ from: z21.tuple([StepIdentityZod2, AddressZod7])
1165
1181
  },
1166
1182
  result: {
1167
- to: z20.tuple([BigIntToJsonZod9, BigIntToJsonZod9]),
1168
- from: z20.tuple([JsonToBigIntZod9, JsonToBigIntZod9])
1183
+ to: z21.tuple([BigIntToJsonZod9, BigIntToJsonZod9]),
1184
+ from: z21.tuple([JsonToBigIntZod9, JsonToBigIntZod9])
1169
1185
  }
1170
1186
  },
1171
1187
  xyoViewer_networkStakeStepRewardWeightForAddress: {
1172
1188
  params: {
1173
- to: z20.tuple([StepIdentityZod2, AddressZod7]),
1174
- from: z20.tuple([StepIdentityZod2, AddressZod7])
1189
+ to: z21.tuple([StepIdentityZod2, AddressZod7]),
1190
+ from: z21.tuple([StepIdentityZod2, AddressZod7])
1175
1191
  },
1176
1192
  result: {
1177
1193
  to: BigIntToJsonZod9,
@@ -1180,8 +1196,8 @@ var XyoViewerRpcSchemas = {
1180
1196
  },
1181
1197
  xyoViewer_networkStakeStepRewardUnclaimedByAddress: {
1182
1198
  params: {
1183
- to: z20.tuple([AddressZod7]),
1184
- from: z20.tuple([AddressZod7])
1199
+ to: z21.tuple([AddressZod7]),
1200
+ from: z21.tuple([AddressZod7])
1185
1201
  },
1186
1202
  result: {
1187
1203
  to: BigIntToJsonZod9,
@@ -1190,18 +1206,18 @@ var XyoViewerRpcSchemas = {
1190
1206
  },
1191
1207
  xyoViewer_networkStakeStepRewardPoolRewards: {
1192
1208
  params: {
1193
- to: z20.tuple([StepIdentityZod2]),
1194
- from: z20.tuple([StepIdentityZod2])
1209
+ to: z21.tuple([StepIdentityZod2]),
1210
+ from: z21.tuple([StepIdentityZod2])
1195
1211
  },
1196
1212
  result: {
1197
- to: z20.record(AddressZod7, BigIntToJsonZod9),
1198
- from: z20.record(AddressZod7, JsonToBigIntZod9.transform((val) => asAttoXL16(val)))
1213
+ to: z21.record(AddressZod7, BigIntToJsonZod9),
1214
+ from: z21.record(AddressZod7, JsonToBigIntZod9.transform((val) => asAttoXL16(val)))
1199
1215
  }
1200
1216
  },
1201
1217
  xyoViewer_networkStakeStepRewardPositionWeight: {
1202
1218
  params: {
1203
- to: z20.tuple([StepIdentityZod2, z20.number()]),
1204
- from: z20.tuple([StepIdentityZod2, z20.number()])
1219
+ to: z21.tuple([StepIdentityZod2, z21.number()]),
1220
+ from: z21.tuple([StepIdentityZod2, z21.number()])
1205
1221
  },
1206
1222
  result: {
1207
1223
  to: BigIntToJsonZod9,
@@ -1210,8 +1226,8 @@ var XyoViewerRpcSchemas = {
1210
1226
  },
1211
1227
  xyoViewer_networkStakeStepRewardPotentialPositionLoss: {
1212
1228
  params: {
1213
- to: z20.tuple([StepIdentityZod2, z20.number()]),
1214
- from: z20.tuple([StepIdentityZod2, z20.number()])
1229
+ to: z21.tuple([StepIdentityZod2, z21.number()]),
1230
+ from: z21.tuple([StepIdentityZod2, z21.number()])
1215
1231
  },
1216
1232
  result: {
1217
1233
  to: BigIntToJsonZod9,
@@ -1220,8 +1236,8 @@ var XyoViewerRpcSchemas = {
1220
1236
  },
1221
1237
  xyoViewer_networkStakeStepRewardForStep: {
1222
1238
  params: {
1223
- to: z20.tuple([StepIdentityZod2]),
1224
- from: z20.tuple([StepIdentityZod2])
1239
+ to: z21.tuple([StepIdentityZod2]),
1240
+ from: z21.tuple([StepIdentityZod2])
1225
1241
  },
1226
1242
  result: {
1227
1243
  to: BigIntToJsonZod9,
@@ -1230,8 +1246,8 @@ var XyoViewerRpcSchemas = {
1230
1246
  },
1231
1247
  xyoViewer_networkStakeStepRewardRandomizer: {
1232
1248
  params: {
1233
- to: z20.tuple([StepIdentityZod2]),
1234
- from: z20.tuple([StepIdentityZod2])
1249
+ to: z21.tuple([StepIdentityZod2]),
1250
+ from: z21.tuple([StepIdentityZod2])
1235
1251
  },
1236
1252
  result: {
1237
1253
  to: BigIntToJsonZod9,
@@ -1240,48 +1256,48 @@ var XyoViewerRpcSchemas = {
1240
1256
  },
1241
1257
  xyoViewer_networkStakeStepRewardStakerCount: {
1242
1258
  params: {
1243
- to: z20.tuple([StepIdentityZod2]),
1244
- from: z20.tuple([StepIdentityZod2])
1259
+ to: z21.tuple([StepIdentityZod2]),
1260
+ from: z21.tuple([StepIdentityZod2])
1245
1261
  },
1246
1262
  result: {
1247
- to: z20.number(),
1248
- from: z20.number()
1263
+ to: z21.number(),
1264
+ from: z21.number()
1249
1265
  }
1250
1266
  },
1251
1267
  xyoViewer_networkStakeStepRewardPoolShares: {
1252
1268
  params: {
1253
- to: z20.tuple([StepIdentityZod2]),
1254
- from: z20.tuple([StepIdentityZod2])
1269
+ to: z21.tuple([StepIdentityZod2]),
1270
+ from: z21.tuple([StepIdentityZod2])
1255
1271
  },
1256
1272
  result: {
1257
- to: z20.record(AddressZod7, BigIntToJsonZod9),
1258
- from: z20.record(AddressZod7, JsonToBigIntZod9)
1273
+ to: z21.record(AddressZod7, BigIntToJsonZod9),
1274
+ from: z21.record(AddressZod7, JsonToBigIntZod9)
1259
1275
  }
1260
1276
  },
1261
1277
  xyoViewer_networkStakeStepRewardForStepForPosition: {
1262
1278
  params: {
1263
- to: z20.tuple([StepIdentityZod2, z20.number()]),
1264
- from: z20.tuple([StepIdentityZod2, z20.number()])
1279
+ to: z21.tuple([StepIdentityZod2, z21.number()]),
1280
+ from: z21.tuple([StepIdentityZod2, z21.number()])
1265
1281
  },
1266
1282
  result: {
1267
- to: z20.tuple([BigIntToJsonZod9, BigIntToJsonZod9]),
1268
- from: z20.tuple([JsonToBigIntZod9.transform((val) => asAttoXL16(val)), JsonToBigIntZod9.transform((val) => asAttoXL16(val))])
1283
+ to: z21.tuple([BigIntToJsonZod9, BigIntToJsonZod9]),
1284
+ from: z21.tuple([JsonToBigIntZod9.transform((val) => asAttoXL16(val)), JsonToBigIntZod9.transform((val) => asAttoXL16(val))])
1269
1285
  }
1270
1286
  },
1271
1287
  xyoViewer_networkStakeStepRewardForPosition: {
1272
1288
  params: {
1273
- to: z20.tuple([z20.number(), z20.tuple([z20.number(), z20.number()])]),
1274
- from: z20.tuple([z20.number(), z20.tuple([z20.number(), z20.number()])])
1289
+ to: z21.tuple([z21.number(), z21.tuple([z21.number(), z21.number()])]),
1290
+ from: z21.tuple([z21.number(), z21.tuple([z21.number(), z21.number()])])
1275
1291
  },
1276
1292
  result: {
1277
- to: z20.tuple([BigIntToJsonZod9, BigIntToJsonZod9]),
1278
- from: z20.tuple([JsonToBigIntZod9.transform((val) => asAttoXL16(val)), JsonToBigIntZod9.transform((val) => asAttoXL16(val))])
1293
+ to: z21.tuple([BigIntToJsonZod9, BigIntToJsonZod9]),
1294
+ from: z21.tuple([JsonToBigIntZod9.transform((val) => asAttoXL16(val)), JsonToBigIntZod9.transform((val) => asAttoXL16(val))])
1279
1295
  }
1280
1296
  },
1281
1297
  xyoViewer_networkStakeStepRewardsForRange: {
1282
1298
  params: {
1283
- to: z20.tuple([z20.tuple([z20.number(), z20.number()])]),
1284
- from: z20.tuple([z20.tuple([z20.number(), z20.number()])])
1299
+ to: z21.tuple([z21.tuple([z21.number(), z21.number()])]),
1300
+ from: z21.tuple([z21.tuple([z21.number(), z21.number()])])
1285
1301
  },
1286
1302
  result: {
1287
1303
  to: BigIntToJsonZod9,
@@ -1290,8 +1306,8 @@ var XyoViewerRpcSchemas = {
1290
1306
  },
1291
1307
  xyoViewer_networkStakeStepRewardsForStepLevel: {
1292
1308
  params: {
1293
- to: z20.tuple([z20.number(), z20.tuple([z20.number(), z20.number()])]),
1294
- from: z20.tuple([z20.number(), z20.tuple([z20.number(), z20.number()])])
1309
+ to: z21.tuple([z21.number(), z21.tuple([z21.number(), z21.number()])]),
1310
+ from: z21.tuple([z21.number(), z21.tuple([z21.number(), z21.number()])])
1295
1311
  },
1296
1312
  result: {
1297
1313
  to: BigIntToJsonZod9,
@@ -1300,18 +1316,18 @@ var XyoViewerRpcSchemas = {
1300
1316
  },
1301
1317
  xyoViewer_networkStakeStepRewardsForPosition: {
1302
1318
  params: {
1303
- to: z20.tuple([z20.number(), z20.tuple([z20.number(), z20.number()])]),
1304
- from: z20.tuple([z20.number(), z20.tuple([z20.number(), z20.number()])])
1319
+ to: z21.tuple([z21.number(), z21.tuple([z21.number(), z21.number()])]),
1320
+ from: z21.tuple([z21.number(), z21.tuple([z21.number(), z21.number()])])
1305
1321
  },
1306
1322
  result: {
1307
- to: z20.record(z20.string(), z20.tuple([BigIntToJsonZod9, BigIntToJsonZod9])),
1308
- from: z20.record(z20.string(), z20.tuple([JsonToBigIntZod9.transform((val) => asAttoXL16(val)), JsonToBigIntZod9.transform((val) => asAttoXL16(val))]))
1323
+ to: z21.record(z21.string(), z21.tuple([BigIntToJsonZod9, BigIntToJsonZod9])),
1324
+ from: z21.record(z21.string(), z21.tuple([JsonToBigIntZod9.transform((val) => asAttoXL16(val)), JsonToBigIntZod9.transform((val) => asAttoXL16(val))]))
1309
1325
  }
1310
1326
  },
1311
1327
  xyoViewer_accountBalance: {
1312
1328
  params: {
1313
- to: z20.union([z20.tuple([AddressZod7]), z20.tuple([AddressZod7, z20.union([XL1BlockRangeZod, HashZod5])])]),
1314
- from: z20.union([z20.tuple([AddressZod7]), z20.tuple([AddressZod7, z20.union([XL1BlockRangeZod, HashZod5])])])
1329
+ to: z21.union([z21.tuple([AddressZod7]), z21.tuple([AddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])]),
1330
+ from: z21.union([z21.tuple([AddressZod7]), z21.tuple([AddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])])
1315
1331
  },
1316
1332
  result: {
1317
1333
  to: BigIntToJsonZod9,
@@ -1320,58 +1336,58 @@ var XyoViewerRpcSchemas = {
1320
1336
  },
1321
1337
  xyoViewer_accountBalanceHistory: {
1322
1338
  params: {
1323
- to: z20.union([z20.tuple([AddressZod7]), z20.tuple([AddressZod7, z20.union([XL1BlockRangeZod, HashZod5])])]),
1324
- from: z20.union([z20.tuple([AddressZod7]), z20.tuple([AddressZod7, z20.union([XL1BlockRangeZod, HashZod5])])])
1339
+ to: z21.union([z21.tuple([AddressZod7]), z21.tuple([AddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])]),
1340
+ from: z21.union([z21.tuple([AddressZod7]), z21.tuple([AddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])])
1325
1341
  },
1326
1342
  result: {
1327
- to: z20.array(AccountBalanceHistoryItemZod2),
1328
- from: z20.array(AccountBalanceHistoryItemZod2)
1343
+ to: z21.array(AccountBalanceHistoryItemZod2),
1344
+ from: z21.array(AccountBalanceHistoryItemZod2)
1329
1345
  }
1330
1346
  },
1331
1347
  xyoViewer_blocksByNumber: {
1332
1348
  params: {
1333
- to: z20.tuple([XL1BlockNumberZod2, z20.number().optional()]),
1334
- from: z20.tuple([XL1BlockNumberZod2, z20.number().optional()])
1349
+ to: z21.tuple([XL1BlockNumberZod2, z21.number().optional()]),
1350
+ from: z21.tuple([XL1BlockNumberZod2, z21.number().optional()])
1335
1351
  },
1336
1352
  result: {
1337
- to: z20.array(SignedHydratedBlockWithHashMetaZod3),
1338
- from: z20.array(SignedHydratedBlockWithHashMetaZod3)
1353
+ to: z21.array(SignedHydratedBlockWithHashMetaZod4),
1354
+ from: z21.array(SignedHydratedBlockWithHashMetaZod4)
1339
1355
  }
1340
1356
  },
1341
1357
  xyoViewer_blocksByHash: {
1342
1358
  params: {
1343
- to: z20.tuple([HashZod5, z20.number().optional()]),
1344
- from: z20.tuple([HashZod5, z20.number().optional()])
1359
+ to: z21.tuple([HashZod5, z21.number().optional()]),
1360
+ from: z21.tuple([HashZod5, z21.number().optional()])
1345
1361
  },
1346
1362
  result: {
1347
- to: z20.array(SignedHydratedBlockWithHashMetaZod3),
1348
- from: z20.array(SignedHydratedBlockWithHashMetaZod3)
1363
+ to: z21.array(SignedHydratedBlockWithHashMetaZod4),
1364
+ from: z21.array(SignedHydratedBlockWithHashMetaZod4)
1349
1365
  }
1350
1366
  },
1351
1367
  xyoViewer_currentBlock: {
1352
1368
  params: {
1353
- to: z20.array(z20.any()).length(0).optional(),
1354
- from: z20.array(z20.any()).length(0).optional()
1369
+ to: z21.array(z21.any()).length(0).optional(),
1370
+ from: z21.array(z21.any()).length(0).optional()
1355
1371
  },
1356
1372
  result: {
1357
- to: SignedHydratedBlockWithHashMetaZod3,
1358
- from: SignedHydratedBlockWithHashMetaZod3
1373
+ to: SignedHydratedBlockWithHashMetaZod4,
1374
+ from: SignedHydratedBlockWithHashMetaZod4
1359
1375
  }
1360
1376
  },
1361
1377
  xyoViewer_forkHistory: {
1362
1378
  params: {
1363
- to: z20.array(z20.any()).length(0).optional(),
1364
- from: z20.array(z20.any()).length(0).optional()
1379
+ to: z21.array(z21.any()).length(0).optional(),
1380
+ from: z21.array(z21.any()).length(0).optional()
1365
1381
  },
1366
1382
  result: {
1367
- to: z20.record(z20.number(), HexZod),
1368
- from: z20.record(z20.number(), HexZod)
1383
+ to: z21.record(z21.number(), HexZod),
1384
+ from: z21.record(z21.number(), HexZod)
1369
1385
  }
1370
1386
  },
1371
1387
  xyoViewer_stakeByStaker: {
1372
1388
  params: {
1373
- to: z20.tuple([AddressZod7, z20.number()]),
1374
- from: z20.tuple([AddressZod7, z20.number()])
1389
+ to: z21.tuple([AddressZod7, z21.number()]),
1390
+ from: z21.tuple([AddressZod7, z21.number()])
1375
1391
  },
1376
1392
  result: {
1377
1393
  to: StakeToJsonZod3,
@@ -1380,8 +1396,8 @@ var XyoViewerRpcSchemas = {
1380
1396
  },
1381
1397
  xyoViewer_stakeById: {
1382
1398
  params: {
1383
- to: z20.tuple([z20.number()]),
1384
- from: z20.tuple([z20.number()])
1399
+ to: z21.tuple([z21.number()]),
1400
+ from: z21.tuple([z21.number()])
1385
1401
  },
1386
1402
  result: {
1387
1403
  to: StakeToJsonZod3,
@@ -1390,28 +1406,28 @@ var XyoViewerRpcSchemas = {
1390
1406
  },
1391
1407
  xyoViewer_stakesByStaker: {
1392
1408
  params: {
1393
- to: z20.tuple([AddressZod7]),
1394
- from: z20.tuple([AddressZod7])
1409
+ to: z21.tuple([AddressZod7]),
1410
+ from: z21.tuple([AddressZod7])
1395
1411
  },
1396
1412
  result: {
1397
- to: z20.array(StakeToJsonZod3),
1398
- from: z20.array(JsonToStakeZod3)
1413
+ to: z21.array(StakeToJsonZod3),
1414
+ from: z21.array(JsonToStakeZod3)
1399
1415
  }
1400
1416
  },
1401
1417
  xyoViewer_stakesByStaked: {
1402
1418
  params: {
1403
- to: z20.tuple([AddressZod7]),
1404
- from: z20.tuple([AddressZod7])
1419
+ to: z21.tuple([AddressZod7]),
1420
+ from: z21.tuple([AddressZod7])
1405
1421
  },
1406
1422
  result: {
1407
- to: z20.array(StakeToJsonZod3),
1408
- from: z20.array(JsonToStakeZod3)
1423
+ to: z21.array(StakeToJsonZod3),
1424
+ from: z21.array(JsonToStakeZod3)
1409
1425
  }
1410
1426
  },
1411
1427
  xyoViewer_transactionByBlockHashAndIndex: {
1412
1428
  params: {
1413
- to: z20.tuple([HashZod5, z20.number()]),
1414
- from: z20.tuple([HashZod5, z20.number()])
1429
+ to: z21.tuple([HashZod5, z21.number()]),
1430
+ from: z21.tuple([HashZod5, z21.number()])
1415
1431
  },
1416
1432
  result: {
1417
1433
  to: SignedHydratedTransactionZod3.nullable(),
@@ -1420,8 +1436,8 @@ var XyoViewerRpcSchemas = {
1420
1436
  },
1421
1437
  xyoViewer_transactionByBlockNumberAndIndex: {
1422
1438
  params: {
1423
- to: z20.tuple([z20.number(), z20.number()]),
1424
- from: z20.tuple([z20.number(), z20.number()])
1439
+ to: z21.tuple([z21.number(), z21.number()]),
1440
+ from: z21.tuple([z21.number(), z21.number()])
1425
1441
  },
1426
1442
  result: {
1427
1443
  to: SignedHydratedTransactionZod3.nullable(),
@@ -1430,8 +1446,8 @@ var XyoViewerRpcSchemas = {
1430
1446
  },
1431
1447
  xyoViewer_transactionByHash: {
1432
1448
  params: {
1433
- to: z20.tuple([HashZod5]),
1434
- from: z20.tuple([HashZod5])
1449
+ to: z21.tuple([HashZod5]),
1450
+ from: z21.tuple([HashZod5])
1435
1451
  },
1436
1452
  result: {
1437
1453
  to: SignedHydratedTransactionZod3.nullable(),
@@ -1440,12 +1456,12 @@ var XyoViewerRpcSchemas = {
1440
1456
  },
1441
1457
  xyoViewer_payloadsByHash: {
1442
1458
  params: {
1443
- to: z20.tuple([z20.array(HashZod5)]),
1444
- from: z20.tuple([z20.array(HashZod5)])
1459
+ to: z21.tuple([z21.array(HashZod5)]),
1460
+ from: z21.tuple([z21.array(HashZod5)])
1445
1461
  },
1446
1462
  result: {
1447
- to: z20.array(PayloadZodLoose),
1448
- from: z20.array(PayloadZodLoose)
1463
+ to: z21.array(PayloadZodLoose),
1464
+ from: z21.array(PayloadZodLoose)
1449
1465
  }
1450
1466
  }
1451
1467
  };
@@ -1471,41 +1487,26 @@ var AllRpcSchemas = {
1471
1487
  ...NetworkStakingStepRewardsByStepViewerRpcSchemas,
1472
1488
  ...NetworkStakingStepRewardsByStakerViewerRpcSchemas,
1473
1489
  ...NetworkStakingStepRewardsByPositionViewerRpcSchemas,
1474
- ...TransactionViewerRpcSchemas
1490
+ ...TransactionViewerRpcSchemas,
1491
+ ...FinalizationViewerRpcSchemas
1475
1492
  };
1476
1493
 
1477
1494
  // src/types/schema/createRequestSchema.ts
1478
- import { z as z21 } from "zod";
1479
- var createRequestSchema = (methodName, paramsSchema = z21.undefined()) => z21.object({
1480
- id: z21.union([z21.string(), z21.number()]),
1481
- jsonrpc: z21.literal(jsonrpc),
1482
- method: z21.literal(methodName),
1483
- params: paramsSchema
1484
- });
1485
-
1486
- // src/types/schema/createResponseSchema.ts
1487
1495
  import { z as z22 } from "zod";
1488
- var createResponseSchema = (resultSchema = z22.undefined()) => z22.object({
1496
+ var createRequestSchema = (methodName, paramsSchema = z22.undefined()) => z22.object({
1489
1497
  id: z22.union([z22.string(), z22.number()]),
1490
1498
  jsonrpc: z22.literal(jsonrpc),
1491
- result: resultSchema
1499
+ method: z22.literal(methodName),
1500
+ params: paramsSchema
1492
1501
  });
1493
1502
 
1494
- // src/types/schema/FinalizationViewerRpcSchemas.ts
1495
- import { SignedHydratedBlockWithHashMetaZod as SignedHydratedBlockWithHashMetaZod4 } from "@xyo-network/xl1-protocol";
1503
+ // src/types/schema/createResponseSchema.ts
1496
1504
  import { z as z23 } from "zod";
1497
- var FinalizationViewerRpcSchemas = {
1498
- finalizationViewer_head: {
1499
- params: {
1500
- to: z23.array(z23.any()).length(0).optional(),
1501
- from: z23.array(z23.any()).length(0).optional()
1502
- },
1503
- result: {
1504
- to: SignedHydratedBlockWithHashMetaZod4,
1505
- from: SignedHydratedBlockWithHashMetaZod4
1506
- }
1507
- }
1508
- };
1505
+ var createResponseSchema = (resultSchema = z23.undefined()) => z23.object({
1506
+ id: z23.union([z23.string(), z23.number()]),
1507
+ jsonrpc: z23.literal(jsonrpc),
1508
+ result: resultSchema
1509
+ });
1509
1510
 
1510
1511
  // src/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.ts
1511
1512
  import {