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