@xyo-network/xl1-protocol 1.24.38 → 1.24.40
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.
- package/dist/neutral/block/BlockBoundWitness.d.ts +137 -181
- package/dist/neutral/block/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/block/HydratedBlock.d.ts +218 -306
- package/dist/neutral/block/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/index.mjs +53 -48
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/model/AccountBalance.d.ts +12 -17
- package/dist/neutral/model/AccountBalance.d.ts.map +1 -1
- package/dist/neutral/model/ChainQualification.d.ts +2 -2
- package/dist/neutral/model/ChainQualification.d.ts.map +1 -1
- package/dist/neutral/model/Context/ChainContext.zod.d.ts +32 -44
- package/dist/neutral/model/Context/ChainContext.zod.d.ts.map +1 -1
- package/dist/neutral/model/Context/HeadContext.zod.d.ts +18 -24
- package/dist/neutral/model/Context/HeadContext.zod.d.ts.map +1 -1
- package/dist/neutral/model/HydratedTransaction.d.ts +153 -225
- package/dist/neutral/model/HydratedTransaction.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/block/BlockBoundWitness.ts +22 -10
- package/src/model/Context/HeadContext.zod.ts +3 -2
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const HydratedBlockZod: z.ZodTuple<[z.
|
|
2
|
+
export declare const HydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
3
|
+
$epoch: z.ZodNumber;
|
|
4
|
+
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
5
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
|
|
6
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
|
|
7
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
|
|
3
9
|
schema: z.ZodLiteral<"network.xyo.boundwitness" & {
|
|
4
10
|
readonly __schema: true;
|
|
5
11
|
}>;
|
|
@@ -18,19 +24,15 @@ export declare const HydratedBlockZod: z.ZodTuple<[z.ZodIntersection<z.ZodInters
|
|
|
18
24
|
}, string>>>;
|
|
19
25
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
|
|
20
26
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>, z.ZodNull]>>;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
23
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
|
|
24
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
|
|
25
|
-
protocol: z.ZodOptional<z.ZodNumber>;
|
|
26
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
|
|
27
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
28
|
-
$epoch: z.ZodNumber;
|
|
29
|
-
}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
27
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
30
28
|
schema: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>;
|
|
31
29
|
}, z.core.$strict>>], null>;
|
|
32
30
|
export type HydratedBlock = z.infer<typeof HydratedBlockZod>;
|
|
33
31
|
export declare const isHydratedBlock: <T>(value: T) => value is T & [{
|
|
32
|
+
$epoch: number;
|
|
33
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
34
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
35
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
34
36
|
schema: "network.xyo.boundwitness" & {
|
|
35
37
|
readonly __schema: true;
|
|
36
38
|
};
|
|
@@ -43,25 +45,23 @@ export declare const isHydratedBlock: <T>(value: T) => value is T & [{
|
|
|
43
45
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
44
46
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
45
47
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
48
|
+
protocol?: number | undefined;
|
|
49
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
46
50
|
$destination?: (Lowercase<string> & {
|
|
47
51
|
readonly __hex: true;
|
|
48
52
|
} & {
|
|
49
53
|
readonly __address: true;
|
|
50
54
|
}) | undefined;
|
|
51
55
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
52
|
-
} & {
|
|
53
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
54
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
55
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
56
|
-
protocol?: number | undefined;
|
|
57
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
58
|
-
} & {
|
|
59
|
-
$epoch: number;
|
|
60
56
|
}, {
|
|
61
57
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
62
58
|
}[]];
|
|
63
59
|
export declare const asHydratedBlock: {
|
|
64
60
|
<T>(value: T): (T & [{
|
|
61
|
+
$epoch: number;
|
|
62
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
63
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
64
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
65
65
|
schema: "network.xyo.boundwitness" & {
|
|
66
66
|
readonly __schema: true;
|
|
67
67
|
};
|
|
@@ -74,24 +74,22 @@ export declare const asHydratedBlock: {
|
|
|
74
74
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
75
75
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
76
76
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
77
|
+
protocol?: number | undefined;
|
|
78
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
77
79
|
$destination?: (Lowercase<string> & {
|
|
78
80
|
readonly __hex: true;
|
|
79
81
|
} & {
|
|
80
82
|
readonly __address: true;
|
|
81
83
|
}) | undefined;
|
|
82
84
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
83
|
-
} & {
|
|
84
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
85
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
86
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
87
|
-
protocol?: number | undefined;
|
|
88
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
89
|
-
} & {
|
|
90
|
-
$epoch: number;
|
|
91
85
|
}, {
|
|
92
86
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
93
87
|
}[]]) | undefined;
|
|
94
88
|
<T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & [{
|
|
89
|
+
$epoch: number;
|
|
90
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
91
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
92
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
95
93
|
schema: "network.xyo.boundwitness" & {
|
|
96
94
|
readonly __schema: true;
|
|
97
95
|
};
|
|
@@ -104,26 +102,24 @@ export declare const asHydratedBlock: {
|
|
|
104
102
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
105
103
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
106
104
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
105
|
+
protocol?: number | undefined;
|
|
106
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
107
107
|
$destination?: (Lowercase<string> & {
|
|
108
108
|
readonly __hex: true;
|
|
109
109
|
} & {
|
|
110
110
|
readonly __address: true;
|
|
111
111
|
}) | undefined;
|
|
112
112
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
113
|
-
} & {
|
|
114
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
115
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
116
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
117
|
-
protocol?: number | undefined;
|
|
118
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
119
|
-
} & {
|
|
120
|
-
$epoch: number;
|
|
121
113
|
}, {
|
|
122
114
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
123
115
|
}[]];
|
|
124
116
|
};
|
|
125
117
|
export declare const toHydratedBlock: {
|
|
126
118
|
<T>(value: T): (T & [{
|
|
119
|
+
$epoch: number;
|
|
120
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
121
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
122
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
127
123
|
schema: "network.xyo.boundwitness" & {
|
|
128
124
|
readonly __schema: true;
|
|
129
125
|
};
|
|
@@ -136,24 +132,22 @@ export declare const toHydratedBlock: {
|
|
|
136
132
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
137
133
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
138
134
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
135
|
+
protocol?: number | undefined;
|
|
136
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
139
137
|
$destination?: (Lowercase<string> & {
|
|
140
138
|
readonly __hex: true;
|
|
141
139
|
} & {
|
|
142
140
|
readonly __address: true;
|
|
143
141
|
}) | undefined;
|
|
144
142
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
145
|
-
} & {
|
|
146
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
147
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
148
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
149
|
-
protocol?: number | undefined;
|
|
150
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
151
|
-
} & {
|
|
152
|
-
$epoch: number;
|
|
153
143
|
}, {
|
|
154
144
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
155
145
|
}[]]) | undefined;
|
|
156
146
|
<T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & [{
|
|
147
|
+
$epoch: number;
|
|
148
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
149
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
150
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
157
151
|
schema: "network.xyo.boundwitness" & {
|
|
158
152
|
readonly __schema: true;
|
|
159
153
|
};
|
|
@@ -166,25 +160,25 @@ export declare const toHydratedBlock: {
|
|
|
166
160
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
167
161
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
168
162
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
163
|
+
protocol?: number | undefined;
|
|
164
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
169
165
|
$destination?: (Lowercase<string> & {
|
|
170
166
|
readonly __hex: true;
|
|
171
167
|
} & {
|
|
172
168
|
readonly __address: true;
|
|
173
169
|
}) | undefined;
|
|
174
170
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
175
|
-
} & {
|
|
176
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
177
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
178
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
179
|
-
protocol?: number | undefined;
|
|
180
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
181
|
-
} & {
|
|
182
|
-
$epoch: number;
|
|
183
171
|
}, {
|
|
184
172
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
185
173
|
}[]];
|
|
186
174
|
};
|
|
187
|
-
export declare const HydratedBlockWithHashMetaZod: z.ZodTuple<[z.
|
|
175
|
+
export declare const HydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
176
|
+
$epoch: z.ZodNumber;
|
|
177
|
+
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
178
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
|
|
179
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
|
|
180
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
|
|
188
182
|
schema: z.ZodLiteral<"network.xyo.boundwitness" & {
|
|
189
183
|
readonly __schema: true;
|
|
190
184
|
}>;
|
|
@@ -203,25 +197,19 @@ export declare const HydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodIntersection
|
|
|
203
197
|
}, string>>>;
|
|
204
198
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
|
|
205
199
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>, z.ZodNull]>>;
|
|
206
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
207
|
-
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
208
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
|
|
209
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
|
|
210
|
-
protocol: z.ZodOptional<z.ZodNumber>;
|
|
211
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
|
|
212
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
213
|
-
$epoch: z.ZodNumber;
|
|
214
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
215
200
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
216
201
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
217
|
-
}, z.core.$strip
|
|
202
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
218
203
|
schema: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>;
|
|
219
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
220
204
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
221
205
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
222
|
-
}, z.core.$strip
|
|
206
|
+
}, z.core.$strip>>], null>;
|
|
223
207
|
export type HydratedBlockWithHashMeta = z.infer<typeof HydratedBlockWithHashMetaZod>;
|
|
224
208
|
export declare const isHydratedBlockWithHashMeta: <T>(value: T) => value is T & [{
|
|
209
|
+
$epoch: number;
|
|
210
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
211
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
212
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
225
213
|
schema: "network.xyo.boundwitness" & {
|
|
226
214
|
readonly __schema: true;
|
|
227
215
|
};
|
|
@@ -234,31 +222,27 @@ export declare const isHydratedBlockWithHashMeta: <T>(value: T) => value is T &
|
|
|
234
222
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
235
223
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
236
224
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
225
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
226
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
227
|
+
protocol?: number | undefined;
|
|
228
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
237
229
|
$destination?: (Lowercase<string> & {
|
|
238
230
|
readonly __hex: true;
|
|
239
231
|
} & {
|
|
240
232
|
readonly __address: true;
|
|
241
233
|
}) | undefined;
|
|
242
234
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
243
|
-
}
|
|
244
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
245
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
246
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
247
|
-
protocol?: number | undefined;
|
|
248
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
249
|
-
} & {
|
|
250
|
-
$epoch: number;
|
|
251
|
-
} & {
|
|
252
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
253
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
254
|
-
}, ({
|
|
235
|
+
}, {
|
|
255
236
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
256
|
-
} & {
|
|
257
237
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
258
238
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
259
|
-
}
|
|
239
|
+
}[]];
|
|
260
240
|
export declare const asHydratedBlockWithHashMeta: {
|
|
261
241
|
<T>(value: T): (T & [{
|
|
242
|
+
$epoch: number;
|
|
243
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
244
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
245
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
262
246
|
schema: "network.xyo.boundwitness" & {
|
|
263
247
|
readonly __schema: true;
|
|
264
248
|
};
|
|
@@ -271,30 +255,26 @@ export declare const asHydratedBlockWithHashMeta: {
|
|
|
271
255
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
272
256
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
273
257
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
258
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
259
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
260
|
+
protocol?: number | undefined;
|
|
261
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
274
262
|
$destination?: (Lowercase<string> & {
|
|
275
263
|
readonly __hex: true;
|
|
276
264
|
} & {
|
|
277
265
|
readonly __address: true;
|
|
278
266
|
}) | undefined;
|
|
279
267
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
280
|
-
}
|
|
281
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
282
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
283
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
284
|
-
protocol?: number | undefined;
|
|
285
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
286
|
-
} & {
|
|
287
|
-
$epoch: number;
|
|
288
|
-
} & {
|
|
289
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
290
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
291
|
-
}, ({
|
|
268
|
+
}, {
|
|
292
269
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
293
|
-
} & {
|
|
294
270
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
295
271
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
296
|
-
}
|
|
272
|
+
}[]]) | undefined;
|
|
297
273
|
<T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & [{
|
|
274
|
+
$epoch: number;
|
|
275
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
276
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
277
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
298
278
|
schema: "network.xyo.boundwitness" & {
|
|
299
279
|
readonly __schema: true;
|
|
300
280
|
};
|
|
@@ -307,32 +287,28 @@ export declare const asHydratedBlockWithHashMeta: {
|
|
|
307
287
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
308
288
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
309
289
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
290
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
291
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
292
|
+
protocol?: number | undefined;
|
|
293
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
310
294
|
$destination?: (Lowercase<string> & {
|
|
311
295
|
readonly __hex: true;
|
|
312
296
|
} & {
|
|
313
297
|
readonly __address: true;
|
|
314
298
|
}) | undefined;
|
|
315
299
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
316
|
-
}
|
|
317
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
318
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
319
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
320
|
-
protocol?: number | undefined;
|
|
321
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
322
|
-
} & {
|
|
323
|
-
$epoch: number;
|
|
324
|
-
} & {
|
|
325
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
326
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
327
|
-
}, ({
|
|
300
|
+
}, {
|
|
328
301
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
329
|
-
} & {
|
|
330
302
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
331
303
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
332
|
-
}
|
|
304
|
+
}[]];
|
|
333
305
|
};
|
|
334
306
|
export declare const toHydratedBlockWithHashMeta: {
|
|
335
307
|
<T>(value: T): (T & [{
|
|
308
|
+
$epoch: number;
|
|
309
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
310
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
311
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
336
312
|
schema: "network.xyo.boundwitness" & {
|
|
337
313
|
readonly __schema: true;
|
|
338
314
|
};
|
|
@@ -345,30 +321,26 @@ export declare const toHydratedBlockWithHashMeta: {
|
|
|
345
321
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
346
322
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
347
323
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
324
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
325
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
326
|
+
protocol?: number | undefined;
|
|
327
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
348
328
|
$destination?: (Lowercase<string> & {
|
|
349
329
|
readonly __hex: true;
|
|
350
330
|
} & {
|
|
351
331
|
readonly __address: true;
|
|
352
332
|
}) | undefined;
|
|
353
333
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
354
|
-
}
|
|
355
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
356
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
357
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
358
|
-
protocol?: number | undefined;
|
|
359
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
360
|
-
} & {
|
|
361
|
-
$epoch: number;
|
|
362
|
-
} & {
|
|
363
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
364
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
365
|
-
}, ({
|
|
334
|
+
}, {
|
|
366
335
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
367
|
-
} & {
|
|
368
336
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
369
337
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
370
|
-
}
|
|
338
|
+
}[]]) | undefined;
|
|
371
339
|
<T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & [{
|
|
340
|
+
$epoch: number;
|
|
341
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
342
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
343
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
372
344
|
schema: "network.xyo.boundwitness" & {
|
|
373
345
|
readonly __schema: true;
|
|
374
346
|
};
|
|
@@ -381,31 +353,29 @@ export declare const toHydratedBlockWithHashMeta: {
|
|
|
381
353
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
382
354
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
383
355
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
356
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
357
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
358
|
+
protocol?: number | undefined;
|
|
359
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
384
360
|
$destination?: (Lowercase<string> & {
|
|
385
361
|
readonly __hex: true;
|
|
386
362
|
} & {
|
|
387
363
|
readonly __address: true;
|
|
388
364
|
}) | undefined;
|
|
389
365
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
390
|
-
}
|
|
391
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
392
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
393
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
394
|
-
protocol?: number | undefined;
|
|
395
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
396
|
-
} & {
|
|
397
|
-
$epoch: number;
|
|
398
|
-
} & {
|
|
399
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
400
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
401
|
-
}, ({
|
|
366
|
+
}, {
|
|
402
367
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
403
|
-
} & {
|
|
404
368
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
405
369
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
406
|
-
}
|
|
370
|
+
}[]];
|
|
407
371
|
};
|
|
408
|
-
export declare const HydratedBlockWithStorageMetaZod: z.ZodTuple<[z.
|
|
372
|
+
export declare const HydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
373
|
+
$epoch: z.ZodNumber;
|
|
374
|
+
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
375
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
|
|
376
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
|
|
377
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
|
|
409
379
|
schema: z.ZodLiteral<"network.xyo.boundwitness" & {
|
|
410
380
|
readonly __schema: true;
|
|
411
381
|
}>;
|
|
@@ -424,27 +394,21 @@ export declare const HydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodIntersect
|
|
|
424
394
|
}, string>>>;
|
|
425
395
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
|
|
426
396
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>, z.ZodNull]>>;
|
|
427
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
428
|
-
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
429
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
|
|
430
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
|
|
431
|
-
protocol: z.ZodOptional<z.ZodNumber>;
|
|
432
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
|
|
433
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
434
|
-
$epoch: z.ZodNumber;
|
|
435
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
436
397
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
437
398
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
438
399
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").QualifiedSequence, string>>]>;
|
|
439
|
-
}, z.core.$strip
|
|
400
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
440
401
|
schema: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>;
|
|
441
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
442
402
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
443
403
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
444
404
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").QualifiedSequence, string>>]>;
|
|
445
|
-
}, z.core.$strip
|
|
405
|
+
}, z.core.$strip>>], null>;
|
|
446
406
|
export type HydratedBlockWithStorageMeta = z.infer<typeof HydratedBlockWithStorageMetaZod>;
|
|
447
407
|
export declare const isHydratedBlockWithStorageMeta: <T>(value: T) => value is T & [{
|
|
408
|
+
$epoch: number;
|
|
409
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
410
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
411
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
448
412
|
schema: "network.xyo.boundwitness" & {
|
|
449
413
|
readonly __schema: true;
|
|
450
414
|
};
|
|
@@ -457,33 +421,29 @@ export declare const isHydratedBlockWithStorageMeta: <T>(value: T) => value is T
|
|
|
457
421
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
458
422
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
459
423
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
424
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
425
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
426
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
427
|
+
protocol?: number | undefined;
|
|
428
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
460
429
|
$destination?: (Lowercase<string> & {
|
|
461
430
|
readonly __hex: true;
|
|
462
431
|
} & {
|
|
463
432
|
readonly __address: true;
|
|
464
433
|
}) | undefined;
|
|
465
434
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
466
|
-
}
|
|
467
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
468
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
469
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
470
|
-
protocol?: number | undefined;
|
|
471
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
472
|
-
} & {
|
|
473
|
-
$epoch: number;
|
|
474
|
-
} & {
|
|
475
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
476
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
477
|
-
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
478
|
-
}, ({
|
|
435
|
+
}, {
|
|
479
436
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
480
|
-
} & {
|
|
481
437
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
482
438
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
483
439
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
484
|
-
}
|
|
440
|
+
}[]];
|
|
485
441
|
export declare const asHydratedBlockWithStorageMeta: {
|
|
486
442
|
<T>(value: T): (T & [{
|
|
443
|
+
$epoch: number;
|
|
444
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
445
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
446
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
487
447
|
schema: "network.xyo.boundwitness" & {
|
|
488
448
|
readonly __schema: true;
|
|
489
449
|
};
|
|
@@ -496,32 +456,28 @@ export declare const asHydratedBlockWithStorageMeta: {
|
|
|
496
456
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
497
457
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
498
458
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
459
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
460
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
461
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
462
|
+
protocol?: number | undefined;
|
|
463
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
499
464
|
$destination?: (Lowercase<string> & {
|
|
500
465
|
readonly __hex: true;
|
|
501
466
|
} & {
|
|
502
467
|
readonly __address: true;
|
|
503
468
|
}) | undefined;
|
|
504
469
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
505
|
-
}
|
|
506
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
507
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
508
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
509
|
-
protocol?: number | undefined;
|
|
510
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
511
|
-
} & {
|
|
512
|
-
$epoch: number;
|
|
513
|
-
} & {
|
|
514
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
515
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
516
|
-
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
517
|
-
}, ({
|
|
470
|
+
}, {
|
|
518
471
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
519
|
-
} & {
|
|
520
472
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
521
473
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
522
474
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
523
|
-
}
|
|
475
|
+
}[]]) | undefined;
|
|
524
476
|
<T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & [{
|
|
477
|
+
$epoch: number;
|
|
478
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
479
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
480
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
525
481
|
schema: "network.xyo.boundwitness" & {
|
|
526
482
|
readonly __schema: true;
|
|
527
483
|
};
|
|
@@ -534,34 +490,30 @@ export declare const asHydratedBlockWithStorageMeta: {
|
|
|
534
490
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
535
491
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
536
492
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
493
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
494
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
495
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
496
|
+
protocol?: number | undefined;
|
|
497
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
537
498
|
$destination?: (Lowercase<string> & {
|
|
538
499
|
readonly __hex: true;
|
|
539
500
|
} & {
|
|
540
501
|
readonly __address: true;
|
|
541
502
|
}) | undefined;
|
|
542
503
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
543
|
-
}
|
|
544
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
545
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
546
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
547
|
-
protocol?: number | undefined;
|
|
548
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
549
|
-
} & {
|
|
550
|
-
$epoch: number;
|
|
551
|
-
} & {
|
|
552
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
553
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
554
|
-
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
555
|
-
}, ({
|
|
504
|
+
}, {
|
|
556
505
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
557
|
-
} & {
|
|
558
506
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
559
507
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
560
508
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
561
|
-
}
|
|
509
|
+
}[]];
|
|
562
510
|
};
|
|
563
511
|
export declare const toHydratedBlockWithStorageMeta: {
|
|
564
512
|
<T>(value: T): (T & [{
|
|
513
|
+
$epoch: number;
|
|
514
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
515
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
516
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
565
517
|
schema: "network.xyo.boundwitness" & {
|
|
566
518
|
readonly __schema: true;
|
|
567
519
|
};
|
|
@@ -574,32 +526,28 @@ export declare const toHydratedBlockWithStorageMeta: {
|
|
|
574
526
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
575
527
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
576
528
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
529
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
530
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
531
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
532
|
+
protocol?: number | undefined;
|
|
533
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
577
534
|
$destination?: (Lowercase<string> & {
|
|
578
535
|
readonly __hex: true;
|
|
579
536
|
} & {
|
|
580
537
|
readonly __address: true;
|
|
581
538
|
}) | undefined;
|
|
582
539
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
583
|
-
}
|
|
584
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
585
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
586
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
587
|
-
protocol?: number | undefined;
|
|
588
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
589
|
-
} & {
|
|
590
|
-
$epoch: number;
|
|
591
|
-
} & {
|
|
592
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
593
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
594
|
-
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
595
|
-
}, ({
|
|
540
|
+
}, {
|
|
596
541
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
597
|
-
} & {
|
|
598
542
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
599
543
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
600
544
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
601
|
-
}
|
|
545
|
+
}[]]) | undefined;
|
|
602
546
|
<T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & [{
|
|
547
|
+
$epoch: number;
|
|
548
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
549
|
+
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
550
|
+
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
603
551
|
schema: "network.xyo.boundwitness" & {
|
|
604
552
|
readonly __schema: true;
|
|
605
553
|
};
|
|
@@ -612,31 +560,23 @@ export declare const toHydratedBlockWithStorageMeta: {
|
|
|
612
560
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
613
561
|
previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
|
|
614
562
|
$signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
|
|
563
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
564
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
565
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
566
|
+
protocol?: number | undefined;
|
|
567
|
+
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
615
568
|
$destination?: (Lowercase<string> & {
|
|
616
569
|
readonly __hex: true;
|
|
617
570
|
} & {
|
|
618
571
|
readonly __address: true;
|
|
619
572
|
}) | undefined;
|
|
620
573
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
621
|
-
}
|
|
622
|
-
block: import("../index.ts").XL1BlockNumber;
|
|
623
|
-
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
624
|
-
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
625
|
-
protocol?: number | undefined;
|
|
626
|
-
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
627
|
-
} & {
|
|
628
|
-
$epoch: number;
|
|
629
|
-
} & {
|
|
630
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
631
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
632
|
-
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
633
|
-
}, ({
|
|
574
|
+
}, {
|
|
634
575
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
635
|
-
} & {
|
|
636
576
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
637
577
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
638
578
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
639
|
-
}
|
|
579
|
+
}[]];
|
|
640
580
|
};
|
|
641
581
|
export declare const SignedHydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
642
582
|
schema: z.ZodLiteral<"network.xyo.boundwitness" & {
|
|
@@ -984,7 +924,7 @@ export declare const toSignedHydratedBlockToJson: {
|
|
|
984
924
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
985
925
|
}[]];
|
|
986
926
|
};
|
|
987
|
-
export declare const SignedHydratedBlockWithHashMetaZod: z.ZodTuple<[z.
|
|
927
|
+
export declare const SignedHydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
988
928
|
schema: z.ZodLiteral<"network.xyo.boundwitness" & {
|
|
989
929
|
readonly __schema: true;
|
|
990
930
|
}>;
|
|
@@ -1009,17 +949,15 @@ export declare const SignedHydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodInters
|
|
|
1009
949
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
1010
950
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
|
|
1011
951
|
$epoch: z.ZodNumber;
|
|
1012
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1013
952
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1014
953
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1015
|
-
}, z.core.$strip
|
|
954
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1016
955
|
schema: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>;
|
|
1017
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1018
956
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1019
957
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1020
|
-
}, z.core.$strip
|
|
958
|
+
}, z.core.$strip>>], null>;
|
|
1021
959
|
export type SignedHydratedBlockWithHashMeta = z.infer<typeof SignedHydratedBlockWithHashMetaZod>;
|
|
1022
|
-
export declare const SignedHydratedBlockWithHashMetaishZod: z.ZodTuple<[z.ZodUnion<readonly [z.
|
|
960
|
+
export declare const SignedHydratedBlockWithHashMetaishZod: z.ZodTuple<[z.ZodUnion<readonly [z.ZodObject<{
|
|
1023
961
|
schema: z.ZodLiteral<"network.xyo.boundwitness" & {
|
|
1024
962
|
readonly __schema: true;
|
|
1025
963
|
}>;
|
|
@@ -1044,15 +982,13 @@ export declare const SignedHydratedBlockWithHashMetaishZod: z.ZodTuple<[z.ZodUni
|
|
|
1044
982
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
1045
983
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
|
|
1046
984
|
$epoch: z.ZodNumber;
|
|
1047
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1048
985
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1049
986
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1050
|
-
}, z.core.$strip
|
|
987
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodObject<{
|
|
1051
988
|
schema: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>;
|
|
1052
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1053
989
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1054
990
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1055
|
-
}, z.core.$strip
|
|
991
|
+
}, z.core.$strip>>], null>;
|
|
1056
992
|
export declare const isSignedHydratedBlockWithHashMeta: <T>(value: T) => value is T & [{
|
|
1057
993
|
schema: "network.xyo.boundwitness" & {
|
|
1058
994
|
readonly __schema: true;
|
|
@@ -1070,6 +1006,8 @@ export declare const isSignedHydratedBlockWithHashMeta: <T>(value: T) => value i
|
|
|
1070
1006
|
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
1071
1007
|
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
1072
1008
|
$epoch: number;
|
|
1009
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1010
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1073
1011
|
$destination?: (Lowercase<string> & {
|
|
1074
1012
|
readonly __hex: true;
|
|
1075
1013
|
} & {
|
|
@@ -1078,15 +1016,11 @@ export declare const isSignedHydratedBlockWithHashMeta: <T>(value: T) => value i
|
|
|
1078
1016
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
1079
1017
|
protocol?: number | undefined;
|
|
1080
1018
|
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
1081
|
-
}
|
|
1082
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1083
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1084
|
-
}, ({
|
|
1019
|
+
}, {
|
|
1085
1020
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
1086
|
-
} & {
|
|
1087
1021
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1088
1022
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1089
|
-
}
|
|
1023
|
+
}[]];
|
|
1090
1024
|
export declare const asSignedHydratedBlockWithHashMeta: {
|
|
1091
1025
|
<T>(value: T): (T & [{
|
|
1092
1026
|
schema: "network.xyo.boundwitness" & {
|
|
@@ -1105,6 +1039,8 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
1105
1039
|
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
1106
1040
|
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
1107
1041
|
$epoch: number;
|
|
1042
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1043
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1108
1044
|
$destination?: (Lowercase<string> & {
|
|
1109
1045
|
readonly __hex: true;
|
|
1110
1046
|
} & {
|
|
@@ -1113,15 +1049,11 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
1113
1049
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
1114
1050
|
protocol?: number | undefined;
|
|
1115
1051
|
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
1116
|
-
}
|
|
1117
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1118
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1119
|
-
}, ({
|
|
1052
|
+
}, {
|
|
1120
1053
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
1121
|
-
} & {
|
|
1122
1054
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1123
1055
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1124
|
-
}
|
|
1056
|
+
}[]]) | undefined;
|
|
1125
1057
|
<T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & [{
|
|
1126
1058
|
schema: "network.xyo.boundwitness" & {
|
|
1127
1059
|
readonly __schema: true;
|
|
@@ -1139,6 +1071,8 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
1139
1071
|
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
1140
1072
|
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
1141
1073
|
$epoch: number;
|
|
1074
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1075
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1142
1076
|
$destination?: (Lowercase<string> & {
|
|
1143
1077
|
readonly __hex: true;
|
|
1144
1078
|
} & {
|
|
@@ -1147,15 +1081,11 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
1147
1081
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
1148
1082
|
protocol?: number | undefined;
|
|
1149
1083
|
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
1150
|
-
}
|
|
1151
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1152
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1153
|
-
}, ({
|
|
1084
|
+
}, {
|
|
1154
1085
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
1155
|
-
} & {
|
|
1156
1086
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1157
1087
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1158
|
-
}
|
|
1088
|
+
}[]];
|
|
1159
1089
|
};
|
|
1160
1090
|
export declare const toSignedHydratedBlockWithHashMeta: {
|
|
1161
1091
|
<T>(value: T): (T & [{
|
|
@@ -1175,6 +1105,8 @@ export declare const toSignedHydratedBlockWithHashMeta: {
|
|
|
1175
1105
|
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
1176
1106
|
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
1177
1107
|
$epoch: number;
|
|
1108
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1109
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1178
1110
|
$destination?: (Lowercase<string> & {
|
|
1179
1111
|
readonly __hex: true;
|
|
1180
1112
|
} & {
|
|
@@ -1183,15 +1115,11 @@ export declare const toSignedHydratedBlockWithHashMeta: {
|
|
|
1183
1115
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
1184
1116
|
protocol?: number | undefined;
|
|
1185
1117
|
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
1186
|
-
}
|
|
1187
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1188
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1189
|
-
}, ({
|
|
1118
|
+
}, {
|
|
1190
1119
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
1191
|
-
} & {
|
|
1192
1120
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1193
1121
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1194
|
-
}
|
|
1122
|
+
}[]]) | undefined;
|
|
1195
1123
|
<T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & [{
|
|
1196
1124
|
schema: "network.xyo.boundwitness" & {
|
|
1197
1125
|
readonly __schema: true;
|
|
@@ -1209,6 +1137,8 @@ export declare const toSignedHydratedBlockWithHashMeta: {
|
|
|
1209
1137
|
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
1210
1138
|
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
1211
1139
|
$epoch: number;
|
|
1140
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1141
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1212
1142
|
$destination?: (Lowercase<string> & {
|
|
1213
1143
|
readonly __hex: true;
|
|
1214
1144
|
} & {
|
|
@@ -1217,17 +1147,13 @@ export declare const toSignedHydratedBlockWithHashMeta: {
|
|
|
1217
1147
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
1218
1148
|
protocol?: number | undefined;
|
|
1219
1149
|
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
1220
|
-
}
|
|
1221
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1222
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1223
|
-
}, ({
|
|
1150
|
+
}, {
|
|
1224
1151
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
1225
|
-
} & {
|
|
1226
1152
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1227
1153
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1228
|
-
}
|
|
1154
|
+
}[]];
|
|
1229
1155
|
};
|
|
1230
|
-
export declare const SignedHydratedBlockWithStorageMetaZod: z.ZodTuple<[z.
|
|
1156
|
+
export declare const SignedHydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
1231
1157
|
schema: z.ZodLiteral<"network.xyo.boundwitness" & {
|
|
1232
1158
|
readonly __schema: true;
|
|
1233
1159
|
}>;
|
|
@@ -1252,17 +1178,15 @@ export declare const SignedHydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodInt
|
|
|
1252
1178
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
1253
1179
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
|
|
1254
1180
|
$epoch: z.ZodNumber;
|
|
1255
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1256
1181
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1257
1182
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1258
1183
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").QualifiedSequence, string>>]>;
|
|
1259
|
-
}, z.core.$strip
|
|
1184
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1260
1185
|
schema: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>;
|
|
1261
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1262
1186
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1263
1187
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1264
1188
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").QualifiedSequence, string>>]>;
|
|
1265
|
-
}, z.core.$strip
|
|
1189
|
+
}, z.core.$strip>>], null>;
|
|
1266
1190
|
export type SignedHydratedBlockWithStorageMeta = z.infer<typeof SignedHydratedBlockWithStorageMetaZod>;
|
|
1267
1191
|
export declare const isSignedHydratedBlockWithStorageMeta: <T>(value: T) => value is T & [{
|
|
1268
1192
|
schema: "network.xyo.boundwitness" & {
|
|
@@ -1281,6 +1205,9 @@ export declare const isSignedHydratedBlockWithStorageMeta: <T>(value: T) => valu
|
|
|
1281
1205
|
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
1282
1206
|
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
1283
1207
|
$epoch: number;
|
|
1208
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1209
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1210
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1284
1211
|
$destination?: (Lowercase<string> & {
|
|
1285
1212
|
readonly __hex: true;
|
|
1286
1213
|
} & {
|
|
@@ -1289,17 +1216,12 @@ export declare const isSignedHydratedBlockWithStorageMeta: <T>(value: T) => valu
|
|
|
1289
1216
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
1290
1217
|
protocol?: number | undefined;
|
|
1291
1218
|
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
1292
|
-
}
|
|
1293
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1294
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1295
|
-
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1296
|
-
}, ({
|
|
1219
|
+
}, {
|
|
1297
1220
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
1298
|
-
} & {
|
|
1299
1221
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1300
1222
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1301
1223
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1302
|
-
}
|
|
1224
|
+
}[]];
|
|
1303
1225
|
export declare const asSignedHydratedBlockWithStorageMeta: {
|
|
1304
1226
|
<T>(value: T): (T & [{
|
|
1305
1227
|
schema: "network.xyo.boundwitness" & {
|
|
@@ -1318,6 +1240,9 @@ export declare const asSignedHydratedBlockWithStorageMeta: {
|
|
|
1318
1240
|
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
1319
1241
|
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
1320
1242
|
$epoch: number;
|
|
1243
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1244
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1245
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1321
1246
|
$destination?: (Lowercase<string> & {
|
|
1322
1247
|
readonly __hex: true;
|
|
1323
1248
|
} & {
|
|
@@ -1326,17 +1251,12 @@ export declare const asSignedHydratedBlockWithStorageMeta: {
|
|
|
1326
1251
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
1327
1252
|
protocol?: number | undefined;
|
|
1328
1253
|
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
1329
|
-
}
|
|
1330
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1331
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1332
|
-
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1333
|
-
}, ({
|
|
1254
|
+
}, {
|
|
1334
1255
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
1335
|
-
} & {
|
|
1336
1256
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1337
1257
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1338
1258
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1339
|
-
}
|
|
1259
|
+
}[]]) | undefined;
|
|
1340
1260
|
<T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & [{
|
|
1341
1261
|
schema: "network.xyo.boundwitness" & {
|
|
1342
1262
|
readonly __schema: true;
|
|
@@ -1354,6 +1274,9 @@ export declare const asSignedHydratedBlockWithStorageMeta: {
|
|
|
1354
1274
|
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
1355
1275
|
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
1356
1276
|
$epoch: number;
|
|
1277
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1278
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1279
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1357
1280
|
$destination?: (Lowercase<string> & {
|
|
1358
1281
|
readonly __hex: true;
|
|
1359
1282
|
} & {
|
|
@@ -1362,17 +1285,12 @@ export declare const asSignedHydratedBlockWithStorageMeta: {
|
|
|
1362
1285
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
1363
1286
|
protocol?: number | undefined;
|
|
1364
1287
|
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
1365
|
-
}
|
|
1366
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1367
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1368
|
-
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1369
|
-
}, ({
|
|
1288
|
+
}, {
|
|
1370
1289
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
1371
|
-
} & {
|
|
1372
1290
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1373
1291
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1374
1292
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1375
|
-
}
|
|
1293
|
+
}[]];
|
|
1376
1294
|
};
|
|
1377
1295
|
export declare const toSignedHydratedBlockWithStorageMeta: {
|
|
1378
1296
|
<T>(value: T): (T & [{
|
|
@@ -1392,6 +1310,9 @@ export declare const toSignedHydratedBlockWithStorageMeta: {
|
|
|
1392
1310
|
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
1393
1311
|
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
1394
1312
|
$epoch: number;
|
|
1313
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1314
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1315
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1395
1316
|
$destination?: (Lowercase<string> & {
|
|
1396
1317
|
readonly __hex: true;
|
|
1397
1318
|
} & {
|
|
@@ -1400,17 +1321,12 @@ export declare const toSignedHydratedBlockWithStorageMeta: {
|
|
|
1400
1321
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
1401
1322
|
protocol?: number | undefined;
|
|
1402
1323
|
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
1403
|
-
}
|
|
1404
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1405
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1406
|
-
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1407
|
-
}, ({
|
|
1324
|
+
}, {
|
|
1408
1325
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
1409
|
-
} & {
|
|
1410
1326
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1411
1327
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1412
1328
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1413
|
-
}
|
|
1329
|
+
}[]]) | undefined;
|
|
1414
1330
|
<T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & [{
|
|
1415
1331
|
schema: "network.xyo.boundwitness" & {
|
|
1416
1332
|
readonly __schema: true;
|
|
@@ -1428,6 +1344,9 @@ export declare const toSignedHydratedBlockWithStorageMeta: {
|
|
|
1428
1344
|
chain: import("@xylabs/sdk-js").BrandedHex;
|
|
1429
1345
|
previous: import("@xylabs/sdk-js").BrandedHash | null;
|
|
1430
1346
|
$epoch: number;
|
|
1347
|
+
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1348
|
+
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1349
|
+
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1431
1350
|
$destination?: (Lowercase<string> & {
|
|
1432
1351
|
readonly __hex: true;
|
|
1433
1352
|
} & {
|
|
@@ -1436,19 +1355,14 @@ export declare const toSignedHydratedBlockWithStorageMeta: {
|
|
|
1436
1355
|
$sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
|
|
1437
1356
|
protocol?: number | undefined;
|
|
1438
1357
|
step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
|
|
1439
|
-
}
|
|
1440
|
-
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1441
|
-
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1442
|
-
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1443
|
-
}, ({
|
|
1358
|
+
}, {
|
|
1444
1359
|
schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
|
|
1445
|
-
} & {
|
|
1446
1360
|
_hash: import("@xylabs/sdk-js").BrandedHash;
|
|
1447
1361
|
_dataHash: import("@xylabs/sdk-js").BrandedHash;
|
|
1448
1362
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
1449
|
-
}
|
|
1363
|
+
}[]];
|
|
1450
1364
|
};
|
|
1451
|
-
export declare const SignedHydratedBlockWithStorageMetaishZod: z.ZodTuple<[z.ZodUnion<readonly [z.
|
|
1365
|
+
export declare const SignedHydratedBlockWithStorageMetaishZod: z.ZodTuple<[z.ZodUnion<readonly [z.ZodObject<{
|
|
1452
1366
|
schema: z.ZodLiteral<"network.xyo.boundwitness" & {
|
|
1453
1367
|
readonly __schema: true;
|
|
1454
1368
|
}>;
|
|
@@ -1473,15 +1387,13 @@ export declare const SignedHydratedBlockWithStorageMetaishZod: z.ZodTuple<[z.Zod
|
|
|
1473
1387
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
1474
1388
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
|
|
1475
1389
|
$epoch: z.ZodNumber;
|
|
1476
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1477
1390
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1478
1391
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1479
1392
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").QualifiedSequence, string>>]>;
|
|
1480
|
-
}, z.core.$strip
|
|
1393
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodObject<{
|
|
1481
1394
|
schema: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>;
|
|
1482
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1483
1395
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1484
1396
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
|
|
1485
1397
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").QualifiedSequence, string>>]>;
|
|
1486
|
-
}, z.core.$strip
|
|
1398
|
+
}, z.core.$strip>>], null>;
|
|
1487
1399
|
//# sourceMappingURL=HydratedBlock.d.ts.map
|