@xyo-network/xl1-rpc 1.16.23 → 1.16.24

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 (50) hide show
  1. package/dist/neutral/index.mjs +619 -489
  2. package/dist/neutral/index.mjs.map +1 -1
  3. package/dist/neutral/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.d.ts +12 -0
  4. package/dist/neutral/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.d.ts.map +1 -0
  5. package/dist/neutral/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewerMethods.d.ts +12 -0
  6. package/dist/neutral/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewerMethods.d.ts.map +1 -0
  7. package/dist/neutral/provider/viewer/JsonRpcAccountBalanceViewer/index.d.ts +3 -0
  8. package/dist/neutral/provider/viewer/JsonRpcAccountBalanceViewer/index.d.ts.map +1 -0
  9. package/dist/neutral/provider/viewer/index.d.ts +1 -0
  10. package/dist/neutral/provider/viewer/index.d.ts.map +1 -1
  11. package/dist/neutral/types/AccountBalanceViewerRpc.d.ts +10 -0
  12. package/dist/neutral/types/AccountBalanceViewerRpc.d.ts.map +1 -0
  13. package/dist/neutral/types/index.d.ts +1 -0
  14. package/dist/neutral/types/index.d.ts.map +1 -1
  15. package/dist/neutral/types/schema/AccountBalanceViewerRpcSchemas.d.ts +132 -0
  16. package/dist/neutral/types/schema/AccountBalanceViewerRpcSchemas.d.ts.map +1 -0
  17. package/dist/neutral/types/schema/AllRpcSchemas.d.ts +128 -0
  18. package/dist/neutral/types/schema/AllRpcSchemas.d.ts.map +1 -1
  19. package/dist/neutral/types/schema/index.d.ts +1 -0
  20. package/dist/neutral/types/schema/index.d.ts.map +1 -1
  21. package/dist/node/index-node.mjs +619 -489
  22. package/dist/node/index-node.mjs.map +1 -1
  23. package/dist/node/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.d.ts +12 -0
  24. package/dist/node/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.d.ts.map +1 -0
  25. package/dist/node/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewerMethods.d.ts +12 -0
  26. package/dist/node/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewerMethods.d.ts.map +1 -0
  27. package/dist/node/provider/viewer/JsonRpcAccountBalanceViewer/index.d.ts +3 -0
  28. package/dist/node/provider/viewer/JsonRpcAccountBalanceViewer/index.d.ts.map +1 -0
  29. package/dist/node/provider/viewer/index.d.ts +1 -0
  30. package/dist/node/provider/viewer/index.d.ts.map +1 -1
  31. package/dist/node/types/AccountBalanceViewerRpc.d.ts +10 -0
  32. package/dist/node/types/AccountBalanceViewerRpc.d.ts.map +1 -0
  33. package/dist/node/types/index.d.ts +1 -0
  34. package/dist/node/types/index.d.ts.map +1 -1
  35. package/dist/node/types/schema/AccountBalanceViewerRpcSchemas.d.ts +132 -0
  36. package/dist/node/types/schema/AccountBalanceViewerRpcSchemas.d.ts.map +1 -0
  37. package/dist/node/types/schema/AllRpcSchemas.d.ts +128 -0
  38. package/dist/node/types/schema/AllRpcSchemas.d.ts.map +1 -1
  39. package/dist/node/types/schema/index.d.ts +1 -0
  40. package/dist/node/types/schema/index.d.ts.map +1 -1
  41. package/package.json +3 -4
  42. package/src/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.ts +23 -0
  43. package/src/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewerMethods.ts +31 -0
  44. package/src/provider/viewer/JsonRpcAccountBalanceViewer/index.ts +2 -0
  45. package/src/provider/viewer/index.ts +1 -0
  46. package/src/types/AccountBalanceViewerRpc.ts +16 -0
  47. package/src/types/index.ts +1 -0
  48. package/src/types/schema/AccountBalanceViewerRpcSchemas.ts +33 -0
  49. package/src/types/schema/AllRpcSchemas.ts +2 -0
  50. package/src/types/schema/index.ts +1 -0
@@ -121,6 +121,9 @@ import { isError, isUndefinedOrNull } from "@xylabs/sdk-js";
121
121
  import { Axios, isAxiosError } from "axios";
122
122
  import { v4 } from "uuid";
123
123
 
124
+ // src/types/AccountBalanceViewerRpc.ts
125
+ var AccountBalanceViewerRpcNamespace = "accountBalanceViewer";
126
+
124
127
  // src/types/DataLakeViewerRpc.ts
125
128
  var DataLakeViewerRpcNamespace = "dataLakeViewer";
126
129
 
@@ -169,28 +172,100 @@ var NetworkStakingStepRewardsTotalViewerRpcNamespace = "networkStakingStepReward
169
172
  // src/types/NetworkStakingStepRewardsViewerRpc.ts
170
173
  var NetworkStakingStepRewardsViewerRpcNamespace = "networkStakingStepRewardsViewer";
171
174
 
175
+ // src/types/schema/AccountBalanceViewerRpcSchemas.ts
176
+ import { AddressZod, BigIntToJsonZod, HashZod, JsonToBigIntZod } from "@xylabs/sdk-js";
177
+ import { XL1BlockRangeZod } from "@xyo-network/xl1-protocol";
178
+ import { AccountBalanceHistoryItemZod } from "@xyo-network/xl1-protocol-sdk";
179
+ import * as z from "zod";
180
+ var AccountBalanceViewerRpcSchemas = {
181
+ accountBalanceViewer_accountsBalances: {
182
+ params: {
183
+ to: z.union([
184
+ z.tuple([
185
+ z.array(AddressZod)
186
+ ]),
187
+ z.tuple([
188
+ z.array(AddressZod),
189
+ z.union([
190
+ XL1BlockRangeZod,
191
+ HashZod
192
+ ])
193
+ ])
194
+ ]),
195
+ from: z.union([
196
+ z.tuple([
197
+ z.array(AddressZod)
198
+ ]),
199
+ z.tuple([
200
+ z.array(AddressZod),
201
+ z.union([
202
+ XL1BlockRangeZod,
203
+ HashZod
204
+ ])
205
+ ])
206
+ ])
207
+ },
208
+ result: {
209
+ to: z.record(AddressZod, BigIntToJsonZod),
210
+ from: z.record(AddressZod, JsonToBigIntZod)
211
+ }
212
+ },
213
+ accountBalanceViewer_accountsBalancesHistory: {
214
+ params: {
215
+ to: z.union([
216
+ z.tuple([
217
+ z.array(AddressZod)
218
+ ]),
219
+ z.tuple([
220
+ z.array(AddressZod),
221
+ z.union([
222
+ XL1BlockRangeZod,
223
+ HashZod
224
+ ])
225
+ ])
226
+ ]),
227
+ from: z.union([
228
+ z.tuple([
229
+ z.array(AddressZod)
230
+ ]),
231
+ z.tuple([
232
+ z.array(AddressZod),
233
+ z.union([
234
+ XL1BlockRangeZod,
235
+ HashZod
236
+ ])
237
+ ])
238
+ ])
239
+ },
240
+ result: {
241
+ to: z.record(AddressZod, z.array(AccountBalanceHistoryItemZod)),
242
+ from: z.record(AddressZod, z.array(AccountBalanceHistoryItemZod))
243
+ }
244
+ }
245
+ };
246
+
172
247
  // src/types/schema/NetworkStakeViewerRpcSchemas.ts
173
- import { BigIntToJsonZod, JsonToBigIntZod } from "@xylabs/sdk-js";
248
+ import { BigIntToJsonZod as BigIntToJsonZod2, JsonToBigIntZod as JsonToBigIntZod2 } from "@xylabs/sdk-js";
174
249
  import { BlockNumberZod } from "@xyo-network/xl1-protocol";
175
- import * as z from "zod";
250
+ import * as z2 from "zod";
176
251
  var NetworkStakeViewerRpcSchemas = {
177
252
  networkStakeViewer_active: {
178
253
  params: {
179
- from: z.tuple([
254
+ from: z2.tuple([
180
255
  BlockNumberZod.optional()
181
256
  ]),
182
- to: z.tuple([
257
+ to: z2.tuple([
183
258
  BlockNumberZod.optional()
184
259
  ])
185
260
  },
186
261
  result: {
187
- from: z.tuple([
188
- JsonToBigIntZod,
189
- z.number()
262
+ from: z2.tuple([
263
+ JsonToBigIntZod2,
264
+ z2.number()
190
265
  ]),
191
- to: z.tuple([
192
- BigIntToJsonZod,
193
- z.number()
266
+ to: z2.tuple([
267
+ BigIntToJsonZod2,
268
+ z2.number()
194
269
  ])
195
270
  }
196
271
  }
@@ -198,44 +273,44 @@ var NetworkStakeViewerRpcSchemas = {
198
273
 
199
274
  // src/types/schema/XyoPermissionsRpcSchemas.ts
200
275
  import { InvokerPermissionZod, PermissionRequestZod, RequestedPermissionZod } from "@xyo-network/xl1-protocol-sdk";
201
- import * as z2 from "zod";
276
+ import * as z3 from "zod";
202
277
  var XyoPermissionsRpcSchemas = {
203
278
  xyoPermissions_getPermissions: {
204
279
  params: {
205
- to: z2.array(z2.any()).length(0),
206
- from: z2.array(z2.any()).length(0)
280
+ to: z3.array(z3.any()).length(0),
281
+ from: z3.array(z3.any()).length(0)
207
282
  },
208
283
  result: {
209
- to: z2.array(InvokerPermissionZod),
210
- from: z2.array(InvokerPermissionZod)
284
+ to: z3.array(InvokerPermissionZod),
285
+ from: z3.array(InvokerPermissionZod)
211
286
  }
212
287
  },
213
288
  xyoPermissions_requestPermissions: {
214
289
  params: {
215
- to: z2.tuple([
216
- z2.array(PermissionRequestZod)
290
+ to: z3.tuple([
291
+ z3.array(PermissionRequestZod)
217
292
  ]),
218
- from: z2.tuple([
219
- z2.array(PermissionRequestZod)
293
+ from: z3.tuple([
294
+ z3.array(PermissionRequestZod)
220
295
  ])
221
296
  },
222
297
  result: {
223
- to: z2.array(RequestedPermissionZod),
224
- from: z2.array(RequestedPermissionZod)
298
+ to: z3.array(RequestedPermissionZod),
299
+ from: z3.array(RequestedPermissionZod)
225
300
  }
226
301
  },
227
302
  xyoPermissions_revokePermissions: {
228
303
  params: {
229
- to: z2.tuple([
230
- z2.array(PermissionRequestZod)
304
+ to: z3.tuple([
305
+ z3.array(PermissionRequestZod)
231
306
  ]),
232
- from: z2.tuple([
233
- z2.array(PermissionRequestZod)
307
+ from: z3.tuple([
308
+ z3.array(PermissionRequestZod)
234
309
  ])
235
310
  },
236
311
  result: {
237
- to: z2.array(RequestedPermissionZod),
238
- from: z2.array(RequestedPermissionZod)
312
+ to: z3.array(RequestedPermissionZod),
313
+ from: z3.array(RequestedPermissionZod)
239
314
  }
240
315
  }
241
316
  };
@@ -243,14 +318,14 @@ var XyoPermissionsRpcSchemas = {
243
318
  // src/types/schema/XyoRunnerRpcSchemas.ts
244
319
  import { HashToJsonZod, JsonToHashZod } from "@xylabs/sdk-js";
245
320
  import { SignedHydratedTransactionZod } from "@xyo-network/xl1-protocol-sdk";
246
- import * as z3 from "zod";
321
+ import * as z4 from "zod";
247
322
  var XyoRunnerRpcSchemas = {
248
323
  xyoRunner_broadcastTransaction: {
249
324
  params: {
250
- to: z3.tuple([
325
+ to: z4.tuple([
251
326
  SignedHydratedTransactionZod
252
327
  ]),
253
- from: z3.tuple([
328
+ from: z4.tuple([
254
329
  SignedHydratedTransactionZod
255
330
  ])
256
331
  },
@@ -262,27 +337,27 @@ var XyoRunnerRpcSchemas = {
262
337
  };
263
338
 
264
339
  // src/types/schema/XyoSignerRpcSchemas.ts
265
- import { AddressZod } from "@xylabs/sdk-js";
340
+ import { AddressZod as AddressZod2 } from "@xylabs/sdk-js";
266
341
  import { asHydratedTransactionWithStorageMeta } from "@xyo-network/xl1-protocol";
267
342
  import { SignedHydratedTransactionZod as SignedHydratedTransactionZod2, UnsignedHydratedTransactionZod } from "@xyo-network/xl1-protocol-sdk";
268
- import { z as z4 } from "zod";
343
+ import { z as z5 } from "zod";
269
344
  var XyoSignerRpcSchemas = {
270
345
  xyoSigner_address: {
271
346
  params: {
272
- to: z4.array(z4.any()).length(0).optional(),
273
- from: z4.array(z4.any()).length(0).optional()
347
+ to: z5.array(z5.any()).length(0).optional(),
348
+ from: z5.array(z5.any()).length(0).optional()
274
349
  },
275
350
  result: {
276
- to: AddressZod,
277
- from: AddressZod
351
+ to: AddressZod2,
352
+ from: AddressZod2
278
353
  }
279
354
  },
280
355
  xyoSigner_signTransaction: {
281
356
  params: {
282
- to: z4.tuple([
357
+ to: z5.tuple([
283
358
  UnsignedHydratedTransactionZod
284
359
  ]),
285
- from: z4.tuple([
360
+ from: z5.tuple([
286
361
  UnsignedHydratedTransactionZod
287
362
  ])
288
363
  },
@@ -296,521 +371,521 @@ var XyoSignerRpcSchemas = {
296
371
  };
297
372
 
298
373
  // src/types/schema/XyoViewerRpcSchemas.ts
299
- import { AddressZod as AddressZod2, BigIntToJsonZod as BigIntToJsonZod2, HashToJsonZod as HashToJsonZod2, HashZod, JsonToBigIntZod as JsonToBigIntZod2, JsonToHashZod as JsonToHashZod2 } from "@xylabs/sdk-js";
300
- import { BlockNumberZod as BlockNumberZod2, BlockRangeZod, StepIdentityZod, XL1BlockNumberZod, XL1BlockRangeZod } from "@xyo-network/xl1-protocol";
301
- import { AccountBalanceHistoryItemZod, JsonToStakeZod, SignedHydratedBlockZod, SignedHydratedTransactionZod as SignedHydratedTransactionZod3, StakeToJsonZod, TransferPairZod } from "@xyo-network/xl1-protocol-sdk";
302
- import * as z5 from "zod";
374
+ import { AddressZod as AddressZod3, BigIntToJsonZod as BigIntToJsonZod3, HashToJsonZod as HashToJsonZod2, HashZod as HashZod2, JsonToBigIntZod as JsonToBigIntZod3, JsonToHashZod as JsonToHashZod2 } from "@xylabs/sdk-js";
375
+ import { BlockNumberZod as BlockNumberZod2, BlockRangeZod, StepIdentityZod, XL1BlockNumberZod, XL1BlockRangeZod as XL1BlockRangeZod2 } from "@xyo-network/xl1-protocol";
376
+ import { AccountBalanceHistoryItemZod as AccountBalanceHistoryItemZod2, JsonToStakeZod, SignedHydratedBlockZod, SignedHydratedTransactionZod as SignedHydratedTransactionZod3, StakeToJsonZod, TransferPairZod } from "@xyo-network/xl1-protocol-sdk";
377
+ import * as z6 from "zod";
303
378
  var XyoViewerRpcSchemas = {
304
379
  xyoViewer_networkStakeStepRewardClaimedByAddress: {
305
380
  params: {
306
- to: z5.tuple([
307
- AddressZod2
381
+ to: z6.tuple([
382
+ AddressZod3
308
383
  ]),
309
- from: z5.tuple([
310
- AddressZod2
384
+ from: z6.tuple([
385
+ AddressZod3
311
386
  ])
312
387
  },
313
388
  result: {
314
- to: BigIntToJsonZod2,
315
- from: JsonToBigIntZod2
389
+ to: BigIntToJsonZod3,
390
+ from: JsonToBigIntZod3
316
391
  }
317
392
  },
318
393
  xyoViewer_networkStakeStepRewardAddressReward: {
319
394
  params: {
320
- to: z5.tuple([
395
+ to: z6.tuple([
321
396
  StepIdentityZod,
322
- AddressZod2
397
+ AddressZod3
323
398
  ]),
324
- from: z5.tuple([
399
+ from: z6.tuple([
325
400
  StepIdentityZod,
326
- AddressZod2
401
+ AddressZod3
327
402
  ])
328
403
  },
329
404
  result: {
330
- to: z5.record(AddressZod2, BigIntToJsonZod2),
331
- from: z5.record(AddressZod2, JsonToBigIntZod2)
405
+ to: z6.record(AddressZod3, BigIntToJsonZod3),
406
+ from: z6.record(AddressZod3, JsonToBigIntZod3)
332
407
  }
333
408
  },
334
409
  xyoViewer_networkStakeStepRewardAddressHistory: {
335
410
  params: {
336
- to: z5.tuple([
337
- AddressZod2
411
+ to: z6.tuple([
412
+ AddressZod3
338
413
  ]),
339
- from: z5.tuple([
340
- AddressZod2
414
+ from: z6.tuple([
415
+ AddressZod3
341
416
  ])
342
417
  },
343
418
  result: {
344
- to: z5.record(AddressZod2, BigIntToJsonZod2),
345
- from: z5.record(AddressZod2, JsonToBigIntZod2)
419
+ to: z6.record(AddressZod3, BigIntToJsonZod3),
420
+ from: z6.record(AddressZod3, JsonToBigIntZod3)
346
421
  }
347
422
  },
348
423
  xyoViewer_networkStakeStepRewardAddressShare: {
349
424
  params: {
350
- to: z5.tuple([
425
+ to: z6.tuple([
351
426
  StepIdentityZod,
352
- AddressZod2
427
+ AddressZod3
353
428
  ]),
354
- from: z5.tuple([
429
+ from: z6.tuple([
355
430
  StepIdentityZod,
356
- AddressZod2
431
+ AddressZod3
357
432
  ])
358
433
  },
359
434
  result: {
360
- to: z5.tuple([
361
- BigIntToJsonZod2,
362
- BigIntToJsonZod2
435
+ to: z6.tuple([
436
+ BigIntToJsonZod3,
437
+ BigIntToJsonZod3
363
438
  ]),
364
- from: z5.tuple([
365
- JsonToBigIntZod2,
366
- JsonToBigIntZod2
439
+ from: z6.tuple([
440
+ JsonToBigIntZod3,
441
+ JsonToBigIntZod3
367
442
  ])
368
443
  }
369
444
  },
370
445
  xyoViewer_networkStakeStepRewardWeightForAddress: {
371
446
  params: {
372
- to: z5.tuple([
447
+ to: z6.tuple([
373
448
  StepIdentityZod,
374
- AddressZod2
449
+ AddressZod3
375
450
  ]),
376
- from: z5.tuple([
451
+ from: z6.tuple([
377
452
  StepIdentityZod,
378
- AddressZod2
453
+ AddressZod3
379
454
  ])
380
455
  },
381
456
  result: {
382
- to: BigIntToJsonZod2,
383
- from: JsonToBigIntZod2
457
+ to: BigIntToJsonZod3,
458
+ from: JsonToBigIntZod3
384
459
  }
385
460
  },
386
461
  xyoViewer_networkStakeStepRewardUnclaimedByAddress: {
387
462
  params: {
388
- to: z5.tuple([
389
- AddressZod2
463
+ to: z6.tuple([
464
+ AddressZod3
390
465
  ]),
391
- from: z5.tuple([
392
- AddressZod2
466
+ from: z6.tuple([
467
+ AddressZod3
393
468
  ])
394
469
  },
395
470
  result: {
396
- to: BigIntToJsonZod2,
397
- from: JsonToBigIntZod2
471
+ to: BigIntToJsonZod3,
472
+ from: JsonToBigIntZod3
398
473
  }
399
474
  },
400
475
  xyoViewer_networkStakeStepRewardPoolRewards: {
401
476
  params: {
402
- to: z5.tuple([
477
+ to: z6.tuple([
403
478
  StepIdentityZod
404
479
  ]),
405
- from: z5.tuple([
480
+ from: z6.tuple([
406
481
  StepIdentityZod
407
482
  ])
408
483
  },
409
484
  result: {
410
- to: z5.record(AddressZod2, BigIntToJsonZod2),
411
- from: z5.record(AddressZod2, JsonToBigIntZod2)
485
+ to: z6.record(AddressZod3, BigIntToJsonZod3),
486
+ from: z6.record(AddressZod3, JsonToBigIntZod3)
412
487
  }
413
488
  },
414
489
  xyoViewer_networkStakeStepRewardPositionWeight: {
415
490
  params: {
416
- to: z5.tuple([
491
+ to: z6.tuple([
417
492
  StepIdentityZod,
418
- z5.number()
493
+ z6.number()
419
494
  ]),
420
- from: z5.tuple([
495
+ from: z6.tuple([
421
496
  StepIdentityZod,
422
- z5.number()
497
+ z6.number()
423
498
  ])
424
499
  },
425
500
  result: {
426
- to: BigIntToJsonZod2,
427
- from: JsonToBigIntZod2
501
+ to: BigIntToJsonZod3,
502
+ from: JsonToBigIntZod3
428
503
  }
429
504
  },
430
505
  xyoViewer_networkStakeStepRewardPotentialPositionLoss: {
431
506
  params: {
432
- to: z5.tuple([
507
+ to: z6.tuple([
433
508
  StepIdentityZod,
434
- z5.number()
509
+ z6.number()
435
510
  ]),
436
- from: z5.tuple([
511
+ from: z6.tuple([
437
512
  StepIdentityZod,
438
- z5.number()
513
+ z6.number()
439
514
  ])
440
515
  },
441
516
  result: {
442
- to: BigIntToJsonZod2,
443
- from: JsonToBigIntZod2
517
+ to: BigIntToJsonZod3,
518
+ from: JsonToBigIntZod3
444
519
  }
445
520
  },
446
521
  xyoViewer_networkStakeStepRewardForStep: {
447
522
  params: {
448
- to: z5.tuple([
523
+ to: z6.tuple([
449
524
  StepIdentityZod
450
525
  ]),
451
- from: z5.tuple([
526
+ from: z6.tuple([
452
527
  StepIdentityZod
453
528
  ])
454
529
  },
455
530
  result: {
456
- to: BigIntToJsonZod2,
457
- from: JsonToBigIntZod2
531
+ to: BigIntToJsonZod3,
532
+ from: JsonToBigIntZod3
458
533
  }
459
534
  },
460
535
  xyoViewer_networkStakeStepRewardRandomizer: {
461
536
  params: {
462
- to: z5.tuple([
537
+ to: z6.tuple([
463
538
  StepIdentityZod
464
539
  ]),
465
- from: z5.tuple([
540
+ from: z6.tuple([
466
541
  StepIdentityZod
467
542
  ])
468
543
  },
469
544
  result: {
470
- to: BigIntToJsonZod2,
471
- from: JsonToBigIntZod2
545
+ to: BigIntToJsonZod3,
546
+ from: JsonToBigIntZod3
472
547
  }
473
548
  },
474
549
  xyoViewer_networkStakeStepRewardStakerCount: {
475
550
  params: {
476
- to: z5.tuple([
551
+ to: z6.tuple([
477
552
  StepIdentityZod
478
553
  ]),
479
- from: z5.tuple([
554
+ from: z6.tuple([
480
555
  StepIdentityZod
481
556
  ])
482
557
  },
483
558
  result: {
484
- to: z5.number(),
485
- from: z5.number()
559
+ to: z6.number(),
560
+ from: z6.number()
486
561
  }
487
562
  },
488
563
  xyoViewer_networkStakeStepRewardPoolShares: {
489
564
  params: {
490
- to: z5.tuple([
565
+ to: z6.tuple([
491
566
  StepIdentityZod
492
567
  ]),
493
- from: z5.tuple([
568
+ from: z6.tuple([
494
569
  StepIdentityZod
495
570
  ])
496
571
  },
497
572
  result: {
498
- to: z5.record(AddressZod2, BigIntToJsonZod2),
499
- from: z5.record(AddressZod2, JsonToBigIntZod2)
573
+ to: z6.record(AddressZod3, BigIntToJsonZod3),
574
+ from: z6.record(AddressZod3, JsonToBigIntZod3)
500
575
  }
501
576
  },
502
577
  xyoViewer_networkStakeStepRewardForStepForPosition: {
503
578
  params: {
504
- to: z5.tuple([
579
+ to: z6.tuple([
505
580
  StepIdentityZod,
506
- z5.number()
581
+ z6.number()
507
582
  ]),
508
- from: z5.tuple([
583
+ from: z6.tuple([
509
584
  StepIdentityZod,
510
- z5.number()
585
+ z6.number()
511
586
  ])
512
587
  },
513
588
  result: {
514
- to: z5.tuple([
515
- BigIntToJsonZod2,
516
- BigIntToJsonZod2
589
+ to: z6.tuple([
590
+ BigIntToJsonZod3,
591
+ BigIntToJsonZod3
517
592
  ]),
518
- from: z5.tuple([
519
- JsonToBigIntZod2,
520
- JsonToBigIntZod2
593
+ from: z6.tuple([
594
+ JsonToBigIntZod3,
595
+ JsonToBigIntZod3
521
596
  ])
522
597
  }
523
598
  },
524
599
  xyoViewer_networkStakeStepRewardForPosition: {
525
600
  params: {
526
- to: z5.tuple([
527
- z5.number(),
528
- z5.tuple([
529
- z5.number(),
530
- z5.number()
601
+ to: z6.tuple([
602
+ z6.number(),
603
+ z6.tuple([
604
+ z6.number(),
605
+ z6.number()
531
606
  ])
532
607
  ]),
533
- from: z5.tuple([
534
- z5.number(),
535
- z5.tuple([
536
- z5.number(),
537
- z5.number()
608
+ from: z6.tuple([
609
+ z6.number(),
610
+ z6.tuple([
611
+ z6.number(),
612
+ z6.number()
538
613
  ])
539
614
  ])
540
615
  },
541
616
  result: {
542
- to: z5.tuple([
543
- BigIntToJsonZod2,
544
- BigIntToJsonZod2
617
+ to: z6.tuple([
618
+ BigIntToJsonZod3,
619
+ BigIntToJsonZod3
545
620
  ]),
546
- from: z5.tuple([
547
- JsonToBigIntZod2,
548
- JsonToBigIntZod2
621
+ from: z6.tuple([
622
+ JsonToBigIntZod3,
623
+ JsonToBigIntZod3
549
624
  ])
550
625
  }
551
626
  },
552
627
  xyoViewer_networkStakeStepRewardsForRange: {
553
628
  params: {
554
- to: z5.tuple([
555
- z5.tuple([
556
- z5.number(),
557
- z5.number()
629
+ to: z6.tuple([
630
+ z6.tuple([
631
+ z6.number(),
632
+ z6.number()
558
633
  ])
559
634
  ]),
560
- from: z5.tuple([
561
- z5.tuple([
562
- z5.number(),
563
- z5.number()
635
+ from: z6.tuple([
636
+ z6.tuple([
637
+ z6.number(),
638
+ z6.number()
564
639
  ])
565
640
  ])
566
641
  },
567
642
  result: {
568
- to: BigIntToJsonZod2,
569
- from: JsonToBigIntZod2
643
+ to: BigIntToJsonZod3,
644
+ from: JsonToBigIntZod3
570
645
  }
571
646
  },
572
647
  xyoViewer_networkStakeStepRewardsForStepLevel: {
573
648
  params: {
574
- to: z5.tuple([
575
- z5.number(),
576
- z5.tuple([
577
- z5.number(),
578
- z5.number()
649
+ to: z6.tuple([
650
+ z6.number(),
651
+ z6.tuple([
652
+ z6.number(),
653
+ z6.number()
579
654
  ])
580
655
  ]),
581
- from: z5.tuple([
582
- z5.number(),
583
- z5.tuple([
584
- z5.number(),
585
- z5.number()
656
+ from: z6.tuple([
657
+ z6.number(),
658
+ z6.tuple([
659
+ z6.number(),
660
+ z6.number()
586
661
  ])
587
662
  ])
588
663
  },
589
664
  result: {
590
- to: BigIntToJsonZod2,
591
- from: JsonToBigIntZod2
665
+ to: BigIntToJsonZod3,
666
+ from: JsonToBigIntZod3
592
667
  }
593
668
  },
594
669
  xyoViewer_networkStakeStepRewardsForPosition: {
595
670
  params: {
596
- to: z5.tuple([
597
- z5.number(),
598
- z5.tuple([
599
- z5.number(),
600
- z5.number()
671
+ to: z6.tuple([
672
+ z6.number(),
673
+ z6.tuple([
674
+ z6.number(),
675
+ z6.number()
601
676
  ])
602
677
  ]),
603
- from: z5.tuple([
604
- z5.number(),
605
- z5.tuple([
606
- z5.number(),
607
- z5.number()
678
+ from: z6.tuple([
679
+ z6.number(),
680
+ z6.tuple([
681
+ z6.number(),
682
+ z6.number()
608
683
  ])
609
684
  ])
610
685
  },
611
686
  result: {
612
- to: z5.record(z5.string(), z5.tuple([
613
- BigIntToJsonZod2,
614
- BigIntToJsonZod2
687
+ to: z6.record(z6.string(), z6.tuple([
688
+ BigIntToJsonZod3,
689
+ BigIntToJsonZod3
615
690
  ])),
616
- from: z5.record(z5.string(), z5.tuple([
617
- JsonToBigIntZod2,
618
- JsonToBigIntZod2
691
+ from: z6.record(z6.string(), z6.tuple([
692
+ JsonToBigIntZod3,
693
+ JsonToBigIntZod3
619
694
  ]))
620
695
  }
621
696
  },
622
697
  xyoViewer_accountBalance: {
623
698
  params: {
624
- to: z5.union([
625
- z5.tuple([
626
- AddressZod2
699
+ to: z6.union([
700
+ z6.tuple([
701
+ AddressZod3
627
702
  ]),
628
- z5.tuple([
629
- AddressZod2,
630
- z5.union([
631
- XL1BlockRangeZod,
632
- HashZod
703
+ z6.tuple([
704
+ AddressZod3,
705
+ z6.union([
706
+ XL1BlockRangeZod2,
707
+ HashZod2
633
708
  ])
634
709
  ])
635
710
  ]),
636
- from: z5.union([
637
- z5.tuple([
638
- AddressZod2
711
+ from: z6.union([
712
+ z6.tuple([
713
+ AddressZod3
639
714
  ]),
640
- z5.tuple([
641
- AddressZod2,
642
- z5.union([
643
- XL1BlockRangeZod,
644
- HashZod
715
+ z6.tuple([
716
+ AddressZod3,
717
+ z6.union([
718
+ XL1BlockRangeZod2,
719
+ HashZod2
645
720
  ])
646
721
  ])
647
722
  ])
648
723
  },
649
724
  result: {
650
- to: BigIntToJsonZod2,
651
- from: JsonToBigIntZod2
725
+ to: BigIntToJsonZod3,
726
+ from: JsonToBigIntZod3
652
727
  }
653
728
  },
654
729
  xyoViewer_accountBalanceHistory: {
655
730
  params: {
656
- to: z5.union([
657
- z5.tuple([
658
- AddressZod2
731
+ to: z6.union([
732
+ z6.tuple([
733
+ AddressZod3
659
734
  ]),
660
- z5.tuple([
661
- AddressZod2,
662
- z5.union([
663
- XL1BlockRangeZod,
664
- HashZod
735
+ z6.tuple([
736
+ AddressZod3,
737
+ z6.union([
738
+ XL1BlockRangeZod2,
739
+ HashZod2
665
740
  ])
666
741
  ])
667
742
  ]),
668
- from: z5.union([
669
- z5.tuple([
670
- AddressZod2
743
+ from: z6.union([
744
+ z6.tuple([
745
+ AddressZod3
671
746
  ]),
672
- z5.tuple([
673
- AddressZod2,
674
- z5.union([
675
- XL1BlockRangeZod,
676
- HashZod
747
+ z6.tuple([
748
+ AddressZod3,
749
+ z6.union([
750
+ XL1BlockRangeZod2,
751
+ HashZod2
677
752
  ])
678
753
  ])
679
754
  ])
680
755
  },
681
756
  result: {
682
- to: z5.array(AccountBalanceHistoryItemZod),
683
- from: z5.array(AccountBalanceHistoryItemZod)
757
+ to: z6.array(AccountBalanceHistoryItemZod2),
758
+ from: z6.array(AccountBalanceHistoryItemZod2)
684
759
  }
685
760
  },
686
761
  xyoViewer_accountsBalances: {
687
762
  params: {
688
- to: z5.union([
689
- z5.tuple([
690
- z5.array(AddressZod2)
763
+ to: z6.union([
764
+ z6.tuple([
765
+ z6.array(AddressZod3)
691
766
  ]),
692
- z5.tuple([
693
- z5.array(AddressZod2),
694
- z5.union([
695
- XL1BlockRangeZod,
696
- HashZod
767
+ z6.tuple([
768
+ z6.array(AddressZod3),
769
+ z6.union([
770
+ XL1BlockRangeZod2,
771
+ HashZod2
697
772
  ])
698
773
  ])
699
774
  ]),
700
- from: z5.union([
701
- z5.tuple([
702
- z5.array(AddressZod2)
775
+ from: z6.union([
776
+ z6.tuple([
777
+ z6.array(AddressZod3)
703
778
  ]),
704
- z5.tuple([
705
- z5.array(AddressZod2),
706
- z5.union([
707
- XL1BlockRangeZod,
708
- HashZod
779
+ z6.tuple([
780
+ z6.array(AddressZod3),
781
+ z6.union([
782
+ XL1BlockRangeZod2,
783
+ HashZod2
709
784
  ])
710
785
  ])
711
786
  ])
712
787
  },
713
788
  result: {
714
- to: z5.record(AddressZod2, BigIntToJsonZod2),
715
- from: z5.record(AddressZod2, JsonToBigIntZod2)
789
+ to: z6.record(AddressZod3, BigIntToJsonZod3),
790
+ from: z6.record(AddressZod3, JsonToBigIntZod3)
716
791
  }
717
792
  },
718
793
  xyoViewer_accountsBalancesHistory: {
719
794
  params: {
720
- to: z5.union([
721
- z5.tuple([
722
- z5.array(AddressZod2)
795
+ to: z6.union([
796
+ z6.tuple([
797
+ z6.array(AddressZod3)
723
798
  ]),
724
- z5.tuple([
725
- z5.array(AddressZod2),
726
- z5.union([
727
- XL1BlockRangeZod,
728
- HashZod
799
+ z6.tuple([
800
+ z6.array(AddressZod3),
801
+ z6.union([
802
+ XL1BlockRangeZod2,
803
+ HashZod2
729
804
  ])
730
805
  ])
731
806
  ]),
732
- from: z5.union([
733
- z5.tuple([
734
- z5.array(AddressZod2)
807
+ from: z6.union([
808
+ z6.tuple([
809
+ z6.array(AddressZod3)
735
810
  ]),
736
- z5.tuple([
737
- z5.array(AddressZod2),
738
- z5.union([
739
- XL1BlockRangeZod,
740
- HashZod
811
+ z6.tuple([
812
+ z6.array(AddressZod3),
813
+ z6.union([
814
+ XL1BlockRangeZod2,
815
+ HashZod2
741
816
  ])
742
817
  ])
743
818
  ])
744
819
  },
745
820
  result: {
746
- to: z5.record(AddressZod2, AccountBalanceHistoryItemZod),
747
- from: z5.record(AddressZod2, AccountBalanceHistoryItemZod)
821
+ to: z6.record(AddressZod3, AccountBalanceHistoryItemZod2),
822
+ from: z6.record(AddressZod3, AccountBalanceHistoryItemZod2)
748
823
  }
749
824
  },
750
825
  xyoViewer_transferPairBalance: {
751
826
  params: {
752
- to: z5.tuple([
827
+ to: z6.tuple([
753
828
  TransferPairZod
754
829
  ]),
755
- from: z5.tuple([
830
+ from: z6.tuple([
756
831
  TransferPairZod
757
832
  ])
758
833
  },
759
834
  result: {
760
- to: BigIntToJsonZod2,
761
- from: JsonToBigIntZod2
835
+ to: BigIntToJsonZod3,
836
+ from: JsonToBigIntZod3
762
837
  }
763
838
  },
764
839
  xyoViewer_transferPairBalanceHistory: {
765
840
  params: {
766
- to: z5.tuple([
841
+ to: z6.tuple([
767
842
  TransferPairZod
768
843
  ]),
769
- from: z5.tuple([
844
+ from: z6.tuple([
770
845
  TransferPairZod
771
846
  ])
772
847
  },
773
848
  result: {
774
- to: z5.array(AccountBalanceHistoryItemZod),
775
- from: z5.array(AccountBalanceHistoryItemZod)
849
+ to: z6.array(AccountBalanceHistoryItemZod2),
850
+ from: z6.array(AccountBalanceHistoryItemZod2)
776
851
  }
777
852
  },
778
853
  xyoViewer_transferBalance: {
779
854
  params: {
780
- to: z5.tuple([
781
- AddressZod2
855
+ to: z6.tuple([
856
+ AddressZod3
782
857
  ]),
783
- from: z5.tuple([
784
- AddressZod2
858
+ from: z6.tuple([
859
+ AddressZod3
785
860
  ])
786
861
  },
787
862
  result: {
788
- to: BigIntToJsonZod2,
789
- from: JsonToBigIntZod2
863
+ to: BigIntToJsonZod3,
864
+ from: JsonToBigIntZod3
790
865
  }
791
866
  },
792
867
  xyoViewer_transferBalanceHistory: {
793
868
  params: {
794
- to: z5.tuple([
795
- AddressZod2,
869
+ to: z6.tuple([
870
+ AddressZod3,
796
871
  BlockRangeZod.optional()
797
872
  ]),
798
- from: z5.tuple([
799
- AddressZod2,
873
+ from: z6.tuple([
874
+ AddressZod3,
800
875
  BlockRangeZod.optional()
801
876
  ])
802
877
  },
803
878
  result: {
804
- to: z5.array(AccountBalanceHistoryItemZod),
805
- from: z5.array(AccountBalanceHistoryItemZod)
879
+ to: z6.array(AccountBalanceHistoryItemZod2),
880
+ from: z6.array(AccountBalanceHistoryItemZod2)
806
881
  }
807
882
  },
808
883
  xyoViewer_blockByHash: {
809
884
  params: {
810
- to: z5.tuple([
885
+ to: z6.tuple([
811
886
  HashToJsonZod2
812
887
  ]),
813
- from: z5.tuple([
888
+ from: z6.tuple([
814
889
  JsonToHashZod2
815
890
  ])
816
891
  },
@@ -821,11 +896,11 @@ var XyoViewerRpcSchemas = {
821
896
  },
822
897
  xyoViewer_blockByNumber: {
823
898
  params: {
824
- to: z5.tuple([
825
- z5.number()
899
+ to: z6.tuple([
900
+ z6.number()
826
901
  ]),
827
- from: z5.tuple([
828
- z5.number()
902
+ from: z6.tuple([
903
+ z6.number()
829
904
  ])
830
905
  },
831
906
  result: {
@@ -835,48 +910,48 @@ var XyoViewerRpcSchemas = {
835
910
  },
836
911
  xyoViewer_blocksByHash: {
837
912
  params: {
838
- to: z5.tuple([
839
- HashZod,
840
- z5.number().optional()
913
+ to: z6.tuple([
914
+ HashZod2,
915
+ z6.number().optional()
841
916
  ]),
842
- from: z5.tuple([
843
- HashZod,
844
- z5.number().optional()
917
+ from: z6.tuple([
918
+ HashZod2,
919
+ z6.number().optional()
845
920
  ])
846
921
  },
847
922
  result: {
848
- to: z5.array(SignedHydratedBlockZod),
849
- from: z5.array(SignedHydratedBlockZod)
923
+ to: z6.array(SignedHydratedBlockZod),
924
+ from: z6.array(SignedHydratedBlockZod)
850
925
  }
851
926
  },
852
927
  xyoViewer_chainId: {
853
928
  params: {
854
- to: z5.array(z5.any()).length(0).optional(),
855
- from: z5.array(z5.any()).length(0).optional()
929
+ to: z6.array(z6.any()).length(0).optional(),
930
+ from: z6.array(z6.any()).length(0).optional()
856
931
  },
857
932
  result: {
858
- to: AddressZod2,
859
- from: AddressZod2
933
+ to: AddressZod3,
934
+ from: AddressZod3
860
935
  }
861
936
  },
862
937
  xyoViewer_chainIdAtBlock: {
863
938
  params: {
864
- to: z5.tuple([
939
+ to: z6.tuple([
865
940
  BlockNumberZod2
866
941
  ]),
867
- from: z5.tuple([
942
+ from: z6.tuple([
868
943
  BlockNumberZod2
869
944
  ])
870
945
  },
871
946
  result: {
872
- to: AddressZod2,
873
- from: AddressZod2
947
+ to: AddressZod3,
948
+ from: AddressZod3
874
949
  }
875
950
  },
876
951
  xyoViewer_currentBlock: {
877
952
  params: {
878
- to: z5.array(z5.any()).length(0).optional(),
879
- from: z5.array(z5.any()).length(0).optional()
953
+ to: z6.array(z6.any()).length(0).optional(),
954
+ from: z6.array(z6.any()).length(0).optional()
880
955
  },
881
956
  result: {
882
957
  to: SignedHydratedBlockZod,
@@ -885,18 +960,18 @@ var XyoViewerRpcSchemas = {
885
960
  },
886
961
  xyoViewer_currentBlockHash: {
887
962
  params: {
888
- to: z5.array(z5.any()).length(0).optional(),
889
- from: z5.array(z5.any()).length(0).optional()
963
+ to: z6.array(z6.any()).length(0).optional(),
964
+ from: z6.array(z6.any()).length(0).optional()
890
965
  },
891
966
  result: {
892
- to: HashZod,
893
- from: HashZod
967
+ to: HashZod2,
968
+ from: HashZod2
894
969
  }
895
970
  },
896
971
  xyoViewer_currentBlockNumber: {
897
972
  params: {
898
- to: z5.array(z5.any()).length(0).optional(),
899
- from: z5.array(z5.any()).length(0).optional()
973
+ to: z6.array(z6.any()).length(0).optional(),
974
+ from: z6.array(z6.any()).length(0).optional()
900
975
  },
901
976
  result: {
902
977
  to: XL1BlockNumberZod,
@@ -905,23 +980,23 @@ var XyoViewerRpcSchemas = {
905
980
  },
906
981
  xyoViewer_forkHistory: {
907
982
  params: {
908
- to: z5.array(z5.any()).length(0).optional(),
909
- from: z5.array(z5.any()).length(0).optional()
983
+ to: z6.array(z6.any()).length(0).optional(),
984
+ from: z6.array(z6.any()).length(0).optional()
910
985
  },
911
986
  result: {
912
- to: z5.record(z5.number(), AddressZod2),
913
- from: z5.record(z5.number(), AddressZod2)
987
+ to: z6.record(z6.number(), AddressZod3),
988
+ from: z6.record(z6.number(), AddressZod3)
914
989
  }
915
990
  },
916
991
  xyoViewer_stakeByStaker: {
917
992
  params: {
918
- to: z5.tuple([
919
- AddressZod2,
920
- z5.number()
993
+ to: z6.tuple([
994
+ AddressZod3,
995
+ z6.number()
921
996
  ]),
922
- from: z5.tuple([
923
- AddressZod2,
924
- z5.number()
997
+ from: z6.tuple([
998
+ AddressZod3,
999
+ z6.number()
925
1000
  ])
926
1001
  },
927
1002
  result: {
@@ -931,11 +1006,11 @@ var XyoViewerRpcSchemas = {
931
1006
  },
932
1007
  xyoViewer_stakeById: {
933
1008
  params: {
934
- to: z5.tuple([
935
- z5.number()
1009
+ to: z6.tuple([
1010
+ z6.number()
936
1011
  ]),
937
- from: z5.tuple([
938
- z5.number()
1012
+ from: z6.tuple([
1013
+ z6.number()
939
1014
  ])
940
1015
  },
941
1016
  result: {
@@ -945,41 +1020,41 @@ var XyoViewerRpcSchemas = {
945
1020
  },
946
1021
  xyoViewer_stakesByStaker: {
947
1022
  params: {
948
- to: z5.tuple([
949
- AddressZod2
1023
+ to: z6.tuple([
1024
+ AddressZod3
950
1025
  ]),
951
- from: z5.tuple([
952
- AddressZod2
1026
+ from: z6.tuple([
1027
+ AddressZod3
953
1028
  ])
954
1029
  },
955
1030
  result: {
956
- to: z5.array(StakeToJsonZod),
957
- from: z5.array(JsonToStakeZod)
1031
+ to: z6.array(StakeToJsonZod),
1032
+ from: z6.array(JsonToStakeZod)
958
1033
  }
959
1034
  },
960
1035
  xyoViewer_stakesByStaked: {
961
1036
  params: {
962
- to: z5.tuple([
963
- AddressZod2
1037
+ to: z6.tuple([
1038
+ AddressZod3
964
1039
  ]),
965
- from: z5.tuple([
966
- AddressZod2
1040
+ from: z6.tuple([
1041
+ AddressZod3
967
1042
  ])
968
1043
  },
969
1044
  result: {
970
- to: z5.array(StakeToJsonZod),
971
- from: z5.array(JsonToStakeZod)
1045
+ to: z6.array(StakeToJsonZod),
1046
+ from: z6.array(JsonToStakeZod)
972
1047
  }
973
1048
  },
974
1049
  xyoViewer_transactionByBlockHashAndIndex: {
975
1050
  params: {
976
- to: z5.tuple([
977
- HashZod,
978
- z5.number()
1051
+ to: z6.tuple([
1052
+ HashZod2,
1053
+ z6.number()
979
1054
  ]),
980
- from: z5.tuple([
981
- HashZod,
982
- z5.number()
1055
+ from: z6.tuple([
1056
+ HashZod2,
1057
+ z6.number()
983
1058
  ])
984
1059
  },
985
1060
  result: {
@@ -989,13 +1064,13 @@ var XyoViewerRpcSchemas = {
989
1064
  },
990
1065
  xyoViewer_transactionByBlockNumberAndIndex: {
991
1066
  params: {
992
- to: z5.tuple([
993
- z5.number(),
994
- z5.number()
1067
+ to: z6.tuple([
1068
+ z6.number(),
1069
+ z6.number()
995
1070
  ]),
996
- from: z5.tuple([
997
- z5.number(),
998
- z5.number()
1071
+ from: z6.tuple([
1072
+ z6.number(),
1073
+ z6.number()
999
1074
  ])
1000
1075
  },
1001
1076
  result: {
@@ -1005,11 +1080,11 @@ var XyoViewerRpcSchemas = {
1005
1080
  },
1006
1081
  xyoViewer_transactionByHash: {
1007
1082
  params: {
1008
- to: z5.tuple([
1009
- HashZod
1083
+ to: z6.tuple([
1084
+ HashZod2
1010
1085
  ]),
1011
- from: z5.tuple([
1012
- HashZod
1086
+ from: z6.tuple([
1087
+ HashZod2
1013
1088
  ])
1014
1089
  },
1015
1090
  result: {
@@ -1021,6 +1096,7 @@ var XyoViewerRpcSchemas = {
1021
1096
 
1022
1097
  // src/types/schema/AllRpcSchemas.ts
1023
1098
  var AllRpcSchemas = {
1099
+ ...AccountBalanceViewerRpcSchemas,
1024
1100
  ...XyoRunnerRpcSchemas,
1025
1101
  ...XyoSignerRpcSchemas,
1026
1102
  ...XyoViewerRpcSchemas,
@@ -1029,49 +1105,49 @@ var AllRpcSchemas = {
1029
1105
  };
1030
1106
 
1031
1107
  // src/types/schema/createRequestSchema.ts
1032
- import * as z6 from "zod";
1033
- var createRequestSchema = /* @__PURE__ */ __name((methodName, paramsSchema = z6.undefined()) => z6.object({
1034
- id: z6.union([
1035
- z6.string(),
1036
- z6.number()
1037
- ]),
1038
- jsonrpc: z6.literal(jsonrpc),
1039
- method: z6.literal(methodName),
1040
- params: paramsSchema
1041
- }), "createRequestSchema");
1042
-
1043
- // src/types/schema/createResponseSchema.ts
1044
1108
  import * as z7 from "zod";
1045
- var createResponseSchema = /* @__PURE__ */ __name((resultSchema = z7.undefined()) => z7.object({
1109
+ var createRequestSchema = /* @__PURE__ */ __name((methodName, paramsSchema = z7.undefined()) => z7.object({
1046
1110
  id: z7.union([
1047
1111
  z7.string(),
1048
1112
  z7.number()
1049
1113
  ]),
1050
1114
  jsonrpc: z7.literal(jsonrpc),
1115
+ method: z7.literal(methodName),
1116
+ params: paramsSchema
1117
+ }), "createRequestSchema");
1118
+
1119
+ // src/types/schema/createResponseSchema.ts
1120
+ import * as z8 from "zod";
1121
+ var createResponseSchema = /* @__PURE__ */ __name((resultSchema = z8.undefined()) => z8.object({
1122
+ id: z8.union([
1123
+ z8.string(),
1124
+ z8.number()
1125
+ ]),
1126
+ jsonrpc: z8.literal(jsonrpc),
1051
1127
  result: resultSchema
1052
1128
  }), "createResponseSchema");
1053
1129
 
1054
1130
  // src/types/schema/DataLakeViewerRpcSchema.ts
1055
- import { HashZod as HashZod2 } from "@xylabs/sdk-js";
1131
+ import { HashZod as HashZod3 } from "@xylabs/sdk-js";
1056
1132
  import { PayloadZod } from "@xyo-network/payload-model";
1057
1133
  import { ArrayBufferToJsonZod, JsonToArrayBufferZod } from "@xyo-network/xl1-protocol-sdk";
1058
- import * as z8 from "zod";
1134
+ import * as z9 from "zod";
1059
1135
  var DataLakeViewerRpcSchemas = {
1060
1136
  dataLakeViewer_get: {
1061
1137
  params: {
1062
- to: z8.tuple([
1063
- HashZod2
1138
+ to: z9.tuple([
1139
+ HashZod3
1064
1140
  ]),
1065
- from: z8.tuple([
1066
- HashZod2
1141
+ from: z9.tuple([
1142
+ HashZod3
1067
1143
  ])
1068
1144
  },
1069
1145
  result: {
1070
- to: z8.union([
1146
+ to: z9.union([
1071
1147
  PayloadZod,
1072
1148
  ArrayBufferToJsonZod
1073
1149
  ]).optional(),
1074
- from: z8.union([
1150
+ from: z9.union([
1075
1151
  PayloadZod,
1076
1152
  JsonToArrayBufferZod
1077
1153
  ]).optional()
@@ -1079,19 +1155,19 @@ var DataLakeViewerRpcSchemas = {
1079
1155
  },
1080
1156
  dataLakeViewer_getMany: {
1081
1157
  params: {
1082
- to: z8.tuple([
1083
- z8.array(HashZod2)
1158
+ to: z9.tuple([
1159
+ z9.array(HashZod3)
1084
1160
  ]),
1085
- from: z8.tuple([
1086
- z8.array(HashZod2)
1161
+ from: z9.tuple([
1162
+ z9.array(HashZod3)
1087
1163
  ])
1088
1164
  },
1089
1165
  result: {
1090
- to: z8.array(z8.union([
1166
+ to: z9.array(z9.union([
1091
1167
  PayloadZod,
1092
1168
  ArrayBufferToJsonZod
1093
1169
  ])),
1094
- from: z8.array(z8.union([
1170
+ from: z9.array(z9.union([
1095
1171
  PayloadZod,
1096
1172
  JsonToArrayBufferZod
1097
1173
  ]))
@@ -1099,326 +1175,326 @@ var DataLakeViewerRpcSchemas = {
1099
1175
  },
1100
1176
  dataLakeViewer_has: {
1101
1177
  params: {
1102
- to: z8.tuple([
1103
- HashZod2
1178
+ to: z9.tuple([
1179
+ HashZod3
1104
1180
  ]),
1105
- from: z8.tuple([
1106
- HashZod2
1181
+ from: z9.tuple([
1182
+ HashZod3
1107
1183
  ])
1108
1184
  },
1109
1185
  result: {
1110
- to: z8.boolean(),
1111
- from: z8.boolean()
1186
+ to: z9.boolean(),
1187
+ from: z9.boolean()
1112
1188
  }
1113
1189
  }
1114
1190
  };
1115
1191
 
1116
1192
  // src/types/schema/RewardsByPositionViewerRpcSchemas.ts
1117
- import { BigIntToJsonZod as BigIntToJsonZod3, JsonToBigIntZod as JsonToBigIntZod3 } from "@xylabs/sdk-js";
1193
+ import { BigIntToJsonZod as BigIntToJsonZod4, JsonToBigIntZod as JsonToBigIntZod4 } from "@xylabs/sdk-js";
1118
1194
  import { asAttoXL1 } from "@xyo-network/xl1-protocol";
1119
1195
  import { RewardsRangeOptionsZod } from "@xyo-network/xl1-protocol-sdk";
1120
- import z9 from "zod";
1196
+ import z10 from "zod";
1121
1197
  var NetworkStakingStepRewardsByPositionViewerRpcSchemas = {
1122
1198
  networkStakingStepRewardsByPositionViewer_bonus: {
1123
1199
  params: {
1124
- from: z9.tuple([
1200
+ from: z10.tuple([
1125
1201
  RewardsRangeOptionsZod.optional()
1126
1202
  ]),
1127
- to: z9.tuple([
1203
+ to: z10.tuple([
1128
1204
  RewardsRangeOptionsZod.optional()
1129
1205
  ])
1130
1206
  },
1131
1207
  result: {
1132
- from: z9.record(z9.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val))),
1133
- to: z9.record(z9.number(), BigIntToJsonZod3)
1208
+ from: z10.record(z10.number(), JsonToBigIntZod4.transform((val) => asAttoXL1(val))),
1209
+ to: z10.record(z10.number(), BigIntToJsonZod4)
1134
1210
  }
1135
1211
  },
1136
1212
  networkStakingStepRewardsByPositionViewer_claimed: {
1137
1213
  params: {
1138
- from: z9.tuple([
1214
+ from: z10.tuple([
1139
1215
  RewardsRangeOptionsZod.optional()
1140
1216
  ]),
1141
- to: z9.tuple([
1217
+ to: z10.tuple([
1142
1218
  RewardsRangeOptionsZod.optional()
1143
1219
  ])
1144
1220
  },
1145
1221
  result: {
1146
- from: z9.record(z9.number(), BigIntToJsonZod3.transform((val) => asAttoXL1(val))),
1147
- to: z9.record(z9.number(), JsonToBigIntZod3)
1222
+ from: z10.record(z10.number(), BigIntToJsonZod4.transform((val) => asAttoXL1(val))),
1223
+ to: z10.record(z10.number(), JsonToBigIntZod4)
1148
1224
  }
1149
1225
  },
1150
1226
  networkStakingStepRewardsByPositionViewer_earned: {
1151
1227
  params: {
1152
- from: z9.tuple([
1228
+ from: z10.tuple([
1153
1229
  RewardsRangeOptionsZod.optional()
1154
1230
  ]),
1155
- to: z9.tuple([
1231
+ to: z10.tuple([
1156
1232
  RewardsRangeOptionsZod.optional()
1157
1233
  ])
1158
1234
  },
1159
1235
  result: {
1160
- from: z9.record(z9.number(), BigIntToJsonZod3.transform((val) => asAttoXL1(val))),
1161
- to: z9.record(z9.number(), JsonToBigIntZod3)
1236
+ from: z10.record(z10.number(), BigIntToJsonZod4.transform((val) => asAttoXL1(val))),
1237
+ to: z10.record(z10.number(), JsonToBigIntZod4)
1162
1238
  }
1163
1239
  },
1164
1240
  networkStakingStepRewardsByPositionViewer_total: {
1165
1241
  params: {
1166
- from: z9.tuple([
1242
+ from: z10.tuple([
1167
1243
  RewardsRangeOptionsZod.optional()
1168
1244
  ]),
1169
- to: z9.tuple([
1245
+ to: z10.tuple([
1170
1246
  RewardsRangeOptionsZod.optional()
1171
1247
  ])
1172
1248
  },
1173
1249
  result: {
1174
- from: z9.record(z9.number(), BigIntToJsonZod3.transform((val) => asAttoXL1(val))),
1175
- to: z9.record(z9.number(), JsonToBigIntZod3)
1250
+ from: z10.record(z10.number(), BigIntToJsonZod4.transform((val) => asAttoXL1(val))),
1251
+ to: z10.record(z10.number(), JsonToBigIntZod4)
1176
1252
  }
1177
1253
  },
1178
1254
  networkStakingStepRewardsByPositionViewer_unclaimed: {
1179
1255
  params: {
1180
- from: z9.tuple([
1256
+ from: z10.tuple([
1181
1257
  RewardsRangeOptionsZod.optional()
1182
1258
  ]),
1183
- to: z9.tuple([
1259
+ to: z10.tuple([
1184
1260
  RewardsRangeOptionsZod.optional()
1185
1261
  ])
1186
1262
  },
1187
1263
  result: {
1188
- from: z9.record(z9.number(), BigIntToJsonZod3.transform((val) => asAttoXL1(val))),
1189
- to: z9.record(z9.number(), JsonToBigIntZod3)
1264
+ from: z10.record(z10.number(), BigIntToJsonZod4.transform((val) => asAttoXL1(val))),
1265
+ to: z10.record(z10.number(), JsonToBigIntZod4)
1190
1266
  }
1191
1267
  }
1192
1268
  };
1193
1269
 
1194
1270
  // src/types/schema/RewardsByStakerViewerRpcSchemas.ts
1195
- import { AddressZod as AddressZod3, BigIntToJsonZod as BigIntToJsonZod4, JsonToBigIntZod as JsonToBigIntZod4 } from "@xylabs/sdk-js";
1271
+ import { AddressZod as AddressZod4, BigIntToJsonZod as BigIntToJsonZod5, JsonToBigIntZod as JsonToBigIntZod5 } from "@xylabs/sdk-js";
1196
1272
  import { RewardsRangeOptionsZod as RewardsRangeOptionsZod2 } from "@xyo-network/xl1-protocol-sdk";
1197
- import z10 from "zod";
1273
+ import z11 from "zod";
1198
1274
  var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
1199
1275
  networkStakingStepRewardsByStakerViewer_bonus: {
1200
1276
  params: {
1201
- from: z10.tuple([
1277
+ from: z11.tuple([
1202
1278
  RewardsRangeOptionsZod2.optional()
1203
1279
  ]),
1204
- to: z10.tuple([
1280
+ to: z11.tuple([
1205
1281
  RewardsRangeOptionsZod2.optional()
1206
1282
  ])
1207
1283
  },
1208
1284
  result: {
1209
- from: z10.record(AddressZod3, BigIntToJsonZod4),
1210
- to: z10.record(AddressZod3, JsonToBigIntZod4)
1285
+ from: z11.record(AddressZod4, BigIntToJsonZod5),
1286
+ to: z11.record(AddressZod4, JsonToBigIntZod5)
1211
1287
  }
1212
1288
  },
1213
1289
  networkStakingStepRewardsByStakerViewer_claimed: {
1214
1290
  params: {
1215
- from: z10.tuple([
1291
+ from: z11.tuple([
1216
1292
  RewardsRangeOptionsZod2.optional()
1217
1293
  ]),
1218
- to: z10.tuple([
1294
+ to: z11.tuple([
1219
1295
  RewardsRangeOptionsZod2.optional()
1220
1296
  ])
1221
1297
  },
1222
1298
  result: {
1223
- from: z10.record(AddressZod3, BigIntToJsonZod4),
1224
- to: z10.record(AddressZod3, JsonToBigIntZod4)
1299
+ from: z11.record(AddressZod4, BigIntToJsonZod5),
1300
+ to: z11.record(AddressZod4, JsonToBigIntZod5)
1225
1301
  }
1226
1302
  },
1227
1303
  networkStakingStepRewardsByStakerViewer_earned: {
1228
1304
  params: {
1229
- from: z10.tuple([
1305
+ from: z11.tuple([
1230
1306
  RewardsRangeOptionsZod2.optional()
1231
1307
  ]),
1232
- to: z10.tuple([
1308
+ to: z11.tuple([
1233
1309
  RewardsRangeOptionsZod2.optional()
1234
1310
  ])
1235
1311
  },
1236
1312
  result: {
1237
- from: z10.record(AddressZod3, BigIntToJsonZod4),
1238
- to: z10.record(AddressZod3, JsonToBigIntZod4)
1313
+ from: z11.record(AddressZod4, BigIntToJsonZod5),
1314
+ to: z11.record(AddressZod4, JsonToBigIntZod5)
1239
1315
  }
1240
1316
  },
1241
1317
  networkStakingStepRewardsByStakerViewer_total: {
1242
1318
  params: {
1243
- from: z10.tuple([
1319
+ from: z11.tuple([
1244
1320
  RewardsRangeOptionsZod2.optional()
1245
1321
  ]),
1246
- to: z10.tuple([
1322
+ to: z11.tuple([
1247
1323
  RewardsRangeOptionsZod2.optional()
1248
1324
  ])
1249
1325
  },
1250
1326
  result: {
1251
- from: z10.record(AddressZod3, BigIntToJsonZod4),
1252
- to: z10.record(AddressZod3, JsonToBigIntZod4)
1327
+ from: z11.record(AddressZod4, BigIntToJsonZod5),
1328
+ to: z11.record(AddressZod4, JsonToBigIntZod5)
1253
1329
  }
1254
1330
  },
1255
1331
  networkStakingStepRewardsByStakerViewer_unclaimed: {
1256
1332
  params: {
1257
- from: z10.tuple([
1333
+ from: z11.tuple([
1258
1334
  RewardsRangeOptionsZod2.optional()
1259
1335
  ]),
1260
- to: z10.tuple([
1336
+ to: z11.tuple([
1261
1337
  RewardsRangeOptionsZod2.optional()
1262
1338
  ])
1263
1339
  },
1264
1340
  result: {
1265
- from: z10.record(AddressZod3, BigIntToJsonZod4),
1266
- to: z10.record(AddressZod3, JsonToBigIntZod4)
1341
+ from: z11.record(AddressZod4, BigIntToJsonZod5),
1342
+ to: z11.record(AddressZod4, JsonToBigIntZod5)
1267
1343
  }
1268
1344
  }
1269
1345
  };
1270
1346
 
1271
1347
  // src/types/schema/RewardsByStepViewerRpcSchemas.ts
1272
- import { AddressZod as AddressZod4, BigIntToJsonZod as BigIntToJsonZod5, JsonToBigIntZod as JsonToBigIntZod5 } from "@xylabs/sdk-js";
1348
+ import { AddressZod as AddressZod5, BigIntToJsonZod as BigIntToJsonZod6, JsonToBigIntZod as JsonToBigIntZod6 } from "@xylabs/sdk-js";
1273
1349
  import { RewardsRangeOptionsZod as RewardsRangeOptionsZod3 } from "@xyo-network/xl1-protocol-sdk";
1274
- import z11 from "zod";
1350
+ import z12 from "zod";
1275
1351
  var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
1276
1352
  networkStakingStepRewardsByStepViewer_bonus: {
1277
1353
  params: {
1278
- from: z11.tuple([
1354
+ from: z12.tuple([
1279
1355
  RewardsRangeOptionsZod3.optional()
1280
1356
  ]),
1281
- to: z11.tuple([
1357
+ to: z12.tuple([
1282
1358
  RewardsRangeOptionsZod3.optional()
1283
1359
  ])
1284
1360
  },
1285
1361
  result: {
1286
- from: z11.record(AddressZod4, BigIntToJsonZod5),
1287
- to: z11.record(AddressZod4, JsonToBigIntZod5)
1362
+ from: z12.record(AddressZod5, BigIntToJsonZod6),
1363
+ to: z12.record(AddressZod5, JsonToBigIntZod6)
1288
1364
  }
1289
1365
  },
1290
1366
  networkStakingStepRewardsByStepViewer_claimed: {
1291
1367
  params: {
1292
- from: z11.tuple([
1368
+ from: z12.tuple([
1293
1369
  RewardsRangeOptionsZod3.optional()
1294
1370
  ]),
1295
- to: z11.tuple([
1371
+ to: z12.tuple([
1296
1372
  RewardsRangeOptionsZod3.optional()
1297
1373
  ])
1298
1374
  },
1299
1375
  result: {
1300
- from: z11.record(AddressZod4, BigIntToJsonZod5),
1301
- to: z11.record(AddressZod4, JsonToBigIntZod5)
1376
+ from: z12.record(AddressZod5, BigIntToJsonZod6),
1377
+ to: z12.record(AddressZod5, JsonToBigIntZod6)
1302
1378
  }
1303
1379
  },
1304
1380
  networkStakingStepRewardsByStepViewer_earned: {
1305
1381
  params: {
1306
- from: z11.tuple([
1382
+ from: z12.tuple([
1307
1383
  RewardsRangeOptionsZod3.optional()
1308
1384
  ]),
1309
- to: z11.tuple([
1385
+ to: z12.tuple([
1310
1386
  RewardsRangeOptionsZod3.optional()
1311
1387
  ])
1312
1388
  },
1313
1389
  result: {
1314
- from: z11.record(AddressZod4, BigIntToJsonZod5),
1315
- to: z11.record(AddressZod4, JsonToBigIntZod5)
1390
+ from: z12.record(AddressZod5, BigIntToJsonZod6),
1391
+ to: z12.record(AddressZod5, JsonToBigIntZod6)
1316
1392
  }
1317
1393
  },
1318
1394
  networkStakingStepRewardsByStepViewer_total: {
1319
1395
  params: {
1320
- from: z11.tuple([
1396
+ from: z12.tuple([
1321
1397
  RewardsRangeOptionsZod3.optional()
1322
1398
  ]),
1323
- to: z11.tuple([
1399
+ to: z12.tuple([
1324
1400
  RewardsRangeOptionsZod3.optional()
1325
1401
  ])
1326
1402
  },
1327
1403
  result: {
1328
- from: z11.record(AddressZod4, BigIntToJsonZod5),
1329
- to: z11.record(AddressZod4, JsonToBigIntZod5)
1404
+ from: z12.record(AddressZod5, BigIntToJsonZod6),
1405
+ to: z12.record(AddressZod5, JsonToBigIntZod6)
1330
1406
  }
1331
1407
  },
1332
1408
  networkStakingStepRewardsByStepViewer_unclaimed: {
1333
1409
  params: {
1334
- from: z11.tuple([
1410
+ from: z12.tuple([
1335
1411
  RewardsRangeOptionsZod3.optional()
1336
1412
  ]),
1337
- to: z11.tuple([
1413
+ to: z12.tuple([
1338
1414
  RewardsRangeOptionsZod3.optional()
1339
1415
  ])
1340
1416
  },
1341
1417
  result: {
1342
- from: z11.record(AddressZod4, BigIntToJsonZod5),
1343
- to: z11.record(AddressZod4, JsonToBigIntZod5)
1418
+ from: z12.record(AddressZod5, BigIntToJsonZod6),
1419
+ to: z12.record(AddressZod5, JsonToBigIntZod6)
1344
1420
  }
1345
1421
  }
1346
1422
  };
1347
1423
 
1348
1424
  // src/types/schema/RewardsTotalViewerRpcSchemas.ts
1349
- import { BigIntToJsonZod as BigIntToJsonZod6, JsonToBigIntZod as JsonToBigIntZod6 } from "@xylabs/sdk-js";
1425
+ import { BigIntToJsonZod as BigIntToJsonZod7, JsonToBigIntZod as JsonToBigIntZod7 } from "@xylabs/sdk-js";
1350
1426
  import { asAttoXL1 as asAttoXL12 } from "@xyo-network/xl1-protocol";
1351
1427
  import { RewardsRangeOptionsZod as RewardsRangeOptionsZod4 } from "@xyo-network/xl1-protocol-sdk";
1352
- import * as z12 from "zod";
1428
+ import * as z13 from "zod";
1353
1429
  var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
1354
1430
  networkStakingStepRewardsTotalViewer_bonus: {
1355
1431
  params: {
1356
- from: z12.tuple([
1432
+ from: z13.tuple([
1357
1433
  RewardsRangeOptionsZod4.optional()
1358
1434
  ]),
1359
- to: z12.tuple([
1435
+ to: z13.tuple([
1360
1436
  RewardsRangeOptionsZod4.optional()
1361
1437
  ])
1362
1438
  },
1363
1439
  result: {
1364
- from: JsonToBigIntZod6.transform((val) => asAttoXL12(val)),
1365
- to: BigIntToJsonZod6
1440
+ from: JsonToBigIntZod7.transform((val) => asAttoXL12(val)),
1441
+ to: BigIntToJsonZod7
1366
1442
  }
1367
1443
  },
1368
1444
  networkStakingStepRewardsTotalViewer_claimed: {
1369
1445
  params: {
1370
- from: z12.tuple([
1446
+ from: z13.tuple([
1371
1447
  RewardsRangeOptionsZod4.optional()
1372
1448
  ]),
1373
- to: z12.tuple([
1449
+ to: z13.tuple([
1374
1450
  RewardsRangeOptionsZod4.optional()
1375
1451
  ])
1376
1452
  },
1377
1453
  result: {
1378
- from: JsonToBigIntZod6.transform((val) => asAttoXL12(val)),
1379
- to: BigIntToJsonZod6
1454
+ from: JsonToBigIntZod7.transform((val) => asAttoXL12(val)),
1455
+ to: BigIntToJsonZod7
1380
1456
  }
1381
1457
  },
1382
1458
  networkStakingStepRewardsTotalViewer_earned: {
1383
1459
  params: {
1384
- from: z12.tuple([
1460
+ from: z13.tuple([
1385
1461
  RewardsRangeOptionsZod4.optional()
1386
1462
  ]),
1387
- to: z12.tuple([
1463
+ to: z13.tuple([
1388
1464
  RewardsRangeOptionsZod4.optional()
1389
1465
  ])
1390
1466
  },
1391
1467
  result: {
1392
- from: JsonToBigIntZod6.transform((val) => asAttoXL12(val)),
1393
- to: BigIntToJsonZod6
1468
+ from: JsonToBigIntZod7.transform((val) => asAttoXL12(val)),
1469
+ to: BigIntToJsonZod7
1394
1470
  }
1395
1471
  },
1396
1472
  networkStakingStepRewardsTotalViewer_total: {
1397
1473
  params: {
1398
- from: z12.tuple([
1474
+ from: z13.tuple([
1399
1475
  RewardsRangeOptionsZod4.optional()
1400
1476
  ]),
1401
- to: z12.tuple([
1477
+ to: z13.tuple([
1402
1478
  RewardsRangeOptionsZod4.optional()
1403
1479
  ])
1404
1480
  },
1405
1481
  result: {
1406
- from: JsonToBigIntZod6.transform((val) => asAttoXL12(val)),
1407
- to: BigIntToJsonZod6
1482
+ from: JsonToBigIntZod7.transform((val) => asAttoXL12(val)),
1483
+ to: BigIntToJsonZod7
1408
1484
  }
1409
1485
  },
1410
1486
  networkStakingStepRewardsTotalViewer_unclaimed: {
1411
1487
  params: {
1412
- from: z12.tuple([
1488
+ from: z13.tuple([
1413
1489
  RewardsRangeOptionsZod4.optional()
1414
1490
  ]),
1415
- to: z12.tuple([
1491
+ to: z13.tuple([
1416
1492
  RewardsRangeOptionsZod4.optional()
1417
1493
  ])
1418
1494
  },
1419
1495
  result: {
1420
- from: JsonToBigIntZod6.transform((val) => asAttoXL12(val)),
1421
- to: BigIntToJsonZod6
1496
+ from: JsonToBigIntZod7.transform((val) => asAttoXL12(val)),
1497
+ to: BigIntToJsonZod7
1422
1498
  }
1423
1499
  }
1424
1500
  };
@@ -1429,70 +1505,70 @@ var NetworkStakingStepRewardsViewerRpcSchemas = {};
1429
1505
  // src/types/schema/TimeSyncViewerRpcSchema.ts
1430
1506
  import { TimePayloadZod } from "@xyo-network/xl1-protocol";
1431
1507
  import { TimeDomainZod } from "@xyo-network/xl1-protocol-sdk";
1432
- import * as z13 from "zod";
1508
+ import * as z14 from "zod";
1433
1509
  var TimeSyncViewerRpcSchemas = {
1434
1510
  timeSyncViewer_convertTime: {
1435
1511
  params: {
1436
- from: z13.tuple([
1512
+ from: z14.tuple([
1437
1513
  TimeDomainZod,
1438
1514
  TimeDomainZod,
1439
- z13.number()
1515
+ z14.number()
1440
1516
  ]),
1441
- to: z13.tuple([
1517
+ to: z14.tuple([
1442
1518
  TimeDomainZod,
1443
1519
  TimeDomainZod,
1444
- z13.number()
1520
+ z14.number()
1445
1521
  ])
1446
1522
  },
1447
1523
  result: {
1448
- from: z13.number(),
1449
- to: z13.number()
1524
+ from: z14.number(),
1525
+ to: z14.number()
1450
1526
  }
1451
1527
  },
1452
1528
  timeSyncViewer_currentTime: {
1453
1529
  params: {
1454
- from: z13.tuple([
1530
+ from: z14.tuple([
1455
1531
  TimeDomainZod
1456
1532
  ]),
1457
- to: z13.tuple([
1533
+ to: z14.tuple([
1458
1534
  TimeDomainZod
1459
1535
  ])
1460
1536
  },
1461
1537
  result: {
1462
- from: z13.tuple([
1538
+ from: z14.tuple([
1463
1539
  TimeDomainZod,
1464
- z13.number()
1540
+ z14.number()
1465
1541
  ]),
1466
- to: z13.tuple([
1542
+ to: z14.tuple([
1467
1543
  TimeDomainZod,
1468
- z13.number()
1544
+ z14.number()
1469
1545
  ])
1470
1546
  }
1471
1547
  },
1472
1548
  timeSyncViewer_currentTimeAndHash: {
1473
1549
  params: {
1474
- from: z13.tuple([
1550
+ from: z14.tuple([
1475
1551
  TimeDomainZod
1476
1552
  ]),
1477
- to: z13.tuple([
1553
+ to: z14.tuple([
1478
1554
  TimeDomainZod
1479
1555
  ])
1480
1556
  },
1481
1557
  result: {
1482
- from: z13.tuple([
1483
- z13.number(),
1484
- z13.nullable(z13.string())
1558
+ from: z14.tuple([
1559
+ z14.number(),
1560
+ z14.nullable(z14.string())
1485
1561
  ]),
1486
- to: z13.tuple([
1487
- z13.number(),
1488
- z13.nullable(z13.string())
1562
+ to: z14.tuple([
1563
+ z14.number(),
1564
+ z14.nullable(z14.string())
1489
1565
  ])
1490
1566
  }
1491
1567
  },
1492
1568
  timeSyncViewer_currentTimePayload: {
1493
1569
  params: {
1494
- from: z13.tuple([]),
1495
- to: z13.tuple([])
1570
+ from: z14.tuple([]),
1571
+ to: z14.tuple([])
1496
1572
  },
1497
1573
  result: {
1498
1574
  from: TimePayloadZod,
@@ -1643,6 +1719,56 @@ var NodeXyoRunner = class {
1643
1719
  }, "getPendingArchivist");
1644
1720
  };
1645
1721
 
1722
+ // src/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.ts
1723
+ import { asAttoXL1 as asAttoXL13 } from "@xyo-network/xl1-protocol";
1724
+
1725
+ // src/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewerMethods.ts
1726
+ var JsonRpcAccountBalanceViewerMethods = class {
1727
+ static {
1728
+ __name(this, "JsonRpcAccountBalanceViewerMethods");
1729
+ }
1730
+ transport;
1731
+ constructor(transport) {
1732
+ this.transport = transport;
1733
+ }
1734
+ async accountsBalances(address, headOrRange) {
1735
+ return await this.transport.sendRequest("accountBalanceViewer_accountsBalances", headOrRange ? [
1736
+ address,
1737
+ headOrRange
1738
+ ] : [
1739
+ address
1740
+ ]);
1741
+ }
1742
+ async accountsBalancesHistory(address, headOrRange) {
1743
+ return await this.transport.sendRequest("accountBalanceViewer_accountsBalancesHistory", headOrRange ? [
1744
+ address,
1745
+ headOrRange
1746
+ ] : [
1747
+ address
1748
+ ]);
1749
+ }
1750
+ };
1751
+
1752
+ // src/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.ts
1753
+ var JsonRpcAccountBalanceViewer = class extends JsonRpcAccountBalanceViewerMethods {
1754
+ static {
1755
+ __name(this, "JsonRpcAccountBalanceViewer");
1756
+ }
1757
+ constructor(transport) {
1758
+ super(transport);
1759
+ }
1760
+ async accountBalance(address, headOrRange) {
1761
+ return (await this.accountsBalances([
1762
+ address
1763
+ ], headOrRange))[address] ?? asAttoXL13(0);
1764
+ }
1765
+ async accountBalanceHistory(address, headOrRange) {
1766
+ return (await this.accountsBalancesHistory([
1767
+ address
1768
+ ], headOrRange))[address] ?? [];
1769
+ }
1770
+ };
1771
+
1646
1772
  // src/provider/viewer/JsonRpcViewer.ts
1647
1773
  var JsonRpcViewer = class {
1648
1774
  static {
@@ -1755,7 +1881,7 @@ var JsonRpcTimeSyncViewer = class extends JsonRpcTimeSyncViewerMethods {
1755
1881
 
1756
1882
  // src/provider/viewer/JsonRpcXyoViewer.ts
1757
1883
  import { isDefined, isHash } from "@xylabs/sdk-js";
1758
- import { asAttoXL1 as asAttoXL13, asHydratedBlock } from "@xyo-network/xl1-protocol";
1884
+ import { asAttoXL1 as asAttoXL14, asHydratedBlock } from "@xyo-network/xl1-protocol";
1759
1885
  var JsonRpcXyoViewer = class {
1760
1886
  static {
1761
1887
  __name(this, "JsonRpcXyoViewer");
@@ -1987,7 +2113,7 @@ var JsonRpcXyoViewer = class {
1987
2113
  ]);
1988
2114
  }
1989
2115
  async transferBalance(address) {
1990
- return asAttoXL13(await this.transport.sendRequest("xyoViewer_transferBalance", [
2116
+ return asAttoXL14(await this.transport.sendRequest("xyoViewer_transferBalance", [
1991
2117
  address
1992
2118
  ]));
1993
2119
  }
@@ -1995,7 +2121,7 @@ var JsonRpcXyoViewer = class {
1995
2121
  throw new Error("Method not implemented.");
1996
2122
  }
1997
2123
  async transferPairBalance(pair) {
1998
- return asAttoXL13(await this.transport.sendRequest("xyoViewer_transferPairBalance", [
2124
+ return asAttoXL14(await this.transport.sendRequest("xyoViewer_transferPairBalance", [
1999
2125
  pair
2000
2126
  ]));
2001
2127
  }
@@ -2128,11 +2254,15 @@ var RpcXyoSigner = class {
2128
2254
  }
2129
2255
  };
2130
2256
  export {
2257
+ AccountBalanceViewerRpcNamespace,
2258
+ AccountBalanceViewerRpcSchemas,
2131
2259
  AllRpcSchemas,
2132
2260
  DataLakeViewerRpcNamespace,
2133
2261
  DataLakeViewerRpcSchemas,
2134
2262
  HttpRpcTransport,
2135
2263
  HttpRpcXyoConnection,
2264
+ JsonRpcAccountBalanceViewer,
2265
+ JsonRpcAccountBalanceViewerMethods,
2136
2266
  JsonRpcDataLakeViewer,
2137
2267
  JsonRpcDataLakeViewerMethods,
2138
2268
  JsonRpcErrorCodes,