@xyo-network/xl1-protocol 1.13.13 → 1.14.1

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 (135) hide show
  1. package/dist/neutral/block/AllowedBlockPayload.d.ts +1 -1
  2. package/dist/neutral/block/AllowedBlockPayload.d.ts.map +1 -1
  3. package/dist/neutral/block/index.d.ts +0 -2
  4. package/dist/neutral/block/index.d.ts.map +1 -1
  5. package/dist/neutral/chain/ChainAnalyzer.d.ts +1 -1
  6. package/dist/neutral/chain/ChainAnalyzer.d.ts.map +1 -1
  7. package/dist/neutral/constants/defaultTransactionFees.d.ts +1 -1
  8. package/dist/neutral/constants/defaultTransactionFees.d.ts.map +1 -1
  9. package/dist/neutral/constants/minTransactionFees.d.ts +1 -1
  10. package/dist/neutral/constants/minTransactionFees.d.ts.map +1 -1
  11. package/dist/neutral/index.d.ts +1 -1
  12. package/dist/neutral/index.d.ts.map +1 -1
  13. package/dist/neutral/index.mjs +520 -231
  14. package/dist/neutral/index.mjs.map +1 -1
  15. package/dist/neutral/repository/TransactionReadRepository.d.ts +1 -1
  16. package/dist/neutral/repository/TransactionReadRepository.d.ts.map +1 -1
  17. package/dist/neutral/repository/TransactionRepositoryIterator.d.ts +1 -1
  18. package/dist/neutral/repository/TransactionRepositoryIterator.d.ts.map +1 -1
  19. package/dist/neutral/repository/TransactionWriteRepository.d.ts +1 -1
  20. package/dist/neutral/repository/TransactionWriteRepository.d.ts.map +1 -1
  21. package/dist/neutral/validation/payload/InBlockPayloadValidationFunction.d.ts +1 -1
  22. package/dist/neutral/validation/payload/InBlockPayloadValidationFunction.d.ts.map +1 -1
  23. package/dist/neutral/validation/payload/error.d.ts +1 -1
  24. package/dist/neutral/validation/payload/error.d.ts.map +1 -1
  25. package/dist/neutral/validation/transaction/HydratedTransactionStateValidationFunction.d.ts +2 -2
  26. package/dist/neutral/validation/transaction/HydratedTransactionStateValidationFunction.d.ts.map +1 -1
  27. package/dist/neutral/validation/transaction/HydratedTransactionValidationFunction.d.ts +2 -2
  28. package/dist/neutral/validation/transaction/HydratedTransactionValidationFunction.d.ts.map +1 -1
  29. package/dist/neutral/validation/transaction/error.d.ts +1 -1
  30. package/dist/neutral/validation/transaction/error.d.ts.map +1 -1
  31. package/dist/neutral/zod/ArrayBuffer.d.ts +4 -0
  32. package/dist/neutral/zod/ArrayBuffer.d.ts.map +1 -0
  33. package/dist/neutral/zod/BlockBoundWitness.d.ts +63 -0
  34. package/dist/neutral/zod/BlockBoundWitness.d.ts.map +1 -0
  35. package/dist/neutral/zod/BoundWitness.d.ts +111 -0
  36. package/dist/neutral/zod/BoundWitness.d.ts.map +1 -0
  37. package/dist/neutral/zod/Chain.d.ts +4 -0
  38. package/dist/neutral/zod/Chain.d.ts.map +1 -0
  39. package/dist/neutral/zod/HydratedBlock.d.ts +788 -0
  40. package/dist/neutral/zod/HydratedBlock.d.ts.map +1 -0
  41. package/dist/neutral/zod/HydratedTransaction.d.ts +1603 -0
  42. package/dist/neutral/zod/HydratedTransaction.d.ts.map +1 -0
  43. package/dist/neutral/zod/Permission.d.ts +53 -0
  44. package/dist/neutral/zod/Permission.d.ts.map +1 -0
  45. package/dist/neutral/zod/RewardsRangeOptions.d.ts +11 -0
  46. package/dist/neutral/zod/RewardsRangeOptions.d.ts.map +1 -0
  47. package/dist/neutral/zod/Sequence.d.ts +9 -0
  48. package/dist/neutral/zod/Sequence.d.ts.map +1 -0
  49. package/dist/neutral/zod/Stake.d.ts +62 -0
  50. package/dist/neutral/zod/Stake.d.ts.map +1 -0
  51. package/dist/neutral/zod/TimeDomain.d.ts +3 -0
  52. package/dist/neutral/zod/TimeDomain.d.ts.map +1 -0
  53. package/dist/neutral/zod/TransactionBoundWitness.d.ts +416 -0
  54. package/dist/neutral/zod/TransactionBoundWitness.d.ts.map +1 -0
  55. package/dist/neutral/zod/TransactionFees.d.ts +121 -0
  56. package/dist/neutral/zod/TransactionFees.d.ts.map +1 -0
  57. package/dist/neutral/zod/TransferPair.d.ts +3 -0
  58. package/dist/neutral/zod/TransferPair.d.ts.map +1 -0
  59. package/dist/neutral/zod/index.d.ts +15 -0
  60. package/dist/neutral/zod/index.d.ts.map +1 -0
  61. package/package.json +8 -6
  62. package/src/block/AllowedBlockPayload.ts +1 -1
  63. package/src/block/index.ts +0 -2
  64. package/src/chain/ChainAnalyzer.ts +1 -1
  65. package/src/constants/defaultTransactionFees.ts +1 -1
  66. package/src/constants/minTransactionFees.ts +1 -1
  67. package/src/index.ts +1 -1
  68. package/src/repository/TransactionReadRepository.ts +1 -1
  69. package/src/repository/TransactionRepositoryIterator.ts +1 -1
  70. package/src/repository/TransactionWriteRepository.ts +1 -1
  71. package/src/validation/payload/InBlockPayloadValidationFunction.ts +1 -1
  72. package/src/validation/payload/error.ts +1 -1
  73. package/src/validation/transaction/HydratedTransactionStateValidationFunction.ts +2 -2
  74. package/src/validation/transaction/HydratedTransactionValidationFunction.ts +2 -2
  75. package/src/validation/transaction/error.ts +1 -1
  76. package/src/zod/ArrayBuffer.ts +42 -0
  77. package/src/zod/BlockBoundWitness.ts +38 -0
  78. package/src/zod/BoundWitness.ts +59 -0
  79. package/src/zod/Chain.ts +6 -0
  80. package/src/zod/HydratedBlock.ts +83 -0
  81. package/src/zod/HydratedTransaction.ts +138 -0
  82. package/src/zod/Permission.ts +23 -0
  83. package/src/zod/RewardsRangeOptions.ts +11 -0
  84. package/src/zod/Sequence.ts +15 -0
  85. package/src/zod/Stake.ts +43 -0
  86. package/src/zod/TimeDomain.ts +7 -0
  87. package/src/zod/TransactionBoundWitness.ts +57 -0
  88. package/src/zod/TransactionFees.ts +57 -0
  89. package/src/zod/TransferPair.ts +6 -0
  90. package/src/zod/index.ts +14 -0
  91. package/dist/neutral/block/BlockBoundWitness.d.ts +0 -33
  92. package/dist/neutral/block/BlockBoundWitness.d.ts.map +0 -1
  93. package/dist/neutral/block/HydratedBlock.d.ts +0 -7
  94. package/dist/neutral/block/HydratedBlock.d.ts.map +0 -1
  95. package/dist/neutral/transaction/AnyHydratedTransaction.d.ts +0 -6
  96. package/dist/neutral/transaction/AnyHydratedTransaction.d.ts.map +0 -1
  97. package/dist/neutral/transaction/HydratedTransaction.d.ts +0 -10
  98. package/dist/neutral/transaction/HydratedTransaction.d.ts.map +0 -1
  99. package/dist/neutral/transaction/HydratedTransactionWithHashMeta.d.ts +0 -7
  100. package/dist/neutral/transaction/HydratedTransactionWithHashMeta.d.ts.map +0 -1
  101. package/dist/neutral/transaction/HydratedTransactionWithStorageMeta.d.ts +0 -7
  102. package/dist/neutral/transaction/HydratedTransactionWithStorageMeta.d.ts.map +0 -1
  103. package/dist/neutral/transaction/SignedHydratedTransaction.d.ts +0 -7
  104. package/dist/neutral/transaction/SignedHydratedTransaction.d.ts.map +0 -1
  105. package/dist/neutral/transaction/SignedHydratedTransactionWithHashMeta.d.ts +0 -7
  106. package/dist/neutral/transaction/SignedHydratedTransactionWithHashMeta.d.ts.map +0 -1
  107. package/dist/neutral/transaction/SignedHydratedTransactionWithStorageMeta.d.ts +0 -7
  108. package/dist/neutral/transaction/SignedHydratedTransactionWithStorageMeta.d.ts.map +0 -1
  109. package/dist/neutral/transaction/TransactionBoundWitness.d.ts +0 -14
  110. package/dist/neutral/transaction/TransactionBoundWitness.d.ts.map +0 -1
  111. package/dist/neutral/transaction/TransactionBoundWitnessDeprecated.d.ts +0 -11
  112. package/dist/neutral/transaction/TransactionBoundWitnessDeprecated.d.ts.map +0 -1
  113. package/dist/neutral/transaction/TransactionFeesFields.d.ts +0 -19
  114. package/dist/neutral/transaction/TransactionFeesFields.d.ts.map +0 -1
  115. package/dist/neutral/transaction/UnsignedHydratedTransaction.d.ts +0 -6
  116. package/dist/neutral/transaction/UnsignedHydratedTransaction.d.ts.map +0 -1
  117. package/dist/neutral/transaction/UnsignedHydratedTransactionWithHashMeta.d.ts +0 -7
  118. package/dist/neutral/transaction/UnsignedHydratedTransactionWithHashMeta.d.ts.map +0 -1
  119. package/dist/neutral/transaction/index.d.ts +0 -13
  120. package/dist/neutral/transaction/index.d.ts.map +0 -1
  121. package/src/block/BlockBoundWitness.ts +0 -64
  122. package/src/block/HydratedBlock.ts +0 -24
  123. package/src/transaction/AnyHydratedTransaction.ts +0 -20
  124. package/src/transaction/HydratedTransaction.ts +0 -29
  125. package/src/transaction/HydratedTransactionWithHashMeta.ts +0 -23
  126. package/src/transaction/HydratedTransactionWithStorageMeta.ts +0 -23
  127. package/src/transaction/SignedHydratedTransaction.ts +0 -22
  128. package/src/transaction/SignedHydratedTransactionWithHashMeta.ts +0 -25
  129. package/src/transaction/SignedHydratedTransactionWithStorageMeta.ts +0 -25
  130. package/src/transaction/TransactionBoundWitness.ts +0 -27
  131. package/src/transaction/TransactionBoundWitnessDeprecated.ts +0 -33
  132. package/src/transaction/TransactionFeesFields.ts +0 -58
  133. package/src/transaction/UnsignedHydratedTransaction.ts +0 -21
  134. package/src/transaction/UnsignedHydratedTransactionWithHashMeta.ts +0 -24
  135. package/src/transaction/index.ts +0 -12
@@ -0,0 +1,788 @@
1
+ import * as z from 'zod';
2
+ export declare const HydratedBlockZod: z.ZodTuple<[z.ZodObject<{
3
+ schema: z.ZodLiteral<"network.xyo.boundwitness">;
4
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
5
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
6
+ payload_schemas: z.ZodArray<z.ZodString>;
7
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
8
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
9
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
10
+ $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
11
+ block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
12
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.ts").ChainId, string>>;
13
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
14
+ protocol: z.ZodNumber;
15
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
16
+ $epoch: z.ZodNumber;
17
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
18
+ schema: z.ZodString;
19
+ }, z.core.$strict>>], null>;
20
+ export type HydratedBlock = z.infer<typeof HydratedBlockZod>;
21
+ export declare const isHydratedBlock: (value: unknown) => value is [{
22
+ schema: "network.xyo.boundwitness";
23
+ addresses: import("@xylabs/hex").Address[];
24
+ payload_hashes: import("@xylabs/hex").Hash[];
25
+ payload_schemas: string[];
26
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
27
+ $signatures: (import("@xylabs/hex").Hex | null)[];
28
+ block: import("../index.ts").XL1BlockNumber;
29
+ chain: import("../index.ts").ChainId;
30
+ previous: import("@xylabs/hex").Hash | null;
31
+ protocol: number;
32
+ $epoch: number;
33
+ $destination?: import("@xylabs/hex").Address | undefined;
34
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
35
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
36
+ }, {
37
+ schema: string;
38
+ }[]];
39
+ export declare const asHydratedBlock: {
40
+ (value: unknown): [{
41
+ schema: "network.xyo.boundwitness";
42
+ addresses: import("@xylabs/hex").Address[];
43
+ payload_hashes: import("@xylabs/hex").Hash[];
44
+ payload_schemas: string[];
45
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
46
+ $signatures: (import("@xylabs/hex").Hex | null)[];
47
+ block: import("../index.ts").XL1BlockNumber;
48
+ chain: import("../index.ts").ChainId;
49
+ previous: import("@xylabs/hex").Hash | null;
50
+ protocol: number;
51
+ $epoch: number;
52
+ $destination?: import("@xylabs/hex").Address | undefined;
53
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
54
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
55
+ }, {
56
+ schema: string;
57
+ }[]] | undefined;
58
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
59
+ schema: "network.xyo.boundwitness";
60
+ addresses: import("@xylabs/hex").Address[];
61
+ payload_hashes: import("@xylabs/hex").Hash[];
62
+ payload_schemas: string[];
63
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
64
+ $signatures: (import("@xylabs/hex").Hex | null)[];
65
+ block: import("../index.ts").XL1BlockNumber;
66
+ chain: import("../index.ts").ChainId;
67
+ previous: import("@xylabs/hex").Hash | null;
68
+ protocol: number;
69
+ $epoch: number;
70
+ $destination?: import("@xylabs/hex").Address | undefined;
71
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
72
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
73
+ }, {
74
+ schema: string;
75
+ }[]];
76
+ };
77
+ export declare const toHydratedBlock: {
78
+ (value: unknown): [{
79
+ schema: "network.xyo.boundwitness";
80
+ addresses: import("@xylabs/hex").Address[];
81
+ payload_hashes: import("@xylabs/hex").Hash[];
82
+ payload_schemas: string[];
83
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
84
+ $signatures: (import("@xylabs/hex").Hex | null)[];
85
+ block: import("../index.ts").XL1BlockNumber;
86
+ chain: import("../index.ts").ChainId;
87
+ previous: import("@xylabs/hex").Hash | null;
88
+ protocol: number;
89
+ $epoch: number;
90
+ $destination?: import("@xylabs/hex").Address | undefined;
91
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
92
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
93
+ }, {
94
+ schema: string;
95
+ }[]] | undefined;
96
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
97
+ schema: "network.xyo.boundwitness";
98
+ addresses: import("@xylabs/hex").Address[];
99
+ payload_hashes: import("@xylabs/hex").Hash[];
100
+ payload_schemas: string[];
101
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
102
+ $signatures: (import("@xylabs/hex").Hex | null)[];
103
+ block: import("../index.ts").XL1BlockNumber;
104
+ chain: import("../index.ts").ChainId;
105
+ previous: import("@xylabs/hex").Hash | null;
106
+ protocol: number;
107
+ $epoch: number;
108
+ $destination?: import("@xylabs/hex").Address | undefined;
109
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
110
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
111
+ }, {
112
+ schema: string;
113
+ }[]];
114
+ };
115
+ export declare const HydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
116
+ schema: z.ZodLiteral<"network.xyo.boundwitness">;
117
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
118
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
119
+ payload_schemas: z.ZodArray<z.ZodString>;
120
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
121
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
122
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
123
+ $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
124
+ block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
125
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.ts").ChainId, string>>;
126
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
127
+ protocol: z.ZodNumber;
128
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
129
+ $epoch: z.ZodNumber;
130
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
131
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
132
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
133
+ schema: z.ZodString;
134
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
135
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
136
+ }, z.core.$strip>>], null>;
137
+ export type HydratedBlockWithHashMeta = z.infer<typeof HydratedBlockWithHashMetaZod>;
138
+ export declare const isHydratedBlockWithHashMeta: (value: unknown) => value is [{
139
+ schema: "network.xyo.boundwitness";
140
+ addresses: import("@xylabs/hex").Address[];
141
+ payload_hashes: import("@xylabs/hex").Hash[];
142
+ payload_schemas: string[];
143
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
144
+ $signatures: (import("@xylabs/hex").Hex | null)[];
145
+ block: import("../index.ts").XL1BlockNumber;
146
+ chain: import("../index.ts").ChainId;
147
+ previous: import("@xylabs/hex").Hash | null;
148
+ protocol: number;
149
+ $epoch: number;
150
+ _hash: import("@xylabs/hex").Hash;
151
+ _dataHash: import("@xylabs/hex").Hash;
152
+ $destination?: import("@xylabs/hex").Address | undefined;
153
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
154
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
155
+ }, {
156
+ schema: string;
157
+ _hash: import("@xylabs/hex").Hash;
158
+ _dataHash: import("@xylabs/hex").Hash;
159
+ }[]];
160
+ export declare const asHydratedBlockWithHashMeta: {
161
+ (value: unknown): [{
162
+ schema: "network.xyo.boundwitness";
163
+ addresses: import("@xylabs/hex").Address[];
164
+ payload_hashes: import("@xylabs/hex").Hash[];
165
+ payload_schemas: string[];
166
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
167
+ $signatures: (import("@xylabs/hex").Hex | null)[];
168
+ block: import("../index.ts").XL1BlockNumber;
169
+ chain: import("../index.ts").ChainId;
170
+ previous: import("@xylabs/hex").Hash | null;
171
+ protocol: number;
172
+ $epoch: number;
173
+ _hash: import("@xylabs/hex").Hash;
174
+ _dataHash: import("@xylabs/hex").Hash;
175
+ $destination?: import("@xylabs/hex").Address | undefined;
176
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
177
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
178
+ }, {
179
+ schema: string;
180
+ _hash: import("@xylabs/hex").Hash;
181
+ _dataHash: import("@xylabs/hex").Hash;
182
+ }[]] | undefined;
183
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
184
+ schema: "network.xyo.boundwitness";
185
+ addresses: import("@xylabs/hex").Address[];
186
+ payload_hashes: import("@xylabs/hex").Hash[];
187
+ payload_schemas: string[];
188
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
189
+ $signatures: (import("@xylabs/hex").Hex | null)[];
190
+ block: import("../index.ts").XL1BlockNumber;
191
+ chain: import("../index.ts").ChainId;
192
+ previous: import("@xylabs/hex").Hash | null;
193
+ protocol: number;
194
+ $epoch: number;
195
+ _hash: import("@xylabs/hex").Hash;
196
+ _dataHash: import("@xylabs/hex").Hash;
197
+ $destination?: import("@xylabs/hex").Address | undefined;
198
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
199
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
200
+ }, {
201
+ schema: string;
202
+ _hash: import("@xylabs/hex").Hash;
203
+ _dataHash: import("@xylabs/hex").Hash;
204
+ }[]];
205
+ };
206
+ export declare const toHydratedBlockWithHashMeta: {
207
+ (value: unknown): [{
208
+ schema: "network.xyo.boundwitness";
209
+ addresses: import("@xylabs/hex").Address[];
210
+ payload_hashes: import("@xylabs/hex").Hash[];
211
+ payload_schemas: string[];
212
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
213
+ $signatures: (import("@xylabs/hex").Hex | null)[];
214
+ block: import("../index.ts").XL1BlockNumber;
215
+ chain: import("../index.ts").ChainId;
216
+ previous: import("@xylabs/hex").Hash | null;
217
+ protocol: number;
218
+ $epoch: number;
219
+ _hash: import("@xylabs/hex").Hash;
220
+ _dataHash: import("@xylabs/hex").Hash;
221
+ $destination?: import("@xylabs/hex").Address | undefined;
222
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
223
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
224
+ }, {
225
+ schema: string;
226
+ _hash: import("@xylabs/hex").Hash;
227
+ _dataHash: import("@xylabs/hex").Hash;
228
+ }[]] | undefined;
229
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
230
+ schema: "network.xyo.boundwitness";
231
+ addresses: import("@xylabs/hex").Address[];
232
+ payload_hashes: import("@xylabs/hex").Hash[];
233
+ payload_schemas: string[];
234
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
235
+ $signatures: (import("@xylabs/hex").Hex | null)[];
236
+ block: import("../index.ts").XL1BlockNumber;
237
+ chain: import("../index.ts").ChainId;
238
+ previous: import("@xylabs/hex").Hash | null;
239
+ protocol: number;
240
+ $epoch: number;
241
+ _hash: import("@xylabs/hex").Hash;
242
+ _dataHash: import("@xylabs/hex").Hash;
243
+ $destination?: import("@xylabs/hex").Address | undefined;
244
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
245
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
246
+ }, {
247
+ schema: string;
248
+ _hash: import("@xylabs/hex").Hash;
249
+ _dataHash: import("@xylabs/hex").Hash;
250
+ }[]];
251
+ };
252
+ export declare const HydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
253
+ schema: z.ZodLiteral<"network.xyo.boundwitness">;
254
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
255
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
256
+ payload_schemas: z.ZodArray<z.ZodString>;
257
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
258
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
259
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
260
+ $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
261
+ block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
262
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.ts").ChainId, string>>;
263
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
264
+ protocol: z.ZodNumber;
265
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
266
+ $epoch: z.ZodNumber;
267
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
268
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
269
+ _sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
270
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
271
+ schema: z.ZodString;
272
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
273
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
274
+ _sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
275
+ }, z.core.$strip>>], null>;
276
+ export type HydratedBlockWithStorageMeta = z.infer<typeof HydratedBlockWithStorageMetaZod>;
277
+ export declare const isHydratedBlockWithStorageMeta: (value: unknown) => value is [{
278
+ schema: "network.xyo.boundwitness";
279
+ addresses: import("@xylabs/hex").Address[];
280
+ payload_hashes: import("@xylabs/hex").Hash[];
281
+ payload_schemas: string[];
282
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
283
+ $signatures: (import("@xylabs/hex").Hex | null)[];
284
+ block: import("../index.ts").XL1BlockNumber;
285
+ chain: import("../index.ts").ChainId;
286
+ previous: import("@xylabs/hex").Hash | null;
287
+ protocol: number;
288
+ $epoch: number;
289
+ _hash: import("@xylabs/hex").Hash;
290
+ _dataHash: import("@xylabs/hex").Hash;
291
+ _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
292
+ $destination?: import("@xylabs/hex").Address | undefined;
293
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
294
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
295
+ }, {
296
+ schema: string;
297
+ _hash: import("@xylabs/hex").Hash;
298
+ _dataHash: import("@xylabs/hex").Hash;
299
+ _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
300
+ }[]];
301
+ export declare const asHydratedBlockWithStorageMeta: {
302
+ (value: unknown): [{
303
+ schema: "network.xyo.boundwitness";
304
+ addresses: import("@xylabs/hex").Address[];
305
+ payload_hashes: import("@xylabs/hex").Hash[];
306
+ payload_schemas: string[];
307
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
308
+ $signatures: (import("@xylabs/hex").Hex | null)[];
309
+ block: import("../index.ts").XL1BlockNumber;
310
+ chain: import("../index.ts").ChainId;
311
+ previous: import("@xylabs/hex").Hash | null;
312
+ protocol: number;
313
+ $epoch: number;
314
+ _hash: import("@xylabs/hex").Hash;
315
+ _dataHash: import("@xylabs/hex").Hash;
316
+ _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
317
+ $destination?: import("@xylabs/hex").Address | undefined;
318
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
319
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
320
+ }, {
321
+ schema: string;
322
+ _hash: import("@xylabs/hex").Hash;
323
+ _dataHash: import("@xylabs/hex").Hash;
324
+ _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
325
+ }[]] | undefined;
326
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
327
+ schema: "network.xyo.boundwitness";
328
+ addresses: import("@xylabs/hex").Address[];
329
+ payload_hashes: import("@xylabs/hex").Hash[];
330
+ payload_schemas: string[];
331
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
332
+ $signatures: (import("@xylabs/hex").Hex | null)[];
333
+ block: import("../index.ts").XL1BlockNumber;
334
+ chain: import("../index.ts").ChainId;
335
+ previous: import("@xylabs/hex").Hash | null;
336
+ protocol: number;
337
+ $epoch: number;
338
+ _hash: import("@xylabs/hex").Hash;
339
+ _dataHash: import("@xylabs/hex").Hash;
340
+ _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
341
+ $destination?: import("@xylabs/hex").Address | undefined;
342
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
343
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
344
+ }, {
345
+ schema: string;
346
+ _hash: import("@xylabs/hex").Hash;
347
+ _dataHash: import("@xylabs/hex").Hash;
348
+ _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
349
+ }[]];
350
+ };
351
+ export declare const toHydratedBlockWithStorageMeta: {
352
+ (value: unknown): [{
353
+ schema: "network.xyo.boundwitness";
354
+ addresses: import("@xylabs/hex").Address[];
355
+ payload_hashes: import("@xylabs/hex").Hash[];
356
+ payload_schemas: string[];
357
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
358
+ $signatures: (import("@xylabs/hex").Hex | null)[];
359
+ block: import("../index.ts").XL1BlockNumber;
360
+ chain: import("../index.ts").ChainId;
361
+ previous: import("@xylabs/hex").Hash | null;
362
+ protocol: number;
363
+ $epoch: number;
364
+ _hash: import("@xylabs/hex").Hash;
365
+ _dataHash: import("@xylabs/hex").Hash;
366
+ _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
367
+ $destination?: import("@xylabs/hex").Address | undefined;
368
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
369
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
370
+ }, {
371
+ schema: string;
372
+ _hash: import("@xylabs/hex").Hash;
373
+ _dataHash: import("@xylabs/hex").Hash;
374
+ _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
375
+ }[]] | undefined;
376
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
377
+ schema: "network.xyo.boundwitness";
378
+ addresses: import("@xylabs/hex").Address[];
379
+ payload_hashes: import("@xylabs/hex").Hash[];
380
+ payload_schemas: string[];
381
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
382
+ $signatures: (import("@xylabs/hex").Hex | null)[];
383
+ block: import("../index.ts").XL1BlockNumber;
384
+ chain: import("../index.ts").ChainId;
385
+ previous: import("@xylabs/hex").Hash | null;
386
+ protocol: number;
387
+ $epoch: number;
388
+ _hash: import("@xylabs/hex").Hash;
389
+ _dataHash: import("@xylabs/hex").Hash;
390
+ _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
391
+ $destination?: import("@xylabs/hex").Address | undefined;
392
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
393
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
394
+ }, {
395
+ schema: string;
396
+ _hash: import("@xylabs/hex").Hash;
397
+ _dataHash: import("@xylabs/hex").Hash;
398
+ _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
399
+ }[]];
400
+ };
401
+ export declare const SignedHydratedBlockZod: z.ZodTuple<[z.ZodObject<{
402
+ schema: z.ZodLiteral<"network.xyo.boundwitness">;
403
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
404
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
405
+ payload_schemas: z.ZodArray<z.ZodString>;
406
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
407
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
408
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
409
+ $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
410
+ block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
411
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.ts").ChainId, string>>;
412
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
413
+ protocol: z.ZodNumber;
414
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
415
+ $epoch: z.ZodNumber;
416
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
417
+ schema: z.ZodString;
418
+ }, z.core.$strict>>], null>;
419
+ export type SignedHydratedBlock = z.infer<typeof SignedHydratedBlockZod>;
420
+ export declare const isSignedHydratedBlock: (value: unknown) => value is [{
421
+ schema: "network.xyo.boundwitness";
422
+ addresses: import("@xylabs/hex").Address[];
423
+ payload_hashes: import("@xylabs/hex").Hash[];
424
+ payload_schemas: string[];
425
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
426
+ $signatures: (import("@xylabs/hex").Hex | null)[];
427
+ block: import("../index.ts").XL1BlockNumber;
428
+ chain: import("../index.ts").ChainId;
429
+ previous: import("@xylabs/hex").Hash | null;
430
+ protocol: number;
431
+ $epoch: number;
432
+ $destination?: import("@xylabs/hex").Address | undefined;
433
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
434
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
435
+ }, {
436
+ schema: string;
437
+ }[]];
438
+ export declare const asSignedHydratedBlock: {
439
+ (value: unknown): [{
440
+ schema: "network.xyo.boundwitness";
441
+ addresses: import("@xylabs/hex").Address[];
442
+ payload_hashes: import("@xylabs/hex").Hash[];
443
+ payload_schemas: string[];
444
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
445
+ $signatures: (import("@xylabs/hex").Hex | null)[];
446
+ block: import("../index.ts").XL1BlockNumber;
447
+ chain: import("../index.ts").ChainId;
448
+ previous: import("@xylabs/hex").Hash | null;
449
+ protocol: number;
450
+ $epoch: number;
451
+ $destination?: import("@xylabs/hex").Address | undefined;
452
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
453
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
454
+ }, {
455
+ schema: string;
456
+ }[]] | undefined;
457
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
458
+ schema: "network.xyo.boundwitness";
459
+ addresses: import("@xylabs/hex").Address[];
460
+ payload_hashes: import("@xylabs/hex").Hash[];
461
+ payload_schemas: string[];
462
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
463
+ $signatures: (import("@xylabs/hex").Hex | null)[];
464
+ block: import("../index.ts").XL1BlockNumber;
465
+ chain: import("../index.ts").ChainId;
466
+ previous: import("@xylabs/hex").Hash | null;
467
+ protocol: number;
468
+ $epoch: number;
469
+ $destination?: import("@xylabs/hex").Address | undefined;
470
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
471
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
472
+ }, {
473
+ schema: string;
474
+ }[]];
475
+ };
476
+ export declare const toSignedHydratedBlock: {
477
+ (value: unknown): [{
478
+ schema: "network.xyo.boundwitness";
479
+ addresses: import("@xylabs/hex").Address[];
480
+ payload_hashes: import("@xylabs/hex").Hash[];
481
+ payload_schemas: string[];
482
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
483
+ $signatures: (import("@xylabs/hex").Hex | null)[];
484
+ block: import("../index.ts").XL1BlockNumber;
485
+ chain: import("../index.ts").ChainId;
486
+ previous: import("@xylabs/hex").Hash | null;
487
+ protocol: number;
488
+ $epoch: number;
489
+ $destination?: import("@xylabs/hex").Address | undefined;
490
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
491
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
492
+ }, {
493
+ schema: string;
494
+ }[]] | undefined;
495
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
496
+ schema: "network.xyo.boundwitness";
497
+ addresses: import("@xylabs/hex").Address[];
498
+ payload_hashes: import("@xylabs/hex").Hash[];
499
+ payload_schemas: string[];
500
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
501
+ $signatures: (import("@xylabs/hex").Hex | null)[];
502
+ block: import("../index.ts").XL1BlockNumber;
503
+ chain: import("../index.ts").ChainId;
504
+ previous: import("@xylabs/hex").Hash | null;
505
+ protocol: number;
506
+ $epoch: number;
507
+ $destination?: import("@xylabs/hex").Address | undefined;
508
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
509
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
510
+ }, {
511
+ schema: string;
512
+ }[]];
513
+ };
514
+ export declare const SignedHydratedBlockToJsonZod: z.ZodTuple<[z.ZodObject<{
515
+ schema: z.ZodLiteral<"network.xyo.boundwitness">;
516
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
517
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
518
+ payload_schemas: z.ZodArray<z.ZodString>;
519
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
520
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
521
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
522
+ $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
523
+ block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
524
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.ts").ChainId, string>>;
525
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
526
+ protocol: z.ZodNumber;
527
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
528
+ $epoch: z.ZodNumber;
529
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
530
+ schema: z.ZodString;
531
+ }, z.core.$strict>>], null>;
532
+ export type SignedHydratedBlockToJson = z.infer<typeof SignedHydratedBlockToJsonZod>;
533
+ export declare const isSignedHydratedBlockToJson: (value: unknown) => value is [{
534
+ schema: "network.xyo.boundwitness";
535
+ addresses: import("@xylabs/hex").Address[];
536
+ payload_hashes: import("@xylabs/hex").Hash[];
537
+ payload_schemas: string[];
538
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
539
+ $signatures: (import("@xylabs/hex").Hex | null)[];
540
+ block: import("../index.ts").XL1BlockNumber;
541
+ chain: import("../index.ts").ChainId;
542
+ previous: import("@xylabs/hex").Hash | null;
543
+ protocol: number;
544
+ $epoch: number;
545
+ $destination?: import("@xylabs/hex").Address | undefined;
546
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
547
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
548
+ }, {
549
+ schema: string;
550
+ }[]];
551
+ export declare const asSignedHydratedBlockToJson: {
552
+ (value: unknown): [{
553
+ schema: "network.xyo.boundwitness";
554
+ addresses: import("@xylabs/hex").Address[];
555
+ payload_hashes: import("@xylabs/hex").Hash[];
556
+ payload_schemas: string[];
557
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
558
+ $signatures: (import("@xylabs/hex").Hex | null)[];
559
+ block: import("../index.ts").XL1BlockNumber;
560
+ chain: import("../index.ts").ChainId;
561
+ previous: import("@xylabs/hex").Hash | null;
562
+ protocol: number;
563
+ $epoch: number;
564
+ $destination?: import("@xylabs/hex").Address | undefined;
565
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
566
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
567
+ }, {
568
+ schema: string;
569
+ }[]] | undefined;
570
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
571
+ schema: "network.xyo.boundwitness";
572
+ addresses: import("@xylabs/hex").Address[];
573
+ payload_hashes: import("@xylabs/hex").Hash[];
574
+ payload_schemas: string[];
575
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
576
+ $signatures: (import("@xylabs/hex").Hex | null)[];
577
+ block: import("../index.ts").XL1BlockNumber;
578
+ chain: import("../index.ts").ChainId;
579
+ previous: import("@xylabs/hex").Hash | null;
580
+ protocol: number;
581
+ $epoch: number;
582
+ $destination?: import("@xylabs/hex").Address | undefined;
583
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
584
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
585
+ }, {
586
+ schema: string;
587
+ }[]];
588
+ };
589
+ export declare const toSignedHydratedBlockToJson: {
590
+ (value: unknown): [{
591
+ schema: "network.xyo.boundwitness";
592
+ addresses: import("@xylabs/hex").Address[];
593
+ payload_hashes: import("@xylabs/hex").Hash[];
594
+ payload_schemas: string[];
595
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
596
+ $signatures: (import("@xylabs/hex").Hex | null)[];
597
+ block: import("../index.ts").XL1BlockNumber;
598
+ chain: import("../index.ts").ChainId;
599
+ previous: import("@xylabs/hex").Hash | null;
600
+ protocol: number;
601
+ $epoch: number;
602
+ $destination?: import("@xylabs/hex").Address | undefined;
603
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
604
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
605
+ }, {
606
+ schema: string;
607
+ }[]] | undefined;
608
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
609
+ schema: "network.xyo.boundwitness";
610
+ addresses: import("@xylabs/hex").Address[];
611
+ payload_hashes: import("@xylabs/hex").Hash[];
612
+ payload_schemas: string[];
613
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
614
+ $signatures: (import("@xylabs/hex").Hex | null)[];
615
+ block: import("../index.ts").XL1BlockNumber;
616
+ chain: import("../index.ts").ChainId;
617
+ previous: import("@xylabs/hex").Hash | null;
618
+ protocol: number;
619
+ $epoch: number;
620
+ $destination?: import("@xylabs/hex").Address | undefined;
621
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
622
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
623
+ }, {
624
+ schema: string;
625
+ }[]];
626
+ };
627
+ export declare const SignedHydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
628
+ schema: z.ZodLiteral<"network.xyo.boundwitness">;
629
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
630
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
631
+ payload_schemas: z.ZodArray<z.ZodString>;
632
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
633
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
634
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
635
+ $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
636
+ block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
637
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.ts").ChainId, string>>;
638
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
639
+ protocol: z.ZodNumber;
640
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
641
+ $epoch: z.ZodNumber;
642
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
643
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
644
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
645
+ schema: z.ZodString;
646
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
647
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
648
+ }, z.core.$strip>>], null>;
649
+ export type SignedHydratedBlockWithHashMeta = z.infer<typeof SignedHydratedBlockWithHashMetaZod>;
650
+ export declare const isSignedHydratedBlockWithHashMeta: (value: unknown) => value is [{
651
+ schema: "network.xyo.boundwitness";
652
+ addresses: import("@xylabs/hex").Address[];
653
+ payload_hashes: import("@xylabs/hex").Hash[];
654
+ payload_schemas: string[];
655
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
656
+ $signatures: (import("@xylabs/hex").Hex | null)[];
657
+ block: import("../index.ts").XL1BlockNumber;
658
+ chain: import("../index.ts").ChainId;
659
+ previous: import("@xylabs/hex").Hash | null;
660
+ protocol: number;
661
+ $epoch: number;
662
+ _hash: import("@xylabs/hex").Hash;
663
+ _dataHash: import("@xylabs/hex").Hash;
664
+ $destination?: import("@xylabs/hex").Address | undefined;
665
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
666
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
667
+ }, {
668
+ schema: string;
669
+ _hash: import("@xylabs/hex").Hash;
670
+ _dataHash: import("@xylabs/hex").Hash;
671
+ }[]];
672
+ export declare const asSignedHydratedBlockWithHashMeta: {
673
+ (value: unknown): [{
674
+ schema: "network.xyo.boundwitness";
675
+ addresses: import("@xylabs/hex").Address[];
676
+ payload_hashes: import("@xylabs/hex").Hash[];
677
+ payload_schemas: string[];
678
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
679
+ $signatures: (import("@xylabs/hex").Hex | null)[];
680
+ block: import("../index.ts").XL1BlockNumber;
681
+ chain: import("../index.ts").ChainId;
682
+ previous: import("@xylabs/hex").Hash | null;
683
+ protocol: number;
684
+ $epoch: number;
685
+ _hash: import("@xylabs/hex").Hash;
686
+ _dataHash: import("@xylabs/hex").Hash;
687
+ $destination?: import("@xylabs/hex").Address | undefined;
688
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
689
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
690
+ }, {
691
+ schema: string;
692
+ _hash: import("@xylabs/hex").Hash;
693
+ _dataHash: import("@xylabs/hex").Hash;
694
+ }[]] | undefined;
695
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
696
+ schema: "network.xyo.boundwitness";
697
+ addresses: import("@xylabs/hex").Address[];
698
+ payload_hashes: import("@xylabs/hex").Hash[];
699
+ payload_schemas: string[];
700
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
701
+ $signatures: (import("@xylabs/hex").Hex | null)[];
702
+ block: import("../index.ts").XL1BlockNumber;
703
+ chain: import("../index.ts").ChainId;
704
+ previous: import("@xylabs/hex").Hash | null;
705
+ protocol: number;
706
+ $epoch: number;
707
+ _hash: import("@xylabs/hex").Hash;
708
+ _dataHash: import("@xylabs/hex").Hash;
709
+ $destination?: import("@xylabs/hex").Address | undefined;
710
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
711
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
712
+ }, {
713
+ schema: string;
714
+ _hash: import("@xylabs/hex").Hash;
715
+ _dataHash: import("@xylabs/hex").Hash;
716
+ }[]];
717
+ };
718
+ export declare const toSignedHydratedBlockWithHashMeta: {
719
+ (value: unknown): [{
720
+ schema: "network.xyo.boundwitness";
721
+ addresses: import("@xylabs/hex").Address[];
722
+ payload_hashes: import("@xylabs/hex").Hash[];
723
+ payload_schemas: string[];
724
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
725
+ $signatures: (import("@xylabs/hex").Hex | null)[];
726
+ block: import("../index.ts").XL1BlockNumber;
727
+ chain: import("../index.ts").ChainId;
728
+ previous: import("@xylabs/hex").Hash | null;
729
+ protocol: number;
730
+ $epoch: number;
731
+ _hash: import("@xylabs/hex").Hash;
732
+ _dataHash: import("@xylabs/hex").Hash;
733
+ $destination?: import("@xylabs/hex").Address | undefined;
734
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
735
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
736
+ }, {
737
+ schema: string;
738
+ _hash: import("@xylabs/hex").Hash;
739
+ _dataHash: import("@xylabs/hex").Hash;
740
+ }[]] | undefined;
741
+ (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
742
+ schema: "network.xyo.boundwitness";
743
+ addresses: import("@xylabs/hex").Address[];
744
+ payload_hashes: import("@xylabs/hex").Hash[];
745
+ payload_schemas: string[];
746
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
747
+ $signatures: (import("@xylabs/hex").Hex | null)[];
748
+ block: import("../index.ts").XL1BlockNumber;
749
+ chain: import("../index.ts").ChainId;
750
+ previous: import("@xylabs/hex").Hash | null;
751
+ protocol: number;
752
+ $epoch: number;
753
+ _hash: import("@xylabs/hex").Hash;
754
+ _dataHash: import("@xylabs/hex").Hash;
755
+ $destination?: import("@xylabs/hex").Address | undefined;
756
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
757
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
758
+ }, {
759
+ schema: string;
760
+ _hash: import("@xylabs/hex").Hash;
761
+ _dataHash: import("@xylabs/hex").Hash;
762
+ }[]];
763
+ };
764
+ export declare const SignedHydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
765
+ schema: z.ZodLiteral<"network.xyo.boundwitness">;
766
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
767
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
768
+ payload_schemas: z.ZodArray<z.ZodString>;
769
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
770
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
771
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
772
+ $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
773
+ block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
774
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.ts").ChainId, string>>;
775
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
776
+ protocol: z.ZodNumber;
777
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
778
+ $epoch: z.ZodNumber;
779
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
780
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
781
+ _sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
782
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
783
+ schema: z.ZodString;
784
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
785
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
786
+ _sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
787
+ }, z.core.$strip>>], null>;
788
+ //# sourceMappingURL=HydratedBlock.d.ts.map