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