@xyo-network/xl1-rpc 1.16.6 → 1.16.8

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 (67) hide show
  1. package/dist/neutral/index.mjs +457 -496
  2. package/dist/neutral/index.mjs.map +1 -1
  3. package/dist/neutral/types/schema/AllRpcSchemas.d.ts +318 -721
  4. package/dist/neutral/types/schema/AllRpcSchemas.d.ts.map +1 -1
  5. package/dist/neutral/types/schema/XyoRunnerRpcSchemas.d.ts +18 -42
  6. package/dist/neutral/types/schema/XyoRunnerRpcSchemas.d.ts.map +1 -1
  7. package/dist/neutral/types/schema/XyoSignerRpcSchemas.d.ts +44 -97
  8. package/dist/neutral/types/schema/XyoSignerRpcSchemas.d.ts.map +1 -1
  9. package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts +256 -582
  10. package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
  11. package/dist/neutral/types/schema/common/BlockBoundWitness.d.ts +10 -116
  12. package/dist/neutral/types/schema/common/BlockBoundWitness.d.ts.map +1 -1
  13. package/dist/neutral/types/schema/common/BoundWitness.d.ts +38 -68
  14. package/dist/neutral/types/schema/common/BoundWitness.d.ts.map +1 -1
  15. package/dist/neutral/types/schema/common/HydratedBlock.d.ts +51 -143
  16. package/dist/neutral/types/schema/common/HydratedBlock.d.ts.map +1 -1
  17. package/dist/neutral/types/schema/common/HydratedTransaction.d.ts +61 -131
  18. package/dist/neutral/types/schema/common/HydratedTransaction.d.ts.map +1 -1
  19. package/dist/neutral/types/schema/common/StepIdentity.d.ts +3 -0
  20. package/dist/neutral/types/schema/common/StepIdentity.d.ts.map +1 -1
  21. package/dist/neutral/types/schema/common/TransactionBoundWitness.d.ts +10 -38
  22. package/dist/neutral/types/schema/common/TransactionBoundWitness.d.ts.map +1 -1
  23. package/dist/neutral/types/schema/common/Transfer.d.ts +0 -31
  24. package/dist/neutral/types/schema/common/Transfer.d.ts.map +1 -1
  25. package/dist/neutral/types/schema/common/index.d.ts +0 -1
  26. package/dist/neutral/types/schema/common/index.d.ts.map +1 -1
  27. package/dist/node/index-node.mjs +457 -496
  28. package/dist/node/index-node.mjs.map +1 -1
  29. package/dist/node/types/schema/AllRpcSchemas.d.ts +318 -721
  30. package/dist/node/types/schema/AllRpcSchemas.d.ts.map +1 -1
  31. package/dist/node/types/schema/XyoRunnerRpcSchemas.d.ts +18 -42
  32. package/dist/node/types/schema/XyoRunnerRpcSchemas.d.ts.map +1 -1
  33. package/dist/node/types/schema/XyoSignerRpcSchemas.d.ts +44 -97
  34. package/dist/node/types/schema/XyoSignerRpcSchemas.d.ts.map +1 -1
  35. package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts +256 -582
  36. package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
  37. package/dist/node/types/schema/common/BlockBoundWitness.d.ts +10 -116
  38. package/dist/node/types/schema/common/BlockBoundWitness.d.ts.map +1 -1
  39. package/dist/node/types/schema/common/BoundWitness.d.ts +38 -68
  40. package/dist/node/types/schema/common/BoundWitness.d.ts.map +1 -1
  41. package/dist/node/types/schema/common/HydratedBlock.d.ts +51 -143
  42. package/dist/node/types/schema/common/HydratedBlock.d.ts.map +1 -1
  43. package/dist/node/types/schema/common/HydratedTransaction.d.ts +61 -131
  44. package/dist/node/types/schema/common/HydratedTransaction.d.ts.map +1 -1
  45. package/dist/node/types/schema/common/StepIdentity.d.ts +3 -0
  46. package/dist/node/types/schema/common/StepIdentity.d.ts.map +1 -1
  47. package/dist/node/types/schema/common/TransactionBoundWitness.d.ts +10 -38
  48. package/dist/node/types/schema/common/TransactionBoundWitness.d.ts.map +1 -1
  49. package/dist/node/types/schema/common/Transfer.d.ts +0 -31
  50. package/dist/node/types/schema/common/Transfer.d.ts.map +1 -1
  51. package/dist/node/types/schema/common/index.d.ts +0 -1
  52. package/dist/node/types/schema/common/index.d.ts.map +1 -1
  53. package/package.json +14 -14
  54. package/src/types/schema/XyoViewerRpcSchemas.ts +9 -11
  55. package/src/types/schema/common/BlockBoundWitness.ts +1 -14
  56. package/src/types/schema/common/BoundWitness.ts +3 -2
  57. package/src/types/schema/common/HydratedBlock.ts +9 -9
  58. package/src/types/schema/common/HydratedTransaction.ts +4 -5
  59. package/src/types/schema/common/StepIdentity.ts +3 -0
  60. package/src/types/schema/common/Transfer.ts +1 -2
  61. package/src/types/schema/common/index.ts +0 -1
  62. package/src/types/schema/common/spec/Payload.spec.ts +2 -3
  63. package/dist/neutral/types/schema/common/Payload.d.ts +0 -81
  64. package/dist/neutral/types/schema/common/Payload.d.ts.map +0 -1
  65. package/dist/node/types/schema/common/Payload.d.ts +0 -81
  66. package/dist/node/types/schema/common/Payload.d.ts.map +0 -1
  67. package/src/types/schema/common/Payload.ts +0 -23
@@ -193,7 +193,7 @@ var NetworkStakeViewerRpcSchemas = {
193
193
  };
194
194
 
195
195
  // src/types/schema/XyoPermissionsRpcSchemas.ts
196
- import * as z20 from "zod";
196
+ import * as z19 from "zod";
197
197
 
198
198
  // src/types/schema/common/Address.ts
199
199
  import { AddressRegEx, toAddress } from "@xylabs/hex";
@@ -235,132 +235,114 @@ var JsonToArrayBufferZod = z3.string().transform((x) => {
235
235
 
236
236
  // src/types/schema/common/BlockBoundWitness.ts
237
237
  import { HashZod as HashZod2 } from "@xylabs/hex";
238
- import { StorageMetaZod as StorageMetaZod3 } from "@xyo-network/payload-model";
238
+ import { StorageMetaZod as StorageMetaZod2 } from "@xyo-network/payload-model";
239
239
  import { XL1BlockNumberZod } from "@xyo-network/xl1-protocol";
240
- import * as z7 from "zod";
240
+ import * as z6 from "zod";
241
241
 
242
242
  // src/types/schema/common/BoundWitness.ts
243
243
  import { HashZod, HexZod } from "@xylabs/hex";
244
244
  import { BoundWitnessSchema } from "@xyo-network/boundwitness-model";
245
- import { StorageMetaZod as StorageMetaZod2 } from "@xyo-network/payload-model";
246
- import * as z5 from "zod";
247
-
248
- // src/types/schema/common/Payload.ts
249
- import { StorageMetaZod } from "@xyo-network/payload-model";
245
+ import { PayloadZod, SchemaZod, StorageMetaZod } from "@xyo-network/payload-model";
250
246
  import * as z4 from "zod";
251
- var SchemaZod = z4.string();
252
- var PayloadZod = z4.object({
253
- schema: SchemaZod
254
- }).catchall(z4.any());
255
- var PayloadWithStorageMetaZod = PayloadZod.extend(StorageMetaZod.shape);
256
- var AnyPayloadZod = PayloadZod.catchall(z4.json());
257
- var AnyPayloadWithStorageMetaZod = AnyPayloadZod.extend(StorageMetaZod.shape);
258
- function WithStorageMetaZod(valueZod) {
259
- return StorageMetaZod.extend(valueZod.shape);
260
- }
261
- __name(WithStorageMetaZod, "WithStorageMetaZod");
262
-
263
- // src/types/schema/common/BoundWitness.ts
264
- var BoundWitnessRequiredFieldsZod = z5.object({
265
- addresses: z5.array(AddressZod),
266
- payload_hashes: z5.array(HashZod),
267
- payload_schemas: z5.array(SchemaZod),
268
- previous_hashes: z5.array(HashZod.nullable())
247
+ var BoundWitnessRequiredFieldsZod = z4.object({
248
+ addresses: z4.array(AddressZod),
249
+ payload_hashes: z4.array(HashZod),
250
+ payload_schemas: z4.array(SchemaZod),
251
+ previous_hashes: z4.array(HashZod.nullable())
269
252
  });
270
- var BoundWitnessMetaZod = z5.object({
253
+ var BoundWitnessMetaZod = z4.object({
271
254
  $destination: AddressZod.optional(),
272
255
  $sourceQuery: HashZod.optional(),
273
- $signatures: z5.array(z5.union([
256
+ $signatures: z4.array(z4.union([
274
257
  HexZod,
275
- z5.null()
258
+ z4.null()
276
259
  ]))
277
260
  });
278
261
  var BoundWitnessZod = PayloadZod.extend({
279
- schema: z5.literal(BoundWitnessSchema)
262
+ schema: z4.literal(BoundWitnessSchema)
280
263
  }).extend(BoundWitnessRequiredFieldsZod.shape).extend(BoundWitnessMetaZod.shape).refine((data) => data.$signatures.length === data.addresses.length, {
281
264
  message: "$signatures length must equal addresses length"
282
265
  });
283
- var AnyBoundWitnessZod = BoundWitnessZod.catchall(z5.any());
266
+ var AnyBoundWitnessZod = BoundWitnessZod.catchall(z4.any());
284
267
  var UnsignedBoundWitnessZod = BoundWitnessZod.refine((data) => data.$signatures.includes(null), {
285
268
  message: "all $signatures must be null"
286
269
  });
287
- var AnyUnsignedBoundWitnessZod = UnsignedBoundWitnessZod.catchall(z5.any());
288
- var UnsignedBoundWitnessWithStorageMetaZod = UnsignedBoundWitnessZod.safeExtend(BoundWitnessRequiredFieldsZod.shape).safeExtend(BoundWitnessMetaZod.shape).safeExtend(StorageMetaZod2.shape);
270
+ var AnyUnsignedBoundWitnessZod = UnsignedBoundWitnessZod.catchall(z4.any());
271
+ var UnsignedBoundWitnessWithStorageMetaZod = UnsignedBoundWitnessZod.safeExtend(BoundWitnessRequiredFieldsZod.shape).safeExtend(BoundWitnessMetaZod.shape).safeExtend(StorageMetaZod.shape);
289
272
  var SignedBoundWitnessZod = BoundWitnessZod.refine((data) => !data.$signatures.includes(null), {
290
273
  message: "all $signatures must not be null"
291
274
  });
292
275
  var SignedBoundWitnessWithStorageMetaZod = UnsignedBoundWitnessWithStorageMetaZod;
293
- var AnySignedBoundWitnessZod = UnsignedBoundWitnessZod.catchall(z5.any());
294
- var AnySignedBoundWitnessWithStorageMetaZod = UnsignedBoundWitnessWithStorageMetaZod.catchall(z5.any());
276
+ var AnySignedBoundWitnessZod = UnsignedBoundWitnessZod.catchall(z4.any());
277
+ var AnySignedBoundWitnessWithStorageMetaZod = UnsignedBoundWitnessWithStorageMetaZod.catchall(z4.any());
295
278
 
296
279
  // src/types/schema/common/Chain.ts
297
280
  import { AddressRegEx as AddressRegEx2, toAddress as toAddress2 } from "@xylabs/hex";
298
- import * as z6 from "zod";
299
- var ChainZod = z6.string().toLowerCase().regex(AddressRegEx2).transform((v) => toAddress2(v));
281
+ import * as z5 from "zod";
282
+ var ChainZod = z5.string().toLowerCase().regex(AddressRegEx2).transform((v) => toAddress2(v));
300
283
 
301
284
  // src/types/schema/common/BlockBoundWitness.ts
302
- var BlockBoundWitnessFieldsZod = z7.object({
285
+ var BlockBoundWitnessFieldsZod = z6.object({
303
286
  block: XL1BlockNumberZod,
304
287
  chain: ChainZod,
305
288
  previous: HashZod2.nullable(),
306
- protocol: z7.number(),
307
- step_hashes: z7.array(HashZod2).optional()
289
+ protocol: z6.number(),
290
+ step_hashes: z6.array(HashZod2).optional()
308
291
  });
309
- var BlockBoundWitnessMetaZod = z7.object({
310
- $epoch: z7.number()
292
+ var BlockBoundWitnessMetaZod = z6.object({
293
+ $epoch: z6.number()
311
294
  });
312
- var BlockBoundWitnessZod = UnsignedBoundWitnessZod.merge(StorageMetaZod3.partial()).merge(BlockBoundWitnessFieldsZod).merge(BlockBoundWitnessMetaZod);
313
- var BlockBoundWitnessWithStorageMetaZod = UnsignedBoundWitnessWithStorageMetaZod.merge(BlockBoundWitnessFieldsZod).merge(BlockBoundWitnessMetaZod);
314
- var SignedBlockBoundWitnessZod = SignedBoundWitnessZod.merge(StorageMetaZod3.partial()).merge(BlockBoundWitnessFieldsZod).merge(BlockBoundWitnessMetaZod);
315
- var SignedBlockBoundWitnessWithStorageMetaZod = SignedBoundWitnessWithStorageMetaZod.merge(StorageMetaZod3.partial()).merge(BlockBoundWitnessFieldsZod).merge(BlockBoundWitnessMetaZod);
295
+ var BlockBoundWitnessZod = UnsignedBoundWitnessZod.merge(StorageMetaZod2.partial()).merge(BlockBoundWitnessFieldsZod).merge(BlockBoundWitnessMetaZod);
296
+ var SignedBlockBoundWitnessZod = SignedBoundWitnessZod.merge(StorageMetaZod2.partial()).merge(BlockBoundWitnessFieldsZod).merge(BlockBoundWitnessMetaZod);
316
297
 
317
298
  // src/types/schema/common/HydratedBlock.ts
318
- import * as z8 from "zod";
319
- var HydratedBlockZod = z8.tuple([
299
+ import { PayloadZodLoose, WithStorageMetaZod } from "@xyo-network/payload-model";
300
+ import * as z7 from "zod";
301
+ var HydratedBlockZod = z7.tuple([
320
302
  BlockBoundWitnessZod,
321
- z8.array(PayloadZod)
303
+ z7.array(PayloadZodLoose)
322
304
  ]);
323
- var HydratedBlockWithStorageMetaZod = z8.tuple([
324
- BlockBoundWitnessWithStorageMetaZod,
325
- z8.array(PayloadWithStorageMetaZod)
305
+ var HydratedBlockWithStorageMetaZod = z7.tuple([
306
+ WithStorageMetaZod(BlockBoundWitnessZod),
307
+ z7.array(WithStorageMetaZod(PayloadZodLoose))
326
308
  ]);
327
- var SignedHydratedBlockZod = z8.tuple([
309
+ var SignedHydratedBlockZod = z7.tuple([
328
310
  SignedBlockBoundWitnessZod,
329
- z8.array(PayloadZod)
311
+ z7.array(PayloadZodLoose)
330
312
  ]);
331
- var SignedHydratedBlockToJsonZod = z8.tuple([
313
+ var SignedHydratedBlockToJsonZod = z7.tuple([
332
314
  SignedBlockBoundWitnessZod,
333
- z8.array(PayloadZod)
315
+ z7.array(PayloadZodLoose)
334
316
  ]);
335
- var SignedHydratedBlockWithStorageMetaZod = z8.tuple([
336
- SignedBlockBoundWitnessWithStorageMetaZod,
337
- z8.array(PayloadWithStorageMetaZod)
317
+ var SignedHydratedBlockWithStorageMetaZod = z7.tuple([
318
+ WithStorageMetaZod(SignedBlockBoundWitnessZod),
319
+ z7.array(WithStorageMetaZod(PayloadZodLoose))
338
320
  ]);
339
321
 
340
322
  // src/types/schema/common/HydratedTransaction.ts
341
- import { asAnyPayload } from "@xyo-network/payload-model";
323
+ import { asAnyPayload, PayloadZodLoose as PayloadZodLoose2 } from "@xyo-network/payload-model";
342
324
  import { asSignedHydratedTransaction } from "@xyo-network/xl1-protocol";
343
- import * as z11 from "zod";
325
+ import * as z10 from "zod";
344
326
 
345
327
  // src/types/schema/common/TransactionBoundWitness.ts
346
- import { StorageMetaZod as StorageMetaZod4 } from "@xyo-network/payload-model";
328
+ import { StorageMetaZod as StorageMetaZod3 } from "@xyo-network/payload-model";
347
329
  import { BlockNumberZod as BlockNumberZod2 } from "@xyo-network/xl1-protocol";
348
- import * as z10 from "zod";
330
+ import * as z9 from "zod";
349
331
 
350
332
  // src/types/schema/common/TransactionFees.ts
351
333
  import { BigIntToJsonZod as BigIntToJsonZod2, HexZod as HexZod2, JsonToBigIntZod as JsonToBigIntZod2 } from "@xylabs/hex";
352
334
  import { asAttoXL1 } from "@xyo-network/xl1-protocol";
353
- import * as z9 from "zod";
354
- var AttoZod = z9.bigint();
335
+ import * as z8 from "zod";
336
+ var AttoZod = z8.bigint();
355
337
  var JsonToAttoZod = JsonToBigIntZod2.transform((v) => asAttoXL1(v));
356
338
  var AttoToJsonZod = BigIntToJsonZod2;
357
- var TransactionFeesHexZod = z9.object({
339
+ var TransactionFeesHexZod = z8.object({
358
340
  base: HexZod2,
359
341
  gasLimit: HexZod2,
360
342
  gasPrice: HexZod2,
361
343
  priority: HexZod2
362
344
  });
363
- var TransactionFeesBigIntZod = z9.object({
345
+ var TransactionFeesBigIntZod = z8.object({
364
346
  base: AttoZod,
365
347
  gasLimit: AttoZod,
366
348
  gasPrice: AttoZod,
@@ -380,41 +362,41 @@ var TransactionFeesBigIntToJsonZod = TransactionFeesBigIntZod.transform((val) =>
380
362
  }));
381
363
 
382
364
  // src/types/schema/common/TransactionBoundWitness.ts
383
- var BlockStartZod = z10.object({
365
+ var BlockStartZod = z9.object({
384
366
  nbf: BlockNumberZod2
385
367
  });
386
- var BlockEndZod = z10.object({
368
+ var BlockEndZod = z9.object({
387
369
  exp: BlockNumberZod2
388
370
  });
389
- var BlockDurationZod = z10.object({
371
+ var BlockDurationZod = z9.object({
390
372
  nbf: BlockNumberZod2,
391
373
  exp: BlockNumberZod2
392
374
  });
393
- var BlockScriptsZod = z10.object({
394
- script: z10.array(z10.string()).optional()
375
+ var BlockScriptsZod = z9.object({
376
+ script: z9.array(z9.string()).optional()
395
377
  });
396
- var WithTransactionFeesZod = z10.object({
378
+ var WithTransactionFeesZod = z9.object({
397
379
  fees: TransactionFeesHexZod
398
380
  });
399
- var TransactionBoundWitnessFields = z10.object({
381
+ var TransactionBoundWitnessFields = z9.object({
400
382
  chain: ChainZod,
401
383
  from: ChainZod
402
384
  });
403
- var TransactionBoundWitnessZod = UnsignedBoundWitnessZod.merge(StorageMetaZod4.partial()).merge(BlockDurationZod).merge(WithTransactionFeesZod).merge(TransactionBoundWitnessFields).merge(BlockScriptsZod);
404
- var SignedTransactionBoundWitnessZod = SignedBoundWitnessZod.merge(StorageMetaZod4.partial()).merge(BlockDurationZod).merge(WithTransactionFeesZod).merge(TransactionBoundWitnessFields).merge(BlockScriptsZod.partial());
385
+ var TransactionBoundWitnessZod = UnsignedBoundWitnessZod.merge(StorageMetaZod3.partial()).merge(BlockDurationZod).merge(WithTransactionFeesZod).merge(TransactionBoundWitnessFields).merge(BlockScriptsZod);
386
+ var SignedTransactionBoundWitnessZod = SignedBoundWitnessZod.merge(StorageMetaZod3.partial()).merge(BlockDurationZod).merge(WithTransactionFeesZod).merge(TransactionBoundWitnessFields).merge(BlockScriptsZod.partial());
405
387
 
406
388
  // src/types/schema/common/HydratedTransaction.ts
407
- var HydratedTransactionZod = z11.tuple([
389
+ var HydratedTransactionZod = z10.tuple([
408
390
  TransactionBoundWitnessZod,
409
- z11.array(PayloadZod)
391
+ z10.array(PayloadZodLoose2)
410
392
  ]);
411
- var UnsignedHydratedTransactionZod = z11.tuple([
393
+ var UnsignedHydratedTransactionZod = z10.tuple([
412
394
  TransactionBoundWitnessZod,
413
- z11.array(PayloadZod)
395
+ z10.array(PayloadZodLoose2)
414
396
  ]);
415
- var SignedHydratedTransactionZod = z11.tuple([
397
+ var SignedHydratedTransactionZod = z10.tuple([
416
398
  SignedTransactionBoundWitnessZod,
417
- z11.array(PayloadZod)
399
+ z10.array(PayloadZodLoose2)
418
400
  ]);
419
401
  var SignedHydratedTransactionToJsonZod = SignedHydratedTransactionZod.transform(([tx, payloads]) => asSignedHydratedTransaction([
420
402
  tx,
@@ -426,99 +408,99 @@ var JsonToSignedHydratedTransactionZod = SignedHydratedTransactionZod.transform(
426
408
  ]);
427
409
 
428
410
  // src/types/schema/common/Json.ts
429
- import * as z12 from "zod";
430
- var JsonValueZod = z12.lazy(() => z12.union([
431
- z12.string(),
432
- z12.number(),
433
- z12.boolean(),
434
- z12.null(),
435
- z12.array(JsonValueZod),
436
- z12.record(z12.string(), JsonValueZod)
411
+ import * as z11 from "zod";
412
+ var JsonValueZod = z11.lazy(() => z11.union([
413
+ z11.string(),
414
+ z11.number(),
415
+ z11.boolean(),
416
+ z11.null(),
417
+ z11.array(JsonValueZod),
418
+ z11.record(z11.string(), JsonValueZod)
437
419
  ]));
438
- var JsonObjectZod = z12.record(z12.string(), JsonValueZod);
420
+ var JsonObjectZod = z11.record(z11.string(), JsonValueZod);
439
421
 
440
422
  // src/types/schema/common/Permission.ts
441
- import { z as z13 } from "zod";
442
- var CaveatTypesZod = z13.enum([
423
+ import { z as z12 } from "zod";
424
+ var CaveatTypesZod = z12.enum([
443
425
  "chain",
444
426
  "expiration",
445
427
  "filteredResponse",
446
428
  "rateLimit",
447
429
  "restrictReturnedAccounts"
448
430
  ]);
449
- var CaveatsZod = z13.object({
431
+ var CaveatsZod = z12.object({
450
432
  type: CaveatTypesZod,
451
- value: z13.json()
433
+ value: z12.json()
452
434
  });
453
- var PermissionZod = z13.object({
454
- parentCapability: z13.string(),
435
+ var PermissionZod = z12.object({
436
+ parentCapability: z12.string(),
455
437
  caveats: CaveatsZod.array().optional(),
456
- invoker: z13.string()
438
+ invoker: z12.string()
457
439
  });
458
440
  var InvokerPermissionZod = PermissionZod.extend({
459
- date: z13.number().optional()
441
+ date: z12.number().optional()
460
442
  });
461
- var PermissionRequestZod = z13.record(z13.string(), z13.record(z13.string(), z13.any()));
462
- var RequestedPermissionZod = z13.object({
463
- parentCapability: z13.string(),
464
- date: z13.number().optional()
443
+ var PermissionRequestZod = z12.record(z12.string(), z12.record(z12.string(), z12.any()));
444
+ var RequestedPermissionZod = z12.object({
445
+ parentCapability: z12.string(),
446
+ date: z12.number().optional()
465
447
  });
466
448
 
467
449
  // src/types/schema/common/RewardsRangeOptions.ts
468
450
  import { BlockRangeZod } from "@xyo-network/xl1-protocol";
469
- import { z as z15 } from "zod";
451
+ import { z as z14 } from "zod";
470
452
 
471
453
  // src/types/schema/common/StepIdentity.ts
472
- import * as z14 from "zod";
473
- var StepIdentityZod = z14.object({
474
- block: z14.number(),
475
- step: z14.number()
454
+ import * as z13 from "zod";
455
+ var StepIdentityZod = z13.object({
456
+ block: z13.number(),
457
+ step: z13.number()
476
458
  });
477
459
 
478
460
  // src/types/schema/common/RewardsRangeOptions.ts
479
- var RewardsRangeOptionsZod = z15.object({
480
- positions: z15.array(z15.number()).optional(),
461
+ var RewardsRangeOptionsZod = z14.object({
462
+ positions: z14.array(z14.number()).optional(),
481
463
  range: BlockRangeZod.optional(),
482
- steps: z15.array(StepIdentityZod).optional(),
483
- stakers: z15.array(AddressZod).optional()
464
+ steps: z14.array(StepIdentityZod).optional(),
465
+ stakers: z14.array(AddressZod).optional()
484
466
  });
485
467
 
486
468
  // src/types/schema/common/Sequence.ts
487
469
  import { HexRegExMinMax, toHex } from "@xylabs/hex";
488
470
  import { SequenceConstants } from "@xyo-network/payload-model";
489
- import * as z16 from "zod";
471
+ import * as z15 from "zod";
490
472
  var LocalSequenceRegex = new RegExp(HexRegExMinMax(SequenceConstants.localSequenceBytes, SequenceConstants.localSequenceBytes));
491
- var LocalSequenceToStringZod = z16.string().regex(LocalSequenceRegex);
492
- var LocalSequenceFromStringZod = z16.string().regex(LocalSequenceRegex).transform((v) => toHex(v));
473
+ var LocalSequenceToStringZod = z15.string().regex(LocalSequenceRegex);
474
+ var LocalSequenceFromStringZod = z15.string().regex(LocalSequenceRegex).transform((v) => toHex(v));
493
475
  var QualifiedSequenceRegex = new RegExp(HexRegExMinMax(SequenceConstants.qualifiedSequenceBytes, SequenceConstants.qualifiedSequenceBytes));
494
- var QualifiedSequenceToStringZod = z16.string().regex(QualifiedSequenceRegex);
495
- var QualifiedSequenceFromStringZod = z16.string().regex(QualifiedSequenceRegex).transform((v) => toHex(v));
496
- var SequenceToStringZod = z16.union([
476
+ var QualifiedSequenceToStringZod = z15.string().regex(QualifiedSequenceRegex);
477
+ var QualifiedSequenceFromStringZod = z15.string().regex(QualifiedSequenceRegex).transform((v) => toHex(v));
478
+ var SequenceToStringZod = z15.union([
497
479
  LocalSequenceToStringZod,
498
480
  QualifiedSequenceToStringZod
499
481
  ]);
500
- var SequenceFromStringZod = z16.union([
482
+ var SequenceFromStringZod = z15.union([
501
483
  LocalSequenceFromStringZod,
502
484
  QualifiedSequenceFromStringZod
503
485
  ]);
504
486
 
505
487
  // src/types/schema/common/Stake.ts
506
488
  import { HexZod as HexZod3 } from "@xylabs/hex";
507
- import * as z17 from "zod";
508
- var StakeZod = z17.object({
489
+ import * as z16 from "zod";
490
+ var StakeZod = z16.object({
509
491
  amount: AttoZod,
510
492
  // the block number when the stake was added
511
- addBlock: z17.number(),
493
+ addBlock: z16.number(),
512
494
  // the unique id for the stake item
513
- id: z17.number(),
495
+ id: z16.number(),
514
496
  // the block number when the stake was removed (set to 0 if not removed)
515
- removeBlock: z17.number(),
497
+ removeBlock: z16.number(),
516
498
  // the address that is being staked
517
499
  staked: AddressZod,
518
500
  // the address that owns the stake
519
501
  staker: AddressZod,
520
502
  // the block number when the stake was withdrawn (set to 0 if not withdrawn)
521
- withdrawBlock: z17.number()
503
+ withdrawBlock: z16.number()
522
504
  });
523
505
  var StakeToJsonZod = StakeZod.transform((val) => ({
524
506
  addBlock: val.addBlock,
@@ -543,22 +525,21 @@ var JsonToStakeZod = StakeZod.extend({
543
525
 
544
526
  // src/types/schema/common/Transfer.ts
545
527
  import { HexZod as HexZod4 } from "@xylabs/hex";
546
- import { PayloadZodStrictOfSchema, StorageMetaZod as StorageMetaZod5 } from "@xyo-network/payload-model";
528
+ import { PayloadZodStrictOfSchema } from "@xyo-network/payload-model";
547
529
  import { TransferSchema } from "@xyo-network/xl1-protocol";
548
- import z18 from "zod";
549
- var TransferFieldsZod = z18.object({
550
- $opCodes: z18.array(z18.string()).optional(),
551
- context: z18.record(z18.string(), z18.json()).optional(),
552
- epoch: z18.number(),
530
+ import z17 from "zod";
531
+ var TransferFieldsZod = z17.object({
532
+ $opCodes: z17.array(z17.string()).optional(),
533
+ context: z17.record(z17.string(), z17.json()).optional(),
534
+ epoch: z17.number(),
553
535
  from: AddressZod,
554
- transfers: z18.record(AddressZod, HexZod4)
536
+ transfers: z17.record(AddressZod, HexZod4)
555
537
  });
556
538
  var TransferZod = PayloadZodStrictOfSchema(TransferSchema).extend(TransferFieldsZod.shape);
557
- var TransferZodWithStorageMeta = TransferZod.extend(StorageMetaZod5.shape);
558
539
 
559
540
  // src/types/schema/common/TransferPair.ts
560
- import z19 from "zod";
561
- var TransferPairZod = z19.tuple([
541
+ import z18 from "zod";
542
+ var TransferPairZod = z18.tuple([
562
543
  AddressZod,
563
544
  AddressZod
564
545
  ]);
@@ -567,54 +548,54 @@ var TransferPairZod = z19.tuple([
567
548
  var XyoPermissionsRpcSchemas = {
568
549
  xyoPermissions_getPermissions: {
569
550
  params: {
570
- to: z20.array(z20.any()).length(0),
571
- from: z20.array(z20.any()).length(0)
551
+ to: z19.array(z19.any()).length(0),
552
+ from: z19.array(z19.any()).length(0)
572
553
  },
573
554
  result: {
574
- to: z20.array(InvokerPermissionZod),
575
- from: z20.array(InvokerPermissionZod)
555
+ to: z19.array(InvokerPermissionZod),
556
+ from: z19.array(InvokerPermissionZod)
576
557
  }
577
558
  },
578
559
  xyoPermissions_requestPermissions: {
579
560
  params: {
580
- to: z20.tuple([
581
- z20.array(PermissionRequestZod)
561
+ to: z19.tuple([
562
+ z19.array(PermissionRequestZod)
582
563
  ]),
583
- from: z20.tuple([
584
- z20.array(PermissionRequestZod)
564
+ from: z19.tuple([
565
+ z19.array(PermissionRequestZod)
585
566
  ])
586
567
  },
587
568
  result: {
588
- to: z20.array(RequestedPermissionZod),
589
- from: z20.array(RequestedPermissionZod)
569
+ to: z19.array(RequestedPermissionZod),
570
+ from: z19.array(RequestedPermissionZod)
590
571
  }
591
572
  },
592
573
  xyoPermissions_revokePermissions: {
593
574
  params: {
594
- to: z20.tuple([
595
- z20.array(PermissionRequestZod)
575
+ to: z19.tuple([
576
+ z19.array(PermissionRequestZod)
596
577
  ]),
597
- from: z20.tuple([
598
- z20.array(PermissionRequestZod)
578
+ from: z19.tuple([
579
+ z19.array(PermissionRequestZod)
599
580
  ])
600
581
  },
601
582
  result: {
602
- to: z20.array(RequestedPermissionZod),
603
- from: z20.array(RequestedPermissionZod)
583
+ to: z19.array(RequestedPermissionZod),
584
+ from: z19.array(RequestedPermissionZod)
604
585
  }
605
586
  }
606
587
  };
607
588
 
608
589
  // src/types/schema/XyoRunnerRpcSchemas.ts
609
590
  import { HashToJsonZod, JsonToHashZod } from "@xylabs/hex";
610
- import * as z21 from "zod";
591
+ import * as z20 from "zod";
611
592
  var XyoRunnerRpcSchemas = {
612
593
  xyoRunner_broadcastTransaction: {
613
594
  params: {
614
- to: z21.tuple([
595
+ to: z20.tuple([
615
596
  SignedHydratedTransactionZod
616
597
  ]),
617
- from: z21.tuple([
598
+ from: z20.tuple([
618
599
  SignedHydratedTransactionZod
619
600
  ])
620
601
  },
@@ -627,12 +608,12 @@ var XyoRunnerRpcSchemas = {
627
608
 
628
609
  // src/types/schema/XyoSignerRpcSchemas.ts
629
610
  import { asHydratedTransactionWithStorageMeta } from "@xyo-network/xl1-protocol";
630
- import { z as z22 } from "zod";
611
+ import { z as z21 } from "zod";
631
612
  var XyoSignerRpcSchemas = {
632
613
  xyoSigner_address: {
633
614
  params: {
634
- to: z22.array(z22.any()).length(0).optional(),
635
- from: z22.array(z22.any()).length(0).optional()
615
+ to: z21.array(z21.any()).length(0).optional(),
616
+ from: z21.array(z21.any()).length(0).optional()
636
617
  },
637
618
  result: {
638
619
  to: AddressZod,
@@ -641,10 +622,10 @@ var XyoSignerRpcSchemas = {
641
622
  },
642
623
  xyoSigner_signTransaction: {
643
624
  params: {
644
- to: z22.tuple([
625
+ to: z21.tuple([
645
626
  UnsignedHydratedTransactionZod
646
627
  ]),
647
- from: z22.tuple([
628
+ from: z21.tuple([
648
629
  UnsignedHydratedTransactionZod
649
630
  ])
650
631
  },
@@ -659,15 +640,16 @@ var XyoSignerRpcSchemas = {
659
640
 
660
641
  // src/types/schema/XyoViewerRpcSchemas.ts
661
642
  import { BigIntToJsonZod as BigIntToJsonZod3, HashToJsonZod as HashToJsonZod2, HashZod as HashZod3, JsonToBigIntZod as JsonToBigIntZod3, JsonToHashZod as JsonToHashZod2 } from "@xylabs/hex";
662
- import { BlockNumberZod as BlockNumberZod3, BlockRangeZod as BlockRangeZod2, XL1BlockRangeZod } from "@xyo-network/xl1-protocol";
663
- import * as z23 from "zod";
643
+ import { WithHashMetaZod } from "@xyo-network/payload-model";
644
+ import { BlockNumberZod as BlockNumberZod3, BlockRangeZod as BlockRangeZod2, StepIdentityZod as StepIdentityZod2, XL1BlockRangeZod } from "@xyo-network/xl1-protocol";
645
+ import * as z22 from "zod";
664
646
  var XyoViewerRpcSchemas = {
665
647
  xyoViewer_networkStakeStepRewardClaimedByAddress: {
666
648
  params: {
667
- to: z23.tuple([
649
+ to: z22.tuple([
668
650
  AddressZod
669
651
  ]),
670
- from: z23.tuple([
652
+ from: z22.tuple([
671
653
  AddressZod
672
654
  ])
673
655
  },
@@ -678,51 +660,51 @@ var XyoViewerRpcSchemas = {
678
660
  },
679
661
  xyoViewer_networkStakeStepRewardAddressReward: {
680
662
  params: {
681
- to: z23.tuple([
682
- StepIdentityZod,
663
+ to: z22.tuple([
664
+ StepIdentityZod2,
683
665
  AddressZod
684
666
  ]),
685
- from: z23.tuple([
686
- StepIdentityZod,
667
+ from: z22.tuple([
668
+ StepIdentityZod2,
687
669
  AddressZod
688
670
  ])
689
671
  },
690
672
  result: {
691
- to: z23.record(AddressZod, BigIntToJsonZod3),
692
- from: z23.record(AddressZod, JsonToBigIntZod3)
673
+ to: z22.record(AddressZod, BigIntToJsonZod3),
674
+ from: z22.record(AddressZod, JsonToBigIntZod3)
693
675
  }
694
676
  },
695
677
  xyoViewer_networkStakeStepRewardAddressHistory: {
696
678
  params: {
697
- to: z23.tuple([
679
+ to: z22.tuple([
698
680
  AddressZod
699
681
  ]),
700
- from: z23.tuple([
682
+ from: z22.tuple([
701
683
  AddressZod
702
684
  ])
703
685
  },
704
686
  result: {
705
- to: z23.record(AddressZod, BigIntToJsonZod3),
706
- from: z23.record(AddressZod, JsonToBigIntZod3)
687
+ to: z22.record(AddressZod, BigIntToJsonZod3),
688
+ from: z22.record(AddressZod, JsonToBigIntZod3)
707
689
  }
708
690
  },
709
691
  xyoViewer_networkStakeStepRewardAddressShare: {
710
692
  params: {
711
- to: z23.tuple([
712
- StepIdentityZod,
693
+ to: z22.tuple([
694
+ StepIdentityZod2,
713
695
  AddressZod
714
696
  ]),
715
- from: z23.tuple([
716
- StepIdentityZod,
697
+ from: z22.tuple([
698
+ StepIdentityZod2,
717
699
  AddressZod
718
700
  ])
719
701
  },
720
702
  result: {
721
- to: z23.tuple([
703
+ to: z22.tuple([
722
704
  BigIntToJsonZod3,
723
705
  BigIntToJsonZod3
724
706
  ]),
725
- from: z23.tuple([
707
+ from: z22.tuple([
726
708
  JsonToBigIntZod3,
727
709
  JsonToBigIntZod3
728
710
  ])
@@ -730,12 +712,12 @@ var XyoViewerRpcSchemas = {
730
712
  },
731
713
  xyoViewer_networkStakeStepRewardWeightForAddress: {
732
714
  params: {
733
- to: z23.tuple([
734
- StepIdentityZod,
715
+ to: z22.tuple([
716
+ StepIdentityZod2,
735
717
  AddressZod
736
718
  ]),
737
- from: z23.tuple([
738
- StepIdentityZod,
719
+ from: z22.tuple([
720
+ StepIdentityZod2,
739
721
  AddressZod
740
722
  ])
741
723
  },
@@ -746,10 +728,10 @@ var XyoViewerRpcSchemas = {
746
728
  },
747
729
  xyoViewer_networkStakeStepRewardUnclaimedByAddress: {
748
730
  params: {
749
- to: z23.tuple([
731
+ to: z22.tuple([
750
732
  AddressZod
751
733
  ]),
752
- from: z23.tuple([
734
+ from: z22.tuple([
753
735
  AddressZod
754
736
  ])
755
737
  },
@@ -760,27 +742,27 @@ var XyoViewerRpcSchemas = {
760
742
  },
761
743
  xyoViewer_networkStakeStepRewardPoolRewards: {
762
744
  params: {
763
- to: z23.tuple([
764
- StepIdentityZod
745
+ to: z22.tuple([
746
+ StepIdentityZod2
765
747
  ]),
766
- from: z23.tuple([
767
- StepIdentityZod
748
+ from: z22.tuple([
749
+ StepIdentityZod2
768
750
  ])
769
751
  },
770
752
  result: {
771
- to: z23.record(AddressZod, BigIntToJsonZod3),
772
- from: z23.record(AddressZod, JsonToBigIntZod3)
753
+ to: z22.record(AddressZod, BigIntToJsonZod3),
754
+ from: z22.record(AddressZod, JsonToBigIntZod3)
773
755
  }
774
756
  },
775
757
  xyoViewer_networkStakeStepRewardPositionWeight: {
776
758
  params: {
777
- to: z23.tuple([
778
- StepIdentityZod,
779
- z23.number()
759
+ to: z22.tuple([
760
+ StepIdentityZod2,
761
+ z22.number()
780
762
  ]),
781
- from: z23.tuple([
782
- StepIdentityZod,
783
- z23.number()
763
+ from: z22.tuple([
764
+ StepIdentityZod2,
765
+ z22.number()
784
766
  ])
785
767
  },
786
768
  result: {
@@ -790,13 +772,13 @@ var XyoViewerRpcSchemas = {
790
772
  },
791
773
  xyoViewer_networkStakeStepRewardPotentialPositionLoss: {
792
774
  params: {
793
- to: z23.tuple([
794
- StepIdentityZod,
795
- z23.number()
775
+ to: z22.tuple([
776
+ StepIdentityZod2,
777
+ z22.number()
796
778
  ]),
797
- from: z23.tuple([
798
- StepIdentityZod,
799
- z23.number()
779
+ from: z22.tuple([
780
+ StepIdentityZod2,
781
+ z22.number()
800
782
  ])
801
783
  },
802
784
  result: {
@@ -806,11 +788,11 @@ var XyoViewerRpcSchemas = {
806
788
  },
807
789
  xyoViewer_networkStakeStepRewardForStep: {
808
790
  params: {
809
- to: z23.tuple([
810
- StepIdentityZod
791
+ to: z22.tuple([
792
+ StepIdentityZod2
811
793
  ]),
812
- from: z23.tuple([
813
- StepIdentityZod
794
+ from: z22.tuple([
795
+ StepIdentityZod2
814
796
  ])
815
797
  },
816
798
  result: {
@@ -820,11 +802,11 @@ var XyoViewerRpcSchemas = {
820
802
  },
821
803
  xyoViewer_networkStakeStepRewardRandomizer: {
822
804
  params: {
823
- to: z23.tuple([
824
- StepIdentityZod
805
+ to: z22.tuple([
806
+ StepIdentityZod2
825
807
  ]),
826
- from: z23.tuple([
827
- StepIdentityZod
808
+ from: z22.tuple([
809
+ StepIdentityZod2
828
810
  ])
829
811
  },
830
812
  result: {
@@ -834,49 +816,49 @@ var XyoViewerRpcSchemas = {
834
816
  },
835
817
  xyoViewer_networkStakeStepRewardStakerCount: {
836
818
  params: {
837
- to: z23.tuple([
838
- StepIdentityZod
819
+ to: z22.tuple([
820
+ StepIdentityZod2
839
821
  ]),
840
- from: z23.tuple([
841
- StepIdentityZod
822
+ from: z22.tuple([
823
+ StepIdentityZod2
842
824
  ])
843
825
  },
844
826
  result: {
845
- to: z23.number(),
846
- from: z23.number()
827
+ to: z22.number(),
828
+ from: z22.number()
847
829
  }
848
830
  },
849
831
  xyoViewer_networkStakeStepRewardPoolShares: {
850
832
  params: {
851
- to: z23.tuple([
852
- StepIdentityZod
833
+ to: z22.tuple([
834
+ StepIdentityZod2
853
835
  ]),
854
- from: z23.tuple([
855
- StepIdentityZod
836
+ from: z22.tuple([
837
+ StepIdentityZod2
856
838
  ])
857
839
  },
858
840
  result: {
859
- to: z23.record(AddressZod, BigIntToJsonZod3),
860
- from: z23.record(AddressZod, JsonToBigIntZod3)
841
+ to: z22.record(AddressZod, BigIntToJsonZod3),
842
+ from: z22.record(AddressZod, JsonToBigIntZod3)
861
843
  }
862
844
  },
863
845
  xyoViewer_networkStakeStepRewardForStepForPosition: {
864
846
  params: {
865
- to: z23.tuple([
866
- StepIdentityZod,
867
- z23.number()
847
+ to: z22.tuple([
848
+ StepIdentityZod2,
849
+ z22.number()
868
850
  ]),
869
- from: z23.tuple([
870
- StepIdentityZod,
871
- z23.number()
851
+ from: z22.tuple([
852
+ StepIdentityZod2,
853
+ z22.number()
872
854
  ])
873
855
  },
874
856
  result: {
875
- to: z23.tuple([
857
+ to: z22.tuple([
876
858
  BigIntToJsonZod3,
877
859
  BigIntToJsonZod3
878
860
  ]),
879
- from: z23.tuple([
861
+ from: z22.tuple([
880
862
  JsonToBigIntZod3,
881
863
  JsonToBigIntZod3
882
864
  ])
@@ -884,27 +866,27 @@ var XyoViewerRpcSchemas = {
884
866
  },
885
867
  xyoViewer_networkStakeStepRewardForPosition: {
886
868
  params: {
887
- to: z23.tuple([
888
- z23.number(),
889
- z23.tuple([
890
- z23.number(),
891
- z23.number()
869
+ to: z22.tuple([
870
+ z22.number(),
871
+ z22.tuple([
872
+ z22.number(),
873
+ z22.number()
892
874
  ])
893
875
  ]),
894
- from: z23.tuple([
895
- z23.number(),
896
- z23.tuple([
897
- z23.number(),
898
- z23.number()
876
+ from: z22.tuple([
877
+ z22.number(),
878
+ z22.tuple([
879
+ z22.number(),
880
+ z22.number()
899
881
  ])
900
882
  ])
901
883
  },
902
884
  result: {
903
- to: z23.tuple([
885
+ to: z22.tuple([
904
886
  BigIntToJsonZod3,
905
887
  BigIntToJsonZod3
906
888
  ]),
907
- from: z23.tuple([
889
+ from: z22.tuple([
908
890
  JsonToBigIntZod3,
909
891
  JsonToBigIntZod3
910
892
  ])
@@ -912,16 +894,16 @@ var XyoViewerRpcSchemas = {
912
894
  },
913
895
  xyoViewer_networkStakeStepRewardsForRange: {
914
896
  params: {
915
- to: z23.tuple([
916
- z23.tuple([
917
- z23.number(),
918
- z23.number()
897
+ to: z22.tuple([
898
+ z22.tuple([
899
+ z22.number(),
900
+ z22.number()
919
901
  ])
920
902
  ]),
921
- from: z23.tuple([
922
- z23.tuple([
923
- z23.number(),
924
- z23.number()
903
+ from: z22.tuple([
904
+ z22.tuple([
905
+ z22.number(),
906
+ z22.number()
925
907
  ])
926
908
  ])
927
909
  },
@@ -932,18 +914,18 @@ var XyoViewerRpcSchemas = {
932
914
  },
933
915
  xyoViewer_networkStakeStepRewardsForStepLevel: {
934
916
  params: {
935
- to: z23.tuple([
936
- z23.number(),
937
- z23.tuple([
938
- z23.number(),
939
- z23.number()
917
+ to: z22.tuple([
918
+ z22.number(),
919
+ z22.tuple([
920
+ z22.number(),
921
+ z22.number()
940
922
  ])
941
923
  ]),
942
- from: z23.tuple([
943
- z23.number(),
944
- z23.tuple([
945
- z23.number(),
946
- z23.number()
924
+ from: z22.tuple([
925
+ z22.number(),
926
+ z22.tuple([
927
+ z22.number(),
928
+ z22.number()
947
929
  ])
948
930
  ])
949
931
  },
@@ -954,27 +936,27 @@ var XyoViewerRpcSchemas = {
954
936
  },
955
937
  xyoViewer_networkStakeStepRewardsForPosition: {
956
938
  params: {
957
- to: z23.tuple([
958
- z23.number(),
959
- z23.tuple([
960
- z23.number(),
961
- z23.number()
939
+ to: z22.tuple([
940
+ z22.number(),
941
+ z22.tuple([
942
+ z22.number(),
943
+ z22.number()
962
944
  ])
963
945
  ]),
964
- from: z23.tuple([
965
- z23.number(),
966
- z23.tuple([
967
- z23.number(),
968
- z23.number()
946
+ from: z22.tuple([
947
+ z22.number(),
948
+ z22.tuple([
949
+ z22.number(),
950
+ z22.number()
969
951
  ])
970
952
  ])
971
953
  },
972
954
  result: {
973
- to: z23.record(z23.string(), z23.tuple([
955
+ to: z22.record(z22.string(), z22.tuple([
974
956
  BigIntToJsonZod3,
975
957
  BigIntToJsonZod3
976
958
  ])),
977
- from: z23.record(z23.string(), z23.tuple([
959
+ from: z22.record(z22.string(), z22.tuple([
978
960
  JsonToBigIntZod3,
979
961
  JsonToBigIntZod3
980
962
  ]))
@@ -982,10 +964,10 @@ var XyoViewerRpcSchemas = {
982
964
  },
983
965
  xyoViewer_accountBalance: {
984
966
  params: {
985
- to: z23.tuple([
967
+ to: z22.tuple([
986
968
  AddressZod
987
969
  ]),
988
- from: z23.tuple([
970
+ from: z22.tuple([
989
971
  AddressZod
990
972
  ])
991
973
  },
@@ -996,40 +978,40 @@ var XyoViewerRpcSchemas = {
996
978
  },
997
979
  xyoViewer_accountBalanceHistory: {
998
980
  params: {
999
- to: z23.tuple([
981
+ to: z22.tuple([
1000
982
  AddressZod,
1001
- z23.union([
983
+ z22.union([
1002
984
  XL1BlockRangeZod,
1003
985
  HashZod3
1004
986
  ]).optional()
1005
987
  ]),
1006
- from: z23.tuple([
988
+ from: z22.tuple([
1007
989
  AddressZod,
1008
- z23.union([
990
+ z22.union([
1009
991
  XL1BlockRangeZod,
1010
992
  HashZod3
1011
993
  ]).optional()
1012
994
  ])
1013
995
  },
1014
996
  result: {
1015
- to: z23.array(z23.tuple([
1016
- BlockBoundWitnessZod,
1017
- TransactionBoundWitnessZod.nullable(),
1018
- TransferZodWithStorageMeta
997
+ to: z22.array(z22.tuple([
998
+ WithHashMetaZod(BlockBoundWitnessZod),
999
+ WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
1000
+ WithHashMetaZod(TransferZod)
1019
1001
  ])),
1020
- from: z23.array(z23.tuple([
1021
- BlockBoundWitnessZod,
1022
- TransactionBoundWitnessZod.nullable(),
1023
- TransferZodWithStorageMeta
1002
+ from: z22.array(z22.tuple([
1003
+ WithHashMetaZod(BlockBoundWitnessZod),
1004
+ WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
1005
+ WithHashMetaZod(TransferZod)
1024
1006
  ]))
1025
1007
  }
1026
1008
  },
1027
1009
  xyoViewer_transferPairBalance: {
1028
1010
  params: {
1029
- to: z23.tuple([
1011
+ to: z22.tuple([
1030
1012
  TransferPairZod
1031
1013
  ]),
1032
- from: z23.tuple([
1014
+ from: z22.tuple([
1033
1015
  TransferPairZod
1034
1016
  ])
1035
1017
  },
@@ -1040,38 +1022,32 @@ var XyoViewerRpcSchemas = {
1040
1022
  },
1041
1023
  xyoViewer_transferPairBalanceHistory: {
1042
1024
  params: {
1043
- to: z23.tuple([
1025
+ to: z22.tuple([
1044
1026
  TransferPairZod
1045
1027
  ]),
1046
- from: z23.tuple([
1028
+ from: z22.tuple([
1047
1029
  TransferPairZod
1048
1030
  ])
1049
1031
  },
1050
1032
  result: {
1051
- to: z23.array(z23.tuple([
1052
- BlockBoundWitnessWithStorageMetaZod,
1053
- z23.union([
1054
- TransactionBoundWitnessZod,
1055
- z23.null()
1056
- ]),
1057
- PayloadZod
1033
+ to: z22.array(z22.tuple([
1034
+ WithHashMetaZod(BlockBoundWitnessZod),
1035
+ WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
1036
+ WithHashMetaZod(TransferZod)
1058
1037
  ])),
1059
- from: z23.array(z23.tuple([
1060
- BlockBoundWitnessWithStorageMetaZod,
1061
- z23.union([
1062
- TransactionBoundWitnessZod,
1063
- z23.null()
1064
- ]),
1065
- PayloadZod
1038
+ from: z22.array(z22.tuple([
1039
+ WithHashMetaZod(BlockBoundWitnessZod),
1040
+ WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
1041
+ WithHashMetaZod(TransferZod)
1066
1042
  ]))
1067
1043
  }
1068
1044
  },
1069
1045
  xyoViewer_transferBalance: {
1070
1046
  params: {
1071
- to: z23.tuple([
1047
+ to: z22.tuple([
1072
1048
  AddressZod
1073
1049
  ]),
1074
- from: z23.tuple([
1050
+ from: z22.tuple([
1075
1051
  AddressZod
1076
1052
  ])
1077
1053
  },
@@ -1082,40 +1058,34 @@ var XyoViewerRpcSchemas = {
1082
1058
  },
1083
1059
  xyoViewer_transferBalanceHistory: {
1084
1060
  params: {
1085
- to: z23.tuple([
1061
+ to: z22.tuple([
1086
1062
  AddressZod,
1087
1063
  BlockRangeZod2.optional()
1088
1064
  ]),
1089
- from: z23.tuple([
1065
+ from: z22.tuple([
1090
1066
  AddressZod,
1091
1067
  BlockRangeZod2.optional()
1092
1068
  ])
1093
1069
  },
1094
1070
  result: {
1095
- to: z23.array(z23.tuple([
1096
- BlockBoundWitnessWithStorageMetaZod,
1097
- z23.union([
1098
- TransactionBoundWitnessZod,
1099
- z23.null()
1100
- ]),
1101
- PayloadZod
1071
+ to: z22.array(z22.tuple([
1072
+ WithHashMetaZod(BlockBoundWitnessZod),
1073
+ WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
1074
+ WithHashMetaZod(TransferZod)
1102
1075
  ])),
1103
- from: z23.array(z23.tuple([
1104
- BlockBoundWitnessWithStorageMetaZod,
1105
- z23.union([
1106
- TransactionBoundWitnessZod,
1107
- z23.null()
1108
- ]),
1109
- PayloadZod
1076
+ from: z22.array(z22.tuple([
1077
+ WithHashMetaZod(BlockBoundWitnessZod),
1078
+ WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
1079
+ WithHashMetaZod(TransferZod)
1110
1080
  ]))
1111
1081
  }
1112
1082
  },
1113
1083
  xyoViewer_blockByHash: {
1114
1084
  params: {
1115
- to: z23.tuple([
1085
+ to: z22.tuple([
1116
1086
  HashToJsonZod2
1117
1087
  ]),
1118
- from: z23.tuple([
1088
+ from: z22.tuple([
1119
1089
  JsonToHashZod2
1120
1090
  ])
1121
1091
  },
@@ -1126,11 +1096,11 @@ var XyoViewerRpcSchemas = {
1126
1096
  },
1127
1097
  xyoViewer_blockByNumber: {
1128
1098
  params: {
1129
- to: z23.tuple([
1130
- z23.number()
1099
+ to: z22.tuple([
1100
+ z22.number()
1131
1101
  ]),
1132
- from: z23.tuple([
1133
- z23.number()
1102
+ from: z22.tuple([
1103
+ z22.number()
1134
1104
  ])
1135
1105
  },
1136
1106
  result: {
@@ -1140,24 +1110,24 @@ var XyoViewerRpcSchemas = {
1140
1110
  },
1141
1111
  xyoViewer_blocksByHash: {
1142
1112
  params: {
1143
- to: z23.tuple([
1113
+ to: z22.tuple([
1144
1114
  HashZod3,
1145
- z23.number().optional()
1115
+ z22.number().optional()
1146
1116
  ]),
1147
- from: z23.tuple([
1117
+ from: z22.tuple([
1148
1118
  HashZod3,
1149
- z23.number().optional()
1119
+ z22.number().optional()
1150
1120
  ])
1151
1121
  },
1152
1122
  result: {
1153
- to: z23.array(SignedHydratedBlockZod),
1154
- from: z23.array(SignedHydratedBlockZod)
1123
+ to: z22.array(SignedHydratedBlockZod),
1124
+ from: z22.array(SignedHydratedBlockZod)
1155
1125
  }
1156
1126
  },
1157
1127
  xyoViewer_chainId: {
1158
1128
  params: {
1159
- to: z23.array(z23.any()).length(0).optional(),
1160
- from: z23.array(z23.any()).length(0).optional()
1129
+ to: z22.array(z22.any()).length(0).optional(),
1130
+ from: z22.array(z22.any()).length(0).optional()
1161
1131
  },
1162
1132
  result: {
1163
1133
  to: AddressZod,
@@ -1166,10 +1136,10 @@ var XyoViewerRpcSchemas = {
1166
1136
  },
1167
1137
  xyoViewer_chainIdAtBlock: {
1168
1138
  params: {
1169
- to: z23.tuple([
1139
+ to: z22.tuple([
1170
1140
  BlockNumberZod3
1171
1141
  ]),
1172
- from: z23.tuple([
1142
+ from: z22.tuple([
1173
1143
  BlockNumberZod3
1174
1144
  ])
1175
1145
  },
@@ -1180,8 +1150,8 @@ var XyoViewerRpcSchemas = {
1180
1150
  },
1181
1151
  xyoViewer_currentBlock: {
1182
1152
  params: {
1183
- to: z23.array(z23.any()).length(0).optional(),
1184
- from: z23.array(z23.any()).length(0).optional()
1153
+ to: z22.array(z22.any()).length(0).optional(),
1154
+ from: z22.array(z22.any()).length(0).optional()
1185
1155
  },
1186
1156
  result: {
1187
1157
  to: SignedHydratedBlockZod,
@@ -1190,8 +1160,8 @@ var XyoViewerRpcSchemas = {
1190
1160
  },
1191
1161
  xyoViewer_currentBlockHash: {
1192
1162
  params: {
1193
- to: z23.array(z23.any()).length(0).optional(),
1194
- from: z23.array(z23.any()).length(0).optional()
1163
+ to: z22.array(z22.any()).length(0).optional(),
1164
+ from: z22.array(z22.any()).length(0).optional()
1195
1165
  },
1196
1166
  result: {
1197
1167
  to: HashZod3,
@@ -1200,8 +1170,8 @@ var XyoViewerRpcSchemas = {
1200
1170
  },
1201
1171
  xyoViewer_currentBlockNumber: {
1202
1172
  params: {
1203
- to: z23.array(z23.any()).length(0).optional(),
1204
- from: z23.array(z23.any()).length(0).optional()
1173
+ to: z22.array(z22.any()).length(0).optional(),
1174
+ from: z22.array(z22.any()).length(0).optional()
1205
1175
  },
1206
1176
  result: {
1207
1177
  to: BlockNumberZod3,
@@ -1210,23 +1180,23 @@ var XyoViewerRpcSchemas = {
1210
1180
  },
1211
1181
  xyoViewer_forkHistory: {
1212
1182
  params: {
1213
- to: z23.array(z23.any()).length(0).optional(),
1214
- from: z23.array(z23.any()).length(0).optional()
1183
+ to: z22.array(z22.any()).length(0).optional(),
1184
+ from: z22.array(z22.any()).length(0).optional()
1215
1185
  },
1216
1186
  result: {
1217
- to: z23.record(z23.number(), AddressZod),
1218
- from: z23.record(z23.number(), AddressZod)
1187
+ to: z22.record(z22.number(), AddressZod),
1188
+ from: z22.record(z22.number(), AddressZod)
1219
1189
  }
1220
1190
  },
1221
1191
  xyoViewer_stakeByStaker: {
1222
1192
  params: {
1223
- to: z23.tuple([
1193
+ to: z22.tuple([
1224
1194
  AddressZod,
1225
- z23.number()
1195
+ z22.number()
1226
1196
  ]),
1227
- from: z23.tuple([
1197
+ from: z22.tuple([
1228
1198
  AddressZod,
1229
- z23.number()
1199
+ z22.number()
1230
1200
  ])
1231
1201
  },
1232
1202
  result: {
@@ -1236,11 +1206,11 @@ var XyoViewerRpcSchemas = {
1236
1206
  },
1237
1207
  xyoViewer_stakeById: {
1238
1208
  params: {
1239
- to: z23.tuple([
1240
- z23.number()
1209
+ to: z22.tuple([
1210
+ z22.number()
1241
1211
  ]),
1242
- from: z23.tuple([
1243
- z23.number()
1212
+ from: z22.tuple([
1213
+ z22.number()
1244
1214
  ])
1245
1215
  },
1246
1216
  result: {
@@ -1250,55 +1220,55 @@ var XyoViewerRpcSchemas = {
1250
1220
  },
1251
1221
  xyoViewer_stakedByStaker: {
1252
1222
  params: {
1253
- to: z23.tuple([
1223
+ to: z22.tuple([
1254
1224
  AddressZod
1255
1225
  ]),
1256
- from: z23.tuple([
1226
+ from: z22.tuple([
1257
1227
  AddressZod
1258
1228
  ])
1259
1229
  },
1260
1230
  result: {
1261
- to: z23.array(AddressZod),
1262
- from: z23.array(AddressZod)
1231
+ to: z22.array(AddressZod),
1232
+ from: z22.array(AddressZod)
1263
1233
  }
1264
1234
  },
1265
1235
  xyoViewer_stakesByStaker: {
1266
1236
  params: {
1267
- to: z23.tuple([
1237
+ to: z22.tuple([
1268
1238
  AddressZod
1269
1239
  ]),
1270
- from: z23.tuple([
1240
+ from: z22.tuple([
1271
1241
  AddressZod
1272
1242
  ])
1273
1243
  },
1274
1244
  result: {
1275
- to: z23.array(StakeToJsonZod),
1276
- from: z23.array(JsonToStakeZod)
1245
+ to: z22.array(StakeToJsonZod),
1246
+ from: z22.array(JsonToStakeZod)
1277
1247
  }
1278
1248
  },
1279
1249
  xyoViewer_stakesByStaked: {
1280
1250
  params: {
1281
- to: z23.tuple([
1251
+ to: z22.tuple([
1282
1252
  AddressZod
1283
1253
  ]),
1284
- from: z23.tuple([
1254
+ from: z22.tuple([
1285
1255
  AddressZod
1286
1256
  ])
1287
1257
  },
1288
1258
  result: {
1289
- to: z23.array(StakeToJsonZod),
1290
- from: z23.array(JsonToStakeZod)
1259
+ to: z22.array(StakeToJsonZod),
1260
+ from: z22.array(JsonToStakeZod)
1291
1261
  }
1292
1262
  },
1293
1263
  xyoViewer_transactionByBlockHashAndIndex: {
1294
1264
  params: {
1295
- to: z23.tuple([
1265
+ to: z22.tuple([
1296
1266
  HashZod3,
1297
- z23.number()
1267
+ z22.number()
1298
1268
  ]),
1299
- from: z23.tuple([
1269
+ from: z22.tuple([
1300
1270
  HashZod3,
1301
- z23.number()
1271
+ z22.number()
1302
1272
  ])
1303
1273
  },
1304
1274
  result: {
@@ -1308,13 +1278,13 @@ var XyoViewerRpcSchemas = {
1308
1278
  },
1309
1279
  xyoViewer_transactionByBlockNumberAndIndex: {
1310
1280
  params: {
1311
- to: z23.tuple([
1312
- z23.number(),
1313
- z23.number()
1281
+ to: z22.tuple([
1282
+ z22.number(),
1283
+ z22.number()
1314
1284
  ]),
1315
- from: z23.tuple([
1316
- z23.number(),
1317
- z23.number()
1285
+ from: z22.tuple([
1286
+ z22.number(),
1287
+ z22.number()
1318
1288
  ])
1319
1289
  },
1320
1290
  result: {
@@ -1324,10 +1294,10 @@ var XyoViewerRpcSchemas = {
1324
1294
  },
1325
1295
  xyoViewer_transactionByHash: {
1326
1296
  params: {
1327
- to: z23.tuple([
1297
+ to: z22.tuple([
1328
1298
  HashZod3
1329
1299
  ]),
1330
- from: z23.tuple([
1300
+ from: z22.tuple([
1331
1301
  HashZod3
1332
1302
  ])
1333
1303
  },
@@ -1348,48 +1318,48 @@ var AllRpcSchemas = {
1348
1318
  };
1349
1319
 
1350
1320
  // src/types/schema/createRequestSchema.ts
1351
- import * as z24 from "zod";
1352
- var createRequestSchema = /* @__PURE__ */ __name((methodName, paramsSchema = z24.undefined()) => z24.object({
1353
- id: z24.union([
1354
- z24.string(),
1355
- z24.number()
1321
+ import * as z23 from "zod";
1322
+ var createRequestSchema = /* @__PURE__ */ __name((methodName, paramsSchema = z23.undefined()) => z23.object({
1323
+ id: z23.union([
1324
+ z23.string(),
1325
+ z23.number()
1356
1326
  ]),
1357
- jsonrpc: z24.literal(jsonrpc),
1358
- method: z24.literal(methodName),
1327
+ jsonrpc: z23.literal(jsonrpc),
1328
+ method: z23.literal(methodName),
1359
1329
  params: paramsSchema
1360
1330
  }), "createRequestSchema");
1361
1331
 
1362
1332
  // src/types/schema/createResponseSchema.ts
1363
- import * as z25 from "zod";
1364
- var createResponseSchema = /* @__PURE__ */ __name((resultSchema = z25.undefined()) => z25.object({
1365
- id: z25.union([
1366
- z25.string(),
1367
- z25.number()
1333
+ import * as z24 from "zod";
1334
+ var createResponseSchema = /* @__PURE__ */ __name((resultSchema = z24.undefined()) => z24.object({
1335
+ id: z24.union([
1336
+ z24.string(),
1337
+ z24.number()
1368
1338
  ]),
1369
- jsonrpc: z25.literal(jsonrpc),
1339
+ jsonrpc: z24.literal(jsonrpc),
1370
1340
  result: resultSchema
1371
1341
  }), "createResponseSchema");
1372
1342
 
1373
1343
  // src/types/schema/DataLakeViewerRpcSchema.ts
1374
1344
  import { HashZod as HashZod4 } from "@xylabs/hex";
1375
1345
  import { PayloadZod as PayloadZod2 } from "@xyo-network/payload-model";
1376
- import * as z26 from "zod";
1346
+ import * as z25 from "zod";
1377
1347
  var DataLakeViewerRpcSchemas = {
1378
1348
  dataLakeViewer_get: {
1379
1349
  params: {
1380
- to: z26.tuple([
1350
+ to: z25.tuple([
1381
1351
  HashZod4
1382
1352
  ]),
1383
- from: z26.tuple([
1353
+ from: z25.tuple([
1384
1354
  HashZod4
1385
1355
  ])
1386
1356
  },
1387
1357
  result: {
1388
- to: z26.union([
1358
+ to: z25.union([
1389
1359
  PayloadZod2,
1390
1360
  ArrayBufferToJsonZod
1391
1361
  ]).optional(),
1392
- from: z26.union([
1362
+ from: z25.union([
1393
1363
  PayloadZod2,
1394
1364
  JsonToArrayBufferZod
1395
1365
  ]).optional()
@@ -1397,19 +1367,19 @@ var DataLakeViewerRpcSchemas = {
1397
1367
  },
1398
1368
  dataLakeViewer_getMany: {
1399
1369
  params: {
1400
- to: z26.tuple([
1401
- z26.array(HashZod4)
1370
+ to: z25.tuple([
1371
+ z25.array(HashZod4)
1402
1372
  ]),
1403
- from: z26.tuple([
1404
- z26.array(HashZod4)
1373
+ from: z25.tuple([
1374
+ z25.array(HashZod4)
1405
1375
  ])
1406
1376
  },
1407
1377
  result: {
1408
- to: z26.array(z26.union([
1378
+ to: z25.array(z25.union([
1409
1379
  PayloadZod2,
1410
1380
  ArrayBufferToJsonZod
1411
1381
  ])),
1412
- from: z26.array(z26.union([
1382
+ from: z25.array(z25.union([
1413
1383
  PayloadZod2,
1414
1384
  JsonToArrayBufferZod
1415
1385
  ]))
@@ -1417,16 +1387,16 @@ var DataLakeViewerRpcSchemas = {
1417
1387
  },
1418
1388
  dataLakeViewer_has: {
1419
1389
  params: {
1420
- to: z26.tuple([
1390
+ to: z25.tuple([
1421
1391
  HashZod4
1422
1392
  ]),
1423
- from: z26.tuple([
1393
+ from: z25.tuple([
1424
1394
  HashZod4
1425
1395
  ])
1426
1396
  },
1427
1397
  result: {
1428
- to: z26.boolean(),
1429
- from: z26.boolean()
1398
+ to: z25.boolean(),
1399
+ from: z25.boolean()
1430
1400
  }
1431
1401
  }
1432
1402
  };
@@ -1434,228 +1404,228 @@ var DataLakeViewerRpcSchemas = {
1434
1404
  // src/types/schema/RewardsByPositionViewerRpcSchemas.ts
1435
1405
  import { BigIntToJsonZod as BigIntToJsonZod4, JsonToBigIntZod as JsonToBigIntZod4 } from "@xylabs/hex";
1436
1406
  import { asAttoXL1 as asAttoXL12 } from "@xyo-network/xl1-protocol";
1437
- import z27 from "zod";
1407
+ import z26 from "zod";
1438
1408
  var NetworkStakingStepRewardsByPositionViewerRpcSchemas = {
1439
1409
  networkStakingStepRewardsByPositionViewer_bonus: {
1440
1410
  params: {
1441
- from: z27.tuple([
1411
+ from: z26.tuple([
1442
1412
  RewardsRangeOptionsZod.optional()
1443
1413
  ]),
1444
- to: z27.tuple([
1414
+ to: z26.tuple([
1445
1415
  RewardsRangeOptionsZod.optional()
1446
1416
  ])
1447
1417
  },
1448
1418
  result: {
1449
- from: z27.record(z27.number(), JsonToBigIntZod4.transform((val) => asAttoXL12(val))),
1450
- to: z27.record(z27.number(), BigIntToJsonZod4)
1419
+ from: z26.record(z26.number(), JsonToBigIntZod4.transform((val) => asAttoXL12(val))),
1420
+ to: z26.record(z26.number(), BigIntToJsonZod4)
1451
1421
  }
1452
1422
  },
1453
1423
  networkStakingStepRewardsByPositionViewer_claimed: {
1454
1424
  params: {
1455
- from: z27.tuple([
1425
+ from: z26.tuple([
1456
1426
  RewardsRangeOptionsZod.optional()
1457
1427
  ]),
1458
- to: z27.tuple([
1428
+ to: z26.tuple([
1459
1429
  RewardsRangeOptionsZod.optional()
1460
1430
  ])
1461
1431
  },
1462
1432
  result: {
1463
- from: z27.record(z27.number(), BigIntToJsonZod4.transform((val) => asAttoXL12(val))),
1464
- to: z27.record(z27.number(), JsonToBigIntZod4)
1433
+ from: z26.record(z26.number(), BigIntToJsonZod4.transform((val) => asAttoXL12(val))),
1434
+ to: z26.record(z26.number(), JsonToBigIntZod4)
1465
1435
  }
1466
1436
  },
1467
1437
  networkStakingStepRewardsByPositionViewer_earned: {
1468
1438
  params: {
1469
- from: z27.tuple([
1439
+ from: z26.tuple([
1470
1440
  RewardsRangeOptionsZod.optional()
1471
1441
  ]),
1472
- to: z27.tuple([
1442
+ to: z26.tuple([
1473
1443
  RewardsRangeOptionsZod.optional()
1474
1444
  ])
1475
1445
  },
1476
1446
  result: {
1477
- from: z27.record(z27.number(), BigIntToJsonZod4.transform((val) => asAttoXL12(val))),
1478
- to: z27.record(z27.number(), JsonToBigIntZod4)
1447
+ from: z26.record(z26.number(), BigIntToJsonZod4.transform((val) => asAttoXL12(val))),
1448
+ to: z26.record(z26.number(), JsonToBigIntZod4)
1479
1449
  }
1480
1450
  },
1481
1451
  networkStakingStepRewardsByPositionViewer_total: {
1482
1452
  params: {
1483
- from: z27.tuple([
1453
+ from: z26.tuple([
1484
1454
  RewardsRangeOptionsZod.optional()
1485
1455
  ]),
1486
- to: z27.tuple([
1456
+ to: z26.tuple([
1487
1457
  RewardsRangeOptionsZod.optional()
1488
1458
  ])
1489
1459
  },
1490
1460
  result: {
1491
- from: z27.record(z27.number(), BigIntToJsonZod4.transform((val) => asAttoXL12(val))),
1492
- to: z27.record(z27.number(), JsonToBigIntZod4)
1461
+ from: z26.record(z26.number(), BigIntToJsonZod4.transform((val) => asAttoXL12(val))),
1462
+ to: z26.record(z26.number(), JsonToBigIntZod4)
1493
1463
  }
1494
1464
  },
1495
1465
  networkStakingStepRewardsByPositionViewer_unclaimed: {
1496
1466
  params: {
1497
- from: z27.tuple([
1467
+ from: z26.tuple([
1498
1468
  RewardsRangeOptionsZod.optional()
1499
1469
  ]),
1500
- to: z27.tuple([
1470
+ to: z26.tuple([
1501
1471
  RewardsRangeOptionsZod.optional()
1502
1472
  ])
1503
1473
  },
1504
1474
  result: {
1505
- from: z27.record(z27.number(), BigIntToJsonZod4.transform((val) => asAttoXL12(val))),
1506
- to: z27.record(z27.number(), JsonToBigIntZod4)
1475
+ from: z26.record(z26.number(), BigIntToJsonZod4.transform((val) => asAttoXL12(val))),
1476
+ to: z26.record(z26.number(), JsonToBigIntZod4)
1507
1477
  }
1508
1478
  }
1509
1479
  };
1510
1480
 
1511
1481
  // src/types/schema/RewardsByStakerViewerRpcSchemas.ts
1512
1482
  import { BigIntToJsonZod as BigIntToJsonZod5, JsonToBigIntZod as JsonToBigIntZod5 } from "@xylabs/hex";
1513
- import z28 from "zod";
1483
+ import z27 from "zod";
1514
1484
  var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
1515
1485
  networkStakingStepRewardsByStakerViewer_bonus: {
1516
1486
  params: {
1517
- from: z28.tuple([
1487
+ from: z27.tuple([
1518
1488
  RewardsRangeOptionsZod.optional()
1519
1489
  ]),
1520
- to: z28.tuple([
1490
+ to: z27.tuple([
1521
1491
  RewardsRangeOptionsZod.optional()
1522
1492
  ])
1523
1493
  },
1524
1494
  result: {
1525
- from: z28.record(AddressZod, BigIntToJsonZod5),
1526
- to: z28.record(AddressZod, JsonToBigIntZod5)
1495
+ from: z27.record(AddressZod, BigIntToJsonZod5),
1496
+ to: z27.record(AddressZod, JsonToBigIntZod5)
1527
1497
  }
1528
1498
  },
1529
1499
  networkStakingStepRewardsByStakerViewer_claimed: {
1530
1500
  params: {
1531
- from: z28.tuple([
1501
+ from: z27.tuple([
1532
1502
  RewardsRangeOptionsZod.optional()
1533
1503
  ]),
1534
- to: z28.tuple([
1504
+ to: z27.tuple([
1535
1505
  RewardsRangeOptionsZod.optional()
1536
1506
  ])
1537
1507
  },
1538
1508
  result: {
1539
- from: z28.record(AddressZod, BigIntToJsonZod5),
1540
- to: z28.record(AddressZod, JsonToBigIntZod5)
1509
+ from: z27.record(AddressZod, BigIntToJsonZod5),
1510
+ to: z27.record(AddressZod, JsonToBigIntZod5)
1541
1511
  }
1542
1512
  },
1543
1513
  networkStakingStepRewardsByStakerViewer_earned: {
1544
1514
  params: {
1545
- from: z28.tuple([
1515
+ from: z27.tuple([
1546
1516
  RewardsRangeOptionsZod.optional()
1547
1517
  ]),
1548
- to: z28.tuple([
1518
+ to: z27.tuple([
1549
1519
  RewardsRangeOptionsZod.optional()
1550
1520
  ])
1551
1521
  },
1552
1522
  result: {
1553
- from: z28.record(AddressZod, BigIntToJsonZod5),
1554
- to: z28.record(AddressZod, JsonToBigIntZod5)
1523
+ from: z27.record(AddressZod, BigIntToJsonZod5),
1524
+ to: z27.record(AddressZod, JsonToBigIntZod5)
1555
1525
  }
1556
1526
  },
1557
1527
  networkStakingStepRewardsByStakerViewer_total: {
1558
1528
  params: {
1559
- from: z28.tuple([
1529
+ from: z27.tuple([
1560
1530
  RewardsRangeOptionsZod.optional()
1561
1531
  ]),
1562
- to: z28.tuple([
1532
+ to: z27.tuple([
1563
1533
  RewardsRangeOptionsZod.optional()
1564
1534
  ])
1565
1535
  },
1566
1536
  result: {
1567
- from: z28.record(AddressZod, BigIntToJsonZod5),
1568
- to: z28.record(AddressZod, JsonToBigIntZod5)
1537
+ from: z27.record(AddressZod, BigIntToJsonZod5),
1538
+ to: z27.record(AddressZod, JsonToBigIntZod5)
1569
1539
  }
1570
1540
  },
1571
1541
  networkStakingStepRewardsByStakerViewer_unclaimed: {
1572
1542
  params: {
1573
- from: z28.tuple([
1543
+ from: z27.tuple([
1574
1544
  RewardsRangeOptionsZod.optional()
1575
1545
  ]),
1576
- to: z28.tuple([
1546
+ to: z27.tuple([
1577
1547
  RewardsRangeOptionsZod.optional()
1578
1548
  ])
1579
1549
  },
1580
1550
  result: {
1581
- from: z28.record(AddressZod, BigIntToJsonZod5),
1582
- to: z28.record(AddressZod, JsonToBigIntZod5)
1551
+ from: z27.record(AddressZod, BigIntToJsonZod5),
1552
+ to: z27.record(AddressZod, JsonToBigIntZod5)
1583
1553
  }
1584
1554
  }
1585
1555
  };
1586
1556
 
1587
1557
  // src/types/schema/RewardsByStepViewerRpcSchemas.ts
1588
1558
  import { BigIntToJsonZod as BigIntToJsonZod6, JsonToBigIntZod as JsonToBigIntZod6 } from "@xylabs/hex";
1589
- import z29 from "zod";
1559
+ import z28 from "zod";
1590
1560
  var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
1591
1561
  networkStakingStepRewardsByStepViewer_bonus: {
1592
1562
  params: {
1593
- from: z29.tuple([
1563
+ from: z28.tuple([
1594
1564
  RewardsRangeOptionsZod.optional()
1595
1565
  ]),
1596
- to: z29.tuple([
1566
+ to: z28.tuple([
1597
1567
  RewardsRangeOptionsZod.optional()
1598
1568
  ])
1599
1569
  },
1600
1570
  result: {
1601
- from: z29.record(AddressZod, BigIntToJsonZod6),
1602
- to: z29.record(AddressZod, JsonToBigIntZod6)
1571
+ from: z28.record(AddressZod, BigIntToJsonZod6),
1572
+ to: z28.record(AddressZod, JsonToBigIntZod6)
1603
1573
  }
1604
1574
  },
1605
1575
  networkStakingStepRewardsByStepViewer_claimed: {
1606
1576
  params: {
1607
- from: z29.tuple([
1577
+ from: z28.tuple([
1608
1578
  RewardsRangeOptionsZod.optional()
1609
1579
  ]),
1610
- to: z29.tuple([
1580
+ to: z28.tuple([
1611
1581
  RewardsRangeOptionsZod.optional()
1612
1582
  ])
1613
1583
  },
1614
1584
  result: {
1615
- from: z29.record(AddressZod, BigIntToJsonZod6),
1616
- to: z29.record(AddressZod, JsonToBigIntZod6)
1585
+ from: z28.record(AddressZod, BigIntToJsonZod6),
1586
+ to: z28.record(AddressZod, JsonToBigIntZod6)
1617
1587
  }
1618
1588
  },
1619
1589
  networkStakingStepRewardsByStepViewer_earned: {
1620
1590
  params: {
1621
- from: z29.tuple([
1591
+ from: z28.tuple([
1622
1592
  RewardsRangeOptionsZod.optional()
1623
1593
  ]),
1624
- to: z29.tuple([
1594
+ to: z28.tuple([
1625
1595
  RewardsRangeOptionsZod.optional()
1626
1596
  ])
1627
1597
  },
1628
1598
  result: {
1629
- from: z29.record(AddressZod, BigIntToJsonZod6),
1630
- to: z29.record(AddressZod, JsonToBigIntZod6)
1599
+ from: z28.record(AddressZod, BigIntToJsonZod6),
1600
+ to: z28.record(AddressZod, JsonToBigIntZod6)
1631
1601
  }
1632
1602
  },
1633
1603
  networkStakingStepRewardsByStepViewer_total: {
1634
1604
  params: {
1635
- from: z29.tuple([
1605
+ from: z28.tuple([
1636
1606
  RewardsRangeOptionsZod.optional()
1637
1607
  ]),
1638
- to: z29.tuple([
1608
+ to: z28.tuple([
1639
1609
  RewardsRangeOptionsZod.optional()
1640
1610
  ])
1641
1611
  },
1642
1612
  result: {
1643
- from: z29.record(AddressZod, BigIntToJsonZod6),
1644
- to: z29.record(AddressZod, JsonToBigIntZod6)
1613
+ from: z28.record(AddressZod, BigIntToJsonZod6),
1614
+ to: z28.record(AddressZod, JsonToBigIntZod6)
1645
1615
  }
1646
1616
  },
1647
1617
  networkStakingStepRewardsByStepViewer_unclaimed: {
1648
1618
  params: {
1649
- from: z29.tuple([
1619
+ from: z28.tuple([
1650
1620
  RewardsRangeOptionsZod.optional()
1651
1621
  ]),
1652
- to: z29.tuple([
1622
+ to: z28.tuple([
1653
1623
  RewardsRangeOptionsZod.optional()
1654
1624
  ])
1655
1625
  },
1656
1626
  result: {
1657
- from: z29.record(AddressZod, BigIntToJsonZod6),
1658
- to: z29.record(AddressZod, JsonToBigIntZod6)
1627
+ from: z28.record(AddressZod, BigIntToJsonZod6),
1628
+ to: z28.record(AddressZod, JsonToBigIntZod6)
1659
1629
  }
1660
1630
  }
1661
1631
  };
@@ -1663,14 +1633,14 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
1663
1633
  // src/types/schema/RewardsTotalViewerRpcSchemas.ts
1664
1634
  import { BigIntToJsonZod as BigIntToJsonZod7, JsonToBigIntZod as JsonToBigIntZod7 } from "@xylabs/hex";
1665
1635
  import { asAttoXL1 as asAttoXL13 } from "@xyo-network/xl1-protocol";
1666
- import * as z30 from "zod";
1636
+ import * as z29 from "zod";
1667
1637
  var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
1668
1638
  networkStakingStepRewardsTotalViewer_bonus: {
1669
1639
  params: {
1670
- from: z30.tuple([
1640
+ from: z29.tuple([
1671
1641
  RewardsRangeOptionsZod.optional()
1672
1642
  ]),
1673
- to: z30.tuple([
1643
+ to: z29.tuple([
1674
1644
  RewardsRangeOptionsZod.optional()
1675
1645
  ])
1676
1646
  },
@@ -1681,10 +1651,10 @@ var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
1681
1651
  },
1682
1652
  networkStakingStepRewardsTotalViewer_claimed: {
1683
1653
  params: {
1684
- from: z30.tuple([
1654
+ from: z29.tuple([
1685
1655
  RewardsRangeOptionsZod.optional()
1686
1656
  ]),
1687
- to: z30.tuple([
1657
+ to: z29.tuple([
1688
1658
  RewardsRangeOptionsZod.optional()
1689
1659
  ])
1690
1660
  },
@@ -1695,10 +1665,10 @@ var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
1695
1665
  },
1696
1666
  networkStakingStepRewardsTotalViewer_earned: {
1697
1667
  params: {
1698
- from: z30.tuple([
1668
+ from: z29.tuple([
1699
1669
  RewardsRangeOptionsZod.optional()
1700
1670
  ]),
1701
- to: z30.tuple([
1671
+ to: z29.tuple([
1702
1672
  RewardsRangeOptionsZod.optional()
1703
1673
  ])
1704
1674
  },
@@ -1709,10 +1679,10 @@ var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
1709
1679
  },
1710
1680
  networkStakingStepRewardsTotalViewer_total: {
1711
1681
  params: {
1712
- from: z30.tuple([
1682
+ from: z29.tuple([
1713
1683
  RewardsRangeOptionsZod.optional()
1714
1684
  ]),
1715
- to: z30.tuple([
1685
+ to: z29.tuple([
1716
1686
  RewardsRangeOptionsZod.optional()
1717
1687
  ])
1718
1688
  },
@@ -1723,10 +1693,10 @@ var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
1723
1693
  },
1724
1694
  networkStakingStepRewardsTotalViewer_unclaimed: {
1725
1695
  params: {
1726
- from: z30.tuple([
1696
+ from: z29.tuple([
1727
1697
  RewardsRangeOptionsZod.optional()
1728
1698
  ]),
1729
- to: z30.tuple([
1699
+ to: z29.tuple([
1730
1700
  RewardsRangeOptionsZod.optional()
1731
1701
  ])
1732
1702
  },
@@ -1766,11 +1736,11 @@ var HttpRpcTransport = class {
1766
1736
  body.params = schemas[method].params.to.parse(params);
1767
1737
  }
1768
1738
  const res = await new AxiosJson().post(url, body);
1769
- const json2 = res.data;
1770
- if (isUndefinedOrNull(json2) || json2.error) {
1771
- throw new Error(json2.error.message);
1739
+ const json = res.data;
1740
+ if (isUndefinedOrNull(json) || json.error) {
1741
+ throw new Error(json.error.message);
1772
1742
  }
1773
- return schemas[method].result.from.parse(json2.result);
1743
+ return schemas[method].result.from.parse(json.result);
1774
1744
  } catch (ex) {
1775
1745
  let message = isError(ex) ? ex.message : String(ex);
1776
1746
  if (isAxiosError(ex)) {
@@ -2317,15 +2287,12 @@ export {
2317
2287
  AddressZod,
2318
2288
  AllRpcSchemas,
2319
2289
  AnyBoundWitnessZod,
2320
- AnyPayloadWithStorageMetaZod,
2321
- AnyPayloadZod,
2322
2290
  AnySignedBoundWitnessWithStorageMetaZod,
2323
2291
  AnySignedBoundWitnessZod,
2324
2292
  AnyUnsignedBoundWitnessZod,
2325
2293
  ArrayBufferToJsonZod,
2326
2294
  AttoToJsonZod,
2327
2295
  AttoZod,
2328
- BlockBoundWitnessWithStorageMetaZod,
2329
2296
  BlockBoundWitnessZod,
2330
2297
  BlockDurationZod,
2331
2298
  BlockEndZod,
@@ -2373,8 +2340,6 @@ export {
2373
2340
  NetworkStakingStepRewardsViewerRpcNamespace,
2374
2341
  NetworkStakingStepRewardsViewerRpcSchemas,
2375
2342
  NodeXyoRunner,
2376
- PayloadWithStorageMetaZod,
2377
- PayloadZod,
2378
2343
  PermissionRequestZod,
2379
2344
  PermissionZod,
2380
2345
  QualifiedSequenceFromStringZod,
@@ -2383,10 +2348,8 @@ export {
2383
2348
  RewardsRangeOptionsZod,
2384
2349
  RpcXyoPermissions,
2385
2350
  RpcXyoSigner,
2386
- SchemaZod,
2387
2351
  SequenceFromStringZod,
2388
2352
  SequenceToStringZod,
2389
- SignedBlockBoundWitnessWithStorageMetaZod,
2390
2353
  SignedBlockBoundWitnessZod,
2391
2354
  SignedBoundWitnessWithStorageMetaZod,
2392
2355
  SignedBoundWitnessZod,
@@ -2407,11 +2370,9 @@ export {
2407
2370
  TransferFieldsZod,
2408
2371
  TransferPairZod,
2409
2372
  TransferZod,
2410
- TransferZodWithStorageMeta,
2411
2373
  UnsignedBoundWitnessWithStorageMetaZod,
2412
2374
  UnsignedBoundWitnessZod,
2413
2375
  UnsignedHydratedTransactionZod,
2414
- WithStorageMetaZod,
2415
2376
  WithTransactionFeesZod,
2416
2377
  XyoBaseConnection,
2417
2378
  XyoPermissionsRpcSchemas,