@xyo-network/xl1-protocol 1.14.17 → 1.18.2

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 (110) hide show
  1. package/dist/neutral/block/AllowedBlockPayload.d.ts +4 -12
  2. package/dist/neutral/block/AllowedBlockPayload.d.ts.map +1 -1
  3. package/dist/neutral/index.mjs +29 -29
  4. package/dist/neutral/index.mjs.map +1 -1
  5. package/dist/neutral/model/BlockNumber/BlockNumber.d.ts +1 -1
  6. package/dist/neutral/model/BlockNumber/BlockNumber.d.ts.map +1 -1
  7. package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts +1 -1
  8. package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts.map +1 -1
  9. package/dist/neutral/model/BlockNumber/Numberish.d.ts +1 -1
  10. package/dist/neutral/model/BlockNumber/Numberish.d.ts.map +1 -1
  11. package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts +1 -1
  12. package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts.map +1 -1
  13. package/dist/neutral/model/BlockRange/BlockRange.d.ts +1 -1
  14. package/dist/neutral/model/BlockRange/BlockRange.d.ts.map +1 -1
  15. package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +1 -1
  16. package/dist/neutral/model/BlockRange/EthBlockRange.d.ts.map +1 -1
  17. package/dist/neutral/model/BlockRange/Numberish.d.ts +1 -1
  18. package/dist/neutral/model/BlockRange/Numberish.d.ts.map +1 -1
  19. package/dist/neutral/model/BlockRange/Range.d.ts +1 -1
  20. package/dist/neutral/model/BlockRange/Range.d.ts.map +1 -1
  21. package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts +1 -1
  22. package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts.map +1 -1
  23. package/dist/neutral/model/StepIdentity.d.ts +1 -1
  24. package/dist/neutral/model/StepIdentity.d.ts.map +1 -1
  25. package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +11 -11
  26. package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -1
  27. package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts +20 -20
  28. package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts.map +1 -1
  29. package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts +10 -10
  30. package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -1
  31. package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +11 -11
  32. package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -1
  33. package/dist/neutral/payload/elevatable/Time.d.ts +16 -16
  34. package/dist/neutral/payload/elevatable/Time.d.ts.map +1 -1
  35. package/dist/neutral/payload/elevatable/TransferPayload.d.ts +45 -13
  36. package/dist/neutral/payload/elevatable/TransferPayload.d.ts.map +1 -1
  37. package/dist/neutral/xl1/isXL1Factory.d.ts +1 -1
  38. package/dist/neutral/xl1/isXL1Factory.d.ts.map +1 -1
  39. package/dist/neutral/zod/ArrayBuffer.d.ts +1 -1
  40. package/dist/neutral/zod/ArrayBuffer.d.ts.map +1 -1
  41. package/dist/neutral/zod/Chain.d.ts +2 -2
  42. package/dist/neutral/zod/Chain.d.ts.map +1 -1
  43. package/dist/neutral/zod/HydratedBlock.d.ts +853 -501
  44. package/dist/neutral/zod/HydratedBlock.d.ts.map +1 -1
  45. package/dist/neutral/zod/HydratedTransaction.d.ts +1471 -823
  46. package/dist/neutral/zod/HydratedTransaction.d.ts.map +1 -1
  47. package/dist/neutral/zod/RewardsRangeOptions.d.ts +5 -1
  48. package/dist/neutral/zod/RewardsRangeOptions.d.ts.map +1 -1
  49. package/dist/neutral/zod/Sequence.d.ts +1 -1
  50. package/dist/neutral/zod/Sequence.d.ts.map +1 -1
  51. package/dist/neutral/zod/Stake.d.ts +74 -18
  52. package/dist/neutral/zod/Stake.d.ts.map +1 -1
  53. package/dist/neutral/zod/TimeDomain.d.ts +1 -1
  54. package/dist/neutral/zod/TimeDomain.d.ts.map +1 -1
  55. package/dist/neutral/zod/TransactionBoundWitness.d.ts +1407 -751
  56. package/dist/neutral/zod/TransactionBoundWitness.d.ts.map +1 -1
  57. package/dist/neutral/zod/TransactionFees.d.ts +39 -39
  58. package/dist/neutral/zod/TransactionFees.d.ts.map +1 -1
  59. package/dist/neutral/zod/TransferPair.d.ts +10 -2
  60. package/dist/neutral/zod/TransferPair.d.ts.map +1 -1
  61. package/dist/neutral/zod/block/BlockBoundWitness.d.ts +334 -190
  62. package/dist/neutral/zod/block/BlockBoundWitness.d.ts.map +1 -1
  63. package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts +103 -55
  64. package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts.map +1 -1
  65. package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +185 -105
  66. package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -1
  67. package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +219 -123
  68. package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
  69. package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts +97 -49
  70. package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -1
  71. package/dist/neutral/zod/payload/WithHashMetaish.d.ts +8 -8
  72. package/dist/neutral/zod/payload/WithHashMetaish.d.ts.map +1 -1
  73. package/dist/neutral/zod/payload/WithStorageMetaish.d.ts +8 -8
  74. package/dist/neutral/zod/payload/WithStorageMetaish.d.ts.map +1 -1
  75. package/package.json +31 -31
  76. package/src/block/AllowedBlockPayload.ts +3 -3
  77. package/src/model/BlockNumber/BlockNumber.ts +1 -1
  78. package/src/model/BlockNumber/EthBlockNumber.ts +1 -1
  79. package/src/model/BlockNumber/Numberish.ts +1 -1
  80. package/src/model/BlockNumber/XL1BlockNumber.ts +1 -1
  81. package/src/model/BlockRange/BlockRange.ts +1 -1
  82. package/src/model/BlockRange/EthBlockRange.ts +1 -1
  83. package/src/model/BlockRange/Numberish.ts +1 -1
  84. package/src/model/BlockRange/Range.ts +1 -1
  85. package/src/model/BlockRange/XL1BlockRange.ts +1 -1
  86. package/src/model/StepIdentity.ts +1 -1
  87. package/src/payload/elevatable/Bridge/BridgeDestinationObservation.ts +1 -1
  88. package/src/payload/elevatable/Bridge/BridgeDetails.ts +1 -1
  89. package/src/payload/elevatable/Bridge/BridgeIntent.ts +1 -1
  90. package/src/payload/elevatable/Bridge/BridgeSourceObservation.ts +1 -1
  91. package/src/payload/elevatable/Time.ts +1 -1
  92. package/src/payload/elevatable/TransferPayload.ts +1 -1
  93. package/src/xl1/isXL1Factory.ts +1 -1
  94. package/src/zod/ArrayBuffer.ts +1 -1
  95. package/src/zod/Chain.ts +1 -1
  96. package/src/zod/HydratedBlock.ts +1 -1
  97. package/src/zod/HydratedTransaction.ts +3 -3
  98. package/src/zod/Sequence.ts +1 -1
  99. package/src/zod/Stake.ts +1 -1
  100. package/src/zod/TimeDomain.ts +1 -1
  101. package/src/zod/TransactionBoundWitness.ts +1 -1
  102. package/src/zod/TransactionFees.ts +1 -1
  103. package/src/zod/TransferPair.ts +1 -1
  104. package/src/zod/block/BlockBoundWitness.ts +1 -1
  105. package/src/zod/block/signed/SignedBlockBoundWitness.ts +1 -1
  106. package/src/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.ts +1 -1
  107. package/src/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts +1 -1
  108. package/src/zod/block/unsigned/UnsignedBlockBoundWitness.ts +1 -1
  109. package/src/zod/payload/WithHashMetaish.ts +1 -1
  110. package/src/zod/payload/WithStorageMetaish.ts +1 -1
@@ -1,23 +1,35 @@
1
- import * as z from 'zod';
1
+ import { z } from 'zod';
2
2
  export declare const HydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
3
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>>>;
4
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
5
+ readonly __hex: true;
6
+ } & {
7
+ readonly __address: true;
8
+ }, string>>>;
9
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
6
10
  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
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
12
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
13
+ readonly __hex: true;
14
+ } & {
15
+ readonly __address: true;
16
+ }, string>>>;
17
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
18
+ $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>, z.ZodNull]>>;
11
19
  nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
12
20
  exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
13
21
  fees: z.ZodObject<{
14
- base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
15
- gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
16
- gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
17
- priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
22
+ base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
23
+ gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
24
+ gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
25
+ priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
18
26
  }, z.core.$strip>;
19
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
20
- from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>;
27
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
28
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
29
+ readonly __hex: true;
30
+ } & {
31
+ readonly __address: true;
32
+ }, string>>;
21
33
  script: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
34
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
23
35
  schema: z.ZodString;
@@ -25,23 +37,35 @@ export declare const HydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
25
37
  export type HydratedTransaction = z.infer<typeof HydratedTransactionZod>;
26
38
  export declare const isHydratedTransaction: <T>(value: T) => value is T & [{
27
39
  schema: "network.xyo.boundwitness";
28
- addresses: import("@xylabs/hex").Address[];
29
- payload_hashes: import("@xylabs/hex").Hash[];
40
+ addresses: (Lowercase<string> & {
41
+ readonly __hex: true;
42
+ } & {
43
+ readonly __address: true;
44
+ })[];
45
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
30
46
  payload_schemas: string[];
31
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
32
- $signatures: (import("@xylabs/hex").Hex | null)[];
47
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
48
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
33
49
  nbf: import("../index.ts").XL1BlockNumber;
34
50
  exp: import("../index.ts").XL1BlockNumber;
35
51
  fees: {
36
- base: import("@xylabs/hex").Hex;
37
- gasLimit: import("@xylabs/hex").Hex;
38
- gasPrice: import("@xylabs/hex").Hex;
39
- priority: import("@xylabs/hex").Hex;
52
+ base: import("@xylabs/hex").BrandedHex;
53
+ gasLimit: import("@xylabs/hex").BrandedHex;
54
+ gasPrice: import("@xylabs/hex").BrandedHex;
55
+ priority: import("@xylabs/hex").BrandedHex;
40
56
  };
41
- chain: import("@xylabs/hex").Hex;
42
- from: import("@xylabs/hex").Address;
43
- $destination?: import("@xylabs/hex").Address | undefined;
44
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
57
+ chain: import("@xylabs/hex").BrandedHex;
58
+ from: Lowercase<string> & {
59
+ readonly __hex: true;
60
+ } & {
61
+ readonly __address: true;
62
+ };
63
+ $destination?: (Lowercase<string> & {
64
+ readonly __hex: true;
65
+ } & {
66
+ readonly __address: true;
67
+ }) | undefined;
68
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
45
69
  script?: string[] | undefined;
46
70
  }, {
47
71
  schema: string;
@@ -49,46 +73,70 @@ export declare const isHydratedTransaction: <T>(value: T) => value is T & [{
49
73
  export declare const asHydratedTransaction: {
50
74
  <T>(value: T): (T & [{
51
75
  schema: "network.xyo.boundwitness";
52
- addresses: import("@xylabs/hex").Address[];
53
- payload_hashes: import("@xylabs/hex").Hash[];
76
+ addresses: (Lowercase<string> & {
77
+ readonly __hex: true;
78
+ } & {
79
+ readonly __address: true;
80
+ })[];
81
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
54
82
  payload_schemas: string[];
55
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
56
- $signatures: (import("@xylabs/hex").Hex | null)[];
83
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
84
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
57
85
  nbf: import("../index.ts").XL1BlockNumber;
58
86
  exp: import("../index.ts").XL1BlockNumber;
59
87
  fees: {
60
- base: import("@xylabs/hex").Hex;
61
- gasLimit: import("@xylabs/hex").Hex;
62
- gasPrice: import("@xylabs/hex").Hex;
63
- priority: import("@xylabs/hex").Hex;
64
- };
65
- chain: import("@xylabs/hex").Hex;
66
- from: import("@xylabs/hex").Address;
67
- $destination?: import("@xylabs/hex").Address | undefined;
68
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
88
+ base: import("@xylabs/hex").BrandedHex;
89
+ gasLimit: import("@xylabs/hex").BrandedHex;
90
+ gasPrice: import("@xylabs/hex").BrandedHex;
91
+ priority: import("@xylabs/hex").BrandedHex;
92
+ };
93
+ chain: import("@xylabs/hex").BrandedHex;
94
+ from: Lowercase<string> & {
95
+ readonly __hex: true;
96
+ } & {
97
+ readonly __address: true;
98
+ };
99
+ $destination?: (Lowercase<string> & {
100
+ readonly __hex: true;
101
+ } & {
102
+ readonly __address: true;
103
+ }) | undefined;
104
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
69
105
  script?: string[] | undefined;
70
106
  }, {
71
107
  schema: string;
72
108
  }[]]) | undefined;
73
109
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
74
110
  schema: "network.xyo.boundwitness";
75
- addresses: import("@xylabs/hex").Address[];
76
- payload_hashes: import("@xylabs/hex").Hash[];
111
+ addresses: (Lowercase<string> & {
112
+ readonly __hex: true;
113
+ } & {
114
+ readonly __address: true;
115
+ })[];
116
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
77
117
  payload_schemas: string[];
78
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
79
- $signatures: (import("@xylabs/hex").Hex | null)[];
118
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
119
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
80
120
  nbf: import("../index.ts").XL1BlockNumber;
81
121
  exp: import("../index.ts").XL1BlockNumber;
82
122
  fees: {
83
- base: import("@xylabs/hex").Hex;
84
- gasLimit: import("@xylabs/hex").Hex;
85
- gasPrice: import("@xylabs/hex").Hex;
86
- priority: import("@xylabs/hex").Hex;
87
- };
88
- chain: import("@xylabs/hex").Hex;
89
- from: import("@xylabs/hex").Address;
90
- $destination?: import("@xylabs/hex").Address | undefined;
91
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
123
+ base: import("@xylabs/hex").BrandedHex;
124
+ gasLimit: import("@xylabs/hex").BrandedHex;
125
+ gasPrice: import("@xylabs/hex").BrandedHex;
126
+ priority: import("@xylabs/hex").BrandedHex;
127
+ };
128
+ chain: import("@xylabs/hex").BrandedHex;
129
+ from: Lowercase<string> & {
130
+ readonly __hex: true;
131
+ } & {
132
+ readonly __address: true;
133
+ };
134
+ $destination?: (Lowercase<string> & {
135
+ readonly __hex: true;
136
+ } & {
137
+ readonly __address: true;
138
+ }) | undefined;
139
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
92
140
  script?: string[] | undefined;
93
141
  }, {
94
142
  schema: string;
@@ -97,46 +145,70 @@ export declare const asHydratedTransaction: {
97
145
  export declare const toHydratedTransaction: {
98
146
  <T>(value: T): (T & [{
99
147
  schema: "network.xyo.boundwitness";
100
- addresses: import("@xylabs/hex").Address[];
101
- payload_hashes: import("@xylabs/hex").Hash[];
148
+ addresses: (Lowercase<string> & {
149
+ readonly __hex: true;
150
+ } & {
151
+ readonly __address: true;
152
+ })[];
153
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
102
154
  payload_schemas: string[];
103
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
104
- $signatures: (import("@xylabs/hex").Hex | null)[];
155
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
156
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
105
157
  nbf: import("../index.ts").XL1BlockNumber;
106
158
  exp: import("../index.ts").XL1BlockNumber;
107
159
  fees: {
108
- base: import("@xylabs/hex").Hex;
109
- gasLimit: import("@xylabs/hex").Hex;
110
- gasPrice: import("@xylabs/hex").Hex;
111
- priority: import("@xylabs/hex").Hex;
112
- };
113
- chain: import("@xylabs/hex").Hex;
114
- from: import("@xylabs/hex").Address;
115
- $destination?: import("@xylabs/hex").Address | undefined;
116
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
160
+ base: import("@xylabs/hex").BrandedHex;
161
+ gasLimit: import("@xylabs/hex").BrandedHex;
162
+ gasPrice: import("@xylabs/hex").BrandedHex;
163
+ priority: import("@xylabs/hex").BrandedHex;
164
+ };
165
+ chain: import("@xylabs/hex").BrandedHex;
166
+ from: Lowercase<string> & {
167
+ readonly __hex: true;
168
+ } & {
169
+ readonly __address: true;
170
+ };
171
+ $destination?: (Lowercase<string> & {
172
+ readonly __hex: true;
173
+ } & {
174
+ readonly __address: true;
175
+ }) | undefined;
176
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
117
177
  script?: string[] | undefined;
118
178
  }, {
119
179
  schema: string;
120
180
  }[]]) | undefined;
121
181
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
122
182
  schema: "network.xyo.boundwitness";
123
- addresses: import("@xylabs/hex").Address[];
124
- payload_hashes: import("@xylabs/hex").Hash[];
183
+ addresses: (Lowercase<string> & {
184
+ readonly __hex: true;
185
+ } & {
186
+ readonly __address: true;
187
+ })[];
188
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
125
189
  payload_schemas: string[];
126
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
127
- $signatures: (import("@xylabs/hex").Hex | null)[];
190
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
191
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
128
192
  nbf: import("../index.ts").XL1BlockNumber;
129
193
  exp: import("../index.ts").XL1BlockNumber;
130
194
  fees: {
131
- base: import("@xylabs/hex").Hex;
132
- gasLimit: import("@xylabs/hex").Hex;
133
- gasPrice: import("@xylabs/hex").Hex;
134
- priority: import("@xylabs/hex").Hex;
135
- };
136
- chain: import("@xylabs/hex").Hex;
137
- from: import("@xylabs/hex").Address;
138
- $destination?: import("@xylabs/hex").Address | undefined;
139
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
195
+ base: import("@xylabs/hex").BrandedHex;
196
+ gasLimit: import("@xylabs/hex").BrandedHex;
197
+ gasPrice: import("@xylabs/hex").BrandedHex;
198
+ priority: import("@xylabs/hex").BrandedHex;
199
+ };
200
+ chain: import("@xylabs/hex").BrandedHex;
201
+ from: Lowercase<string> & {
202
+ readonly __hex: true;
203
+ } & {
204
+ readonly __address: true;
205
+ };
206
+ $destination?: (Lowercase<string> & {
207
+ readonly __hex: true;
208
+ } & {
209
+ readonly __address: true;
210
+ }) | undefined;
211
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
140
212
  script?: string[] | undefined;
141
213
  }, {
142
214
  schema: string;
@@ -144,369 +216,525 @@ export declare const toHydratedTransaction: {
144
216
  };
145
217
  export declare const HydratedTransactionWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
146
218
  schema: z.ZodLiteral<"network.xyo.boundwitness">;
147
- addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
148
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
219
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
220
+ readonly __hex: true;
221
+ } & {
222
+ readonly __address: true;
223
+ }, string>>>;
224
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
149
225
  payload_schemas: z.ZodArray<z.ZodString>;
150
- previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
151
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
152
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
153
- $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
226
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
227
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
228
+ readonly __hex: true;
229
+ } & {
230
+ readonly __address: true;
231
+ }, string>>>;
232
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
233
+ $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>, z.ZodNull]>>;
154
234
  nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
155
235
  exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
156
236
  fees: z.ZodObject<{
157
- base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
158
- gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
159
- gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
160
- priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
237
+ base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
238
+ gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
239
+ gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
240
+ priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
161
241
  }, z.core.$strip>;
162
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
163
- from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>;
242
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
243
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
244
+ readonly __hex: true;
245
+ } & {
246
+ readonly __address: true;
247
+ }, string>>;
164
248
  script: z.ZodOptional<z.ZodArray<z.ZodString>>;
165
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
166
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
249
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
250
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
167
251
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
168
252
  schema: z.ZodString;
169
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
170
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
253
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
254
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
171
255
  }, z.core.$strip>>], null>;
172
256
  export type HydratedTransactionWithHashMeta = z.infer<typeof HydratedTransactionWithHashMetaZod>;
173
257
  export declare const isHydratedTransactionWithHashMeta: <T>(value: T) => value is T & [{
174
258
  schema: "network.xyo.boundwitness";
175
- addresses: import("@xylabs/hex").Address[];
176
- payload_hashes: import("@xylabs/hex").Hash[];
259
+ addresses: (Lowercase<string> & {
260
+ readonly __hex: true;
261
+ } & {
262
+ readonly __address: true;
263
+ })[];
264
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
177
265
  payload_schemas: string[];
178
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
179
- $signatures: (import("@xylabs/hex").Hex | null)[];
266
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
267
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
180
268
  nbf: import("../index.ts").XL1BlockNumber;
181
269
  exp: import("../index.ts").XL1BlockNumber;
182
270
  fees: {
183
- base: import("@xylabs/hex").Hex;
184
- gasLimit: import("@xylabs/hex").Hex;
185
- gasPrice: import("@xylabs/hex").Hex;
186
- priority: import("@xylabs/hex").Hex;
271
+ base: import("@xylabs/hex").BrandedHex;
272
+ gasLimit: import("@xylabs/hex").BrandedHex;
273
+ gasPrice: import("@xylabs/hex").BrandedHex;
274
+ priority: import("@xylabs/hex").BrandedHex;
187
275
  };
188
- chain: import("@xylabs/hex").Hex;
189
- from: import("@xylabs/hex").Address;
190
- _hash: import("@xylabs/hex").Hash;
191
- _dataHash: import("@xylabs/hex").Hash;
192
- $destination?: import("@xylabs/hex").Address | undefined;
193
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
276
+ chain: import("@xylabs/hex").BrandedHex;
277
+ from: Lowercase<string> & {
278
+ readonly __hex: true;
279
+ } & {
280
+ readonly __address: true;
281
+ };
282
+ _hash: import("@xylabs/hex").BrandedHash;
283
+ _dataHash: import("@xylabs/hex").BrandedHash;
284
+ $destination?: (Lowercase<string> & {
285
+ readonly __hex: true;
286
+ } & {
287
+ readonly __address: true;
288
+ }) | undefined;
289
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
194
290
  script?: string[] | undefined;
195
291
  }, {
196
292
  schema: string;
197
- _hash: import("@xylabs/hex").Hash;
198
- _dataHash: import("@xylabs/hex").Hash;
293
+ _hash: import("@xylabs/hex").BrandedHash;
294
+ _dataHash: import("@xylabs/hex").BrandedHash;
199
295
  }[]];
200
296
  export declare const asHydratedTransactionWithHashMeta: {
201
297
  <T>(value: T): (T & [{
202
298
  schema: "network.xyo.boundwitness";
203
- addresses: import("@xylabs/hex").Address[];
204
- payload_hashes: import("@xylabs/hex").Hash[];
299
+ addresses: (Lowercase<string> & {
300
+ readonly __hex: true;
301
+ } & {
302
+ readonly __address: true;
303
+ })[];
304
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
205
305
  payload_schemas: string[];
206
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
207
- $signatures: (import("@xylabs/hex").Hex | null)[];
306
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
307
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
208
308
  nbf: import("../index.ts").XL1BlockNumber;
209
309
  exp: import("../index.ts").XL1BlockNumber;
210
310
  fees: {
211
- base: import("@xylabs/hex").Hex;
212
- gasLimit: import("@xylabs/hex").Hex;
213
- gasPrice: import("@xylabs/hex").Hex;
214
- priority: import("@xylabs/hex").Hex;
215
- };
216
- chain: import("@xylabs/hex").Hex;
217
- from: import("@xylabs/hex").Address;
218
- _hash: import("@xylabs/hex").Hash;
219
- _dataHash: import("@xylabs/hex").Hash;
220
- $destination?: import("@xylabs/hex").Address | undefined;
221
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
311
+ base: import("@xylabs/hex").BrandedHex;
312
+ gasLimit: import("@xylabs/hex").BrandedHex;
313
+ gasPrice: import("@xylabs/hex").BrandedHex;
314
+ priority: import("@xylabs/hex").BrandedHex;
315
+ };
316
+ chain: import("@xylabs/hex").BrandedHex;
317
+ from: Lowercase<string> & {
318
+ readonly __hex: true;
319
+ } & {
320
+ readonly __address: true;
321
+ };
322
+ _hash: import("@xylabs/hex").BrandedHash;
323
+ _dataHash: import("@xylabs/hex").BrandedHash;
324
+ $destination?: (Lowercase<string> & {
325
+ readonly __hex: true;
326
+ } & {
327
+ readonly __address: true;
328
+ }) | undefined;
329
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
222
330
  script?: string[] | undefined;
223
331
  }, {
224
332
  schema: string;
225
- _hash: import("@xylabs/hex").Hash;
226
- _dataHash: import("@xylabs/hex").Hash;
333
+ _hash: import("@xylabs/hex").BrandedHash;
334
+ _dataHash: import("@xylabs/hex").BrandedHash;
227
335
  }[]]) | undefined;
228
336
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
229
337
  schema: "network.xyo.boundwitness";
230
- addresses: import("@xylabs/hex").Address[];
231
- payload_hashes: import("@xylabs/hex").Hash[];
338
+ addresses: (Lowercase<string> & {
339
+ readonly __hex: true;
340
+ } & {
341
+ readonly __address: true;
342
+ })[];
343
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
232
344
  payload_schemas: string[];
233
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
234
- $signatures: (import("@xylabs/hex").Hex | null)[];
345
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
346
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
235
347
  nbf: import("../index.ts").XL1BlockNumber;
236
348
  exp: import("../index.ts").XL1BlockNumber;
237
349
  fees: {
238
- base: import("@xylabs/hex").Hex;
239
- gasLimit: import("@xylabs/hex").Hex;
240
- gasPrice: import("@xylabs/hex").Hex;
241
- priority: import("@xylabs/hex").Hex;
242
- };
243
- chain: import("@xylabs/hex").Hex;
244
- from: import("@xylabs/hex").Address;
245
- _hash: import("@xylabs/hex").Hash;
246
- _dataHash: import("@xylabs/hex").Hash;
247
- $destination?: import("@xylabs/hex").Address | undefined;
248
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
350
+ base: import("@xylabs/hex").BrandedHex;
351
+ gasLimit: import("@xylabs/hex").BrandedHex;
352
+ gasPrice: import("@xylabs/hex").BrandedHex;
353
+ priority: import("@xylabs/hex").BrandedHex;
354
+ };
355
+ chain: import("@xylabs/hex").BrandedHex;
356
+ from: Lowercase<string> & {
357
+ readonly __hex: true;
358
+ } & {
359
+ readonly __address: true;
360
+ };
361
+ _hash: import("@xylabs/hex").BrandedHash;
362
+ _dataHash: import("@xylabs/hex").BrandedHash;
363
+ $destination?: (Lowercase<string> & {
364
+ readonly __hex: true;
365
+ } & {
366
+ readonly __address: true;
367
+ }) | undefined;
368
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
249
369
  script?: string[] | undefined;
250
370
  }, {
251
371
  schema: string;
252
- _hash: import("@xylabs/hex").Hash;
253
- _dataHash: import("@xylabs/hex").Hash;
372
+ _hash: import("@xylabs/hex").BrandedHash;
373
+ _dataHash: import("@xylabs/hex").BrandedHash;
254
374
  }[]];
255
375
  };
256
376
  export declare const toHydratedTransactionWithHashMeta: {
257
377
  <T>(value: T): (T & [{
258
378
  schema: "network.xyo.boundwitness";
259
- addresses: import("@xylabs/hex").Address[];
260
- payload_hashes: import("@xylabs/hex").Hash[];
379
+ addresses: (Lowercase<string> & {
380
+ readonly __hex: true;
381
+ } & {
382
+ readonly __address: true;
383
+ })[];
384
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
261
385
  payload_schemas: string[];
262
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
263
- $signatures: (import("@xylabs/hex").Hex | null)[];
386
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
387
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
264
388
  nbf: import("../index.ts").XL1BlockNumber;
265
389
  exp: import("../index.ts").XL1BlockNumber;
266
390
  fees: {
267
- base: import("@xylabs/hex").Hex;
268
- gasLimit: import("@xylabs/hex").Hex;
269
- gasPrice: import("@xylabs/hex").Hex;
270
- priority: import("@xylabs/hex").Hex;
271
- };
272
- chain: import("@xylabs/hex").Hex;
273
- from: import("@xylabs/hex").Address;
274
- _hash: import("@xylabs/hex").Hash;
275
- _dataHash: import("@xylabs/hex").Hash;
276
- $destination?: import("@xylabs/hex").Address | undefined;
277
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
391
+ base: import("@xylabs/hex").BrandedHex;
392
+ gasLimit: import("@xylabs/hex").BrandedHex;
393
+ gasPrice: import("@xylabs/hex").BrandedHex;
394
+ priority: import("@xylabs/hex").BrandedHex;
395
+ };
396
+ chain: import("@xylabs/hex").BrandedHex;
397
+ from: Lowercase<string> & {
398
+ readonly __hex: true;
399
+ } & {
400
+ readonly __address: true;
401
+ };
402
+ _hash: import("@xylabs/hex").BrandedHash;
403
+ _dataHash: import("@xylabs/hex").BrandedHash;
404
+ $destination?: (Lowercase<string> & {
405
+ readonly __hex: true;
406
+ } & {
407
+ readonly __address: true;
408
+ }) | undefined;
409
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
278
410
  script?: string[] | undefined;
279
411
  }, {
280
412
  schema: string;
281
- _hash: import("@xylabs/hex").Hash;
282
- _dataHash: import("@xylabs/hex").Hash;
413
+ _hash: import("@xylabs/hex").BrandedHash;
414
+ _dataHash: import("@xylabs/hex").BrandedHash;
283
415
  }[]]) | undefined;
284
416
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
285
417
  schema: "network.xyo.boundwitness";
286
- addresses: import("@xylabs/hex").Address[];
287
- payload_hashes: import("@xylabs/hex").Hash[];
418
+ addresses: (Lowercase<string> & {
419
+ readonly __hex: true;
420
+ } & {
421
+ readonly __address: true;
422
+ })[];
423
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
288
424
  payload_schemas: string[];
289
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
290
- $signatures: (import("@xylabs/hex").Hex | null)[];
425
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
426
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
291
427
  nbf: import("../index.ts").XL1BlockNumber;
292
428
  exp: import("../index.ts").XL1BlockNumber;
293
429
  fees: {
294
- base: import("@xylabs/hex").Hex;
295
- gasLimit: import("@xylabs/hex").Hex;
296
- gasPrice: import("@xylabs/hex").Hex;
297
- priority: import("@xylabs/hex").Hex;
298
- };
299
- chain: import("@xylabs/hex").Hex;
300
- from: import("@xylabs/hex").Address;
301
- _hash: import("@xylabs/hex").Hash;
302
- _dataHash: import("@xylabs/hex").Hash;
303
- $destination?: import("@xylabs/hex").Address | undefined;
304
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
430
+ base: import("@xylabs/hex").BrandedHex;
431
+ gasLimit: import("@xylabs/hex").BrandedHex;
432
+ gasPrice: import("@xylabs/hex").BrandedHex;
433
+ priority: import("@xylabs/hex").BrandedHex;
434
+ };
435
+ chain: import("@xylabs/hex").BrandedHex;
436
+ from: Lowercase<string> & {
437
+ readonly __hex: true;
438
+ } & {
439
+ readonly __address: true;
440
+ };
441
+ _hash: import("@xylabs/hex").BrandedHash;
442
+ _dataHash: import("@xylabs/hex").BrandedHash;
443
+ $destination?: (Lowercase<string> & {
444
+ readonly __hex: true;
445
+ } & {
446
+ readonly __address: true;
447
+ }) | undefined;
448
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
305
449
  script?: string[] | undefined;
306
450
  }, {
307
451
  schema: string;
308
- _hash: import("@xylabs/hex").Hash;
309
- _dataHash: import("@xylabs/hex").Hash;
452
+ _hash: import("@xylabs/hex").BrandedHash;
453
+ _dataHash: import("@xylabs/hex").BrandedHash;
310
454
  }[]];
311
455
  };
312
456
  export declare const HydratedTransactionWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
313
457
  schema: z.ZodLiteral<"network.xyo.boundwitness">;
314
- addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
315
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
458
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
459
+ readonly __hex: true;
460
+ } & {
461
+ readonly __address: true;
462
+ }, string>>>;
463
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
316
464
  payload_schemas: z.ZodArray<z.ZodString>;
317
- previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
318
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
319
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
320
- $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
465
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
466
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
467
+ readonly __hex: true;
468
+ } & {
469
+ readonly __address: true;
470
+ }, string>>>;
471
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
472
+ $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>, z.ZodNull]>>;
321
473
  nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
322
474
  exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
323
475
  fees: z.ZodObject<{
324
- base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
325
- gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
326
- gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
327
- priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
476
+ base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
477
+ gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
478
+ gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
479
+ priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
328
480
  }, z.core.$strip>;
329
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
330
- from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>;
481
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
482
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
483
+ readonly __hex: true;
484
+ } & {
485
+ readonly __address: true;
486
+ }, string>>;
331
487
  script: z.ZodOptional<z.ZodArray<z.ZodString>>;
332
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
333
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
488
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
489
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
334
490
  _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>>]>;
335
491
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
336
492
  schema: z.ZodString;
337
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
338
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
493
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
494
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
339
495
  _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>>]>;
340
496
  }, z.core.$strip>>], null>;
341
497
  export type HydratedTransactionWithStorageMeta = z.infer<typeof HydratedTransactionWithStorageMetaZod>;
342
498
  export declare const isHydratedTransactionWithStorageMeta: <T>(value: T) => value is T & [{
343
499
  schema: "network.xyo.boundwitness";
344
- addresses: import("@xylabs/hex").Address[];
345
- payload_hashes: import("@xylabs/hex").Hash[];
500
+ addresses: (Lowercase<string> & {
501
+ readonly __hex: true;
502
+ } & {
503
+ readonly __address: true;
504
+ })[];
505
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
346
506
  payload_schemas: string[];
347
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
348
- $signatures: (import("@xylabs/hex").Hex | null)[];
507
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
508
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
349
509
  nbf: import("../index.ts").XL1BlockNumber;
350
510
  exp: import("../index.ts").XL1BlockNumber;
351
511
  fees: {
352
- base: import("@xylabs/hex").Hex;
353
- gasLimit: import("@xylabs/hex").Hex;
354
- gasPrice: import("@xylabs/hex").Hex;
355
- priority: import("@xylabs/hex").Hex;
512
+ base: import("@xylabs/hex").BrandedHex;
513
+ gasLimit: import("@xylabs/hex").BrandedHex;
514
+ gasPrice: import("@xylabs/hex").BrandedHex;
515
+ priority: import("@xylabs/hex").BrandedHex;
356
516
  };
357
- chain: import("@xylabs/hex").Hex;
358
- from: import("@xylabs/hex").Address;
359
- _hash: import("@xylabs/hex").Hash;
360
- _dataHash: import("@xylabs/hex").Hash;
517
+ chain: import("@xylabs/hex").BrandedHex;
518
+ from: Lowercase<string> & {
519
+ readonly __hex: true;
520
+ } & {
521
+ readonly __address: true;
522
+ };
523
+ _hash: import("@xylabs/hex").BrandedHash;
524
+ _dataHash: import("@xylabs/hex").BrandedHash;
361
525
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
362
- $destination?: import("@xylabs/hex").Address | undefined;
363
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
526
+ $destination?: (Lowercase<string> & {
527
+ readonly __hex: true;
528
+ } & {
529
+ readonly __address: true;
530
+ }) | undefined;
531
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
364
532
  script?: string[] | undefined;
365
533
  }, {
366
534
  schema: string;
367
- _hash: import("@xylabs/hex").Hash;
368
- _dataHash: import("@xylabs/hex").Hash;
535
+ _hash: import("@xylabs/hex").BrandedHash;
536
+ _dataHash: import("@xylabs/hex").BrandedHash;
369
537
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
370
538
  }[]];
371
539
  export declare const asHydratedTransactionWithStorageMeta: {
372
540
  <T>(value: T): (T & [{
373
541
  schema: "network.xyo.boundwitness";
374
- addresses: import("@xylabs/hex").Address[];
375
- payload_hashes: import("@xylabs/hex").Hash[];
542
+ addresses: (Lowercase<string> & {
543
+ readonly __hex: true;
544
+ } & {
545
+ readonly __address: true;
546
+ })[];
547
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
376
548
  payload_schemas: string[];
377
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
378
- $signatures: (import("@xylabs/hex").Hex | null)[];
549
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
550
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
379
551
  nbf: import("../index.ts").XL1BlockNumber;
380
552
  exp: import("../index.ts").XL1BlockNumber;
381
553
  fees: {
382
- base: import("@xylabs/hex").Hex;
383
- gasLimit: import("@xylabs/hex").Hex;
384
- gasPrice: import("@xylabs/hex").Hex;
385
- priority: import("@xylabs/hex").Hex;
386
- };
387
- chain: import("@xylabs/hex").Hex;
388
- from: import("@xylabs/hex").Address;
389
- _hash: import("@xylabs/hex").Hash;
390
- _dataHash: import("@xylabs/hex").Hash;
554
+ base: import("@xylabs/hex").BrandedHex;
555
+ gasLimit: import("@xylabs/hex").BrandedHex;
556
+ gasPrice: import("@xylabs/hex").BrandedHex;
557
+ priority: import("@xylabs/hex").BrandedHex;
558
+ };
559
+ chain: import("@xylabs/hex").BrandedHex;
560
+ from: Lowercase<string> & {
561
+ readonly __hex: true;
562
+ } & {
563
+ readonly __address: true;
564
+ };
565
+ _hash: import("@xylabs/hex").BrandedHash;
566
+ _dataHash: import("@xylabs/hex").BrandedHash;
391
567
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
392
- $destination?: import("@xylabs/hex").Address | undefined;
393
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
568
+ $destination?: (Lowercase<string> & {
569
+ readonly __hex: true;
570
+ } & {
571
+ readonly __address: true;
572
+ }) | undefined;
573
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
394
574
  script?: string[] | undefined;
395
575
  }, {
396
576
  schema: string;
397
- _hash: import("@xylabs/hex").Hash;
398
- _dataHash: import("@xylabs/hex").Hash;
577
+ _hash: import("@xylabs/hex").BrandedHash;
578
+ _dataHash: import("@xylabs/hex").BrandedHash;
399
579
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
400
580
  }[]]) | undefined;
401
581
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
402
582
  schema: "network.xyo.boundwitness";
403
- addresses: import("@xylabs/hex").Address[];
404
- payload_hashes: import("@xylabs/hex").Hash[];
583
+ addresses: (Lowercase<string> & {
584
+ readonly __hex: true;
585
+ } & {
586
+ readonly __address: true;
587
+ })[];
588
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
405
589
  payload_schemas: string[];
406
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
407
- $signatures: (import("@xylabs/hex").Hex | null)[];
590
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
591
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
408
592
  nbf: import("../index.ts").XL1BlockNumber;
409
593
  exp: import("../index.ts").XL1BlockNumber;
410
594
  fees: {
411
- base: import("@xylabs/hex").Hex;
412
- gasLimit: import("@xylabs/hex").Hex;
413
- gasPrice: import("@xylabs/hex").Hex;
414
- priority: import("@xylabs/hex").Hex;
415
- };
416
- chain: import("@xylabs/hex").Hex;
417
- from: import("@xylabs/hex").Address;
418
- _hash: import("@xylabs/hex").Hash;
419
- _dataHash: import("@xylabs/hex").Hash;
595
+ base: import("@xylabs/hex").BrandedHex;
596
+ gasLimit: import("@xylabs/hex").BrandedHex;
597
+ gasPrice: import("@xylabs/hex").BrandedHex;
598
+ priority: import("@xylabs/hex").BrandedHex;
599
+ };
600
+ chain: import("@xylabs/hex").BrandedHex;
601
+ from: Lowercase<string> & {
602
+ readonly __hex: true;
603
+ } & {
604
+ readonly __address: true;
605
+ };
606
+ _hash: import("@xylabs/hex").BrandedHash;
607
+ _dataHash: import("@xylabs/hex").BrandedHash;
420
608
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
421
- $destination?: import("@xylabs/hex").Address | undefined;
422
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
609
+ $destination?: (Lowercase<string> & {
610
+ readonly __hex: true;
611
+ } & {
612
+ readonly __address: true;
613
+ }) | undefined;
614
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
423
615
  script?: string[] | undefined;
424
616
  }, {
425
617
  schema: string;
426
- _hash: import("@xylabs/hex").Hash;
427
- _dataHash: import("@xylabs/hex").Hash;
618
+ _hash: import("@xylabs/hex").BrandedHash;
619
+ _dataHash: import("@xylabs/hex").BrandedHash;
428
620
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
429
621
  }[]];
430
622
  };
431
623
  export declare const toHydratedTransactionWithStorageMeta: {
432
624
  <T>(value: T): (T & [{
433
625
  schema: "network.xyo.boundwitness";
434
- addresses: import("@xylabs/hex").Address[];
435
- payload_hashes: import("@xylabs/hex").Hash[];
626
+ addresses: (Lowercase<string> & {
627
+ readonly __hex: true;
628
+ } & {
629
+ readonly __address: true;
630
+ })[];
631
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
436
632
  payload_schemas: string[];
437
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
438
- $signatures: (import("@xylabs/hex").Hex | null)[];
633
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
634
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
439
635
  nbf: import("../index.ts").XL1BlockNumber;
440
636
  exp: import("../index.ts").XL1BlockNumber;
441
637
  fees: {
442
- base: import("@xylabs/hex").Hex;
443
- gasLimit: import("@xylabs/hex").Hex;
444
- gasPrice: import("@xylabs/hex").Hex;
445
- priority: import("@xylabs/hex").Hex;
446
- };
447
- chain: import("@xylabs/hex").Hex;
448
- from: import("@xylabs/hex").Address;
449
- _hash: import("@xylabs/hex").Hash;
450
- _dataHash: import("@xylabs/hex").Hash;
638
+ base: import("@xylabs/hex").BrandedHex;
639
+ gasLimit: import("@xylabs/hex").BrandedHex;
640
+ gasPrice: import("@xylabs/hex").BrandedHex;
641
+ priority: import("@xylabs/hex").BrandedHex;
642
+ };
643
+ chain: import("@xylabs/hex").BrandedHex;
644
+ from: Lowercase<string> & {
645
+ readonly __hex: true;
646
+ } & {
647
+ readonly __address: true;
648
+ };
649
+ _hash: import("@xylabs/hex").BrandedHash;
650
+ _dataHash: import("@xylabs/hex").BrandedHash;
451
651
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
452
- $destination?: import("@xylabs/hex").Address | undefined;
453
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
652
+ $destination?: (Lowercase<string> & {
653
+ readonly __hex: true;
654
+ } & {
655
+ readonly __address: true;
656
+ }) | undefined;
657
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
454
658
  script?: string[] | undefined;
455
659
  }, {
456
660
  schema: string;
457
- _hash: import("@xylabs/hex").Hash;
458
- _dataHash: import("@xylabs/hex").Hash;
661
+ _hash: import("@xylabs/hex").BrandedHash;
662
+ _dataHash: import("@xylabs/hex").BrandedHash;
459
663
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
460
664
  }[]]) | undefined;
461
665
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
462
666
  schema: "network.xyo.boundwitness";
463
- addresses: import("@xylabs/hex").Address[];
464
- payload_hashes: import("@xylabs/hex").Hash[];
667
+ addresses: (Lowercase<string> & {
668
+ readonly __hex: true;
669
+ } & {
670
+ readonly __address: true;
671
+ })[];
672
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
465
673
  payload_schemas: string[];
466
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
467
- $signatures: (import("@xylabs/hex").Hex | null)[];
674
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
675
+ $signatures: (import("@xylabs/hex").BrandedHex | null)[];
468
676
  nbf: import("../index.ts").XL1BlockNumber;
469
677
  exp: import("../index.ts").XL1BlockNumber;
470
678
  fees: {
471
- base: import("@xylabs/hex").Hex;
472
- gasLimit: import("@xylabs/hex").Hex;
473
- gasPrice: import("@xylabs/hex").Hex;
474
- priority: import("@xylabs/hex").Hex;
475
- };
476
- chain: import("@xylabs/hex").Hex;
477
- from: import("@xylabs/hex").Address;
478
- _hash: import("@xylabs/hex").Hash;
479
- _dataHash: import("@xylabs/hex").Hash;
679
+ base: import("@xylabs/hex").BrandedHex;
680
+ gasLimit: import("@xylabs/hex").BrandedHex;
681
+ gasPrice: import("@xylabs/hex").BrandedHex;
682
+ priority: import("@xylabs/hex").BrandedHex;
683
+ };
684
+ chain: import("@xylabs/hex").BrandedHex;
685
+ from: Lowercase<string> & {
686
+ readonly __hex: true;
687
+ } & {
688
+ readonly __address: true;
689
+ };
690
+ _hash: import("@xylabs/hex").BrandedHash;
691
+ _dataHash: import("@xylabs/hex").BrandedHash;
480
692
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
481
- $destination?: import("@xylabs/hex").Address | undefined;
482
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
693
+ $destination?: (Lowercase<string> & {
694
+ readonly __hex: true;
695
+ } & {
696
+ readonly __address: true;
697
+ }) | undefined;
698
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
483
699
  script?: string[] | undefined;
484
700
  }, {
485
701
  schema: string;
486
- _hash: import("@xylabs/hex").Hash;
487
- _dataHash: import("@xylabs/hex").Hash;
702
+ _hash: import("@xylabs/hex").BrandedHash;
703
+ _dataHash: import("@xylabs/hex").BrandedHash;
488
704
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
489
705
  }[]];
490
706
  };
491
707
  export declare const UnsignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
492
708
  schema: z.ZodLiteral<"network.xyo.boundwitness">;
493
- addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
494
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
709
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
710
+ readonly __hex: true;
711
+ } & {
712
+ readonly __address: true;
713
+ }, string>>>;
714
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
495
715
  payload_schemas: z.ZodArray<z.ZodString>;
496
- previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
497
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
498
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
716
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
717
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
718
+ readonly __hex: true;
719
+ } & {
720
+ readonly __address: true;
721
+ }, string>>>;
722
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
499
723
  $signatures: z.ZodArray<z.ZodNull>;
500
724
  nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
501
725
  exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
502
726
  fees: z.ZodObject<{
503
- base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
504
- gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
505
- gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
506
- priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
727
+ base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
728
+ gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
729
+ gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
730
+ priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
507
731
  }, z.core.$strip>;
508
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
509
- from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>;
732
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
733
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
734
+ readonly __hex: true;
735
+ } & {
736
+ readonly __address: true;
737
+ }, string>>;
510
738
  script: z.ZodOptional<z.ZodArray<z.ZodString>>;
511
739
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
512
740
  schema: z.ZodString;
@@ -514,23 +742,35 @@ export declare const UnsignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
514
742
  export type UnsignedHydratedTransaction = z.infer<typeof UnsignedHydratedTransactionZod>;
515
743
  export declare const isUnsignedHydratedTransaction: <T>(value: T) => value is T & [{
516
744
  schema: "network.xyo.boundwitness";
517
- addresses: import("@xylabs/hex").Address[];
518
- payload_hashes: import("@xylabs/hex").Hash[];
745
+ addresses: (Lowercase<string> & {
746
+ readonly __hex: true;
747
+ } & {
748
+ readonly __address: true;
749
+ })[];
750
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
519
751
  payload_schemas: string[];
520
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
752
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
521
753
  $signatures: null[];
522
754
  nbf: import("../index.ts").XL1BlockNumber;
523
755
  exp: import("../index.ts").XL1BlockNumber;
524
756
  fees: {
525
- base: import("@xylabs/hex").Hex;
526
- gasLimit: import("@xylabs/hex").Hex;
527
- gasPrice: import("@xylabs/hex").Hex;
528
- priority: import("@xylabs/hex").Hex;
757
+ base: import("@xylabs/hex").BrandedHex;
758
+ gasLimit: import("@xylabs/hex").BrandedHex;
759
+ gasPrice: import("@xylabs/hex").BrandedHex;
760
+ priority: import("@xylabs/hex").BrandedHex;
529
761
  };
530
- chain: import("@xylabs/hex").Hex;
531
- from: import("@xylabs/hex").Address;
532
- $destination?: import("@xylabs/hex").Address | undefined;
533
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
762
+ chain: import("@xylabs/hex").BrandedHex;
763
+ from: Lowercase<string> & {
764
+ readonly __hex: true;
765
+ } & {
766
+ readonly __address: true;
767
+ };
768
+ $destination?: (Lowercase<string> & {
769
+ readonly __hex: true;
770
+ } & {
771
+ readonly __address: true;
772
+ }) | undefined;
773
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
534
774
  script?: string[] | undefined;
535
775
  }, {
536
776
  schema: string;
@@ -538,46 +778,70 @@ export declare const isUnsignedHydratedTransaction: <T>(value: T) => value is T
538
778
  export declare const asUnsignedHydratedTransaction: {
539
779
  <T>(value: T): (T & [{
540
780
  schema: "network.xyo.boundwitness";
541
- addresses: import("@xylabs/hex").Address[];
542
- payload_hashes: import("@xylabs/hex").Hash[];
781
+ addresses: (Lowercase<string> & {
782
+ readonly __hex: true;
783
+ } & {
784
+ readonly __address: true;
785
+ })[];
786
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
543
787
  payload_schemas: string[];
544
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
788
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
545
789
  $signatures: null[];
546
790
  nbf: import("../index.ts").XL1BlockNumber;
547
791
  exp: import("../index.ts").XL1BlockNumber;
548
792
  fees: {
549
- base: import("@xylabs/hex").Hex;
550
- gasLimit: import("@xylabs/hex").Hex;
551
- gasPrice: import("@xylabs/hex").Hex;
552
- priority: import("@xylabs/hex").Hex;
553
- };
554
- chain: import("@xylabs/hex").Hex;
555
- from: import("@xylabs/hex").Address;
556
- $destination?: import("@xylabs/hex").Address | undefined;
557
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
793
+ base: import("@xylabs/hex").BrandedHex;
794
+ gasLimit: import("@xylabs/hex").BrandedHex;
795
+ gasPrice: import("@xylabs/hex").BrandedHex;
796
+ priority: import("@xylabs/hex").BrandedHex;
797
+ };
798
+ chain: import("@xylabs/hex").BrandedHex;
799
+ from: Lowercase<string> & {
800
+ readonly __hex: true;
801
+ } & {
802
+ readonly __address: true;
803
+ };
804
+ $destination?: (Lowercase<string> & {
805
+ readonly __hex: true;
806
+ } & {
807
+ readonly __address: true;
808
+ }) | undefined;
809
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
558
810
  script?: string[] | undefined;
559
811
  }, {
560
812
  schema: string;
561
813
  }[]]) | undefined;
562
814
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
563
815
  schema: "network.xyo.boundwitness";
564
- addresses: import("@xylabs/hex").Address[];
565
- payload_hashes: import("@xylabs/hex").Hash[];
816
+ addresses: (Lowercase<string> & {
817
+ readonly __hex: true;
818
+ } & {
819
+ readonly __address: true;
820
+ })[];
821
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
566
822
  payload_schemas: string[];
567
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
823
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
568
824
  $signatures: null[];
569
825
  nbf: import("../index.ts").XL1BlockNumber;
570
826
  exp: import("../index.ts").XL1BlockNumber;
571
827
  fees: {
572
- base: import("@xylabs/hex").Hex;
573
- gasLimit: import("@xylabs/hex").Hex;
574
- gasPrice: import("@xylabs/hex").Hex;
575
- priority: import("@xylabs/hex").Hex;
576
- };
577
- chain: import("@xylabs/hex").Hex;
578
- from: import("@xylabs/hex").Address;
579
- $destination?: import("@xylabs/hex").Address | undefined;
580
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
828
+ base: import("@xylabs/hex").BrandedHex;
829
+ gasLimit: import("@xylabs/hex").BrandedHex;
830
+ gasPrice: import("@xylabs/hex").BrandedHex;
831
+ priority: import("@xylabs/hex").BrandedHex;
832
+ };
833
+ chain: import("@xylabs/hex").BrandedHex;
834
+ from: Lowercase<string> & {
835
+ readonly __hex: true;
836
+ } & {
837
+ readonly __address: true;
838
+ };
839
+ $destination?: (Lowercase<string> & {
840
+ readonly __hex: true;
841
+ } & {
842
+ readonly __address: true;
843
+ }) | undefined;
844
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
581
845
  script?: string[] | undefined;
582
846
  }, {
583
847
  schema: string;
@@ -586,46 +850,70 @@ export declare const asUnsignedHydratedTransaction: {
586
850
  export declare const toUnsignedHydratedTransaction: {
587
851
  <T>(value: T): (T & [{
588
852
  schema: "network.xyo.boundwitness";
589
- addresses: import("@xylabs/hex").Address[];
590
- payload_hashes: import("@xylabs/hex").Hash[];
853
+ addresses: (Lowercase<string> & {
854
+ readonly __hex: true;
855
+ } & {
856
+ readonly __address: true;
857
+ })[];
858
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
591
859
  payload_schemas: string[];
592
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
860
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
593
861
  $signatures: null[];
594
862
  nbf: import("../index.ts").XL1BlockNumber;
595
863
  exp: import("../index.ts").XL1BlockNumber;
596
864
  fees: {
597
- base: import("@xylabs/hex").Hex;
598
- gasLimit: import("@xylabs/hex").Hex;
599
- gasPrice: import("@xylabs/hex").Hex;
600
- priority: import("@xylabs/hex").Hex;
601
- };
602
- chain: import("@xylabs/hex").Hex;
603
- from: import("@xylabs/hex").Address;
604
- $destination?: import("@xylabs/hex").Address | undefined;
605
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
865
+ base: import("@xylabs/hex").BrandedHex;
866
+ gasLimit: import("@xylabs/hex").BrandedHex;
867
+ gasPrice: import("@xylabs/hex").BrandedHex;
868
+ priority: import("@xylabs/hex").BrandedHex;
869
+ };
870
+ chain: import("@xylabs/hex").BrandedHex;
871
+ from: Lowercase<string> & {
872
+ readonly __hex: true;
873
+ } & {
874
+ readonly __address: true;
875
+ };
876
+ $destination?: (Lowercase<string> & {
877
+ readonly __hex: true;
878
+ } & {
879
+ readonly __address: true;
880
+ }) | undefined;
881
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
606
882
  script?: string[] | undefined;
607
883
  }, {
608
884
  schema: string;
609
885
  }[]]) | undefined;
610
886
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
611
887
  schema: "network.xyo.boundwitness";
612
- addresses: import("@xylabs/hex").Address[];
613
- payload_hashes: import("@xylabs/hex").Hash[];
888
+ addresses: (Lowercase<string> & {
889
+ readonly __hex: true;
890
+ } & {
891
+ readonly __address: true;
892
+ })[];
893
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
614
894
  payload_schemas: string[];
615
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
895
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
616
896
  $signatures: null[];
617
897
  nbf: import("../index.ts").XL1BlockNumber;
618
898
  exp: import("../index.ts").XL1BlockNumber;
619
899
  fees: {
620
- base: import("@xylabs/hex").Hex;
621
- gasLimit: import("@xylabs/hex").Hex;
622
- gasPrice: import("@xylabs/hex").Hex;
623
- priority: import("@xylabs/hex").Hex;
624
- };
625
- chain: import("@xylabs/hex").Hex;
626
- from: import("@xylabs/hex").Address;
627
- $destination?: import("@xylabs/hex").Address | undefined;
628
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
900
+ base: import("@xylabs/hex").BrandedHex;
901
+ gasLimit: import("@xylabs/hex").BrandedHex;
902
+ gasPrice: import("@xylabs/hex").BrandedHex;
903
+ priority: import("@xylabs/hex").BrandedHex;
904
+ };
905
+ chain: import("@xylabs/hex").BrandedHex;
906
+ from: Lowercase<string> & {
907
+ readonly __hex: true;
908
+ } & {
909
+ readonly __address: true;
910
+ };
911
+ $destination?: (Lowercase<string> & {
912
+ readonly __hex: true;
913
+ } & {
914
+ readonly __address: true;
915
+ }) | undefined;
916
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
629
917
  script?: string[] | undefined;
630
918
  }, {
631
919
  schema: string;
@@ -633,369 +921,525 @@ export declare const toUnsignedHydratedTransaction: {
633
921
  };
634
922
  export declare const UnsignedHydratedTransactionWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
635
923
  schema: z.ZodLiteral<"network.xyo.boundwitness">;
636
- addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
637
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
924
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
925
+ readonly __hex: true;
926
+ } & {
927
+ readonly __address: true;
928
+ }, string>>>;
929
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
638
930
  payload_schemas: z.ZodArray<z.ZodString>;
639
- previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
640
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
641
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
642
- $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
931
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
932
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
933
+ readonly __hex: true;
934
+ } & {
935
+ readonly __address: true;
936
+ }, string>>>;
937
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
938
+ $signatures: z.ZodArray<z.ZodNull>;
643
939
  nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
644
940
  exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
645
941
  fees: z.ZodObject<{
646
- base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
647
- gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
648
- gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
649
- priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
942
+ base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
943
+ gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
944
+ gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
945
+ priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
650
946
  }, z.core.$strip>;
651
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
652
- from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>;
947
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
948
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
949
+ readonly __hex: true;
950
+ } & {
951
+ readonly __address: true;
952
+ }, string>>;
653
953
  script: z.ZodOptional<z.ZodArray<z.ZodString>>;
654
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
655
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
954
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
955
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
656
956
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
657
957
  schema: z.ZodString;
658
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
659
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
958
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
959
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
660
960
  }, z.core.$strip>>], null>;
661
961
  export type UnsignedHydratedTransactionWithHashMeta = z.infer<typeof UnsignedHydratedTransactionWithHashMetaZod>;
662
962
  export declare const isUnsignedHydratedTransactionWithHashMeta: <T>(value: T) => value is T & [{
663
963
  schema: "network.xyo.boundwitness";
664
- addresses: import("@xylabs/hex").Address[];
665
- payload_hashes: import("@xylabs/hex").Hash[];
964
+ addresses: (Lowercase<string> & {
965
+ readonly __hex: true;
966
+ } & {
967
+ readonly __address: true;
968
+ })[];
969
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
666
970
  payload_schemas: string[];
667
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
668
- $signatures: (import("@xylabs/hex").Hex | null)[];
971
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
972
+ $signatures: null[];
669
973
  nbf: import("../index.ts").XL1BlockNumber;
670
974
  exp: import("../index.ts").XL1BlockNumber;
671
975
  fees: {
672
- base: import("@xylabs/hex").Hex;
673
- gasLimit: import("@xylabs/hex").Hex;
674
- gasPrice: import("@xylabs/hex").Hex;
675
- priority: import("@xylabs/hex").Hex;
976
+ base: import("@xylabs/hex").BrandedHex;
977
+ gasLimit: import("@xylabs/hex").BrandedHex;
978
+ gasPrice: import("@xylabs/hex").BrandedHex;
979
+ priority: import("@xylabs/hex").BrandedHex;
980
+ };
981
+ chain: import("@xylabs/hex").BrandedHex;
982
+ from: Lowercase<string> & {
983
+ readonly __hex: true;
984
+ } & {
985
+ readonly __address: true;
676
986
  };
677
- chain: import("@xylabs/hex").Hex;
678
- from: import("@xylabs/hex").Address;
679
- _hash: import("@xylabs/hex").Hash;
680
- _dataHash: import("@xylabs/hex").Hash;
681
- $destination?: import("@xylabs/hex").Address | undefined;
682
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
987
+ _hash: import("@xylabs/hex").BrandedHash;
988
+ _dataHash: import("@xylabs/hex").BrandedHash;
989
+ $destination?: (Lowercase<string> & {
990
+ readonly __hex: true;
991
+ } & {
992
+ readonly __address: true;
993
+ }) | undefined;
994
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
683
995
  script?: string[] | undefined;
684
996
  }, {
685
997
  schema: string;
686
- _hash: import("@xylabs/hex").Hash;
687
- _dataHash: import("@xylabs/hex").Hash;
998
+ _hash: import("@xylabs/hex").BrandedHash;
999
+ _dataHash: import("@xylabs/hex").BrandedHash;
688
1000
  }[]];
689
1001
  export declare const asUnsignedHydratedTransactionWithHashMeta: {
690
1002
  <T>(value: T): (T & [{
691
1003
  schema: "network.xyo.boundwitness";
692
- addresses: import("@xylabs/hex").Address[];
693
- payload_hashes: import("@xylabs/hex").Hash[];
1004
+ addresses: (Lowercase<string> & {
1005
+ readonly __hex: true;
1006
+ } & {
1007
+ readonly __address: true;
1008
+ })[];
1009
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
694
1010
  payload_schemas: string[];
695
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
696
- $signatures: (import("@xylabs/hex").Hex | null)[];
1011
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1012
+ $signatures: null[];
697
1013
  nbf: import("../index.ts").XL1BlockNumber;
698
1014
  exp: import("../index.ts").XL1BlockNumber;
699
1015
  fees: {
700
- base: import("@xylabs/hex").Hex;
701
- gasLimit: import("@xylabs/hex").Hex;
702
- gasPrice: import("@xylabs/hex").Hex;
703
- priority: import("@xylabs/hex").Hex;
704
- };
705
- chain: import("@xylabs/hex").Hex;
706
- from: import("@xylabs/hex").Address;
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;
1016
+ base: import("@xylabs/hex").BrandedHex;
1017
+ gasLimit: import("@xylabs/hex").BrandedHex;
1018
+ gasPrice: import("@xylabs/hex").BrandedHex;
1019
+ priority: import("@xylabs/hex").BrandedHex;
1020
+ };
1021
+ chain: import("@xylabs/hex").BrandedHex;
1022
+ from: Lowercase<string> & {
1023
+ readonly __hex: true;
1024
+ } & {
1025
+ readonly __address: true;
1026
+ };
1027
+ _hash: import("@xylabs/hex").BrandedHash;
1028
+ _dataHash: import("@xylabs/hex").BrandedHash;
1029
+ $destination?: (Lowercase<string> & {
1030
+ readonly __hex: true;
1031
+ } & {
1032
+ readonly __address: true;
1033
+ }) | undefined;
1034
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
711
1035
  script?: string[] | undefined;
712
1036
  }, {
713
1037
  schema: string;
714
- _hash: import("@xylabs/hex").Hash;
715
- _dataHash: import("@xylabs/hex").Hash;
1038
+ _hash: import("@xylabs/hex").BrandedHash;
1039
+ _dataHash: import("@xylabs/hex").BrandedHash;
716
1040
  }[]]) | undefined;
717
1041
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
718
1042
  schema: "network.xyo.boundwitness";
719
- addresses: import("@xylabs/hex").Address[];
720
- payload_hashes: import("@xylabs/hex").Hash[];
1043
+ addresses: (Lowercase<string> & {
1044
+ readonly __hex: true;
1045
+ } & {
1046
+ readonly __address: true;
1047
+ })[];
1048
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
721
1049
  payload_schemas: string[];
722
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
723
- $signatures: (import("@xylabs/hex").Hex | null)[];
1050
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1051
+ $signatures: null[];
724
1052
  nbf: import("../index.ts").XL1BlockNumber;
725
1053
  exp: import("../index.ts").XL1BlockNumber;
726
1054
  fees: {
727
- base: import("@xylabs/hex").Hex;
728
- gasLimit: import("@xylabs/hex").Hex;
729
- gasPrice: import("@xylabs/hex").Hex;
730
- priority: import("@xylabs/hex").Hex;
731
- };
732
- chain: import("@xylabs/hex").Hex;
733
- from: import("@xylabs/hex").Address;
734
- _hash: import("@xylabs/hex").Hash;
735
- _dataHash: import("@xylabs/hex").Hash;
736
- $destination?: import("@xylabs/hex").Address | undefined;
737
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1055
+ base: import("@xylabs/hex").BrandedHex;
1056
+ gasLimit: import("@xylabs/hex").BrandedHex;
1057
+ gasPrice: import("@xylabs/hex").BrandedHex;
1058
+ priority: import("@xylabs/hex").BrandedHex;
1059
+ };
1060
+ chain: import("@xylabs/hex").BrandedHex;
1061
+ from: Lowercase<string> & {
1062
+ readonly __hex: true;
1063
+ } & {
1064
+ readonly __address: true;
1065
+ };
1066
+ _hash: import("@xylabs/hex").BrandedHash;
1067
+ _dataHash: import("@xylabs/hex").BrandedHash;
1068
+ $destination?: (Lowercase<string> & {
1069
+ readonly __hex: true;
1070
+ } & {
1071
+ readonly __address: true;
1072
+ }) | undefined;
1073
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
738
1074
  script?: string[] | undefined;
739
1075
  }, {
740
1076
  schema: string;
741
- _hash: import("@xylabs/hex").Hash;
742
- _dataHash: import("@xylabs/hex").Hash;
1077
+ _hash: import("@xylabs/hex").BrandedHash;
1078
+ _dataHash: import("@xylabs/hex").BrandedHash;
743
1079
  }[]];
744
1080
  };
745
1081
  export declare const toUnsignedHydratedTransactionWithHashMeta: {
746
1082
  <T>(value: T): (T & [{
747
1083
  schema: "network.xyo.boundwitness";
748
- addresses: import("@xylabs/hex").Address[];
749
- payload_hashes: import("@xylabs/hex").Hash[];
1084
+ addresses: (Lowercase<string> & {
1085
+ readonly __hex: true;
1086
+ } & {
1087
+ readonly __address: true;
1088
+ })[];
1089
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
750
1090
  payload_schemas: string[];
751
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
752
- $signatures: (import("@xylabs/hex").Hex | null)[];
1091
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1092
+ $signatures: null[];
753
1093
  nbf: import("../index.ts").XL1BlockNumber;
754
1094
  exp: import("../index.ts").XL1BlockNumber;
755
1095
  fees: {
756
- base: import("@xylabs/hex").Hex;
757
- gasLimit: import("@xylabs/hex").Hex;
758
- gasPrice: import("@xylabs/hex").Hex;
759
- priority: import("@xylabs/hex").Hex;
760
- };
761
- chain: import("@xylabs/hex").Hex;
762
- from: import("@xylabs/hex").Address;
763
- _hash: import("@xylabs/hex").Hash;
764
- _dataHash: import("@xylabs/hex").Hash;
765
- $destination?: import("@xylabs/hex").Address | undefined;
766
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1096
+ base: import("@xylabs/hex").BrandedHex;
1097
+ gasLimit: import("@xylabs/hex").BrandedHex;
1098
+ gasPrice: import("@xylabs/hex").BrandedHex;
1099
+ priority: import("@xylabs/hex").BrandedHex;
1100
+ };
1101
+ chain: import("@xylabs/hex").BrandedHex;
1102
+ from: Lowercase<string> & {
1103
+ readonly __hex: true;
1104
+ } & {
1105
+ readonly __address: true;
1106
+ };
1107
+ _hash: import("@xylabs/hex").BrandedHash;
1108
+ _dataHash: import("@xylabs/hex").BrandedHash;
1109
+ $destination?: (Lowercase<string> & {
1110
+ readonly __hex: true;
1111
+ } & {
1112
+ readonly __address: true;
1113
+ }) | undefined;
1114
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
767
1115
  script?: string[] | undefined;
768
1116
  }, {
769
1117
  schema: string;
770
- _hash: import("@xylabs/hex").Hash;
771
- _dataHash: import("@xylabs/hex").Hash;
1118
+ _hash: import("@xylabs/hex").BrandedHash;
1119
+ _dataHash: import("@xylabs/hex").BrandedHash;
772
1120
  }[]]) | undefined;
773
1121
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
774
1122
  schema: "network.xyo.boundwitness";
775
- addresses: import("@xylabs/hex").Address[];
776
- payload_hashes: import("@xylabs/hex").Hash[];
1123
+ addresses: (Lowercase<string> & {
1124
+ readonly __hex: true;
1125
+ } & {
1126
+ readonly __address: true;
1127
+ })[];
1128
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
777
1129
  payload_schemas: string[];
778
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
779
- $signatures: (import("@xylabs/hex").Hex | null)[];
1130
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1131
+ $signatures: null[];
780
1132
  nbf: import("../index.ts").XL1BlockNumber;
781
1133
  exp: import("../index.ts").XL1BlockNumber;
782
1134
  fees: {
783
- base: import("@xylabs/hex").Hex;
784
- gasLimit: import("@xylabs/hex").Hex;
785
- gasPrice: import("@xylabs/hex").Hex;
786
- priority: import("@xylabs/hex").Hex;
787
- };
788
- chain: import("@xylabs/hex").Hex;
789
- from: import("@xylabs/hex").Address;
790
- _hash: import("@xylabs/hex").Hash;
791
- _dataHash: import("@xylabs/hex").Hash;
792
- $destination?: import("@xylabs/hex").Address | undefined;
793
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1135
+ base: import("@xylabs/hex").BrandedHex;
1136
+ gasLimit: import("@xylabs/hex").BrandedHex;
1137
+ gasPrice: import("@xylabs/hex").BrandedHex;
1138
+ priority: import("@xylabs/hex").BrandedHex;
1139
+ };
1140
+ chain: import("@xylabs/hex").BrandedHex;
1141
+ from: Lowercase<string> & {
1142
+ readonly __hex: true;
1143
+ } & {
1144
+ readonly __address: true;
1145
+ };
1146
+ _hash: import("@xylabs/hex").BrandedHash;
1147
+ _dataHash: import("@xylabs/hex").BrandedHash;
1148
+ $destination?: (Lowercase<string> & {
1149
+ readonly __hex: true;
1150
+ } & {
1151
+ readonly __address: true;
1152
+ }) | undefined;
1153
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
794
1154
  script?: string[] | undefined;
795
1155
  }, {
796
1156
  schema: string;
797
- _hash: import("@xylabs/hex").Hash;
798
- _dataHash: import("@xylabs/hex").Hash;
1157
+ _hash: import("@xylabs/hex").BrandedHash;
1158
+ _dataHash: import("@xylabs/hex").BrandedHash;
799
1159
  }[]];
800
1160
  };
801
1161
  export declare const UnsignedHydratedTransactionWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
802
1162
  schema: z.ZodLiteral<"network.xyo.boundwitness">;
803
- addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
804
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
1163
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1164
+ readonly __hex: true;
1165
+ } & {
1166
+ readonly __address: true;
1167
+ }, string>>>;
1168
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
805
1169
  payload_schemas: z.ZodArray<z.ZodString>;
806
- previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
807
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
808
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
809
- $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
1170
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
1171
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1172
+ readonly __hex: true;
1173
+ } & {
1174
+ readonly __address: true;
1175
+ }, string>>>;
1176
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
1177
+ $signatures: z.ZodArray<z.ZodNull>;
810
1178
  nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
811
1179
  exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
812
1180
  fees: z.ZodObject<{
813
- base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
814
- gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
815
- gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
816
- priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1181
+ base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1182
+ gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1183
+ gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1184
+ priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
817
1185
  }, z.core.$strip>;
818
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
819
- from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>;
1186
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1187
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1188
+ readonly __hex: true;
1189
+ } & {
1190
+ readonly __address: true;
1191
+ }, string>>;
820
1192
  script: z.ZodOptional<z.ZodArray<z.ZodString>>;
821
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
822
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
1193
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
1194
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
823
1195
  _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>>]>;
824
1196
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
825
1197
  schema: z.ZodString;
826
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
827
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
1198
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
1199
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
828
1200
  _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>>]>;
829
1201
  }, z.core.$strip>>], null>;
830
1202
  export type UnsignedHydratedTransactionWithStorageMeta = z.infer<typeof UnsignedHydratedTransactionWithStorageMetaZod>;
831
1203
  export declare const isUnsignedHydratedTransactionWithStorageMeta: <T>(value: T) => value is T & [{
832
1204
  schema: "network.xyo.boundwitness";
833
- addresses: import("@xylabs/hex").Address[];
834
- payload_hashes: import("@xylabs/hex").Hash[];
1205
+ addresses: (Lowercase<string> & {
1206
+ readonly __hex: true;
1207
+ } & {
1208
+ readonly __address: true;
1209
+ })[];
1210
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
835
1211
  payload_schemas: string[];
836
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
837
- $signatures: (import("@xylabs/hex").Hex | null)[];
1212
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1213
+ $signatures: null[];
838
1214
  nbf: import("../index.ts").XL1BlockNumber;
839
1215
  exp: import("../index.ts").XL1BlockNumber;
840
1216
  fees: {
841
- base: import("@xylabs/hex").Hex;
842
- gasLimit: import("@xylabs/hex").Hex;
843
- gasPrice: import("@xylabs/hex").Hex;
844
- priority: import("@xylabs/hex").Hex;
1217
+ base: import("@xylabs/hex").BrandedHex;
1218
+ gasLimit: import("@xylabs/hex").BrandedHex;
1219
+ gasPrice: import("@xylabs/hex").BrandedHex;
1220
+ priority: import("@xylabs/hex").BrandedHex;
845
1221
  };
846
- chain: import("@xylabs/hex").Hex;
847
- from: import("@xylabs/hex").Address;
848
- _hash: import("@xylabs/hex").Hash;
849
- _dataHash: import("@xylabs/hex").Hash;
1222
+ chain: import("@xylabs/hex").BrandedHex;
1223
+ from: Lowercase<string> & {
1224
+ readonly __hex: true;
1225
+ } & {
1226
+ readonly __address: true;
1227
+ };
1228
+ _hash: import("@xylabs/hex").BrandedHash;
1229
+ _dataHash: import("@xylabs/hex").BrandedHash;
850
1230
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
851
- $destination?: import("@xylabs/hex").Address | undefined;
852
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1231
+ $destination?: (Lowercase<string> & {
1232
+ readonly __hex: true;
1233
+ } & {
1234
+ readonly __address: true;
1235
+ }) | undefined;
1236
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
853
1237
  script?: string[] | undefined;
854
1238
  }, {
855
1239
  schema: string;
856
- _hash: import("@xylabs/hex").Hash;
857
- _dataHash: import("@xylabs/hex").Hash;
1240
+ _hash: import("@xylabs/hex").BrandedHash;
1241
+ _dataHash: import("@xylabs/hex").BrandedHash;
858
1242
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
859
1243
  }[]];
860
1244
  export declare const asUnsignedHydratedTransactionWithStorageMeta: {
861
1245
  <T>(value: T): (T & [{
862
1246
  schema: "network.xyo.boundwitness";
863
- addresses: import("@xylabs/hex").Address[];
864
- payload_hashes: import("@xylabs/hex").Hash[];
1247
+ addresses: (Lowercase<string> & {
1248
+ readonly __hex: true;
1249
+ } & {
1250
+ readonly __address: true;
1251
+ })[];
1252
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
865
1253
  payload_schemas: string[];
866
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
867
- $signatures: (import("@xylabs/hex").Hex | null)[];
1254
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1255
+ $signatures: null[];
868
1256
  nbf: import("../index.ts").XL1BlockNumber;
869
1257
  exp: import("../index.ts").XL1BlockNumber;
870
1258
  fees: {
871
- base: import("@xylabs/hex").Hex;
872
- gasLimit: import("@xylabs/hex").Hex;
873
- gasPrice: import("@xylabs/hex").Hex;
874
- priority: import("@xylabs/hex").Hex;
875
- };
876
- chain: import("@xylabs/hex").Hex;
877
- from: import("@xylabs/hex").Address;
878
- _hash: import("@xylabs/hex").Hash;
879
- _dataHash: import("@xylabs/hex").Hash;
1259
+ base: import("@xylabs/hex").BrandedHex;
1260
+ gasLimit: import("@xylabs/hex").BrandedHex;
1261
+ gasPrice: import("@xylabs/hex").BrandedHex;
1262
+ priority: import("@xylabs/hex").BrandedHex;
1263
+ };
1264
+ chain: import("@xylabs/hex").BrandedHex;
1265
+ from: Lowercase<string> & {
1266
+ readonly __hex: true;
1267
+ } & {
1268
+ readonly __address: true;
1269
+ };
1270
+ _hash: import("@xylabs/hex").BrandedHash;
1271
+ _dataHash: import("@xylabs/hex").BrandedHash;
880
1272
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
881
- $destination?: import("@xylabs/hex").Address | undefined;
882
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1273
+ $destination?: (Lowercase<string> & {
1274
+ readonly __hex: true;
1275
+ } & {
1276
+ readonly __address: true;
1277
+ }) | undefined;
1278
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
883
1279
  script?: string[] | undefined;
884
1280
  }, {
885
1281
  schema: string;
886
- _hash: import("@xylabs/hex").Hash;
887
- _dataHash: import("@xylabs/hex").Hash;
1282
+ _hash: import("@xylabs/hex").BrandedHash;
1283
+ _dataHash: import("@xylabs/hex").BrandedHash;
888
1284
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
889
1285
  }[]]) | undefined;
890
1286
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
891
1287
  schema: "network.xyo.boundwitness";
892
- addresses: import("@xylabs/hex").Address[];
893
- payload_hashes: import("@xylabs/hex").Hash[];
1288
+ addresses: (Lowercase<string> & {
1289
+ readonly __hex: true;
1290
+ } & {
1291
+ readonly __address: true;
1292
+ })[];
1293
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
894
1294
  payload_schemas: string[];
895
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
896
- $signatures: (import("@xylabs/hex").Hex | null)[];
1295
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1296
+ $signatures: null[];
897
1297
  nbf: import("../index.ts").XL1BlockNumber;
898
1298
  exp: import("../index.ts").XL1BlockNumber;
899
1299
  fees: {
900
- base: import("@xylabs/hex").Hex;
901
- gasLimit: import("@xylabs/hex").Hex;
902
- gasPrice: import("@xylabs/hex").Hex;
903
- priority: import("@xylabs/hex").Hex;
904
- };
905
- chain: import("@xylabs/hex").Hex;
906
- from: import("@xylabs/hex").Address;
907
- _hash: import("@xylabs/hex").Hash;
908
- _dataHash: import("@xylabs/hex").Hash;
1300
+ base: import("@xylabs/hex").BrandedHex;
1301
+ gasLimit: import("@xylabs/hex").BrandedHex;
1302
+ gasPrice: import("@xylabs/hex").BrandedHex;
1303
+ priority: import("@xylabs/hex").BrandedHex;
1304
+ };
1305
+ chain: import("@xylabs/hex").BrandedHex;
1306
+ from: Lowercase<string> & {
1307
+ readonly __hex: true;
1308
+ } & {
1309
+ readonly __address: true;
1310
+ };
1311
+ _hash: import("@xylabs/hex").BrandedHash;
1312
+ _dataHash: import("@xylabs/hex").BrandedHash;
909
1313
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
910
- $destination?: import("@xylabs/hex").Address | undefined;
911
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1314
+ $destination?: (Lowercase<string> & {
1315
+ readonly __hex: true;
1316
+ } & {
1317
+ readonly __address: true;
1318
+ }) | undefined;
1319
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
912
1320
  script?: string[] | undefined;
913
1321
  }, {
914
1322
  schema: string;
915
- _hash: import("@xylabs/hex").Hash;
916
- _dataHash: import("@xylabs/hex").Hash;
1323
+ _hash: import("@xylabs/hex").BrandedHash;
1324
+ _dataHash: import("@xylabs/hex").BrandedHash;
917
1325
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
918
1326
  }[]];
919
1327
  };
920
1328
  export declare const toUnsignedHydratedTransactionWithStorageMeta: {
921
1329
  <T>(value: T): (T & [{
922
1330
  schema: "network.xyo.boundwitness";
923
- addresses: import("@xylabs/hex").Address[];
924
- payload_hashes: import("@xylabs/hex").Hash[];
1331
+ addresses: (Lowercase<string> & {
1332
+ readonly __hex: true;
1333
+ } & {
1334
+ readonly __address: true;
1335
+ })[];
1336
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
925
1337
  payload_schemas: string[];
926
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
927
- $signatures: (import("@xylabs/hex").Hex | null)[];
1338
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1339
+ $signatures: null[];
928
1340
  nbf: import("../index.ts").XL1BlockNumber;
929
1341
  exp: import("../index.ts").XL1BlockNumber;
930
1342
  fees: {
931
- base: import("@xylabs/hex").Hex;
932
- gasLimit: import("@xylabs/hex").Hex;
933
- gasPrice: import("@xylabs/hex").Hex;
934
- priority: import("@xylabs/hex").Hex;
935
- };
936
- chain: import("@xylabs/hex").Hex;
937
- from: import("@xylabs/hex").Address;
938
- _hash: import("@xylabs/hex").Hash;
939
- _dataHash: import("@xylabs/hex").Hash;
1343
+ base: import("@xylabs/hex").BrandedHex;
1344
+ gasLimit: import("@xylabs/hex").BrandedHex;
1345
+ gasPrice: import("@xylabs/hex").BrandedHex;
1346
+ priority: import("@xylabs/hex").BrandedHex;
1347
+ };
1348
+ chain: import("@xylabs/hex").BrandedHex;
1349
+ from: Lowercase<string> & {
1350
+ readonly __hex: true;
1351
+ } & {
1352
+ readonly __address: true;
1353
+ };
1354
+ _hash: import("@xylabs/hex").BrandedHash;
1355
+ _dataHash: import("@xylabs/hex").BrandedHash;
940
1356
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
941
- $destination?: import("@xylabs/hex").Address | undefined;
942
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1357
+ $destination?: (Lowercase<string> & {
1358
+ readonly __hex: true;
1359
+ } & {
1360
+ readonly __address: true;
1361
+ }) | undefined;
1362
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
943
1363
  script?: string[] | undefined;
944
1364
  }, {
945
1365
  schema: string;
946
- _hash: import("@xylabs/hex").Hash;
947
- _dataHash: import("@xylabs/hex").Hash;
1366
+ _hash: import("@xylabs/hex").BrandedHash;
1367
+ _dataHash: import("@xylabs/hex").BrandedHash;
948
1368
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
949
1369
  }[]]) | undefined;
950
1370
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
951
1371
  schema: "network.xyo.boundwitness";
952
- addresses: import("@xylabs/hex").Address[];
953
- payload_hashes: import("@xylabs/hex").Hash[];
1372
+ addresses: (Lowercase<string> & {
1373
+ readonly __hex: true;
1374
+ } & {
1375
+ readonly __address: true;
1376
+ })[];
1377
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
954
1378
  payload_schemas: string[];
955
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
956
- $signatures: (import("@xylabs/hex").Hex | null)[];
1379
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1380
+ $signatures: null[];
957
1381
  nbf: import("../index.ts").XL1BlockNumber;
958
1382
  exp: import("../index.ts").XL1BlockNumber;
959
1383
  fees: {
960
- base: import("@xylabs/hex").Hex;
961
- gasLimit: import("@xylabs/hex").Hex;
962
- gasPrice: import("@xylabs/hex").Hex;
963
- priority: import("@xylabs/hex").Hex;
964
- };
965
- chain: import("@xylabs/hex").Hex;
966
- from: import("@xylabs/hex").Address;
967
- _hash: import("@xylabs/hex").Hash;
968
- _dataHash: import("@xylabs/hex").Hash;
1384
+ base: import("@xylabs/hex").BrandedHex;
1385
+ gasLimit: import("@xylabs/hex").BrandedHex;
1386
+ gasPrice: import("@xylabs/hex").BrandedHex;
1387
+ priority: import("@xylabs/hex").BrandedHex;
1388
+ };
1389
+ chain: import("@xylabs/hex").BrandedHex;
1390
+ from: Lowercase<string> & {
1391
+ readonly __hex: true;
1392
+ } & {
1393
+ readonly __address: true;
1394
+ };
1395
+ _hash: import("@xylabs/hex").BrandedHash;
1396
+ _dataHash: import("@xylabs/hex").BrandedHash;
969
1397
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
970
- $destination?: import("@xylabs/hex").Address | undefined;
971
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1398
+ $destination?: (Lowercase<string> & {
1399
+ readonly __hex: true;
1400
+ } & {
1401
+ readonly __address: true;
1402
+ }) | undefined;
1403
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
972
1404
  script?: string[] | undefined;
973
1405
  }, {
974
1406
  schema: string;
975
- _hash: import("@xylabs/hex").Hash;
976
- _dataHash: import("@xylabs/hex").Hash;
1407
+ _hash: import("@xylabs/hex").BrandedHash;
1408
+ _dataHash: import("@xylabs/hex").BrandedHash;
977
1409
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
978
1410
  }[]];
979
1411
  };
980
1412
  export declare const SignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
981
1413
  schema: z.ZodLiteral<"network.xyo.boundwitness">;
982
- addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
983
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
1414
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1415
+ readonly __hex: true;
1416
+ } & {
1417
+ readonly __address: true;
1418
+ }, string>>>;
1419
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
984
1420
  payload_schemas: z.ZodArray<z.ZodString>;
985
- previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
986
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
987
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
988
- $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
1421
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
1422
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1423
+ readonly __hex: true;
1424
+ } & {
1425
+ readonly __address: true;
1426
+ }, string>>>;
1427
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
1428
+ $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
989
1429
  nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
990
1430
  exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
991
1431
  fees: z.ZodObject<{
992
- base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
993
- gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
994
- gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
995
- priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1432
+ base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1433
+ gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1434
+ gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1435
+ priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
996
1436
  }, z.core.$strip>;
997
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
998
- from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>;
1437
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1438
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1439
+ readonly __hex: true;
1440
+ } & {
1441
+ readonly __address: true;
1442
+ }, string>>;
999
1443
  script: z.ZodOptional<z.ZodArray<z.ZodString>>;
1000
1444
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
1001
1445
  schema: z.ZodString;
@@ -1003,23 +1447,35 @@ export declare const SignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
1003
1447
  export type SignedHydratedTransaction = z.infer<typeof SignedHydratedTransactionZod>;
1004
1448
  export declare const isSignedHydratedTransaction: <T>(value: T) => value is T & [{
1005
1449
  schema: "network.xyo.boundwitness";
1006
- addresses: import("@xylabs/hex").Address[];
1007
- payload_hashes: import("@xylabs/hex").Hash[];
1450
+ addresses: (Lowercase<string> & {
1451
+ readonly __hex: true;
1452
+ } & {
1453
+ readonly __address: true;
1454
+ })[];
1455
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1008
1456
  payload_schemas: string[];
1009
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1010
- $signatures: import("@xylabs/hex").Hex[];
1457
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1458
+ $signatures: import("@xylabs/hex").BrandedHex[];
1011
1459
  nbf: import("../index.ts").XL1BlockNumber;
1012
1460
  exp: import("../index.ts").XL1BlockNumber;
1013
1461
  fees: {
1014
- base: import("@xylabs/hex").Hex;
1015
- gasLimit: import("@xylabs/hex").Hex;
1016
- gasPrice: import("@xylabs/hex").Hex;
1017
- priority: import("@xylabs/hex").Hex;
1462
+ base: import("@xylabs/hex").BrandedHex;
1463
+ gasLimit: import("@xylabs/hex").BrandedHex;
1464
+ gasPrice: import("@xylabs/hex").BrandedHex;
1465
+ priority: import("@xylabs/hex").BrandedHex;
1466
+ };
1467
+ chain: import("@xylabs/hex").BrandedHex;
1468
+ from: Lowercase<string> & {
1469
+ readonly __hex: true;
1470
+ } & {
1471
+ readonly __address: true;
1018
1472
  };
1019
- chain: import("@xylabs/hex").Hex;
1020
- from: import("@xylabs/hex").Address;
1021
- $destination?: import("@xylabs/hex").Address | undefined;
1022
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1473
+ $destination?: (Lowercase<string> & {
1474
+ readonly __hex: true;
1475
+ } & {
1476
+ readonly __address: true;
1477
+ }) | undefined;
1478
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1023
1479
  script?: string[] | undefined;
1024
1480
  }, {
1025
1481
  schema: string;
@@ -1027,46 +1483,70 @@ export declare const isSignedHydratedTransaction: <T>(value: T) => value is T &
1027
1483
  export declare const asSignedHydratedTransaction: {
1028
1484
  <T>(value: T): (T & [{
1029
1485
  schema: "network.xyo.boundwitness";
1030
- addresses: import("@xylabs/hex").Address[];
1031
- payload_hashes: import("@xylabs/hex").Hash[];
1486
+ addresses: (Lowercase<string> & {
1487
+ readonly __hex: true;
1488
+ } & {
1489
+ readonly __address: true;
1490
+ })[];
1491
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1032
1492
  payload_schemas: string[];
1033
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1034
- $signatures: import("@xylabs/hex").Hex[];
1493
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1494
+ $signatures: import("@xylabs/hex").BrandedHex[];
1035
1495
  nbf: import("../index.ts").XL1BlockNumber;
1036
1496
  exp: import("../index.ts").XL1BlockNumber;
1037
1497
  fees: {
1038
- base: import("@xylabs/hex").Hex;
1039
- gasLimit: import("@xylabs/hex").Hex;
1040
- gasPrice: import("@xylabs/hex").Hex;
1041
- priority: import("@xylabs/hex").Hex;
1042
- };
1043
- chain: import("@xylabs/hex").Hex;
1044
- from: import("@xylabs/hex").Address;
1045
- $destination?: import("@xylabs/hex").Address | undefined;
1046
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1498
+ base: import("@xylabs/hex").BrandedHex;
1499
+ gasLimit: import("@xylabs/hex").BrandedHex;
1500
+ gasPrice: import("@xylabs/hex").BrandedHex;
1501
+ priority: import("@xylabs/hex").BrandedHex;
1502
+ };
1503
+ chain: import("@xylabs/hex").BrandedHex;
1504
+ from: Lowercase<string> & {
1505
+ readonly __hex: true;
1506
+ } & {
1507
+ readonly __address: true;
1508
+ };
1509
+ $destination?: (Lowercase<string> & {
1510
+ readonly __hex: true;
1511
+ } & {
1512
+ readonly __address: true;
1513
+ }) | undefined;
1514
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1047
1515
  script?: string[] | undefined;
1048
1516
  }, {
1049
1517
  schema: string;
1050
1518
  }[]]) | undefined;
1051
1519
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
1052
1520
  schema: "network.xyo.boundwitness";
1053
- addresses: import("@xylabs/hex").Address[];
1054
- payload_hashes: import("@xylabs/hex").Hash[];
1521
+ addresses: (Lowercase<string> & {
1522
+ readonly __hex: true;
1523
+ } & {
1524
+ readonly __address: true;
1525
+ })[];
1526
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1055
1527
  payload_schemas: string[];
1056
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1057
- $signatures: import("@xylabs/hex").Hex[];
1528
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1529
+ $signatures: import("@xylabs/hex").BrandedHex[];
1058
1530
  nbf: import("../index.ts").XL1BlockNumber;
1059
1531
  exp: import("../index.ts").XL1BlockNumber;
1060
1532
  fees: {
1061
- base: import("@xylabs/hex").Hex;
1062
- gasLimit: import("@xylabs/hex").Hex;
1063
- gasPrice: import("@xylabs/hex").Hex;
1064
- priority: import("@xylabs/hex").Hex;
1065
- };
1066
- chain: import("@xylabs/hex").Hex;
1067
- from: import("@xylabs/hex").Address;
1068
- $destination?: import("@xylabs/hex").Address | undefined;
1069
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1533
+ base: import("@xylabs/hex").BrandedHex;
1534
+ gasLimit: import("@xylabs/hex").BrandedHex;
1535
+ gasPrice: import("@xylabs/hex").BrandedHex;
1536
+ priority: import("@xylabs/hex").BrandedHex;
1537
+ };
1538
+ chain: import("@xylabs/hex").BrandedHex;
1539
+ from: Lowercase<string> & {
1540
+ readonly __hex: true;
1541
+ } & {
1542
+ readonly __address: true;
1543
+ };
1544
+ $destination?: (Lowercase<string> & {
1545
+ readonly __hex: true;
1546
+ } & {
1547
+ readonly __address: true;
1548
+ }) | undefined;
1549
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1070
1550
  script?: string[] | undefined;
1071
1551
  }, {
1072
1552
  schema: string;
@@ -1075,46 +1555,70 @@ export declare const asSignedHydratedTransaction: {
1075
1555
  export declare const toSignedHydratedTransaction: {
1076
1556
  <T>(value: T): (T & [{
1077
1557
  schema: "network.xyo.boundwitness";
1078
- addresses: import("@xylabs/hex").Address[];
1079
- payload_hashes: import("@xylabs/hex").Hash[];
1558
+ addresses: (Lowercase<string> & {
1559
+ readonly __hex: true;
1560
+ } & {
1561
+ readonly __address: true;
1562
+ })[];
1563
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1080
1564
  payload_schemas: string[];
1081
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1082
- $signatures: import("@xylabs/hex").Hex[];
1565
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1566
+ $signatures: import("@xylabs/hex").BrandedHex[];
1083
1567
  nbf: import("../index.ts").XL1BlockNumber;
1084
1568
  exp: import("../index.ts").XL1BlockNumber;
1085
1569
  fees: {
1086
- base: import("@xylabs/hex").Hex;
1087
- gasLimit: import("@xylabs/hex").Hex;
1088
- gasPrice: import("@xylabs/hex").Hex;
1089
- priority: import("@xylabs/hex").Hex;
1090
- };
1091
- chain: import("@xylabs/hex").Hex;
1092
- from: import("@xylabs/hex").Address;
1093
- $destination?: import("@xylabs/hex").Address | undefined;
1094
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1570
+ base: import("@xylabs/hex").BrandedHex;
1571
+ gasLimit: import("@xylabs/hex").BrandedHex;
1572
+ gasPrice: import("@xylabs/hex").BrandedHex;
1573
+ priority: import("@xylabs/hex").BrandedHex;
1574
+ };
1575
+ chain: import("@xylabs/hex").BrandedHex;
1576
+ from: Lowercase<string> & {
1577
+ readonly __hex: true;
1578
+ } & {
1579
+ readonly __address: true;
1580
+ };
1581
+ $destination?: (Lowercase<string> & {
1582
+ readonly __hex: true;
1583
+ } & {
1584
+ readonly __address: true;
1585
+ }) | undefined;
1586
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1095
1587
  script?: string[] | undefined;
1096
1588
  }, {
1097
1589
  schema: string;
1098
1590
  }[]]) | undefined;
1099
1591
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
1100
1592
  schema: "network.xyo.boundwitness";
1101
- addresses: import("@xylabs/hex").Address[];
1102
- payload_hashes: import("@xylabs/hex").Hash[];
1593
+ addresses: (Lowercase<string> & {
1594
+ readonly __hex: true;
1595
+ } & {
1596
+ readonly __address: true;
1597
+ })[];
1598
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1103
1599
  payload_schemas: string[];
1104
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1105
- $signatures: import("@xylabs/hex").Hex[];
1600
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1601
+ $signatures: import("@xylabs/hex").BrandedHex[];
1106
1602
  nbf: import("../index.ts").XL1BlockNumber;
1107
1603
  exp: import("../index.ts").XL1BlockNumber;
1108
1604
  fees: {
1109
- base: import("@xylabs/hex").Hex;
1110
- gasLimit: import("@xylabs/hex").Hex;
1111
- gasPrice: import("@xylabs/hex").Hex;
1112
- priority: import("@xylabs/hex").Hex;
1113
- };
1114
- chain: import("@xylabs/hex").Hex;
1115
- from: import("@xylabs/hex").Address;
1116
- $destination?: import("@xylabs/hex").Address | undefined;
1117
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1605
+ base: import("@xylabs/hex").BrandedHex;
1606
+ gasLimit: import("@xylabs/hex").BrandedHex;
1607
+ gasPrice: import("@xylabs/hex").BrandedHex;
1608
+ priority: import("@xylabs/hex").BrandedHex;
1609
+ };
1610
+ chain: import("@xylabs/hex").BrandedHex;
1611
+ from: Lowercase<string> & {
1612
+ readonly __hex: true;
1613
+ } & {
1614
+ readonly __address: true;
1615
+ };
1616
+ $destination?: (Lowercase<string> & {
1617
+ readonly __hex: true;
1618
+ } & {
1619
+ readonly __address: true;
1620
+ }) | undefined;
1621
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1118
1622
  script?: string[] | undefined;
1119
1623
  }, {
1120
1624
  schema: string;
@@ -1122,347 +1626,491 @@ export declare const toSignedHydratedTransaction: {
1122
1626
  };
1123
1627
  export declare const SignedHydratedTransactionWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
1124
1628
  schema: z.ZodLiteral<"network.xyo.boundwitness">;
1125
- addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
1126
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
1629
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1630
+ readonly __hex: true;
1631
+ } & {
1632
+ readonly __address: true;
1633
+ }, string>>>;
1634
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
1127
1635
  payload_schemas: z.ZodArray<z.ZodString>;
1128
- previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
1129
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
1130
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
1131
- $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
1636
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
1637
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1638
+ readonly __hex: true;
1639
+ } & {
1640
+ readonly __address: true;
1641
+ }, string>>>;
1642
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
1643
+ $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
1132
1644
  nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
1133
1645
  exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
1134
1646
  fees: z.ZodObject<{
1135
- base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1136
- gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1137
- gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1138
- priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1647
+ base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1648
+ gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1649
+ gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1650
+ priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1139
1651
  }, z.core.$strip>;
1140
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1141
- from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>;
1652
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1653
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1654
+ readonly __hex: true;
1655
+ } & {
1656
+ readonly __address: true;
1657
+ }, string>>;
1142
1658
  script: z.ZodOptional<z.ZodArray<z.ZodString>>;
1143
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
1144
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
1659
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
1660
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
1145
1661
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
1146
1662
  schema: z.ZodString;
1147
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
1148
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
1663
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
1664
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
1149
1665
  }, z.core.$strip>>], null>;
1150
1666
  export type SignedHydratedTransactionWithHashMeta = z.infer<typeof SignedHydratedTransactionWithHashMetaZod>;
1151
1667
  export declare const isSignedHydratedTransactionWithHashMeta: <T>(value: T) => value is T & [{
1152
1668
  schema: "network.xyo.boundwitness";
1153
- addresses: import("@xylabs/hex").Address[];
1154
- payload_hashes: import("@xylabs/hex").Hash[];
1669
+ addresses: (Lowercase<string> & {
1670
+ readonly __hex: true;
1671
+ } & {
1672
+ readonly __address: true;
1673
+ })[];
1674
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1155
1675
  payload_schemas: string[];
1156
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1157
- $signatures: import("@xylabs/hex").Hex[];
1676
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1677
+ $signatures: import("@xylabs/hex").BrandedHex[];
1158
1678
  nbf: import("../index.ts").XL1BlockNumber;
1159
1679
  exp: import("../index.ts").XL1BlockNumber;
1160
1680
  fees: {
1161
- base: import("@xylabs/hex").Hex;
1162
- gasLimit: import("@xylabs/hex").Hex;
1163
- gasPrice: import("@xylabs/hex").Hex;
1164
- priority: import("@xylabs/hex").Hex;
1681
+ base: import("@xylabs/hex").BrandedHex;
1682
+ gasLimit: import("@xylabs/hex").BrandedHex;
1683
+ gasPrice: import("@xylabs/hex").BrandedHex;
1684
+ priority: import("@xylabs/hex").BrandedHex;
1685
+ };
1686
+ chain: import("@xylabs/hex").BrandedHex;
1687
+ from: Lowercase<string> & {
1688
+ readonly __hex: true;
1689
+ } & {
1690
+ readonly __address: true;
1165
1691
  };
1166
- chain: import("@xylabs/hex").Hex;
1167
- from: import("@xylabs/hex").Address;
1168
- _hash: import("@xylabs/hex").Hash;
1169
- _dataHash: import("@xylabs/hex").Hash;
1170
- $destination?: import("@xylabs/hex").Address | undefined;
1171
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1692
+ _hash: import("@xylabs/hex").BrandedHash;
1693
+ _dataHash: import("@xylabs/hex").BrandedHash;
1694
+ $destination?: (Lowercase<string> & {
1695
+ readonly __hex: true;
1696
+ } & {
1697
+ readonly __address: true;
1698
+ }) | undefined;
1699
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1172
1700
  script?: string[] | undefined;
1173
1701
  }, {
1174
1702
  schema: string;
1175
- _hash: import("@xylabs/hex").Hash;
1176
- _dataHash: import("@xylabs/hex").Hash;
1703
+ _hash: import("@xylabs/hex").BrandedHash;
1704
+ _dataHash: import("@xylabs/hex").BrandedHash;
1177
1705
  }[]];
1178
1706
  export declare const asSignedHydratedTransactionWithHashMeta: {
1179
1707
  <T>(value: T): (T & [{
1180
1708
  schema: "network.xyo.boundwitness";
1181
- addresses: import("@xylabs/hex").Address[];
1182
- payload_hashes: import("@xylabs/hex").Hash[];
1709
+ addresses: (Lowercase<string> & {
1710
+ readonly __hex: true;
1711
+ } & {
1712
+ readonly __address: true;
1713
+ })[];
1714
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1183
1715
  payload_schemas: string[];
1184
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1185
- $signatures: import("@xylabs/hex").Hex[];
1716
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1717
+ $signatures: import("@xylabs/hex").BrandedHex[];
1186
1718
  nbf: import("../index.ts").XL1BlockNumber;
1187
1719
  exp: import("../index.ts").XL1BlockNumber;
1188
1720
  fees: {
1189
- base: import("@xylabs/hex").Hex;
1190
- gasLimit: import("@xylabs/hex").Hex;
1191
- gasPrice: import("@xylabs/hex").Hex;
1192
- priority: import("@xylabs/hex").Hex;
1193
- };
1194
- chain: import("@xylabs/hex").Hex;
1195
- from: import("@xylabs/hex").Address;
1196
- _hash: import("@xylabs/hex").Hash;
1197
- _dataHash: import("@xylabs/hex").Hash;
1198
- $destination?: import("@xylabs/hex").Address | undefined;
1199
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1721
+ base: import("@xylabs/hex").BrandedHex;
1722
+ gasLimit: import("@xylabs/hex").BrandedHex;
1723
+ gasPrice: import("@xylabs/hex").BrandedHex;
1724
+ priority: import("@xylabs/hex").BrandedHex;
1725
+ };
1726
+ chain: import("@xylabs/hex").BrandedHex;
1727
+ from: Lowercase<string> & {
1728
+ readonly __hex: true;
1729
+ } & {
1730
+ readonly __address: true;
1731
+ };
1732
+ _hash: import("@xylabs/hex").BrandedHash;
1733
+ _dataHash: import("@xylabs/hex").BrandedHash;
1734
+ $destination?: (Lowercase<string> & {
1735
+ readonly __hex: true;
1736
+ } & {
1737
+ readonly __address: true;
1738
+ }) | undefined;
1739
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1200
1740
  script?: string[] | undefined;
1201
1741
  }, {
1202
1742
  schema: string;
1203
- _hash: import("@xylabs/hex").Hash;
1204
- _dataHash: import("@xylabs/hex").Hash;
1743
+ _hash: import("@xylabs/hex").BrandedHash;
1744
+ _dataHash: import("@xylabs/hex").BrandedHash;
1205
1745
  }[]]) | undefined;
1206
1746
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
1207
1747
  schema: "network.xyo.boundwitness";
1208
- addresses: import("@xylabs/hex").Address[];
1209
- payload_hashes: import("@xylabs/hex").Hash[];
1748
+ addresses: (Lowercase<string> & {
1749
+ readonly __hex: true;
1750
+ } & {
1751
+ readonly __address: true;
1752
+ })[];
1753
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1210
1754
  payload_schemas: string[];
1211
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1212
- $signatures: import("@xylabs/hex").Hex[];
1755
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1756
+ $signatures: import("@xylabs/hex").BrandedHex[];
1213
1757
  nbf: import("../index.ts").XL1BlockNumber;
1214
1758
  exp: import("../index.ts").XL1BlockNumber;
1215
1759
  fees: {
1216
- base: import("@xylabs/hex").Hex;
1217
- gasLimit: import("@xylabs/hex").Hex;
1218
- gasPrice: import("@xylabs/hex").Hex;
1219
- priority: import("@xylabs/hex").Hex;
1220
- };
1221
- chain: import("@xylabs/hex").Hex;
1222
- from: import("@xylabs/hex").Address;
1223
- _hash: import("@xylabs/hex").Hash;
1224
- _dataHash: import("@xylabs/hex").Hash;
1225
- $destination?: import("@xylabs/hex").Address | undefined;
1226
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1760
+ base: import("@xylabs/hex").BrandedHex;
1761
+ gasLimit: import("@xylabs/hex").BrandedHex;
1762
+ gasPrice: import("@xylabs/hex").BrandedHex;
1763
+ priority: import("@xylabs/hex").BrandedHex;
1764
+ };
1765
+ chain: import("@xylabs/hex").BrandedHex;
1766
+ from: Lowercase<string> & {
1767
+ readonly __hex: true;
1768
+ } & {
1769
+ readonly __address: true;
1770
+ };
1771
+ _hash: import("@xylabs/hex").BrandedHash;
1772
+ _dataHash: import("@xylabs/hex").BrandedHash;
1773
+ $destination?: (Lowercase<string> & {
1774
+ readonly __hex: true;
1775
+ } & {
1776
+ readonly __address: true;
1777
+ }) | undefined;
1778
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1227
1779
  script?: string[] | undefined;
1228
1780
  }, {
1229
1781
  schema: string;
1230
- _hash: import("@xylabs/hex").Hash;
1231
- _dataHash: import("@xylabs/hex").Hash;
1782
+ _hash: import("@xylabs/hex").BrandedHash;
1783
+ _dataHash: import("@xylabs/hex").BrandedHash;
1232
1784
  }[]];
1233
1785
  };
1234
1786
  export declare const toSignedHydratedTransactionWithHashMeta: {
1235
1787
  <T>(value: T): (T & [{
1236
1788
  schema: "network.xyo.boundwitness";
1237
- addresses: import("@xylabs/hex").Address[];
1238
- payload_hashes: import("@xylabs/hex").Hash[];
1789
+ addresses: (Lowercase<string> & {
1790
+ readonly __hex: true;
1791
+ } & {
1792
+ readonly __address: true;
1793
+ })[];
1794
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1239
1795
  payload_schemas: string[];
1240
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1241
- $signatures: import("@xylabs/hex").Hex[];
1796
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1797
+ $signatures: import("@xylabs/hex").BrandedHex[];
1242
1798
  nbf: import("../index.ts").XL1BlockNumber;
1243
1799
  exp: import("../index.ts").XL1BlockNumber;
1244
1800
  fees: {
1245
- base: import("@xylabs/hex").Hex;
1246
- gasLimit: import("@xylabs/hex").Hex;
1247
- gasPrice: import("@xylabs/hex").Hex;
1248
- priority: import("@xylabs/hex").Hex;
1249
- };
1250
- chain: import("@xylabs/hex").Hex;
1251
- from: import("@xylabs/hex").Address;
1252
- _hash: import("@xylabs/hex").Hash;
1253
- _dataHash: import("@xylabs/hex").Hash;
1254
- $destination?: import("@xylabs/hex").Address | undefined;
1255
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1801
+ base: import("@xylabs/hex").BrandedHex;
1802
+ gasLimit: import("@xylabs/hex").BrandedHex;
1803
+ gasPrice: import("@xylabs/hex").BrandedHex;
1804
+ priority: import("@xylabs/hex").BrandedHex;
1805
+ };
1806
+ chain: import("@xylabs/hex").BrandedHex;
1807
+ from: Lowercase<string> & {
1808
+ readonly __hex: true;
1809
+ } & {
1810
+ readonly __address: true;
1811
+ };
1812
+ _hash: import("@xylabs/hex").BrandedHash;
1813
+ _dataHash: import("@xylabs/hex").BrandedHash;
1814
+ $destination?: (Lowercase<string> & {
1815
+ readonly __hex: true;
1816
+ } & {
1817
+ readonly __address: true;
1818
+ }) | undefined;
1819
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1256
1820
  script?: string[] | undefined;
1257
1821
  }, {
1258
1822
  schema: string;
1259
- _hash: import("@xylabs/hex").Hash;
1260
- _dataHash: import("@xylabs/hex").Hash;
1823
+ _hash: import("@xylabs/hex").BrandedHash;
1824
+ _dataHash: import("@xylabs/hex").BrandedHash;
1261
1825
  }[]]) | undefined;
1262
1826
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
1263
1827
  schema: "network.xyo.boundwitness";
1264
- addresses: import("@xylabs/hex").Address[];
1265
- payload_hashes: import("@xylabs/hex").Hash[];
1828
+ addresses: (Lowercase<string> & {
1829
+ readonly __hex: true;
1830
+ } & {
1831
+ readonly __address: true;
1832
+ })[];
1833
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1266
1834
  payload_schemas: string[];
1267
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1268
- $signatures: import("@xylabs/hex").Hex[];
1835
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1836
+ $signatures: import("@xylabs/hex").BrandedHex[];
1269
1837
  nbf: import("../index.ts").XL1BlockNumber;
1270
1838
  exp: import("../index.ts").XL1BlockNumber;
1271
1839
  fees: {
1272
- base: import("@xylabs/hex").Hex;
1273
- gasLimit: import("@xylabs/hex").Hex;
1274
- gasPrice: import("@xylabs/hex").Hex;
1275
- priority: import("@xylabs/hex").Hex;
1276
- };
1277
- chain: import("@xylabs/hex").Hex;
1278
- from: import("@xylabs/hex").Address;
1279
- _hash: import("@xylabs/hex").Hash;
1280
- _dataHash: import("@xylabs/hex").Hash;
1281
- $destination?: import("@xylabs/hex").Address | undefined;
1282
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1840
+ base: import("@xylabs/hex").BrandedHex;
1841
+ gasLimit: import("@xylabs/hex").BrandedHex;
1842
+ gasPrice: import("@xylabs/hex").BrandedHex;
1843
+ priority: import("@xylabs/hex").BrandedHex;
1844
+ };
1845
+ chain: import("@xylabs/hex").BrandedHex;
1846
+ from: Lowercase<string> & {
1847
+ readonly __hex: true;
1848
+ } & {
1849
+ readonly __address: true;
1850
+ };
1851
+ _hash: import("@xylabs/hex").BrandedHash;
1852
+ _dataHash: import("@xylabs/hex").BrandedHash;
1853
+ $destination?: (Lowercase<string> & {
1854
+ readonly __hex: true;
1855
+ } & {
1856
+ readonly __address: true;
1857
+ }) | undefined;
1858
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1283
1859
  script?: string[] | undefined;
1284
1860
  }, {
1285
1861
  schema: string;
1286
- _hash: import("@xylabs/hex").Hash;
1287
- _dataHash: import("@xylabs/hex").Hash;
1862
+ _hash: import("@xylabs/hex").BrandedHash;
1863
+ _dataHash: import("@xylabs/hex").BrandedHash;
1288
1864
  }[]];
1289
1865
  };
1290
1866
  export declare const SignedHydratedTransactionWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
1291
1867
  schema: z.ZodLiteral<"network.xyo.boundwitness">;
1292
- addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
1293
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
1868
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1869
+ readonly __hex: true;
1870
+ } & {
1871
+ readonly __address: true;
1872
+ }, string>>>;
1873
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
1294
1874
  payload_schemas: z.ZodArray<z.ZodString>;
1295
- previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
1296
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
1297
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
1298
- $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
1875
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
1876
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1877
+ readonly __hex: true;
1878
+ } & {
1879
+ readonly __address: true;
1880
+ }, string>>>;
1881
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
1882
+ $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
1299
1883
  nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
1300
1884
  exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
1301
1885
  fees: z.ZodObject<{
1302
- base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1303
- gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1304
- gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1305
- priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1886
+ base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1887
+ gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1888
+ gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1889
+ priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1306
1890
  }, z.core.$strip>;
1307
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
1308
- from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>;
1891
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
1892
+ from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
1893
+ readonly __hex: true;
1894
+ } & {
1895
+ readonly __address: true;
1896
+ }, string>>;
1309
1897
  script: z.ZodOptional<z.ZodArray<z.ZodString>>;
1310
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
1311
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
1898
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
1899
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
1312
1900
  _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>>]>;
1313
1901
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
1314
1902
  schema: z.ZodString;
1315
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
1316
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
1903
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
1904
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
1317
1905
  _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>>]>;
1318
1906
  }, z.core.$strip>>], null>;
1319
1907
  export type SignedHydratedTransactionWithStorageMeta = z.infer<typeof SignedHydratedTransactionWithStorageMetaZod>;
1320
1908
  export declare const isSignedHydratedTransactionWithStorageMeta: <T>(value: T) => value is T & [{
1321
1909
  schema: "network.xyo.boundwitness";
1322
- addresses: import("@xylabs/hex").Address[];
1323
- payload_hashes: import("@xylabs/hex").Hash[];
1910
+ addresses: (Lowercase<string> & {
1911
+ readonly __hex: true;
1912
+ } & {
1913
+ readonly __address: true;
1914
+ })[];
1915
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1324
1916
  payload_schemas: string[];
1325
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1326
- $signatures: import("@xylabs/hex").Hex[];
1917
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1918
+ $signatures: import("@xylabs/hex").BrandedHex[];
1327
1919
  nbf: import("../index.ts").XL1BlockNumber;
1328
1920
  exp: import("../index.ts").XL1BlockNumber;
1329
1921
  fees: {
1330
- base: import("@xylabs/hex").Hex;
1331
- gasLimit: import("@xylabs/hex").Hex;
1332
- gasPrice: import("@xylabs/hex").Hex;
1333
- priority: import("@xylabs/hex").Hex;
1922
+ base: import("@xylabs/hex").BrandedHex;
1923
+ gasLimit: import("@xylabs/hex").BrandedHex;
1924
+ gasPrice: import("@xylabs/hex").BrandedHex;
1925
+ priority: import("@xylabs/hex").BrandedHex;
1926
+ };
1927
+ chain: import("@xylabs/hex").BrandedHex;
1928
+ from: Lowercase<string> & {
1929
+ readonly __hex: true;
1930
+ } & {
1931
+ readonly __address: true;
1334
1932
  };
1335
- chain: import("@xylabs/hex").Hex;
1336
- from: import("@xylabs/hex").Address;
1337
- _hash: import("@xylabs/hex").Hash;
1338
- _dataHash: import("@xylabs/hex").Hash;
1933
+ _hash: import("@xylabs/hex").BrandedHash;
1934
+ _dataHash: import("@xylabs/hex").BrandedHash;
1339
1935
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
1340
- $destination?: import("@xylabs/hex").Address | undefined;
1341
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1936
+ $destination?: (Lowercase<string> & {
1937
+ readonly __hex: true;
1938
+ } & {
1939
+ readonly __address: true;
1940
+ }) | undefined;
1941
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1342
1942
  script?: string[] | undefined;
1343
1943
  }, {
1344
1944
  schema: string;
1345
- _hash: import("@xylabs/hex").Hash;
1346
- _dataHash: import("@xylabs/hex").Hash;
1945
+ _hash: import("@xylabs/hex").BrandedHash;
1946
+ _dataHash: import("@xylabs/hex").BrandedHash;
1347
1947
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
1348
1948
  }[]];
1349
1949
  export declare const asSignedHydratedTransactionWithStorageMeta: {
1350
1950
  <T>(value: T): (T & [{
1351
1951
  schema: "network.xyo.boundwitness";
1352
- addresses: import("@xylabs/hex").Address[];
1353
- payload_hashes: import("@xylabs/hex").Hash[];
1952
+ addresses: (Lowercase<string> & {
1953
+ readonly __hex: true;
1954
+ } & {
1955
+ readonly __address: true;
1956
+ })[];
1957
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1354
1958
  payload_schemas: string[];
1355
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1356
- $signatures: import("@xylabs/hex").Hex[];
1959
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
1960
+ $signatures: import("@xylabs/hex").BrandedHex[];
1357
1961
  nbf: import("../index.ts").XL1BlockNumber;
1358
1962
  exp: import("../index.ts").XL1BlockNumber;
1359
1963
  fees: {
1360
- base: import("@xylabs/hex").Hex;
1361
- gasLimit: import("@xylabs/hex").Hex;
1362
- gasPrice: import("@xylabs/hex").Hex;
1363
- priority: import("@xylabs/hex").Hex;
1364
- };
1365
- chain: import("@xylabs/hex").Hex;
1366
- from: import("@xylabs/hex").Address;
1367
- _hash: import("@xylabs/hex").Hash;
1368
- _dataHash: import("@xylabs/hex").Hash;
1964
+ base: import("@xylabs/hex").BrandedHex;
1965
+ gasLimit: import("@xylabs/hex").BrandedHex;
1966
+ gasPrice: import("@xylabs/hex").BrandedHex;
1967
+ priority: import("@xylabs/hex").BrandedHex;
1968
+ };
1969
+ chain: import("@xylabs/hex").BrandedHex;
1970
+ from: Lowercase<string> & {
1971
+ readonly __hex: true;
1972
+ } & {
1973
+ readonly __address: true;
1974
+ };
1975
+ _hash: import("@xylabs/hex").BrandedHash;
1976
+ _dataHash: import("@xylabs/hex").BrandedHash;
1369
1977
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
1370
- $destination?: import("@xylabs/hex").Address | undefined;
1371
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
1978
+ $destination?: (Lowercase<string> & {
1979
+ readonly __hex: true;
1980
+ } & {
1981
+ readonly __address: true;
1982
+ }) | undefined;
1983
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1372
1984
  script?: string[] | undefined;
1373
1985
  }, {
1374
1986
  schema: string;
1375
- _hash: import("@xylabs/hex").Hash;
1376
- _dataHash: import("@xylabs/hex").Hash;
1987
+ _hash: import("@xylabs/hex").BrandedHash;
1988
+ _dataHash: import("@xylabs/hex").BrandedHash;
1377
1989
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
1378
1990
  }[]]) | undefined;
1379
1991
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
1380
1992
  schema: "network.xyo.boundwitness";
1381
- addresses: import("@xylabs/hex").Address[];
1382
- payload_hashes: import("@xylabs/hex").Hash[];
1993
+ addresses: (Lowercase<string> & {
1994
+ readonly __hex: true;
1995
+ } & {
1996
+ readonly __address: true;
1997
+ })[];
1998
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1383
1999
  payload_schemas: string[];
1384
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1385
- $signatures: import("@xylabs/hex").Hex[];
2000
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
2001
+ $signatures: import("@xylabs/hex").BrandedHex[];
1386
2002
  nbf: import("../index.ts").XL1BlockNumber;
1387
2003
  exp: import("../index.ts").XL1BlockNumber;
1388
2004
  fees: {
1389
- base: import("@xylabs/hex").Hex;
1390
- gasLimit: import("@xylabs/hex").Hex;
1391
- gasPrice: import("@xylabs/hex").Hex;
1392
- priority: import("@xylabs/hex").Hex;
1393
- };
1394
- chain: import("@xylabs/hex").Hex;
1395
- from: import("@xylabs/hex").Address;
1396
- _hash: import("@xylabs/hex").Hash;
1397
- _dataHash: import("@xylabs/hex").Hash;
2005
+ base: import("@xylabs/hex").BrandedHex;
2006
+ gasLimit: import("@xylabs/hex").BrandedHex;
2007
+ gasPrice: import("@xylabs/hex").BrandedHex;
2008
+ priority: import("@xylabs/hex").BrandedHex;
2009
+ };
2010
+ chain: import("@xylabs/hex").BrandedHex;
2011
+ from: Lowercase<string> & {
2012
+ readonly __hex: true;
2013
+ } & {
2014
+ readonly __address: true;
2015
+ };
2016
+ _hash: import("@xylabs/hex").BrandedHash;
2017
+ _dataHash: import("@xylabs/hex").BrandedHash;
1398
2018
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
1399
- $destination?: import("@xylabs/hex").Address | undefined;
1400
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
2019
+ $destination?: (Lowercase<string> & {
2020
+ readonly __hex: true;
2021
+ } & {
2022
+ readonly __address: true;
2023
+ }) | undefined;
2024
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1401
2025
  script?: string[] | undefined;
1402
2026
  }, {
1403
2027
  schema: string;
1404
- _hash: import("@xylabs/hex").Hash;
1405
- _dataHash: import("@xylabs/hex").Hash;
2028
+ _hash: import("@xylabs/hex").BrandedHash;
2029
+ _dataHash: import("@xylabs/hex").BrandedHash;
1406
2030
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
1407
2031
  }[]];
1408
2032
  };
1409
2033
  export declare const toSignedHydratedTransactionWithStorageMeta: {
1410
2034
  <T>(value: T): (T & [{
1411
2035
  schema: "network.xyo.boundwitness";
1412
- addresses: import("@xylabs/hex").Address[];
1413
- payload_hashes: import("@xylabs/hex").Hash[];
2036
+ addresses: (Lowercase<string> & {
2037
+ readonly __hex: true;
2038
+ } & {
2039
+ readonly __address: true;
2040
+ })[];
2041
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1414
2042
  payload_schemas: string[];
1415
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1416
- $signatures: import("@xylabs/hex").Hex[];
2043
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
2044
+ $signatures: import("@xylabs/hex").BrandedHex[];
1417
2045
  nbf: import("../index.ts").XL1BlockNumber;
1418
2046
  exp: import("../index.ts").XL1BlockNumber;
1419
2047
  fees: {
1420
- base: import("@xylabs/hex").Hex;
1421
- gasLimit: import("@xylabs/hex").Hex;
1422
- gasPrice: import("@xylabs/hex").Hex;
1423
- priority: import("@xylabs/hex").Hex;
1424
- };
1425
- chain: import("@xylabs/hex").Hex;
1426
- from: import("@xylabs/hex").Address;
1427
- _hash: import("@xylabs/hex").Hash;
1428
- _dataHash: import("@xylabs/hex").Hash;
2048
+ base: import("@xylabs/hex").BrandedHex;
2049
+ gasLimit: import("@xylabs/hex").BrandedHex;
2050
+ gasPrice: import("@xylabs/hex").BrandedHex;
2051
+ priority: import("@xylabs/hex").BrandedHex;
2052
+ };
2053
+ chain: import("@xylabs/hex").BrandedHex;
2054
+ from: Lowercase<string> & {
2055
+ readonly __hex: true;
2056
+ } & {
2057
+ readonly __address: true;
2058
+ };
2059
+ _hash: import("@xylabs/hex").BrandedHash;
2060
+ _dataHash: import("@xylabs/hex").BrandedHash;
1429
2061
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
1430
- $destination?: import("@xylabs/hex").Address | undefined;
1431
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
2062
+ $destination?: (Lowercase<string> & {
2063
+ readonly __hex: true;
2064
+ } & {
2065
+ readonly __address: true;
2066
+ }) | undefined;
2067
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1432
2068
  script?: string[] | undefined;
1433
2069
  }, {
1434
2070
  schema: string;
1435
- _hash: import("@xylabs/hex").Hash;
1436
- _dataHash: import("@xylabs/hex").Hash;
2071
+ _hash: import("@xylabs/hex").BrandedHash;
2072
+ _dataHash: import("@xylabs/hex").BrandedHash;
1437
2073
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
1438
2074
  }[]]) | undefined;
1439
2075
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
1440
2076
  schema: "network.xyo.boundwitness";
1441
- addresses: import("@xylabs/hex").Address[];
1442
- payload_hashes: import("@xylabs/hex").Hash[];
2077
+ addresses: (Lowercase<string> & {
2078
+ readonly __hex: true;
2079
+ } & {
2080
+ readonly __address: true;
2081
+ })[];
2082
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
1443
2083
  payload_schemas: string[];
1444
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
1445
- $signatures: import("@xylabs/hex").Hex[];
2084
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
2085
+ $signatures: import("@xylabs/hex").BrandedHex[];
1446
2086
  nbf: import("../index.ts").XL1BlockNumber;
1447
2087
  exp: import("../index.ts").XL1BlockNumber;
1448
2088
  fees: {
1449
- base: import("@xylabs/hex").Hex;
1450
- gasLimit: import("@xylabs/hex").Hex;
1451
- gasPrice: import("@xylabs/hex").Hex;
1452
- priority: import("@xylabs/hex").Hex;
1453
- };
1454
- chain: import("@xylabs/hex").Hex;
1455
- from: import("@xylabs/hex").Address;
1456
- _hash: import("@xylabs/hex").Hash;
1457
- _dataHash: import("@xylabs/hex").Hash;
2089
+ base: import("@xylabs/hex").BrandedHex;
2090
+ gasLimit: import("@xylabs/hex").BrandedHex;
2091
+ gasPrice: import("@xylabs/hex").BrandedHex;
2092
+ priority: import("@xylabs/hex").BrandedHex;
2093
+ };
2094
+ chain: import("@xylabs/hex").BrandedHex;
2095
+ from: Lowercase<string> & {
2096
+ readonly __hex: true;
2097
+ } & {
2098
+ readonly __address: true;
2099
+ };
2100
+ _hash: import("@xylabs/hex").BrandedHash;
2101
+ _dataHash: import("@xylabs/hex").BrandedHash;
1458
2102
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
1459
- $destination?: import("@xylabs/hex").Address | undefined;
1460
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
2103
+ $destination?: (Lowercase<string> & {
2104
+ readonly __hex: true;
2105
+ } & {
2106
+ readonly __address: true;
2107
+ }) | undefined;
2108
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
1461
2109
  script?: string[] | undefined;
1462
2110
  }, {
1463
2111
  schema: string;
1464
- _hash: import("@xylabs/hex").Hash;
1465
- _dataHash: import("@xylabs/hex").Hash;
2112
+ _hash: import("@xylabs/hex").BrandedHash;
2113
+ _dataHash: import("@xylabs/hex").BrandedHash;
1466
2114
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
1467
2115
  }[]];
1468
2116
  };