@apibara/starknet 2.0.0-beta.9 → 2.1.0-beta.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.
package/dist/index.d.cts CHANGED
@@ -1,23 +1,28 @@
1
1
  import { StreamConfig } from '@apibara/protocol';
2
+ import { Abi } from 'abi-wan-kanabi';
3
+ export { Abi } from 'abi-wan-kanabi';
2
4
  import _m0 from 'protobufjs/minimal.js';
5
+ import { F as FieldElement$1 } from './shared/starknet.2b19268a.cjs';
6
+ export { a as FieldElementProto, b as feltFromProto, f as feltToProto } from './shared/starknet.2b19268a.cjs';
3
7
  import * as _effect_schema_AST from '@effect/schema/AST';
4
8
  import { Schema } from '@effect/schema';
9
+ import { ExtractAbiEventNames, EventToPrimitiveType } from 'abi-wan-kanabi/kanabi';
5
10
 
6
11
  declare const protobufPackage$2 = "starknet.v2";
7
12
  /** A field element. */
8
- interface FieldElement$1 {
13
+ interface FieldElement {
9
14
  readonly x0?: bigint | undefined;
10
15
  readonly x1?: bigint | undefined;
11
16
  readonly x2?: bigint | undefined;
12
17
  readonly x3?: bigint | undefined;
13
18
  }
14
- declare const FieldElement$1: {
15
- encode(message: FieldElement$1, writer?: _m0.Writer): _m0.Writer;
16
- decode(input: _m0.Reader | Uint8Array, length?: number): FieldElement$1;
17
- fromJSON(object: any): FieldElement$1;
18
- toJSON(message: FieldElement$1): unknown;
19
- create(base?: DeepPartial$2<FieldElement$1>): FieldElement$1;
20
- fromPartial(object: DeepPartial$2<FieldElement$1>): FieldElement$1;
19
+ declare const FieldElement: {
20
+ encode(message: FieldElement, writer?: _m0.Writer): _m0.Writer;
21
+ decode(input: _m0.Reader | Uint8Array, length?: number): FieldElement;
22
+ fromJSON(object: any): FieldElement;
23
+ toJSON(message: FieldElement): unknown;
24
+ create(base?: DeepPartial$2<FieldElement>): FieldElement;
25
+ fromPartial(object: DeepPartial$2<FieldElement>): FieldElement;
21
26
  };
22
27
  type Builtin$2 = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
23
28
  type DeepPartial$2<T> = T extends Builtin$2 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$2<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$2<U>> : T extends {
@@ -30,8 +35,9 @@ type DeepPartial$2<T> = T extends Builtin$2 ? T : T extends globalThis.Array<inf
30
35
  [K in keyof T]?: DeepPartial$2<T[K]>;
31
36
  } : Partial<T>;
32
37
 
38
+ declare const common_FieldElement: typeof FieldElement;
33
39
  declare namespace common {
34
- export { type DeepPartial$2 as DeepPartial, FieldElement$1 as FieldElement, protobufPackage$2 as protobufPackage };
40
+ export { type DeepPartial$2 as DeepPartial, common_FieldElement as FieldElement, protobufPackage$2 as protobufPackage };
35
41
  }
36
42
 
37
43
  declare const protobufPackage$1 = "starknet.v2";
@@ -121,15 +127,15 @@ declare const Block$1: {
121
127
  /** Block header. */
122
128
  interface BlockHeader$1 {
123
129
  /** Hash of the block. */
124
- readonly blockHash?: FieldElement$1 | undefined;
130
+ readonly blockHash?: FieldElement | undefined;
125
131
  /** Hash of the block's parent. */
126
- readonly parentBlockHash?: FieldElement$1 | undefined;
132
+ readonly parentBlockHash?: FieldElement | undefined;
127
133
  /** Block height. */
128
134
  readonly blockNumber?: bigint | undefined;
129
135
  /** Sequencer address. */
130
- readonly sequencerAddress?: FieldElement$1 | undefined;
136
+ readonly sequencerAddress?: FieldElement | undefined;
131
137
  /** New state root after the block. */
132
- readonly newRoot?: FieldElement$1 | undefined;
138
+ readonly newRoot?: FieldElement | undefined;
133
139
  /** Timestamp when block was produced. */
134
140
  readonly timestamp?: Date | undefined;
135
141
  /** Starknet version. */
@@ -201,7 +207,7 @@ interface TransactionMeta$1 {
201
207
  /** Transaction index. */
202
208
  readonly transactionIndex?: number | undefined;
203
209
  /** Transaction hash. */
204
- readonly transactionHash?: FieldElement$1 | undefined;
210
+ readonly transactionHash?: FieldElement | undefined;
205
211
  /** Transaction status. */
206
212
  readonly transactionStatus?: TransactionStatus$1 | undefined;
207
213
  }
@@ -214,11 +220,11 @@ declare const TransactionMeta$1: {
214
220
  fromPartial(object: DeepPartial$1<TransactionMeta$1>): TransactionMeta$1;
215
221
  };
216
222
  interface InvokeTransactionV0$1 {
217
- readonly maxFee?: FieldElement$1 | undefined;
218
- readonly signature?: readonly FieldElement$1[] | undefined;
219
- readonly contractAddress?: FieldElement$1 | undefined;
220
- readonly entryPointSelector?: FieldElement$1 | undefined;
221
- readonly calldata?: readonly FieldElement$1[] | undefined;
223
+ readonly maxFee?: FieldElement | undefined;
224
+ readonly signature?: readonly FieldElement[] | undefined;
225
+ readonly contractAddress?: FieldElement | undefined;
226
+ readonly entryPointSelector?: FieldElement | undefined;
227
+ readonly calldata?: readonly FieldElement[] | undefined;
222
228
  }
223
229
  declare const InvokeTransactionV0$1: {
224
230
  encode(message: InvokeTransactionV0$1, writer?: _m0.Writer): _m0.Writer;
@@ -229,11 +235,11 @@ declare const InvokeTransactionV0$1: {
229
235
  fromPartial(object: DeepPartial$1<InvokeTransactionV0$1>): InvokeTransactionV0$1;
230
236
  };
231
237
  interface InvokeTransactionV1$1 {
232
- readonly senderAddress?: FieldElement$1 | undefined;
233
- readonly calldata?: readonly FieldElement$1[] | undefined;
234
- readonly maxFee?: FieldElement$1 | undefined;
235
- readonly signature?: readonly FieldElement$1[] | undefined;
236
- readonly nonce?: FieldElement$1 | undefined;
238
+ readonly senderAddress?: FieldElement | undefined;
239
+ readonly calldata?: readonly FieldElement[] | undefined;
240
+ readonly maxFee?: FieldElement | undefined;
241
+ readonly signature?: readonly FieldElement[] | undefined;
242
+ readonly nonce?: FieldElement | undefined;
237
243
  }
238
244
  declare const InvokeTransactionV1$1: {
239
245
  encode(message: InvokeTransactionV1$1, writer?: _m0.Writer): _m0.Writer;
@@ -244,14 +250,14 @@ declare const InvokeTransactionV1$1: {
244
250
  fromPartial(object: DeepPartial$1<InvokeTransactionV1$1>): InvokeTransactionV1$1;
245
251
  };
246
252
  interface InvokeTransactionV3$1 {
247
- readonly senderAddress?: FieldElement$1 | undefined;
248
- readonly calldata?: readonly FieldElement$1[] | undefined;
249
- readonly signature?: readonly FieldElement$1[] | undefined;
250
- readonly nonce?: FieldElement$1 | undefined;
253
+ readonly senderAddress?: FieldElement | undefined;
254
+ readonly calldata?: readonly FieldElement[] | undefined;
255
+ readonly signature?: readonly FieldElement[] | undefined;
256
+ readonly nonce?: FieldElement | undefined;
251
257
  readonly resourceBounds?: ResourceBoundsMapping$1 | undefined;
252
258
  readonly tip?: bigint | undefined;
253
- readonly paymasterData?: readonly FieldElement$1[] | undefined;
254
- readonly accountDeploymentData?: readonly FieldElement$1[] | undefined;
259
+ readonly paymasterData?: readonly FieldElement[] | undefined;
260
+ readonly accountDeploymentData?: readonly FieldElement[] | undefined;
255
261
  readonly nonceDataAvailabilityMode?: DataAvailabilityMode$1 | undefined;
256
262
  readonly feeDataAvailabilityMode?: DataAvailabilityMode$1 | undefined;
257
263
  }
@@ -265,9 +271,9 @@ declare const InvokeTransactionV3$1: {
265
271
  };
266
272
  interface L1HandlerTransaction$1 {
267
273
  readonly nonce?: bigint | undefined;
268
- readonly contractAddress?: FieldElement$1 | undefined;
269
- readonly entryPointSelector?: FieldElement$1 | undefined;
270
- readonly calldata?: readonly FieldElement$1[] | undefined;
274
+ readonly contractAddress?: FieldElement | undefined;
275
+ readonly entryPointSelector?: FieldElement | undefined;
276
+ readonly calldata?: readonly FieldElement[] | undefined;
271
277
  }
272
278
  declare const L1HandlerTransaction$1: {
273
279
  encode(message: L1HandlerTransaction$1, writer?: _m0.Writer): _m0.Writer;
@@ -278,9 +284,9 @@ declare const L1HandlerTransaction$1: {
278
284
  fromPartial(object: DeepPartial$1<L1HandlerTransaction$1>): L1HandlerTransaction$1;
279
285
  };
280
286
  interface DeployTransaction$1 {
281
- readonly contractAddressSalt?: FieldElement$1 | undefined;
282
- readonly constructorCalldata?: readonly FieldElement$1[] | undefined;
283
- readonly classHash?: FieldElement$1 | undefined;
287
+ readonly contractAddressSalt?: FieldElement | undefined;
288
+ readonly constructorCalldata?: readonly FieldElement[] | undefined;
289
+ readonly classHash?: FieldElement | undefined;
284
290
  }
285
291
  declare const DeployTransaction$1: {
286
292
  encode(message: DeployTransaction$1, writer?: _m0.Writer): _m0.Writer;
@@ -291,10 +297,10 @@ declare const DeployTransaction$1: {
291
297
  fromPartial(object: DeepPartial$1<DeployTransaction$1>): DeployTransaction$1;
292
298
  };
293
299
  interface DeclareTransactionV0$1 {
294
- readonly senderAddress?: FieldElement$1 | undefined;
295
- readonly maxFee?: FieldElement$1 | undefined;
296
- readonly signature?: readonly FieldElement$1[] | undefined;
297
- readonly classHash?: FieldElement$1 | undefined;
300
+ readonly senderAddress?: FieldElement | undefined;
301
+ readonly maxFee?: FieldElement | undefined;
302
+ readonly signature?: readonly FieldElement[] | undefined;
303
+ readonly classHash?: FieldElement | undefined;
298
304
  }
299
305
  declare const DeclareTransactionV0$1: {
300
306
  encode(message: DeclareTransactionV0$1, writer?: _m0.Writer): _m0.Writer;
@@ -305,11 +311,11 @@ declare const DeclareTransactionV0$1: {
305
311
  fromPartial(object: DeepPartial$1<DeclareTransactionV0$1>): DeclareTransactionV0$1;
306
312
  };
307
313
  interface DeclareTransactionV1$1 {
308
- readonly senderAddress?: FieldElement$1 | undefined;
309
- readonly maxFee?: FieldElement$1 | undefined;
310
- readonly signature?: readonly FieldElement$1[] | undefined;
311
- readonly nonce?: FieldElement$1 | undefined;
312
- readonly classHash?: FieldElement$1 | undefined;
314
+ readonly senderAddress?: FieldElement | undefined;
315
+ readonly maxFee?: FieldElement | undefined;
316
+ readonly signature?: readonly FieldElement[] | undefined;
317
+ readonly nonce?: FieldElement | undefined;
318
+ readonly classHash?: FieldElement | undefined;
313
319
  }
314
320
  declare const DeclareTransactionV1$1: {
315
321
  encode(message: DeclareTransactionV1$1, writer?: _m0.Writer): _m0.Writer;
@@ -320,12 +326,12 @@ declare const DeclareTransactionV1$1: {
320
326
  fromPartial(object: DeepPartial$1<DeclareTransactionV1$1>): DeclareTransactionV1$1;
321
327
  };
322
328
  interface DeclareTransactionV2$1 {
323
- readonly senderAddress?: FieldElement$1 | undefined;
324
- readonly compiledClassHash?: FieldElement$1 | undefined;
325
- readonly maxFee?: FieldElement$1 | undefined;
326
- readonly signature?: readonly FieldElement$1[] | undefined;
327
- readonly nonce?: FieldElement$1 | undefined;
328
- readonly classHash?: FieldElement$1 | undefined;
329
+ readonly senderAddress?: FieldElement | undefined;
330
+ readonly compiledClassHash?: FieldElement | undefined;
331
+ readonly maxFee?: FieldElement | undefined;
332
+ readonly signature?: readonly FieldElement[] | undefined;
333
+ readonly nonce?: FieldElement | undefined;
334
+ readonly classHash?: FieldElement | undefined;
329
335
  }
330
336
  declare const DeclareTransactionV2$1: {
331
337
  encode(message: DeclareTransactionV2$1, writer?: _m0.Writer): _m0.Writer;
@@ -336,15 +342,15 @@ declare const DeclareTransactionV2$1: {
336
342
  fromPartial(object: DeepPartial$1<DeclareTransactionV2$1>): DeclareTransactionV2$1;
337
343
  };
338
344
  interface DeclareTransactionV3$1 {
339
- readonly senderAddress?: FieldElement$1 | undefined;
340
- readonly compiledClassHash?: FieldElement$1 | undefined;
341
- readonly signature?: readonly FieldElement$1[] | undefined;
342
- readonly nonce?: FieldElement$1 | undefined;
343
- readonly classHash?: FieldElement$1 | undefined;
345
+ readonly senderAddress?: FieldElement | undefined;
346
+ readonly compiledClassHash?: FieldElement | undefined;
347
+ readonly signature?: readonly FieldElement[] | undefined;
348
+ readonly nonce?: FieldElement | undefined;
349
+ readonly classHash?: FieldElement | undefined;
344
350
  readonly resourceBounds?: ResourceBoundsMapping$1 | undefined;
345
351
  readonly tip?: bigint | undefined;
346
- readonly paymasterData?: readonly FieldElement$1[] | undefined;
347
- readonly accountDeploymentData?: readonly FieldElement$1[] | undefined;
352
+ readonly paymasterData?: readonly FieldElement[] | undefined;
353
+ readonly accountDeploymentData?: readonly FieldElement[] | undefined;
348
354
  readonly nonceDataAvailabilityMode?: DataAvailabilityMode$1 | undefined;
349
355
  readonly feeDataAvailabilityMode?: DataAvailabilityMode$1 | undefined;
350
356
  }
@@ -357,12 +363,12 @@ declare const DeclareTransactionV3$1: {
357
363
  fromPartial(object: DeepPartial$1<DeclareTransactionV3$1>): DeclareTransactionV3$1;
358
364
  };
359
365
  interface DeployAccountTransactionV1$1 {
360
- readonly maxFee?: FieldElement$1 | undefined;
361
- readonly signature?: readonly FieldElement$1[] | undefined;
362
- readonly nonce?: FieldElement$1 | undefined;
363
- readonly contractAddressSalt?: FieldElement$1 | undefined;
364
- readonly constructorCalldata?: readonly FieldElement$1[] | undefined;
365
- readonly classHash?: FieldElement$1 | undefined;
366
+ readonly maxFee?: FieldElement | undefined;
367
+ readonly signature?: readonly FieldElement[] | undefined;
368
+ readonly nonce?: FieldElement | undefined;
369
+ readonly contractAddressSalt?: FieldElement | undefined;
370
+ readonly constructorCalldata?: readonly FieldElement[] | undefined;
371
+ readonly classHash?: FieldElement | undefined;
366
372
  }
367
373
  declare const DeployAccountTransactionV1$1: {
368
374
  encode(message: DeployAccountTransactionV1$1, writer?: _m0.Writer): _m0.Writer;
@@ -373,14 +379,14 @@ declare const DeployAccountTransactionV1$1: {
373
379
  fromPartial(object: DeepPartial$1<DeployAccountTransactionV1$1>): DeployAccountTransactionV1$1;
374
380
  };
375
381
  interface DeployAccountTransactionV3$1 {
376
- readonly signature?: readonly FieldElement$1[] | undefined;
377
- readonly nonce?: FieldElement$1 | undefined;
378
- readonly contractAddressSalt?: FieldElement$1 | undefined;
379
- readonly constructorCalldata?: readonly FieldElement$1[] | undefined;
380
- readonly classHash?: FieldElement$1 | undefined;
382
+ readonly signature?: readonly FieldElement[] | undefined;
383
+ readonly nonce?: FieldElement | undefined;
384
+ readonly contractAddressSalt?: FieldElement | undefined;
385
+ readonly constructorCalldata?: readonly FieldElement[] | undefined;
386
+ readonly classHash?: FieldElement | undefined;
381
387
  readonly resourceBounds?: ResourceBoundsMapping$1 | undefined;
382
388
  readonly tip?: bigint | undefined;
383
- readonly paymasterData?: readonly FieldElement$1[] | undefined;
389
+ readonly paymasterData?: readonly FieldElement[] | undefined;
384
390
  readonly nonceDataAvailabilityMode?: DataAvailabilityMode$1 | undefined;
385
391
  readonly feeDataAvailabilityMode?: DataAvailabilityMode$1 | undefined;
386
392
  }
@@ -423,7 +429,7 @@ declare const TransactionReceipt$1: {
423
429
  };
424
430
  interface TransactionReceiptMeta$1 {
425
431
  readonly transactionIndex?: number | undefined;
426
- readonly transactionHash?: FieldElement$1 | undefined;
432
+ readonly transactionHash?: FieldElement | undefined;
427
433
  readonly actualFee?: FeePayment$1 | undefined;
428
434
  readonly executionResources?: ExecutionResources$1 | undefined;
429
435
  readonly executionResult?: {
@@ -495,7 +501,7 @@ declare const DeclareTransactionReceipt$1: {
495
501
  fromPartial(_: DeepPartial$1<DeclareTransactionReceipt$1>): DeclareTransactionReceipt$1;
496
502
  };
497
503
  interface DeployTransactionReceipt$1 {
498
- readonly contractAddress?: FieldElement$1 | undefined;
504
+ readonly contractAddress?: FieldElement | undefined;
499
505
  }
500
506
  declare const DeployTransactionReceipt$1: {
501
507
  encode(message: DeployTransactionReceipt$1, writer?: _m0.Writer): _m0.Writer;
@@ -506,7 +512,7 @@ declare const DeployTransactionReceipt$1: {
506
512
  fromPartial(object: DeepPartial$1<DeployTransactionReceipt$1>): DeployTransactionReceipt$1;
507
513
  };
508
514
  interface DeployAccountTransactionReceipt$1 {
509
- readonly contractAddress?: FieldElement$1 | undefined;
515
+ readonly contractAddress?: FieldElement | undefined;
510
516
  }
511
517
  declare const DeployAccountTransactionReceipt$1: {
512
518
  encode(message: DeployAccountTransactionReceipt$1, writer?: _m0.Writer): _m0.Writer;
@@ -520,19 +526,21 @@ declare const DeployAccountTransactionReceipt$1: {
520
526
  interface Event$1 {
521
527
  readonly filterIds?: readonly number[] | undefined;
522
528
  /** The contract that emitted the event. */
523
- readonly fromAddress?: FieldElement$1 | undefined;
529
+ readonly address?: FieldElement | undefined;
524
530
  /** The event keys. */
525
- readonly keys?: readonly FieldElement$1[] | undefined;
531
+ readonly keys?: readonly FieldElement[] | undefined;
526
532
  /** The event data. */
527
- readonly data?: readonly FieldElement$1[] | undefined;
533
+ readonly data?: readonly FieldElement[] | undefined;
528
534
  /** The event index. */
529
535
  readonly eventIndex?: number | undefined;
530
536
  /** Transaction index. */
531
537
  readonly transactionIndex?: number | undefined;
532
538
  /** Transaction hash. */
533
- readonly transactionHash?: FieldElement$1 | undefined;
539
+ readonly transactionHash?: FieldElement | undefined;
534
540
  /** Transaction status. */
535
541
  readonly transactionStatus?: TransactionStatus$1 | undefined;
542
+ /** Event index in the transaction. */
543
+ readonly eventIndexInTransaction?: number | undefined;
536
544
  }
537
545
  declare const Event$1: {
538
546
  encode(message: Event$1, writer?: _m0.Writer): _m0.Writer;
@@ -545,19 +553,21 @@ declare const Event$1: {
545
553
  interface MessageToL1$1 {
546
554
  readonly filterIds?: readonly number[] | undefined;
547
555
  /** The contract sending the message. */
548
- readonly fromAddress?: FieldElement$1 | undefined;
556
+ readonly fromAddress?: FieldElement | undefined;
549
557
  /** Target address. */
550
- readonly toAddress?: FieldElement$1 | undefined;
558
+ readonly toAddress?: FieldElement | undefined;
551
559
  /** Message payload. */
552
- readonly payload?: readonly FieldElement$1[] | undefined;
560
+ readonly payload?: readonly FieldElement[] | undefined;
553
561
  /** Message index. */
554
562
  readonly messageIndex?: number | undefined;
555
563
  /** Transaction index. */
556
564
  readonly transactionIndex?: number | undefined;
557
565
  /** Transaction hash. */
558
- readonly transactionHash?: FieldElement$1 | undefined;
566
+ readonly transactionHash?: FieldElement | undefined;
559
567
  /** Transaction status. */
560
568
  readonly transactionStatus?: TransactionStatus$1 | undefined;
569
+ /** Message index in the transaction. */
570
+ readonly messageIndexInTransaction?: number | undefined;
561
571
  }
562
572
  declare const MessageToL1$1: {
563
573
  encode(message: MessageToL1$1, writer?: _m0.Writer): _m0.Writer;
@@ -570,9 +580,9 @@ declare const MessageToL1$1: {
570
580
  /** Price of a unit of a resource. */
571
581
  interface ResourcePrice$1 {
572
582
  /** Price in fri (10^-18 strk). */
573
- readonly priceInFri?: FieldElement$1 | undefined;
583
+ readonly priceInFri?: FieldElement | undefined;
574
584
  /** Price in wei (10^-18 eth). */
575
- readonly priceInWei?: FieldElement$1 | undefined;
585
+ readonly priceInWei?: FieldElement | undefined;
576
586
  }
577
587
  declare const ResourcePrice$1: {
578
588
  encode(message: ResourcePrice$1, writer?: _m0.Writer): _m0.Writer;
@@ -585,7 +595,7 @@ declare const ResourcePrice$1: {
585
595
  /** A Starknet fee payment. */
586
596
  interface FeePayment$1 {
587
597
  /** Amount paid. */
588
- readonly amount?: FieldElement$1 | undefined;
598
+ readonly amount?: FieldElement | undefined;
589
599
  /** Unit of the amount. */
590
600
  readonly unit?: PriceUnit$1 | undefined;
591
601
  }
@@ -701,7 +711,7 @@ declare const Uint128: {
701
711
  interface StorageDiff$1 {
702
712
  readonly filterIds?: readonly number[] | undefined;
703
713
  /** The contract address. */
704
- readonly contractAddress?: FieldElement$1 | undefined;
714
+ readonly contractAddress?: FieldElement | undefined;
705
715
  /** Entries that changed. */
706
716
  readonly storageEntries?: readonly StorageEntry$1[] | undefined;
707
717
  }
@@ -716,9 +726,9 @@ declare const StorageDiff$1: {
716
726
  /** Storage entry. */
717
727
  interface StorageEntry$1 {
718
728
  /** Storage location. */
719
- readonly key?: FieldElement$1 | undefined;
729
+ readonly key?: FieldElement | undefined;
720
730
  /** Storage value. */
721
- readonly value?: FieldElement$1 | undefined;
731
+ readonly value?: FieldElement | undefined;
722
732
  }
723
733
  declare const StorageEntry$1: {
724
734
  encode(message: StorageEntry$1, writer?: _m0.Writer): _m0.Writer;
@@ -753,13 +763,13 @@ declare const ContractChange$1: {
753
763
  /** Class declared. */
754
764
  interface DeclaredClass$1 {
755
765
  /** Class hash of the newly declared class. */
756
- readonly classHash?: FieldElement$1 | undefined;
766
+ readonly classHash?: FieldElement | undefined;
757
767
  /**
758
768
  * Hash of the cairo assembly resulting from the sierra compilation.
759
769
  *
760
770
  * If undefined, it's the result of a deprecated Cairo 0 declaration.
761
771
  */
762
- readonly compiledClassHash?: FieldElement$1 | undefined;
772
+ readonly compiledClassHash?: FieldElement | undefined;
763
773
  }
764
774
  declare const DeclaredClass$1: {
765
775
  encode(message: DeclaredClass$1, writer?: _m0.Writer): _m0.Writer;
@@ -772,9 +782,9 @@ declare const DeclaredClass$1: {
772
782
  /** Class replaced. */
773
783
  interface ReplacedClass$1 {
774
784
  /** The address of the contract whose class was replaced. */
775
- readonly contractAddress?: FieldElement$1 | undefined;
785
+ readonly contractAddress?: FieldElement | undefined;
776
786
  /** The new class hash. */
777
- readonly classHash?: FieldElement$1 | undefined;
787
+ readonly classHash?: FieldElement | undefined;
778
788
  }
779
789
  declare const ReplacedClass$1: {
780
790
  encode(message: ReplacedClass$1, writer?: _m0.Writer): _m0.Writer;
@@ -787,9 +797,9 @@ declare const ReplacedClass$1: {
787
797
  /** Contract deployed. */
788
798
  interface DeployedContract$1 {
789
799
  /** Address of the newly deployed contract. */
790
- readonly contractAddress?: FieldElement$1 | undefined;
800
+ readonly contractAddress?: FieldElement | undefined;
791
801
  /** Class hash of the deployed contract. */
792
- readonly classHash?: FieldElement$1 | undefined;
802
+ readonly classHash?: FieldElement | undefined;
793
803
  }
794
804
  declare const DeployedContract$1: {
795
805
  encode(message: DeployedContract$1, writer?: _m0.Writer): _m0.Writer;
@@ -803,9 +813,9 @@ declare const DeployedContract$1: {
803
813
  interface NonceUpdate$1 {
804
814
  readonly filterIds?: readonly number[] | undefined;
805
815
  /** Contract address. */
806
- readonly contractAddress?: FieldElement$1 | undefined;
816
+ readonly contractAddress?: FieldElement | undefined;
807
817
  /** New nonce value. */
808
- readonly nonce?: FieldElement$1 | undefined;
818
+ readonly nonce?: FieldElement | undefined;
809
819
  }
810
820
  declare const NonceUpdate$1: {
811
821
  encode(message: NonceUpdate$1, writer?: _m0.Writer): _m0.Writer;
@@ -891,7 +901,7 @@ declare const Filter$1: {
891
901
  interface EventFilter$1 {
892
902
  readonly id?: number | undefined;
893
903
  /** Filter by contract emitting the event. */
894
- readonly address?: FieldElement$1 | undefined;
904
+ readonly address?: FieldElement | undefined;
895
905
  /** Filter keys that prefix-match the given data. */
896
906
  readonly keys?: readonly Key$1[] | undefined;
897
907
  /**
@@ -941,7 +951,7 @@ declare const EventFilter$1: {
941
951
  };
942
952
  interface Key$1 {
943
953
  /** The event key. If empty, matches any event key. */
944
- readonly value?: FieldElement$1 | undefined;
954
+ readonly value?: FieldElement | undefined;
945
955
  }
946
956
  declare const Key$1: {
947
957
  encode(message: Key$1, writer?: _m0.Writer): _m0.Writer;
@@ -955,9 +965,9 @@ declare const Key$1: {
955
965
  interface MessageToL1Filter$1 {
956
966
  readonly id?: number | undefined;
957
967
  /** Filter by sender address. */
958
- readonly fromAddress?: FieldElement$1 | undefined;
968
+ readonly fromAddress?: FieldElement | undefined;
959
969
  /** Filter by destination address. */
960
- readonly toAddress?: FieldElement$1 | undefined;
970
+ readonly toAddress?: FieldElement | undefined;
961
971
  /**
962
972
  * Filter based on the transaction status.
963
973
  *
@@ -1180,7 +1190,7 @@ declare const DeployAccountV3TransactionFilter$1: {
1180
1190
  interface StorageDiffFilter$1 {
1181
1191
  readonly id?: number | undefined;
1182
1192
  /** Filter by contract address. */
1183
- readonly contractAddress?: FieldElement$1 | undefined;
1193
+ readonly contractAddress?: FieldElement | undefined;
1184
1194
  }
1185
1195
  declare const StorageDiffFilter$1: {
1186
1196
  encode(message: StorageDiffFilter$1, writer?: _m0.Writer): _m0.Writer;
@@ -1244,7 +1254,7 @@ declare const DeployedContractFilter$1: {
1244
1254
  interface NonceUpdateFilter$1 {
1245
1255
  readonly id?: number | undefined;
1246
1256
  /** Filter by contract address. */
1247
- readonly contractAddress?: FieldElement$1 | undefined;
1257
+ readonly contractAddress?: FieldElement | undefined;
1248
1258
  }
1249
1259
  declare const NonceUpdateFilter$1: {
1250
1260
  encode(message: NonceUpdateFilter$1, writer?: _m0.Writer): _m0.Writer;
@@ -1282,33 +1292,6 @@ declare namespace index {
1282
1292
  export { index_common as common, index_data as data, index_filter as filter };
1283
1293
  }
1284
1294
 
1285
- /** Wire representation of `FieldElement`. */
1286
- declare const FieldElementProto: Schema.Struct<{
1287
- x0: typeof Schema.BigIntFromSelf;
1288
- x1: typeof Schema.BigIntFromSelf;
1289
- x2: typeof Schema.BigIntFromSelf;
1290
- x3: typeof Schema.BigIntFromSelf;
1291
- }>;
1292
- /** Field element. */
1293
- declare const FieldElement: Schema.transform<Schema.Struct<{
1294
- x0: typeof Schema.BigIntFromSelf;
1295
- x1: typeof Schema.BigIntFromSelf;
1296
- x2: typeof Schema.BigIntFromSelf;
1297
- x3: typeof Schema.BigIntFromSelf;
1298
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1299
- declare const feltToProto: (a: `0x${string}`, overrideOptions?: _effect_schema_AST.ParseOptions) => {
1300
- readonly x0: bigint;
1301
- readonly x1: bigint;
1302
- readonly x2: bigint;
1303
- readonly x3: bigint;
1304
- };
1305
- declare const feltFromProto: (i: {
1306
- readonly x0: bigint;
1307
- readonly x1: bigint;
1308
- readonly x2: bigint;
1309
- readonly x3: bigint;
1310
- }, overrideOptions?: _effect_schema_AST.ParseOptions) => `0x${string}`;
1311
-
1312
1295
  /** Header options.
1313
1296
  *
1314
1297
  * - `always`: receive all block headers.
@@ -2410,27 +2393,27 @@ declare const U128: Schema.transform<Schema.Struct<{
2410
2393
  x1: typeof Schema.BigIntFromSelf;
2411
2394
  }>, typeof Schema.BigIntFromSelf>;
2412
2395
  declare const ResourceBounds: Schema.Struct<{
2413
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
2414
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
2396
+ maxAmount: typeof Schema.BigIntFromSelf;
2397
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
2415
2398
  x0: typeof Schema.BigIntFromSelf;
2416
2399
  x1: typeof Schema.BigIntFromSelf;
2417
- }>, typeof Schema.BigIntFromSelf>>;
2400
+ }>, typeof Schema.BigIntFromSelf>;
2418
2401
  }>;
2419
2402
  declare const ResourceBoundsMapping: Schema.Struct<{
2420
- l1Gas: Schema.optional<Schema.Struct<{
2421
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
2422
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
2403
+ l1Gas: Schema.Struct<{
2404
+ maxAmount: typeof Schema.BigIntFromSelf;
2405
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
2423
2406
  x0: typeof Schema.BigIntFromSelf;
2424
2407
  x1: typeof Schema.BigIntFromSelf;
2425
- }>, typeof Schema.BigIntFromSelf>>;
2426
- }>>;
2427
- l2Gas: Schema.optional<Schema.Struct<{
2428
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
2429
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
2408
+ }>, typeof Schema.BigIntFromSelf>;
2409
+ }>;
2410
+ l2Gas: Schema.Struct<{
2411
+ maxAmount: typeof Schema.BigIntFromSelf;
2412
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
2430
2413
  x0: typeof Schema.BigIntFromSelf;
2431
2414
  x1: typeof Schema.BigIntFromSelf;
2432
- }>, typeof Schema.BigIntFromSelf>>;
2433
- }>>;
2415
+ }>, typeof Schema.BigIntFromSelf>;
2416
+ }>;
2434
2417
  }>;
2435
2418
  declare const DataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
2436
2419
  /** Starknet block header.
@@ -2453,28 +2436,28 @@ declare const BlockHeader: Schema.Struct<{
2453
2436
  x2: typeof Schema.BigIntFromSelf;
2454
2437
  x3: typeof Schema.BigIntFromSelf;
2455
2438
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2456
- parentBlockHash: Schema.optional<Schema.transform<Schema.Struct<{
2439
+ parentBlockHash: Schema.transform<Schema.Struct<{
2457
2440
  x0: typeof Schema.BigIntFromSelf;
2458
2441
  x1: typeof Schema.BigIntFromSelf;
2459
2442
  x2: typeof Schema.BigIntFromSelf;
2460
2443
  x3: typeof Schema.BigIntFromSelf;
2461
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2444
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2462
2445
  blockNumber: typeof Schema.BigIntFromSelf;
2463
- sequencerAddress: Schema.optional<Schema.transform<Schema.Struct<{
2446
+ sequencerAddress: Schema.transform<Schema.Struct<{
2464
2447
  x0: typeof Schema.BigIntFromSelf;
2465
2448
  x1: typeof Schema.BigIntFromSelf;
2466
2449
  x2: typeof Schema.BigIntFromSelf;
2467
2450
  x3: typeof Schema.BigIntFromSelf;
2468
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2451
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2469
2452
  newRoot: Schema.optional<Schema.transform<Schema.Struct<{
2470
2453
  x0: typeof Schema.BigIntFromSelf;
2471
2454
  x1: typeof Schema.BigIntFromSelf;
2472
2455
  x2: typeof Schema.BigIntFromSelf;
2473
2456
  x3: typeof Schema.BigIntFromSelf;
2474
2457
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2475
- timestamp: Schema.optional<typeof Schema.DateFromSelf>;
2476
- starknetVersion: Schema.optional<typeof Schema.String>;
2477
- l1GasPrice: Schema.optional<Schema.Struct<{
2458
+ timestamp: typeof Schema.DateFromSelf;
2459
+ starknetVersion: typeof Schema.String;
2460
+ l1GasPrice: Schema.Struct<{
2478
2461
  priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
2479
2462
  x0: typeof Schema.BigIntFromSelf;
2480
2463
  x1: typeof Schema.BigIntFromSelf;
@@ -2487,8 +2470,8 @@ declare const BlockHeader: Schema.Struct<{
2487
2470
  x2: typeof Schema.BigIntFromSelf;
2488
2471
  x3: typeof Schema.BigIntFromSelf;
2489
2472
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2490
- }>>;
2491
- l1DataGasPrice: Schema.optional<Schema.Struct<{
2473
+ }>;
2474
+ l1DataGasPrice: Schema.Struct<{
2492
2475
  priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
2493
2476
  x0: typeof Schema.BigIntFromSelf;
2494
2477
  x1: typeof Schema.BigIntFromSelf;
@@ -2501,8 +2484,8 @@ declare const BlockHeader: Schema.Struct<{
2501
2484
  x2: typeof Schema.BigIntFromSelf;
2502
2485
  x3: typeof Schema.BigIntFromSelf;
2503
2486
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2504
- }>>;
2505
- l1DataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>>;
2487
+ }>;
2488
+ l1DataAvailabilityMode: Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>;
2506
2489
  }>;
2507
2490
  type BlockHeader = typeof BlockHeader.Type;
2508
2491
  /** Transaction metadata.
@@ -2514,463 +2497,463 @@ type BlockHeader = typeof BlockHeader.Type;
2514
2497
  * @prop transactionStatus The transaction status.
2515
2498
  */
2516
2499
  declare const TransactionMeta: Schema.Struct<{
2517
- transactionIndex: Schema.optional<typeof Schema.Number>;
2518
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
2500
+ transactionIndex: typeof Schema.Number;
2501
+ transactionHash: Schema.transform<Schema.Struct<{
2519
2502
  x0: typeof Schema.BigIntFromSelf;
2520
2503
  x1: typeof Schema.BigIntFromSelf;
2521
2504
  x2: typeof Schema.BigIntFromSelf;
2522
2505
  x3: typeof Schema.BigIntFromSelf;
2523
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2524
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
2506
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2507
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
2525
2508
  }>;
2526
2509
  type TransactionMeta = typeof TransactionMeta.Type;
2527
2510
  declare const InvokeTransactionV0: Schema.Struct<{
2528
2511
  _tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
2529
2512
  invokeV0: Schema.Struct<{
2530
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
2513
+ maxFee: Schema.transform<Schema.Struct<{
2531
2514
  x0: typeof Schema.BigIntFromSelf;
2532
2515
  x1: typeof Schema.BigIntFromSelf;
2533
2516
  x2: typeof Schema.BigIntFromSelf;
2534
2517
  x3: typeof Schema.BigIntFromSelf;
2535
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2536
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2518
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2519
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
2537
2520
  x0: typeof Schema.BigIntFromSelf;
2538
2521
  x1: typeof Schema.BigIntFromSelf;
2539
2522
  x2: typeof Schema.BigIntFromSelf;
2540
2523
  x3: typeof Schema.BigIntFromSelf;
2541
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2542
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
2524
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2525
+ contractAddress: Schema.transform<Schema.Struct<{
2543
2526
  x0: typeof Schema.BigIntFromSelf;
2544
2527
  x1: typeof Schema.BigIntFromSelf;
2545
2528
  x2: typeof Schema.BigIntFromSelf;
2546
2529
  x3: typeof Schema.BigIntFromSelf;
2547
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2548
- entryPointSelector: Schema.optional<Schema.transform<Schema.Struct<{
2530
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2531
+ entryPointSelector: Schema.transform<Schema.Struct<{
2549
2532
  x0: typeof Schema.BigIntFromSelf;
2550
2533
  x1: typeof Schema.BigIntFromSelf;
2551
2534
  x2: typeof Schema.BigIntFromSelf;
2552
2535
  x3: typeof Schema.BigIntFromSelf;
2553
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2554
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2536
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2537
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
2555
2538
  x0: typeof Schema.BigIntFromSelf;
2556
2539
  x1: typeof Schema.BigIntFromSelf;
2557
2540
  x2: typeof Schema.BigIntFromSelf;
2558
2541
  x3: typeof Schema.BigIntFromSelf;
2559
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2542
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2560
2543
  }>;
2561
2544
  }>;
2562
2545
  declare const InvokeTransactionV1: Schema.Struct<{
2563
2546
  _tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
2564
2547
  invokeV1: Schema.Struct<{
2565
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
2548
+ senderAddress: Schema.transform<Schema.Struct<{
2566
2549
  x0: typeof Schema.BigIntFromSelf;
2567
2550
  x1: typeof Schema.BigIntFromSelf;
2568
2551
  x2: typeof Schema.BigIntFromSelf;
2569
2552
  x3: typeof Schema.BigIntFromSelf;
2570
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2571
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2553
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2554
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
2572
2555
  x0: typeof Schema.BigIntFromSelf;
2573
2556
  x1: typeof Schema.BigIntFromSelf;
2574
2557
  x2: typeof Schema.BigIntFromSelf;
2575
2558
  x3: typeof Schema.BigIntFromSelf;
2576
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2577
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
2559
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2560
+ maxFee: Schema.transform<Schema.Struct<{
2578
2561
  x0: typeof Schema.BigIntFromSelf;
2579
2562
  x1: typeof Schema.BigIntFromSelf;
2580
2563
  x2: typeof Schema.BigIntFromSelf;
2581
2564
  x3: typeof Schema.BigIntFromSelf;
2582
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2583
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2565
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2566
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
2584
2567
  x0: typeof Schema.BigIntFromSelf;
2585
2568
  x1: typeof Schema.BigIntFromSelf;
2586
2569
  x2: typeof Schema.BigIntFromSelf;
2587
2570
  x3: typeof Schema.BigIntFromSelf;
2588
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2589
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
2571
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2572
+ nonce: Schema.transform<Schema.Struct<{
2590
2573
  x0: typeof Schema.BigIntFromSelf;
2591
2574
  x1: typeof Schema.BigIntFromSelf;
2592
2575
  x2: typeof Schema.BigIntFromSelf;
2593
2576
  x3: typeof Schema.BigIntFromSelf;
2594
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2577
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2595
2578
  }>;
2596
2579
  }>;
2597
2580
  declare const InvokeTransactionV3: Schema.Struct<{
2598
2581
  _tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
2599
2582
  invokeV3: Schema.Struct<{
2600
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
2583
+ senderAddress: Schema.transform<Schema.Struct<{
2601
2584
  x0: typeof Schema.BigIntFromSelf;
2602
2585
  x1: typeof Schema.BigIntFromSelf;
2603
2586
  x2: typeof Schema.BigIntFromSelf;
2604
2587
  x3: typeof Schema.BigIntFromSelf;
2605
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2606
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2588
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2589
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
2607
2590
  x0: typeof Schema.BigIntFromSelf;
2608
2591
  x1: typeof Schema.BigIntFromSelf;
2609
2592
  x2: typeof Schema.BigIntFromSelf;
2610
2593
  x3: typeof Schema.BigIntFromSelf;
2611
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2612
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2594
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2595
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
2613
2596
  x0: typeof Schema.BigIntFromSelf;
2614
2597
  x1: typeof Schema.BigIntFromSelf;
2615
2598
  x2: typeof Schema.BigIntFromSelf;
2616
2599
  x3: typeof Schema.BigIntFromSelf;
2617
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2618
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
2600
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2601
+ nonce: Schema.transform<Schema.Struct<{
2619
2602
  x0: typeof Schema.BigIntFromSelf;
2620
2603
  x1: typeof Schema.BigIntFromSelf;
2621
2604
  x2: typeof Schema.BigIntFromSelf;
2622
2605
  x3: typeof Schema.BigIntFromSelf;
2623
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2624
- resourceBounds: Schema.optional<Schema.Struct<{
2625
- l1Gas: Schema.optional<Schema.Struct<{
2626
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
2627
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
2606
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2607
+ resourceBounds: Schema.Struct<{
2608
+ l1Gas: Schema.Struct<{
2609
+ maxAmount: typeof Schema.BigIntFromSelf;
2610
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
2628
2611
  x0: typeof Schema.BigIntFromSelf;
2629
2612
  x1: typeof Schema.BigIntFromSelf;
2630
- }>, typeof Schema.BigIntFromSelf>>;
2631
- }>>;
2632
- l2Gas: Schema.optional<Schema.Struct<{
2633
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
2634
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
2613
+ }>, typeof Schema.BigIntFromSelf>;
2614
+ }>;
2615
+ l2Gas: Schema.Struct<{
2616
+ maxAmount: typeof Schema.BigIntFromSelf;
2617
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
2635
2618
  x0: typeof Schema.BigIntFromSelf;
2636
2619
  x1: typeof Schema.BigIntFromSelf;
2637
- }>, typeof Schema.BigIntFromSelf>>;
2638
- }>>;
2639
- }>>;
2640
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
2641
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2620
+ }>, typeof Schema.BigIntFromSelf>;
2621
+ }>;
2622
+ }>;
2623
+ tip: typeof Schema.BigIntFromSelf;
2624
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
2642
2625
  x0: typeof Schema.BigIntFromSelf;
2643
2626
  x1: typeof Schema.BigIntFromSelf;
2644
2627
  x2: typeof Schema.BigIntFromSelf;
2645
2628
  x3: typeof Schema.BigIntFromSelf;
2646
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2647
- accountDeploymentData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2629
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2630
+ accountDeploymentData: Schema.Array$<Schema.transform<Schema.Struct<{
2648
2631
  x0: typeof Schema.BigIntFromSelf;
2649
2632
  x1: typeof Schema.BigIntFromSelf;
2650
2633
  x2: typeof Schema.BigIntFromSelf;
2651
2634
  x3: typeof Schema.BigIntFromSelf;
2652
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2653
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
2654
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
2635
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2636
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
2637
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
2655
2638
  }>;
2656
2639
  }>;
2657
2640
  declare const L1HandlerTransaction: Schema.Struct<{
2658
2641
  _tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
2659
2642
  l1Handler: Schema.Struct<{
2660
- nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
2661
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
2643
+ nonce: typeof Schema.BigIntFromSelf;
2644
+ contractAddress: Schema.transform<Schema.Struct<{
2662
2645
  x0: typeof Schema.BigIntFromSelf;
2663
2646
  x1: typeof Schema.BigIntFromSelf;
2664
2647
  x2: typeof Schema.BigIntFromSelf;
2665
2648
  x3: typeof Schema.BigIntFromSelf;
2666
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2667
- entryPointSelector: Schema.optional<Schema.transform<Schema.Struct<{
2649
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2650
+ entryPointSelector: Schema.transform<Schema.Struct<{
2668
2651
  x0: typeof Schema.BigIntFromSelf;
2669
2652
  x1: typeof Schema.BigIntFromSelf;
2670
2653
  x2: typeof Schema.BigIntFromSelf;
2671
2654
  x3: typeof Schema.BigIntFromSelf;
2672
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2673
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2655
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2656
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
2674
2657
  x0: typeof Schema.BigIntFromSelf;
2675
2658
  x1: typeof Schema.BigIntFromSelf;
2676
2659
  x2: typeof Schema.BigIntFromSelf;
2677
2660
  x3: typeof Schema.BigIntFromSelf;
2678
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2661
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2679
2662
  }>;
2680
2663
  }>;
2681
2664
  declare const DeployTransaction: Schema.Struct<{
2682
2665
  _tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
2683
2666
  deploy: Schema.Struct<{
2684
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
2667
+ contractAddressSalt: Schema.transform<Schema.Struct<{
2685
2668
  x0: typeof Schema.BigIntFromSelf;
2686
2669
  x1: typeof Schema.BigIntFromSelf;
2687
2670
  x2: typeof Schema.BigIntFromSelf;
2688
2671
  x3: typeof Schema.BigIntFromSelf;
2689
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2690
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2672
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2673
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
2691
2674
  x0: typeof Schema.BigIntFromSelf;
2692
2675
  x1: typeof Schema.BigIntFromSelf;
2693
2676
  x2: typeof Schema.BigIntFromSelf;
2694
2677
  x3: typeof Schema.BigIntFromSelf;
2695
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2696
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
2678
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2679
+ classHash: Schema.transform<Schema.Struct<{
2697
2680
  x0: typeof Schema.BigIntFromSelf;
2698
2681
  x1: typeof Schema.BigIntFromSelf;
2699
2682
  x2: typeof Schema.BigIntFromSelf;
2700
2683
  x3: typeof Schema.BigIntFromSelf;
2701
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2684
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2702
2685
  }>;
2703
2686
  }>;
2704
2687
  declare const DeclareTransactionV0: Schema.Struct<{
2705
2688
  _tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
2706
2689
  declareV0: Schema.Struct<{
2707
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
2690
+ senderAddress: Schema.transform<Schema.Struct<{
2708
2691
  x0: typeof Schema.BigIntFromSelf;
2709
2692
  x1: typeof Schema.BigIntFromSelf;
2710
2693
  x2: typeof Schema.BigIntFromSelf;
2711
2694
  x3: typeof Schema.BigIntFromSelf;
2712
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2713
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
2695
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2696
+ maxFee: Schema.transform<Schema.Struct<{
2714
2697
  x0: typeof Schema.BigIntFromSelf;
2715
2698
  x1: typeof Schema.BigIntFromSelf;
2716
2699
  x2: typeof Schema.BigIntFromSelf;
2717
2700
  x3: typeof Schema.BigIntFromSelf;
2718
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2719
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2701
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2702
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
2720
2703
  x0: typeof Schema.BigIntFromSelf;
2721
2704
  x1: typeof Schema.BigIntFromSelf;
2722
2705
  x2: typeof Schema.BigIntFromSelf;
2723
2706
  x3: typeof Schema.BigIntFromSelf;
2724
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2725
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
2707
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2708
+ classHash: Schema.transform<Schema.Struct<{
2726
2709
  x0: typeof Schema.BigIntFromSelf;
2727
2710
  x1: typeof Schema.BigIntFromSelf;
2728
2711
  x2: typeof Schema.BigIntFromSelf;
2729
2712
  x3: typeof Schema.BigIntFromSelf;
2730
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2713
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2731
2714
  }>;
2732
2715
  }>;
2733
2716
  declare const DeclareTransactionV1: Schema.Struct<{
2734
2717
  _tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
2735
2718
  declareV1: Schema.Struct<{
2736
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
2719
+ senderAddress: Schema.transform<Schema.Struct<{
2737
2720
  x0: typeof Schema.BigIntFromSelf;
2738
2721
  x1: typeof Schema.BigIntFromSelf;
2739
2722
  x2: typeof Schema.BigIntFromSelf;
2740
2723
  x3: typeof Schema.BigIntFromSelf;
2741
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2742
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
2724
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2725
+ maxFee: Schema.transform<Schema.Struct<{
2743
2726
  x0: typeof Schema.BigIntFromSelf;
2744
2727
  x1: typeof Schema.BigIntFromSelf;
2745
2728
  x2: typeof Schema.BigIntFromSelf;
2746
2729
  x3: typeof Schema.BigIntFromSelf;
2747
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2748
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2730
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2731
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
2749
2732
  x0: typeof Schema.BigIntFromSelf;
2750
2733
  x1: typeof Schema.BigIntFromSelf;
2751
2734
  x2: typeof Schema.BigIntFromSelf;
2752
2735
  x3: typeof Schema.BigIntFromSelf;
2753
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2754
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
2736
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2737
+ nonce: Schema.transform<Schema.Struct<{
2755
2738
  x0: typeof Schema.BigIntFromSelf;
2756
2739
  x1: typeof Schema.BigIntFromSelf;
2757
2740
  x2: typeof Schema.BigIntFromSelf;
2758
2741
  x3: typeof Schema.BigIntFromSelf;
2759
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2760
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
2742
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2743
+ classHash: Schema.transform<Schema.Struct<{
2761
2744
  x0: typeof Schema.BigIntFromSelf;
2762
2745
  x1: typeof Schema.BigIntFromSelf;
2763
2746
  x2: typeof Schema.BigIntFromSelf;
2764
2747
  x3: typeof Schema.BigIntFromSelf;
2765
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2748
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2766
2749
  }>;
2767
2750
  }>;
2768
2751
  declare const DeclareTransactionV2: Schema.Struct<{
2769
2752
  _tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
2770
2753
  declareV2: Schema.Struct<{
2771
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
2754
+ senderAddress: Schema.transform<Schema.Struct<{
2772
2755
  x0: typeof Schema.BigIntFromSelf;
2773
2756
  x1: typeof Schema.BigIntFromSelf;
2774
2757
  x2: typeof Schema.BigIntFromSelf;
2775
2758
  x3: typeof Schema.BigIntFromSelf;
2776
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2777
- compiledClassHash: Schema.optional<Schema.transform<Schema.Struct<{
2759
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2760
+ compiledClassHash: Schema.transform<Schema.Struct<{
2778
2761
  x0: typeof Schema.BigIntFromSelf;
2779
2762
  x1: typeof Schema.BigIntFromSelf;
2780
2763
  x2: typeof Schema.BigIntFromSelf;
2781
2764
  x3: typeof Schema.BigIntFromSelf;
2782
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2783
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
2765
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2766
+ maxFee: Schema.transform<Schema.Struct<{
2784
2767
  x0: typeof Schema.BigIntFromSelf;
2785
2768
  x1: typeof Schema.BigIntFromSelf;
2786
2769
  x2: typeof Schema.BigIntFromSelf;
2787
2770
  x3: typeof Schema.BigIntFromSelf;
2788
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2789
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2771
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2772
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
2790
2773
  x0: typeof Schema.BigIntFromSelf;
2791
2774
  x1: typeof Schema.BigIntFromSelf;
2792
2775
  x2: typeof Schema.BigIntFromSelf;
2793
2776
  x3: typeof Schema.BigIntFromSelf;
2794
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2795
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
2777
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2778
+ nonce: Schema.transform<Schema.Struct<{
2796
2779
  x0: typeof Schema.BigIntFromSelf;
2797
2780
  x1: typeof Schema.BigIntFromSelf;
2798
2781
  x2: typeof Schema.BigIntFromSelf;
2799
2782
  x3: typeof Schema.BigIntFromSelf;
2800
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2801
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
2783
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2784
+ classHash: Schema.transform<Schema.Struct<{
2802
2785
  x0: typeof Schema.BigIntFromSelf;
2803
2786
  x1: typeof Schema.BigIntFromSelf;
2804
2787
  x2: typeof Schema.BigIntFromSelf;
2805
2788
  x3: typeof Schema.BigIntFromSelf;
2806
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2789
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2807
2790
  }>;
2808
2791
  }>;
2809
2792
  declare const DeclareTransactionV3: Schema.Struct<{
2810
2793
  _tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
2811
2794
  declareV3: Schema.Struct<{
2812
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
2795
+ senderAddress: Schema.transform<Schema.Struct<{
2813
2796
  x0: typeof Schema.BigIntFromSelf;
2814
2797
  x1: typeof Schema.BigIntFromSelf;
2815
2798
  x2: typeof Schema.BigIntFromSelf;
2816
2799
  x3: typeof Schema.BigIntFromSelf;
2817
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2818
- compiledClassHash: Schema.optional<Schema.transform<Schema.Struct<{
2800
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2801
+ compiledClassHash: Schema.transform<Schema.Struct<{
2819
2802
  x0: typeof Schema.BigIntFromSelf;
2820
2803
  x1: typeof Schema.BigIntFromSelf;
2821
2804
  x2: typeof Schema.BigIntFromSelf;
2822
2805
  x3: typeof Schema.BigIntFromSelf;
2823
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2824
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2806
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2807
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
2825
2808
  x0: typeof Schema.BigIntFromSelf;
2826
2809
  x1: typeof Schema.BigIntFromSelf;
2827
2810
  x2: typeof Schema.BigIntFromSelf;
2828
2811
  x3: typeof Schema.BigIntFromSelf;
2829
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2830
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
2812
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2813
+ nonce: Schema.transform<Schema.Struct<{
2831
2814
  x0: typeof Schema.BigIntFromSelf;
2832
2815
  x1: typeof Schema.BigIntFromSelf;
2833
2816
  x2: typeof Schema.BigIntFromSelf;
2834
2817
  x3: typeof Schema.BigIntFromSelf;
2835
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2836
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
2818
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2819
+ classHash: Schema.transform<Schema.Struct<{
2837
2820
  x0: typeof Schema.BigIntFromSelf;
2838
2821
  x1: typeof Schema.BigIntFromSelf;
2839
2822
  x2: typeof Schema.BigIntFromSelf;
2840
2823
  x3: typeof Schema.BigIntFromSelf;
2841
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2842
- resourceBounds: Schema.optional<Schema.Struct<{
2843
- l1Gas: Schema.optional<Schema.Struct<{
2844
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
2845
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
2824
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2825
+ resourceBounds: Schema.Struct<{
2826
+ l1Gas: Schema.Struct<{
2827
+ maxAmount: typeof Schema.BigIntFromSelf;
2828
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
2846
2829
  x0: typeof Schema.BigIntFromSelf;
2847
2830
  x1: typeof Schema.BigIntFromSelf;
2848
- }>, typeof Schema.BigIntFromSelf>>;
2849
- }>>;
2850
- l2Gas: Schema.optional<Schema.Struct<{
2851
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
2852
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
2831
+ }>, typeof Schema.BigIntFromSelf>;
2832
+ }>;
2833
+ l2Gas: Schema.Struct<{
2834
+ maxAmount: typeof Schema.BigIntFromSelf;
2835
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
2853
2836
  x0: typeof Schema.BigIntFromSelf;
2854
2837
  x1: typeof Schema.BigIntFromSelf;
2855
- }>, typeof Schema.BigIntFromSelf>>;
2856
- }>>;
2857
- }>>;
2858
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
2859
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2838
+ }>, typeof Schema.BigIntFromSelf>;
2839
+ }>;
2840
+ }>;
2841
+ tip: typeof Schema.BigIntFromSelf;
2842
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
2860
2843
  x0: typeof Schema.BigIntFromSelf;
2861
2844
  x1: typeof Schema.BigIntFromSelf;
2862
2845
  x2: typeof Schema.BigIntFromSelf;
2863
2846
  x3: typeof Schema.BigIntFromSelf;
2864
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2865
- accountDeploymentData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2847
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2848
+ accountDeploymentData: Schema.Array$<Schema.transform<Schema.Struct<{
2866
2849
  x0: typeof Schema.BigIntFromSelf;
2867
2850
  x1: typeof Schema.BigIntFromSelf;
2868
2851
  x2: typeof Schema.BigIntFromSelf;
2869
2852
  x3: typeof Schema.BigIntFromSelf;
2870
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2871
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
2872
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
2853
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2854
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
2855
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
2873
2856
  }>;
2874
2857
  }>;
2875
2858
  declare const DeployAccountTransactionV1: Schema.Struct<{
2876
2859
  _tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
2877
2860
  deployAccountV1: Schema.Struct<{
2878
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
2861
+ maxFee: Schema.transform<Schema.Struct<{
2879
2862
  x0: typeof Schema.BigIntFromSelf;
2880
2863
  x1: typeof Schema.BigIntFromSelf;
2881
2864
  x2: typeof Schema.BigIntFromSelf;
2882
2865
  x3: typeof Schema.BigIntFromSelf;
2883
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2884
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2866
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2867
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
2885
2868
  x0: typeof Schema.BigIntFromSelf;
2886
2869
  x1: typeof Schema.BigIntFromSelf;
2887
2870
  x2: typeof Schema.BigIntFromSelf;
2888
2871
  x3: typeof Schema.BigIntFromSelf;
2889
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2890
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
2872
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2873
+ nonce: Schema.transform<Schema.Struct<{
2891
2874
  x0: typeof Schema.BigIntFromSelf;
2892
2875
  x1: typeof Schema.BigIntFromSelf;
2893
2876
  x2: typeof Schema.BigIntFromSelf;
2894
2877
  x3: typeof Schema.BigIntFromSelf;
2895
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2896
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
2878
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2879
+ contractAddressSalt: Schema.transform<Schema.Struct<{
2897
2880
  x0: typeof Schema.BigIntFromSelf;
2898
2881
  x1: typeof Schema.BigIntFromSelf;
2899
2882
  x2: typeof Schema.BigIntFromSelf;
2900
2883
  x3: typeof Schema.BigIntFromSelf;
2901
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2902
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2884
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2885
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
2903
2886
  x0: typeof Schema.BigIntFromSelf;
2904
2887
  x1: typeof Schema.BigIntFromSelf;
2905
2888
  x2: typeof Schema.BigIntFromSelf;
2906
2889
  x3: typeof Schema.BigIntFromSelf;
2907
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2908
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
2890
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2891
+ classHash: Schema.transform<Schema.Struct<{
2909
2892
  x0: typeof Schema.BigIntFromSelf;
2910
2893
  x1: typeof Schema.BigIntFromSelf;
2911
2894
  x2: typeof Schema.BigIntFromSelf;
2912
2895
  x3: typeof Schema.BigIntFromSelf;
2913
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2896
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2914
2897
  }>;
2915
2898
  }>;
2916
2899
  declare const DeployAccountTransactionV3: Schema.Struct<{
2917
2900
  _tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
2918
2901
  deployAccountV3: Schema.Struct<{
2919
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2902
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
2920
2903
  x0: typeof Schema.BigIntFromSelf;
2921
2904
  x1: typeof Schema.BigIntFromSelf;
2922
2905
  x2: typeof Schema.BigIntFromSelf;
2923
2906
  x3: typeof Schema.BigIntFromSelf;
2924
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2925
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
2907
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2908
+ nonce: Schema.transform<Schema.Struct<{
2926
2909
  x0: typeof Schema.BigIntFromSelf;
2927
2910
  x1: typeof Schema.BigIntFromSelf;
2928
2911
  x2: typeof Schema.BigIntFromSelf;
2929
2912
  x3: typeof Schema.BigIntFromSelf;
2930
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2931
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
2913
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2914
+ contractAddressSalt: Schema.transform<Schema.Struct<{
2932
2915
  x0: typeof Schema.BigIntFromSelf;
2933
2916
  x1: typeof Schema.BigIntFromSelf;
2934
2917
  x2: typeof Schema.BigIntFromSelf;
2935
2918
  x3: typeof Schema.BigIntFromSelf;
2936
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2937
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2919
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2920
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
2938
2921
  x0: typeof Schema.BigIntFromSelf;
2939
2922
  x1: typeof Schema.BigIntFromSelf;
2940
2923
  x2: typeof Schema.BigIntFromSelf;
2941
2924
  x3: typeof Schema.BigIntFromSelf;
2942
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2943
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
2925
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2926
+ classHash: Schema.transform<Schema.Struct<{
2944
2927
  x0: typeof Schema.BigIntFromSelf;
2945
2928
  x1: typeof Schema.BigIntFromSelf;
2946
2929
  x2: typeof Schema.BigIntFromSelf;
2947
2930
  x3: typeof Schema.BigIntFromSelf;
2948
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2949
- resourceBounds: Schema.optional<Schema.Struct<{
2950
- l1Gas: Schema.optional<Schema.Struct<{
2951
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
2952
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
2931
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2932
+ resourceBounds: Schema.Struct<{
2933
+ l1Gas: Schema.Struct<{
2934
+ maxAmount: typeof Schema.BigIntFromSelf;
2935
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
2953
2936
  x0: typeof Schema.BigIntFromSelf;
2954
2937
  x1: typeof Schema.BigIntFromSelf;
2955
- }>, typeof Schema.BigIntFromSelf>>;
2956
- }>>;
2957
- l2Gas: Schema.optional<Schema.Struct<{
2958
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
2959
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
2938
+ }>, typeof Schema.BigIntFromSelf>;
2939
+ }>;
2940
+ l2Gas: Schema.Struct<{
2941
+ maxAmount: typeof Schema.BigIntFromSelf;
2942
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
2960
2943
  x0: typeof Schema.BigIntFromSelf;
2961
2944
  x1: typeof Schema.BigIntFromSelf;
2962
- }>, typeof Schema.BigIntFromSelf>>;
2963
- }>>;
2964
- }>>;
2965
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
2966
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2945
+ }>, typeof Schema.BigIntFromSelf>;
2946
+ }>;
2947
+ }>;
2948
+ tip: typeof Schema.BigIntFromSelf;
2949
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
2967
2950
  x0: typeof Schema.BigIntFromSelf;
2968
2951
  x1: typeof Schema.BigIntFromSelf;
2969
2952
  x2: typeof Schema.BigIntFromSelf;
2970
2953
  x3: typeof Schema.BigIntFromSelf;
2971
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
2972
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
2973
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
2954
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2955
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
2956
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
2974
2957
  }>;
2975
2958
  }>;
2976
2959
  /** A transaction.
@@ -2978,470 +2961,470 @@ declare const DeployAccountTransactionV3: Schema.Struct<{
2978
2961
  * @prop meta Transaction metadata.
2979
2962
  */
2980
2963
  declare const Transaction: Schema.Struct<{
2981
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
2982
- meta: Schema.optional<Schema.Struct<{
2983
- transactionIndex: Schema.optional<typeof Schema.Number>;
2984
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
2964
+ filterIds: Schema.Array$<typeof Schema.Number>;
2965
+ meta: Schema.Struct<{
2966
+ transactionIndex: typeof Schema.Number;
2967
+ transactionHash: Schema.transform<Schema.Struct<{
2985
2968
  x0: typeof Schema.BigIntFromSelf;
2986
2969
  x1: typeof Schema.BigIntFromSelf;
2987
2970
  x2: typeof Schema.BigIntFromSelf;
2988
2971
  x3: typeof Schema.BigIntFromSelf;
2989
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2990
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
2991
- }>>;
2992
- transaction: Schema.optional<Schema.Union<[Schema.Struct<{
2972
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2973
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
2974
+ }>;
2975
+ transaction: Schema.Union<[Schema.Struct<{
2993
2976
  _tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
2994
2977
  invokeV0: Schema.Struct<{
2995
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
2978
+ maxFee: Schema.transform<Schema.Struct<{
2996
2979
  x0: typeof Schema.BigIntFromSelf;
2997
2980
  x1: typeof Schema.BigIntFromSelf;
2998
2981
  x2: typeof Schema.BigIntFromSelf;
2999
2982
  x3: typeof Schema.BigIntFromSelf;
3000
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3001
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
2983
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2984
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
3002
2985
  x0: typeof Schema.BigIntFromSelf;
3003
2986
  x1: typeof Schema.BigIntFromSelf;
3004
2987
  x2: typeof Schema.BigIntFromSelf;
3005
2988
  x3: typeof Schema.BigIntFromSelf;
3006
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3007
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
2989
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
2990
+ contractAddress: Schema.transform<Schema.Struct<{
3008
2991
  x0: typeof Schema.BigIntFromSelf;
3009
2992
  x1: typeof Schema.BigIntFromSelf;
3010
2993
  x2: typeof Schema.BigIntFromSelf;
3011
2994
  x3: typeof Schema.BigIntFromSelf;
3012
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3013
- entryPointSelector: Schema.optional<Schema.transform<Schema.Struct<{
2995
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
2996
+ entryPointSelector: Schema.transform<Schema.Struct<{
3014
2997
  x0: typeof Schema.BigIntFromSelf;
3015
2998
  x1: typeof Schema.BigIntFromSelf;
3016
2999
  x2: typeof Schema.BigIntFromSelf;
3017
3000
  x3: typeof Schema.BigIntFromSelf;
3018
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3019
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3001
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3002
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
3020
3003
  x0: typeof Schema.BigIntFromSelf;
3021
3004
  x1: typeof Schema.BigIntFromSelf;
3022
3005
  x2: typeof Schema.BigIntFromSelf;
3023
3006
  x3: typeof Schema.BigIntFromSelf;
3024
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3007
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3025
3008
  }>;
3026
3009
  }>, Schema.Struct<{
3027
3010
  _tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
3028
3011
  invokeV1: Schema.Struct<{
3029
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
3012
+ senderAddress: Schema.transform<Schema.Struct<{
3030
3013
  x0: typeof Schema.BigIntFromSelf;
3031
3014
  x1: typeof Schema.BigIntFromSelf;
3032
3015
  x2: typeof Schema.BigIntFromSelf;
3033
3016
  x3: typeof Schema.BigIntFromSelf;
3034
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3035
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3017
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3018
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
3036
3019
  x0: typeof Schema.BigIntFromSelf;
3037
3020
  x1: typeof Schema.BigIntFromSelf;
3038
3021
  x2: typeof Schema.BigIntFromSelf;
3039
3022
  x3: typeof Schema.BigIntFromSelf;
3040
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3041
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
3023
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3024
+ maxFee: Schema.transform<Schema.Struct<{
3042
3025
  x0: typeof Schema.BigIntFromSelf;
3043
3026
  x1: typeof Schema.BigIntFromSelf;
3044
3027
  x2: typeof Schema.BigIntFromSelf;
3045
3028
  x3: typeof Schema.BigIntFromSelf;
3046
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3047
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3029
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3030
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
3048
3031
  x0: typeof Schema.BigIntFromSelf;
3049
3032
  x1: typeof Schema.BigIntFromSelf;
3050
3033
  x2: typeof Schema.BigIntFromSelf;
3051
3034
  x3: typeof Schema.BigIntFromSelf;
3052
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3053
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
3035
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3036
+ nonce: Schema.transform<Schema.Struct<{
3054
3037
  x0: typeof Schema.BigIntFromSelf;
3055
3038
  x1: typeof Schema.BigIntFromSelf;
3056
3039
  x2: typeof Schema.BigIntFromSelf;
3057
3040
  x3: typeof Schema.BigIntFromSelf;
3058
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3041
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3059
3042
  }>;
3060
3043
  }>, Schema.Struct<{
3061
3044
  _tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
3062
3045
  invokeV3: Schema.Struct<{
3063
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
3046
+ senderAddress: Schema.transform<Schema.Struct<{
3064
3047
  x0: typeof Schema.BigIntFromSelf;
3065
3048
  x1: typeof Schema.BigIntFromSelf;
3066
3049
  x2: typeof Schema.BigIntFromSelf;
3067
3050
  x3: typeof Schema.BigIntFromSelf;
3068
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3069
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3051
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3052
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
3070
3053
  x0: typeof Schema.BigIntFromSelf;
3071
3054
  x1: typeof Schema.BigIntFromSelf;
3072
3055
  x2: typeof Schema.BigIntFromSelf;
3073
3056
  x3: typeof Schema.BigIntFromSelf;
3074
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3075
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3057
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3058
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
3076
3059
  x0: typeof Schema.BigIntFromSelf;
3077
3060
  x1: typeof Schema.BigIntFromSelf;
3078
3061
  x2: typeof Schema.BigIntFromSelf;
3079
3062
  x3: typeof Schema.BigIntFromSelf;
3080
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3081
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
3063
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3064
+ nonce: Schema.transform<Schema.Struct<{
3082
3065
  x0: typeof Schema.BigIntFromSelf;
3083
3066
  x1: typeof Schema.BigIntFromSelf;
3084
3067
  x2: typeof Schema.BigIntFromSelf;
3085
3068
  x3: typeof Schema.BigIntFromSelf;
3086
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3087
- resourceBounds: Schema.optional<Schema.Struct<{
3088
- l1Gas: Schema.optional<Schema.Struct<{
3089
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
3090
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
3069
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3070
+ resourceBounds: Schema.Struct<{
3071
+ l1Gas: Schema.Struct<{
3072
+ maxAmount: typeof Schema.BigIntFromSelf;
3073
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
3091
3074
  x0: typeof Schema.BigIntFromSelf;
3092
3075
  x1: typeof Schema.BigIntFromSelf;
3093
- }>, typeof Schema.BigIntFromSelf>>;
3094
- }>>;
3095
- l2Gas: Schema.optional<Schema.Struct<{
3096
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
3097
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
3076
+ }>, typeof Schema.BigIntFromSelf>;
3077
+ }>;
3078
+ l2Gas: Schema.Struct<{
3079
+ maxAmount: typeof Schema.BigIntFromSelf;
3080
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
3098
3081
  x0: typeof Schema.BigIntFromSelf;
3099
3082
  x1: typeof Schema.BigIntFromSelf;
3100
- }>, typeof Schema.BigIntFromSelf>>;
3101
- }>>;
3102
- }>>;
3103
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
3104
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3083
+ }>, typeof Schema.BigIntFromSelf>;
3084
+ }>;
3085
+ }>;
3086
+ tip: typeof Schema.BigIntFromSelf;
3087
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
3105
3088
  x0: typeof Schema.BigIntFromSelf;
3106
3089
  x1: typeof Schema.BigIntFromSelf;
3107
3090
  x2: typeof Schema.BigIntFromSelf;
3108
3091
  x3: typeof Schema.BigIntFromSelf;
3109
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3110
- accountDeploymentData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3092
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3093
+ accountDeploymentData: Schema.Array$<Schema.transform<Schema.Struct<{
3111
3094
  x0: typeof Schema.BigIntFromSelf;
3112
3095
  x1: typeof Schema.BigIntFromSelf;
3113
3096
  x2: typeof Schema.BigIntFromSelf;
3114
3097
  x3: typeof Schema.BigIntFromSelf;
3115
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3116
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
3117
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
3098
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3099
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
3100
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
3118
3101
  }>;
3119
3102
  }>, Schema.Struct<{
3120
3103
  _tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
3121
3104
  l1Handler: Schema.Struct<{
3122
- nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
3123
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
3105
+ nonce: typeof Schema.BigIntFromSelf;
3106
+ contractAddress: Schema.transform<Schema.Struct<{
3124
3107
  x0: typeof Schema.BigIntFromSelf;
3125
3108
  x1: typeof Schema.BigIntFromSelf;
3126
3109
  x2: typeof Schema.BigIntFromSelf;
3127
3110
  x3: typeof Schema.BigIntFromSelf;
3128
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3129
- entryPointSelector: Schema.optional<Schema.transform<Schema.Struct<{
3111
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3112
+ entryPointSelector: Schema.transform<Schema.Struct<{
3130
3113
  x0: typeof Schema.BigIntFromSelf;
3131
3114
  x1: typeof Schema.BigIntFromSelf;
3132
3115
  x2: typeof Schema.BigIntFromSelf;
3133
3116
  x3: typeof Schema.BigIntFromSelf;
3134
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3135
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3117
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3118
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
3136
3119
  x0: typeof Schema.BigIntFromSelf;
3137
3120
  x1: typeof Schema.BigIntFromSelf;
3138
3121
  x2: typeof Schema.BigIntFromSelf;
3139
3122
  x3: typeof Schema.BigIntFromSelf;
3140
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3123
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3141
3124
  }>;
3142
3125
  }>, Schema.Struct<{
3143
3126
  _tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
3144
3127
  deploy: Schema.Struct<{
3145
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
3128
+ contractAddressSalt: Schema.transform<Schema.Struct<{
3146
3129
  x0: typeof Schema.BigIntFromSelf;
3147
3130
  x1: typeof Schema.BigIntFromSelf;
3148
3131
  x2: typeof Schema.BigIntFromSelf;
3149
3132
  x3: typeof Schema.BigIntFromSelf;
3150
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3151
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3133
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3134
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
3152
3135
  x0: typeof Schema.BigIntFromSelf;
3153
3136
  x1: typeof Schema.BigIntFromSelf;
3154
3137
  x2: typeof Schema.BigIntFromSelf;
3155
3138
  x3: typeof Schema.BigIntFromSelf;
3156
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3157
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
3139
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3140
+ classHash: Schema.transform<Schema.Struct<{
3158
3141
  x0: typeof Schema.BigIntFromSelf;
3159
3142
  x1: typeof Schema.BigIntFromSelf;
3160
3143
  x2: typeof Schema.BigIntFromSelf;
3161
3144
  x3: typeof Schema.BigIntFromSelf;
3162
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3145
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3163
3146
  }>;
3164
3147
  }>, Schema.Struct<{
3165
3148
  _tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
3166
3149
  declareV0: Schema.Struct<{
3167
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
3150
+ senderAddress: Schema.transform<Schema.Struct<{
3168
3151
  x0: typeof Schema.BigIntFromSelf;
3169
3152
  x1: typeof Schema.BigIntFromSelf;
3170
3153
  x2: typeof Schema.BigIntFromSelf;
3171
3154
  x3: typeof Schema.BigIntFromSelf;
3172
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3173
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
3155
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3156
+ maxFee: Schema.transform<Schema.Struct<{
3174
3157
  x0: typeof Schema.BigIntFromSelf;
3175
3158
  x1: typeof Schema.BigIntFromSelf;
3176
3159
  x2: typeof Schema.BigIntFromSelf;
3177
3160
  x3: typeof Schema.BigIntFromSelf;
3178
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3179
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3161
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3162
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
3180
3163
  x0: typeof Schema.BigIntFromSelf;
3181
3164
  x1: typeof Schema.BigIntFromSelf;
3182
3165
  x2: typeof Schema.BigIntFromSelf;
3183
3166
  x3: typeof Schema.BigIntFromSelf;
3184
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3185
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
3167
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3168
+ classHash: Schema.transform<Schema.Struct<{
3186
3169
  x0: typeof Schema.BigIntFromSelf;
3187
3170
  x1: typeof Schema.BigIntFromSelf;
3188
3171
  x2: typeof Schema.BigIntFromSelf;
3189
3172
  x3: typeof Schema.BigIntFromSelf;
3190
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3173
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3191
3174
  }>;
3192
3175
  }>, Schema.Struct<{
3193
3176
  _tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
3194
3177
  declareV1: Schema.Struct<{
3195
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
3178
+ senderAddress: Schema.transform<Schema.Struct<{
3196
3179
  x0: typeof Schema.BigIntFromSelf;
3197
3180
  x1: typeof Schema.BigIntFromSelf;
3198
3181
  x2: typeof Schema.BigIntFromSelf;
3199
3182
  x3: typeof Schema.BigIntFromSelf;
3200
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3201
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
3183
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3184
+ maxFee: Schema.transform<Schema.Struct<{
3202
3185
  x0: typeof Schema.BigIntFromSelf;
3203
3186
  x1: typeof Schema.BigIntFromSelf;
3204
3187
  x2: typeof Schema.BigIntFromSelf;
3205
3188
  x3: typeof Schema.BigIntFromSelf;
3206
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3207
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3189
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3190
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
3208
3191
  x0: typeof Schema.BigIntFromSelf;
3209
3192
  x1: typeof Schema.BigIntFromSelf;
3210
3193
  x2: typeof Schema.BigIntFromSelf;
3211
3194
  x3: typeof Schema.BigIntFromSelf;
3212
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3213
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
3195
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3196
+ nonce: Schema.transform<Schema.Struct<{
3214
3197
  x0: typeof Schema.BigIntFromSelf;
3215
3198
  x1: typeof Schema.BigIntFromSelf;
3216
3199
  x2: typeof Schema.BigIntFromSelf;
3217
3200
  x3: typeof Schema.BigIntFromSelf;
3218
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3219
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
3201
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3202
+ classHash: Schema.transform<Schema.Struct<{
3220
3203
  x0: typeof Schema.BigIntFromSelf;
3221
3204
  x1: typeof Schema.BigIntFromSelf;
3222
3205
  x2: typeof Schema.BigIntFromSelf;
3223
3206
  x3: typeof Schema.BigIntFromSelf;
3224
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3207
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3225
3208
  }>;
3226
3209
  }>, Schema.Struct<{
3227
3210
  _tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
3228
3211
  declareV2: Schema.Struct<{
3229
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
3212
+ senderAddress: Schema.transform<Schema.Struct<{
3230
3213
  x0: typeof Schema.BigIntFromSelf;
3231
3214
  x1: typeof Schema.BigIntFromSelf;
3232
3215
  x2: typeof Schema.BigIntFromSelf;
3233
3216
  x3: typeof Schema.BigIntFromSelf;
3234
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3235
- compiledClassHash: Schema.optional<Schema.transform<Schema.Struct<{
3217
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3218
+ compiledClassHash: Schema.transform<Schema.Struct<{
3236
3219
  x0: typeof Schema.BigIntFromSelf;
3237
3220
  x1: typeof Schema.BigIntFromSelf;
3238
3221
  x2: typeof Schema.BigIntFromSelf;
3239
3222
  x3: typeof Schema.BigIntFromSelf;
3240
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3241
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
3223
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3224
+ maxFee: Schema.transform<Schema.Struct<{
3242
3225
  x0: typeof Schema.BigIntFromSelf;
3243
3226
  x1: typeof Schema.BigIntFromSelf;
3244
3227
  x2: typeof Schema.BigIntFromSelf;
3245
3228
  x3: typeof Schema.BigIntFromSelf;
3246
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3247
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3229
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3230
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
3248
3231
  x0: typeof Schema.BigIntFromSelf;
3249
3232
  x1: typeof Schema.BigIntFromSelf;
3250
3233
  x2: typeof Schema.BigIntFromSelf;
3251
3234
  x3: typeof Schema.BigIntFromSelf;
3252
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3253
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
3235
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3236
+ nonce: Schema.transform<Schema.Struct<{
3254
3237
  x0: typeof Schema.BigIntFromSelf;
3255
3238
  x1: typeof Schema.BigIntFromSelf;
3256
3239
  x2: typeof Schema.BigIntFromSelf;
3257
3240
  x3: typeof Schema.BigIntFromSelf;
3258
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3259
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
3241
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3242
+ classHash: Schema.transform<Schema.Struct<{
3260
3243
  x0: typeof Schema.BigIntFromSelf;
3261
3244
  x1: typeof Schema.BigIntFromSelf;
3262
3245
  x2: typeof Schema.BigIntFromSelf;
3263
3246
  x3: typeof Schema.BigIntFromSelf;
3264
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3247
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3265
3248
  }>;
3266
3249
  }>, Schema.Struct<{
3267
3250
  _tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
3268
3251
  declareV3: Schema.Struct<{
3269
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
3252
+ senderAddress: Schema.transform<Schema.Struct<{
3270
3253
  x0: typeof Schema.BigIntFromSelf;
3271
3254
  x1: typeof Schema.BigIntFromSelf;
3272
3255
  x2: typeof Schema.BigIntFromSelf;
3273
3256
  x3: typeof Schema.BigIntFromSelf;
3274
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3275
- compiledClassHash: Schema.optional<Schema.transform<Schema.Struct<{
3257
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3258
+ compiledClassHash: Schema.transform<Schema.Struct<{
3276
3259
  x0: typeof Schema.BigIntFromSelf;
3277
3260
  x1: typeof Schema.BigIntFromSelf;
3278
3261
  x2: typeof Schema.BigIntFromSelf;
3279
3262
  x3: typeof Schema.BigIntFromSelf;
3280
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3281
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3263
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3264
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
3282
3265
  x0: typeof Schema.BigIntFromSelf;
3283
3266
  x1: typeof Schema.BigIntFromSelf;
3284
3267
  x2: typeof Schema.BigIntFromSelf;
3285
3268
  x3: typeof Schema.BigIntFromSelf;
3286
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3287
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
3269
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3270
+ nonce: Schema.transform<Schema.Struct<{
3288
3271
  x0: typeof Schema.BigIntFromSelf;
3289
3272
  x1: typeof Schema.BigIntFromSelf;
3290
3273
  x2: typeof Schema.BigIntFromSelf;
3291
3274
  x3: typeof Schema.BigIntFromSelf;
3292
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3293
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
3275
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3276
+ classHash: Schema.transform<Schema.Struct<{
3294
3277
  x0: typeof Schema.BigIntFromSelf;
3295
3278
  x1: typeof Schema.BigIntFromSelf;
3296
3279
  x2: typeof Schema.BigIntFromSelf;
3297
3280
  x3: typeof Schema.BigIntFromSelf;
3298
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3299
- resourceBounds: Schema.optional<Schema.Struct<{
3300
- l1Gas: Schema.optional<Schema.Struct<{
3301
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
3302
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
3281
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3282
+ resourceBounds: Schema.Struct<{
3283
+ l1Gas: Schema.Struct<{
3284
+ maxAmount: typeof Schema.BigIntFromSelf;
3285
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
3303
3286
  x0: typeof Schema.BigIntFromSelf;
3304
3287
  x1: typeof Schema.BigIntFromSelf;
3305
- }>, typeof Schema.BigIntFromSelf>>;
3306
- }>>;
3307
- l2Gas: Schema.optional<Schema.Struct<{
3308
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
3309
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
3288
+ }>, typeof Schema.BigIntFromSelf>;
3289
+ }>;
3290
+ l2Gas: Schema.Struct<{
3291
+ maxAmount: typeof Schema.BigIntFromSelf;
3292
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
3310
3293
  x0: typeof Schema.BigIntFromSelf;
3311
3294
  x1: typeof Schema.BigIntFromSelf;
3312
- }>, typeof Schema.BigIntFromSelf>>;
3313
- }>>;
3314
- }>>;
3315
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
3316
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3295
+ }>, typeof Schema.BigIntFromSelf>;
3296
+ }>;
3297
+ }>;
3298
+ tip: typeof Schema.BigIntFromSelf;
3299
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
3317
3300
  x0: typeof Schema.BigIntFromSelf;
3318
3301
  x1: typeof Schema.BigIntFromSelf;
3319
3302
  x2: typeof Schema.BigIntFromSelf;
3320
3303
  x3: typeof Schema.BigIntFromSelf;
3321
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3322
- accountDeploymentData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3304
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3305
+ accountDeploymentData: Schema.Array$<Schema.transform<Schema.Struct<{
3323
3306
  x0: typeof Schema.BigIntFromSelf;
3324
3307
  x1: typeof Schema.BigIntFromSelf;
3325
3308
  x2: typeof Schema.BigIntFromSelf;
3326
3309
  x3: typeof Schema.BigIntFromSelf;
3327
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3328
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
3329
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
3310
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3311
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
3312
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
3330
3313
  }>;
3331
3314
  }>, Schema.Struct<{
3332
3315
  _tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
3333
3316
  deployAccountV1: Schema.Struct<{
3334
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
3317
+ maxFee: Schema.transform<Schema.Struct<{
3335
3318
  x0: typeof Schema.BigIntFromSelf;
3336
3319
  x1: typeof Schema.BigIntFromSelf;
3337
3320
  x2: typeof Schema.BigIntFromSelf;
3338
3321
  x3: typeof Schema.BigIntFromSelf;
3339
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3340
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3322
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3323
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
3341
3324
  x0: typeof Schema.BigIntFromSelf;
3342
3325
  x1: typeof Schema.BigIntFromSelf;
3343
3326
  x2: typeof Schema.BigIntFromSelf;
3344
3327
  x3: typeof Schema.BigIntFromSelf;
3345
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3346
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
3328
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3329
+ nonce: Schema.transform<Schema.Struct<{
3347
3330
  x0: typeof Schema.BigIntFromSelf;
3348
3331
  x1: typeof Schema.BigIntFromSelf;
3349
3332
  x2: typeof Schema.BigIntFromSelf;
3350
3333
  x3: typeof Schema.BigIntFromSelf;
3351
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3352
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
3334
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3335
+ contractAddressSalt: Schema.transform<Schema.Struct<{
3353
3336
  x0: typeof Schema.BigIntFromSelf;
3354
3337
  x1: typeof Schema.BigIntFromSelf;
3355
3338
  x2: typeof Schema.BigIntFromSelf;
3356
3339
  x3: typeof Schema.BigIntFromSelf;
3357
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3358
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3340
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3341
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
3359
3342
  x0: typeof Schema.BigIntFromSelf;
3360
3343
  x1: typeof Schema.BigIntFromSelf;
3361
3344
  x2: typeof Schema.BigIntFromSelf;
3362
3345
  x3: typeof Schema.BigIntFromSelf;
3363
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3364
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
3346
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3347
+ classHash: Schema.transform<Schema.Struct<{
3365
3348
  x0: typeof Schema.BigIntFromSelf;
3366
3349
  x1: typeof Schema.BigIntFromSelf;
3367
3350
  x2: typeof Schema.BigIntFromSelf;
3368
3351
  x3: typeof Schema.BigIntFromSelf;
3369
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3352
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3370
3353
  }>;
3371
3354
  }>, Schema.Struct<{
3372
3355
  _tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
3373
3356
  deployAccountV3: Schema.Struct<{
3374
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3357
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
3375
3358
  x0: typeof Schema.BigIntFromSelf;
3376
3359
  x1: typeof Schema.BigIntFromSelf;
3377
3360
  x2: typeof Schema.BigIntFromSelf;
3378
3361
  x3: typeof Schema.BigIntFromSelf;
3379
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3380
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
3362
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3363
+ nonce: Schema.transform<Schema.Struct<{
3381
3364
  x0: typeof Schema.BigIntFromSelf;
3382
3365
  x1: typeof Schema.BigIntFromSelf;
3383
3366
  x2: typeof Schema.BigIntFromSelf;
3384
3367
  x3: typeof Schema.BigIntFromSelf;
3385
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3386
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
3368
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3369
+ contractAddressSalt: Schema.transform<Schema.Struct<{
3387
3370
  x0: typeof Schema.BigIntFromSelf;
3388
3371
  x1: typeof Schema.BigIntFromSelf;
3389
3372
  x2: typeof Schema.BigIntFromSelf;
3390
3373
  x3: typeof Schema.BigIntFromSelf;
3391
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3392
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3374
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3375
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
3393
3376
  x0: typeof Schema.BigIntFromSelf;
3394
3377
  x1: typeof Schema.BigIntFromSelf;
3395
3378
  x2: typeof Schema.BigIntFromSelf;
3396
3379
  x3: typeof Schema.BigIntFromSelf;
3397
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3398
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
3380
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3381
+ classHash: Schema.transform<Schema.Struct<{
3399
3382
  x0: typeof Schema.BigIntFromSelf;
3400
3383
  x1: typeof Schema.BigIntFromSelf;
3401
3384
  x2: typeof Schema.BigIntFromSelf;
3402
3385
  x3: typeof Schema.BigIntFromSelf;
3403
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3404
- resourceBounds: Schema.optional<Schema.Struct<{
3405
- l1Gas: Schema.optional<Schema.Struct<{
3406
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
3407
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
3386
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3387
+ resourceBounds: Schema.Struct<{
3388
+ l1Gas: Schema.Struct<{
3389
+ maxAmount: typeof Schema.BigIntFromSelf;
3390
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
3408
3391
  x0: typeof Schema.BigIntFromSelf;
3409
3392
  x1: typeof Schema.BigIntFromSelf;
3410
- }>, typeof Schema.BigIntFromSelf>>;
3411
- }>>;
3412
- l2Gas: Schema.optional<Schema.Struct<{
3413
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
3414
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
3393
+ }>, typeof Schema.BigIntFromSelf>;
3394
+ }>;
3395
+ l2Gas: Schema.Struct<{
3396
+ maxAmount: typeof Schema.BigIntFromSelf;
3397
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
3415
3398
  x0: typeof Schema.BigIntFromSelf;
3416
3399
  x1: typeof Schema.BigIntFromSelf;
3417
- }>, typeof Schema.BigIntFromSelf>>;
3418
- }>>;
3419
- }>>;
3420
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
3421
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3400
+ }>, typeof Schema.BigIntFromSelf>;
3401
+ }>;
3402
+ }>;
3403
+ tip: typeof Schema.BigIntFromSelf;
3404
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
3422
3405
  x0: typeof Schema.BigIntFromSelf;
3423
3406
  x1: typeof Schema.BigIntFromSelf;
3424
3407
  x2: typeof Schema.BigIntFromSelf;
3425
3408
  x3: typeof Schema.BigIntFromSelf;
3426
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3427
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
3428
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
3409
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3410
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
3411
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
3429
3412
  }>;
3430
- }>]>>;
3413
+ }>]>;
3431
3414
  }>;
3432
3415
  type Transaction = typeof Transaction.Type;
3433
3416
  declare const PriceUnit: Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>;
3434
3417
  declare const FeePayment: Schema.Struct<{
3435
- amount: Schema.optional<Schema.transform<Schema.Struct<{
3418
+ amount: Schema.transform<Schema.Struct<{
3436
3419
  x0: typeof Schema.BigIntFromSelf;
3437
3420
  x1: typeof Schema.BigIntFromSelf;
3438
3421
  x2: typeof Schema.BigIntFromSelf;
3439
3422
  x3: typeof Schema.BigIntFromSelf;
3440
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3441
- unit: Schema.optional<Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>>;
3423
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3424
+ unit: Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>;
3442
3425
  }>;
3443
3426
  declare const ComputationResources: Schema.Struct<{
3444
- steps: Schema.optional<typeof Schema.BigIntFromSelf>;
3427
+ steps: typeof Schema.BigIntFromSelf;
3445
3428
  memoryHoles: Schema.optional<typeof Schema.BigIntFromSelf>;
3446
3429
  rangeCheckBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
3447
3430
  pedersenBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
@@ -3453,12 +3436,12 @@ declare const ComputationResources: Schema.Struct<{
3453
3436
  segmentArenaBuiltin: Schema.optional<typeof Schema.BigIntFromSelf>;
3454
3437
  }>;
3455
3438
  declare const DataAvailabilityResources: Schema.Struct<{
3456
- l1Gas: Schema.optional<typeof Schema.BigIntFromSelf>;
3457
- l1DataGas: Schema.optional<typeof Schema.BigIntFromSelf>;
3439
+ l1Gas: typeof Schema.BigIntFromSelf;
3440
+ l1DataGas: typeof Schema.BigIntFromSelf;
3458
3441
  }>;
3459
3442
  declare const ExecutionResources: Schema.Struct<{
3460
- computation: Schema.optional<Schema.Struct<{
3461
- steps: Schema.optional<typeof Schema.BigIntFromSelf>;
3443
+ computation: Schema.Struct<{
3444
+ steps: typeof Schema.BigIntFromSelf;
3462
3445
  memoryHoles: Schema.optional<typeof Schema.BigIntFromSelf>;
3463
3446
  rangeCheckBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
3464
3447
  pedersenBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
@@ -3468,11 +3451,11 @@ declare const ExecutionResources: Schema.Struct<{
3468
3451
  bitwiseBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
3469
3452
  keccakBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
3470
3453
  segmentArenaBuiltin: Schema.optional<typeof Schema.BigIntFromSelf>;
3471
- }>>;
3472
- dataAvailability: Schema.optional<Schema.Struct<{
3473
- l1Gas: Schema.optional<typeof Schema.BigIntFromSelf>;
3474
- l1DataGas: Schema.optional<typeof Schema.BigIntFromSelf>;
3475
- }>>;
3454
+ }>;
3455
+ dataAvailability: Schema.Struct<{
3456
+ l1Gas: typeof Schema.BigIntFromSelf;
3457
+ l1DataGas: typeof Schema.BigIntFromSelf;
3458
+ }>;
3476
3459
  }>;
3477
3460
  declare const ExecutionSucceeded: Schema.Struct<{
3478
3461
  _tag: Schema.PropertySignature<":", "succeeded", "$case", ":", "succeeded", false, never>;
@@ -3486,25 +3469,25 @@ declare const ExecutionReverted: Schema.Struct<{
3486
3469
  }>;
3487
3470
  /** Common fields for all transaction receipts. */
3488
3471
  declare const TransactionReceiptMeta: Schema.Struct<{
3489
- transactionIndex: Schema.optional<typeof Schema.Number>;
3490
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
3472
+ transactionIndex: typeof Schema.Number;
3473
+ transactionHash: Schema.transform<Schema.Struct<{
3491
3474
  x0: typeof Schema.BigIntFromSelf;
3492
3475
  x1: typeof Schema.BigIntFromSelf;
3493
3476
  x2: typeof Schema.BigIntFromSelf;
3494
3477
  x3: typeof Schema.BigIntFromSelf;
3495
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3496
- actualFee: Schema.optional<Schema.Struct<{
3497
- amount: Schema.optional<Schema.transform<Schema.Struct<{
3478
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3479
+ actualFee: Schema.Struct<{
3480
+ amount: Schema.transform<Schema.Struct<{
3498
3481
  x0: typeof Schema.BigIntFromSelf;
3499
3482
  x1: typeof Schema.BigIntFromSelf;
3500
3483
  x2: typeof Schema.BigIntFromSelf;
3501
3484
  x3: typeof Schema.BigIntFromSelf;
3502
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3503
- unit: Schema.optional<Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>>;
3504
- }>>;
3505
- executionResources: Schema.optional<Schema.Struct<{
3506
- computation: Schema.optional<Schema.Struct<{
3507
- steps: Schema.optional<typeof Schema.BigIntFromSelf>;
3485
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3486
+ unit: Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>;
3487
+ }>;
3488
+ executionResources: Schema.Struct<{
3489
+ computation: Schema.Struct<{
3490
+ steps: typeof Schema.BigIntFromSelf;
3508
3491
  memoryHoles: Schema.optional<typeof Schema.BigIntFromSelf>;
3509
3492
  rangeCheckBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
3510
3493
  pedersenBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
@@ -3514,13 +3497,13 @@ declare const TransactionReceiptMeta: Schema.Struct<{
3514
3497
  bitwiseBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
3515
3498
  keccakBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
3516
3499
  segmentArenaBuiltin: Schema.optional<typeof Schema.BigIntFromSelf>;
3517
- }>>;
3518
- dataAvailability: Schema.optional<Schema.Struct<{
3519
- l1Gas: Schema.optional<typeof Schema.BigIntFromSelf>;
3520
- l1DataGas: Schema.optional<typeof Schema.BigIntFromSelf>;
3521
- }>>;
3522
- }>>;
3523
- executionResult: Schema.optional<Schema.Union<[Schema.Struct<{
3500
+ }>;
3501
+ dataAvailability: Schema.Struct<{
3502
+ l1Gas: typeof Schema.BigIntFromSelf;
3503
+ l1DataGas: typeof Schema.BigIntFromSelf;
3504
+ }>;
3505
+ }>;
3506
+ executionResult: Schema.Union<[Schema.Struct<{
3524
3507
  _tag: Schema.PropertySignature<":", "succeeded", "$case", ":", "succeeded", false, never>;
3525
3508
  succeeded: Schema.Struct<{}>;
3526
3509
  }>, Schema.Struct<{
@@ -3528,7 +3511,7 @@ declare const TransactionReceiptMeta: Schema.Struct<{
3528
3511
  reverted: Schema.Struct<{
3529
3512
  reason: Schema.optional<typeof Schema.String>;
3530
3513
  }>;
3531
- }>]>>;
3514
+ }>]>;
3532
3515
  }>;
3533
3516
  declare const InvokeTransactionReceipt: Schema.Struct<{
3534
3517
  _tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
@@ -3537,7 +3520,7 @@ declare const InvokeTransactionReceipt: Schema.Struct<{
3537
3520
  declare const L1HandlerTransactionReceipt: Schema.Struct<{
3538
3521
  _tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
3539
3522
  l1Handler: Schema.Struct<{
3540
- messageHash: Schema.optional<Schema.Schema<Uint8Array, Uint8Array, never>>;
3523
+ messageHash: Schema.Schema<Uint8Array, Uint8Array, never>;
3541
3524
  }>;
3542
3525
  }>;
3543
3526
  declare const DeclareTransactionReceipt: Schema.Struct<{
@@ -3547,23 +3530,23 @@ declare const DeclareTransactionReceipt: Schema.Struct<{
3547
3530
  declare const DeployTransactionReceipt: Schema.Struct<{
3548
3531
  _tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
3549
3532
  deploy: Schema.Struct<{
3550
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
3533
+ contractAddress: Schema.transform<Schema.Struct<{
3551
3534
  x0: typeof Schema.BigIntFromSelf;
3552
3535
  x1: typeof Schema.BigIntFromSelf;
3553
3536
  x2: typeof Schema.BigIntFromSelf;
3554
3537
  x3: typeof Schema.BigIntFromSelf;
3555
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3538
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3556
3539
  }>;
3557
3540
  }>;
3558
3541
  declare const DeployAccountTransactionReceipt: Schema.Struct<{
3559
3542
  _tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
3560
3543
  deployAccount: Schema.Struct<{
3561
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
3544
+ contractAddress: Schema.transform<Schema.Struct<{
3562
3545
  x0: typeof Schema.BigIntFromSelf;
3563
3546
  x1: typeof Schema.BigIntFromSelf;
3564
3547
  x2: typeof Schema.BigIntFromSelf;
3565
3548
  x3: typeof Schema.BigIntFromSelf;
3566
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3549
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3567
3550
  }>;
3568
3551
  }>;
3569
3552
  /** A transaction receipt.
@@ -3572,27 +3555,27 @@ declare const DeployAccountTransactionReceipt: Schema.Struct<{
3572
3555
  * @prop receipt Transaction-specific receipt.
3573
3556
  */
3574
3557
  declare const TransactionReceipt: Schema.Struct<{
3575
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
3576
- meta: Schema.optional<Schema.Struct<{
3577
- transactionIndex: Schema.optional<typeof Schema.Number>;
3578
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
3558
+ filterIds: Schema.Array$<typeof Schema.Number>;
3559
+ meta: Schema.Struct<{
3560
+ transactionIndex: typeof Schema.Number;
3561
+ transactionHash: Schema.transform<Schema.Struct<{
3579
3562
  x0: typeof Schema.BigIntFromSelf;
3580
3563
  x1: typeof Schema.BigIntFromSelf;
3581
3564
  x2: typeof Schema.BigIntFromSelf;
3582
3565
  x3: typeof Schema.BigIntFromSelf;
3583
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3584
- actualFee: Schema.optional<Schema.Struct<{
3585
- amount: Schema.optional<Schema.transform<Schema.Struct<{
3566
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3567
+ actualFee: Schema.Struct<{
3568
+ amount: Schema.transform<Schema.Struct<{
3586
3569
  x0: typeof Schema.BigIntFromSelf;
3587
3570
  x1: typeof Schema.BigIntFromSelf;
3588
3571
  x2: typeof Schema.BigIntFromSelf;
3589
3572
  x3: typeof Schema.BigIntFromSelf;
3590
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3591
- unit: Schema.optional<Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>>;
3592
- }>>;
3593
- executionResources: Schema.optional<Schema.Struct<{
3594
- computation: Schema.optional<Schema.Struct<{
3595
- steps: Schema.optional<typeof Schema.BigIntFromSelf>;
3573
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3574
+ unit: Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>;
3575
+ }>;
3576
+ executionResources: Schema.Struct<{
3577
+ computation: Schema.Struct<{
3578
+ steps: typeof Schema.BigIntFromSelf;
3596
3579
  memoryHoles: Schema.optional<typeof Schema.BigIntFromSelf>;
3597
3580
  rangeCheckBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
3598
3581
  pedersenBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
@@ -3602,13 +3585,13 @@ declare const TransactionReceipt: Schema.Struct<{
3602
3585
  bitwiseBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
3603
3586
  keccakBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
3604
3587
  segmentArenaBuiltin: Schema.optional<typeof Schema.BigIntFromSelf>;
3605
- }>>;
3606
- dataAvailability: Schema.optional<Schema.Struct<{
3607
- l1Gas: Schema.optional<typeof Schema.BigIntFromSelf>;
3608
- l1DataGas: Schema.optional<typeof Schema.BigIntFromSelf>;
3609
- }>>;
3610
- }>>;
3611
- executionResult: Schema.optional<Schema.Union<[Schema.Struct<{
3588
+ }>;
3589
+ dataAvailability: Schema.Struct<{
3590
+ l1Gas: typeof Schema.BigIntFromSelf;
3591
+ l1DataGas: typeof Schema.BigIntFromSelf;
3592
+ }>;
3593
+ }>;
3594
+ executionResult: Schema.Union<[Schema.Struct<{
3612
3595
  _tag: Schema.PropertySignature<":", "succeeded", "$case", ":", "succeeded", false, never>;
3613
3596
  succeeded: Schema.Struct<{}>;
3614
3597
  }>, Schema.Struct<{
@@ -3616,15 +3599,15 @@ declare const TransactionReceipt: Schema.Struct<{
3616
3599
  reverted: Schema.Struct<{
3617
3600
  reason: Schema.optional<typeof Schema.String>;
3618
3601
  }>;
3619
- }>]>>;
3620
- }>>;
3621
- receipt: Schema.optional<Schema.Union<[Schema.Struct<{
3602
+ }>]>;
3603
+ }>;
3604
+ receipt: Schema.Union<[Schema.Struct<{
3622
3605
  _tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
3623
3606
  invoke: Schema.Struct<{}>;
3624
3607
  }>, Schema.Struct<{
3625
3608
  _tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
3626
3609
  l1Handler: Schema.Struct<{
3627
- messageHash: Schema.optional<Schema.Schema<Uint8Array, Uint8Array, never>>;
3610
+ messageHash: Schema.Schema<Uint8Array, Uint8Array, never>;
3628
3611
  }>;
3629
3612
  }>, Schema.Struct<{
3630
3613
  _tag: Schema.PropertySignature<":", "declare", "$case", ":", "declare", false, never>;
@@ -3632,24 +3615,24 @@ declare const TransactionReceipt: Schema.Struct<{
3632
3615
  }>, Schema.Struct<{
3633
3616
  _tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
3634
3617
  deploy: Schema.Struct<{
3635
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
3618
+ contractAddress: Schema.transform<Schema.Struct<{
3636
3619
  x0: typeof Schema.BigIntFromSelf;
3637
3620
  x1: typeof Schema.BigIntFromSelf;
3638
3621
  x2: typeof Schema.BigIntFromSelf;
3639
3622
  x3: typeof Schema.BigIntFromSelf;
3640
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3623
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3641
3624
  }>;
3642
3625
  }>, Schema.Struct<{
3643
3626
  _tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
3644
3627
  deployAccount: Schema.Struct<{
3645
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
3628
+ contractAddress: Schema.transform<Schema.Struct<{
3646
3629
  x0: typeof Schema.BigIntFromSelf;
3647
3630
  x1: typeof Schema.BigIntFromSelf;
3648
3631
  x2: typeof Schema.BigIntFromSelf;
3649
3632
  x3: typeof Schema.BigIntFromSelf;
3650
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3633
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3651
3634
  }>;
3652
- }>]>>;
3635
+ }>]>;
3653
3636
  }>;
3654
3637
  type TransactionReceipt = typeof TransactionReceipt.Type;
3655
3638
  /** A transaction event.
@@ -3661,36 +3644,38 @@ type TransactionReceipt = typeof TransactionReceipt.Type;
3661
3644
  * @prop transactionIndex The transaction index in the block.
3662
3645
  * @prop transactionHash The transaction hash.
3663
3646
  * @prop transactionStatus The transaction status.
3647
+ * @prop eventIndexInTransaction The event index in the transaction.
3664
3648
  */
3665
3649
  declare const Event: Schema.Struct<{
3666
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
3667
- address: Schema.optional<Schema.transform<Schema.Struct<{
3650
+ filterIds: Schema.Array$<typeof Schema.Number>;
3651
+ address: Schema.transform<Schema.Struct<{
3668
3652
  x0: typeof Schema.BigIntFromSelf;
3669
3653
  x1: typeof Schema.BigIntFromSelf;
3670
3654
  x2: typeof Schema.BigIntFromSelf;
3671
3655
  x3: typeof Schema.BigIntFromSelf;
3672
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3673
- keys: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3656
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3657
+ keys: Schema.Array$<Schema.transform<Schema.Struct<{
3674
3658
  x0: typeof Schema.BigIntFromSelf;
3675
3659
  x1: typeof Schema.BigIntFromSelf;
3676
3660
  x2: typeof Schema.BigIntFromSelf;
3677
3661
  x3: typeof Schema.BigIntFromSelf;
3678
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3679
- data: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3662
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3663
+ data: Schema.Array$<Schema.transform<Schema.Struct<{
3680
3664
  x0: typeof Schema.BigIntFromSelf;
3681
3665
  x1: typeof Schema.BigIntFromSelf;
3682
3666
  x2: typeof Schema.BigIntFromSelf;
3683
3667
  x3: typeof Schema.BigIntFromSelf;
3684
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3685
- eventIndex: Schema.optional<typeof Schema.Number>;
3686
- transactionIndex: Schema.optional<typeof Schema.Number>;
3687
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
3668
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3669
+ eventIndex: typeof Schema.Number;
3670
+ transactionIndex: typeof Schema.Number;
3671
+ transactionHash: Schema.transform<Schema.Struct<{
3688
3672
  x0: typeof Schema.BigIntFromSelf;
3689
3673
  x1: typeof Schema.BigIntFromSelf;
3690
3674
  x2: typeof Schema.BigIntFromSelf;
3691
3675
  x3: typeof Schema.BigIntFromSelf;
3692
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3693
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
3676
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3677
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
3678
+ eventIndexInTransaction: typeof Schema.Number;
3694
3679
  }>;
3695
3680
  type Event = typeof Event.Type;
3696
3681
  /** A message from the L2 to the L1.
@@ -3702,36 +3687,38 @@ type Event = typeof Event.Type;
3702
3687
  * @prop transactionIndex The transaction index in the block.
3703
3688
  * @prop transactionHash The transaction hash.
3704
3689
  * @prop transactionStatus The transaction status.
3690
+ * @prop messageIndexInTransaction The message index in the transaction.
3705
3691
  */
3706
3692
  declare const MessageToL1: Schema.Struct<{
3707
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
3708
- fromAddress: Schema.optional<Schema.transform<Schema.Struct<{
3693
+ filterIds: Schema.Array$<typeof Schema.Number>;
3694
+ fromAddress: Schema.transform<Schema.Struct<{
3709
3695
  x0: typeof Schema.BigIntFromSelf;
3710
3696
  x1: typeof Schema.BigIntFromSelf;
3711
3697
  x2: typeof Schema.BigIntFromSelf;
3712
3698
  x3: typeof Schema.BigIntFromSelf;
3713
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3714
- toAddress: Schema.optional<Schema.transform<Schema.Struct<{
3699
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3700
+ toAddress: Schema.transform<Schema.Struct<{
3715
3701
  x0: typeof Schema.BigIntFromSelf;
3716
3702
  x1: typeof Schema.BigIntFromSelf;
3717
3703
  x2: typeof Schema.BigIntFromSelf;
3718
3704
  x3: typeof Schema.BigIntFromSelf;
3719
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3720
- payload: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
3705
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3706
+ payload: Schema.Array$<Schema.transform<Schema.Struct<{
3721
3707
  x0: typeof Schema.BigIntFromSelf;
3722
3708
  x1: typeof Schema.BigIntFromSelf;
3723
3709
  x2: typeof Schema.BigIntFromSelf;
3724
3710
  x3: typeof Schema.BigIntFromSelf;
3725
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
3726
- messageIndex: Schema.optional<typeof Schema.Number>;
3727
- transactionIndex: Schema.optional<typeof Schema.Number>;
3728
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
3711
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3712
+ messageIndex: typeof Schema.Number;
3713
+ transactionIndex: typeof Schema.Number;
3714
+ transactionHash: Schema.transform<Schema.Struct<{
3729
3715
  x0: typeof Schema.BigIntFromSelf;
3730
3716
  x1: typeof Schema.BigIntFromSelf;
3731
3717
  x2: typeof Schema.BigIntFromSelf;
3732
3718
  x3: typeof Schema.BigIntFromSelf;
3733
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3734
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
3719
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3720
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
3721
+ messageIndexInTransaction: typeof Schema.Number;
3735
3722
  }>;
3736
3723
  type MessageToL1 = typeof MessageToL1.Type;
3737
3724
  /** An entry in the storage diff.
@@ -3740,18 +3727,18 @@ type MessageToL1 = typeof MessageToL1.Type;
3740
3727
  * @prop value The new value at the storage location.
3741
3728
  */
3742
3729
  declare const StorageEntry: Schema.Struct<{
3743
- key: Schema.optional<Schema.transform<Schema.Struct<{
3730
+ key: Schema.transform<Schema.Struct<{
3744
3731
  x0: typeof Schema.BigIntFromSelf;
3745
3732
  x1: typeof Schema.BigIntFromSelf;
3746
3733
  x2: typeof Schema.BigIntFromSelf;
3747
3734
  x3: typeof Schema.BigIntFromSelf;
3748
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3749
- value: Schema.optional<Schema.transform<Schema.Struct<{
3735
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3736
+ value: Schema.transform<Schema.Struct<{
3750
3737
  x0: typeof Schema.BigIntFromSelf;
3751
3738
  x1: typeof Schema.BigIntFromSelf;
3752
3739
  x2: typeof Schema.BigIntFromSelf;
3753
3740
  x3: typeof Schema.BigIntFromSelf;
3754
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3741
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3755
3742
  }>;
3756
3743
  type StorageEntry = typeof StorageEntry.Type;
3757
3744
  /** Storage diff.
@@ -3760,27 +3747,27 @@ type StorageEntry = typeof StorageEntry.Type;
3760
3747
  * @prop storageEntries The entries that changed.
3761
3748
  */
3762
3749
  declare const StorageDiff: Schema.Struct<{
3763
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
3764
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
3750
+ filterIds: Schema.Array$<typeof Schema.Number>;
3751
+ contractAddress: Schema.transform<Schema.Struct<{
3765
3752
  x0: typeof Schema.BigIntFromSelf;
3766
3753
  x1: typeof Schema.BigIntFromSelf;
3767
3754
  x2: typeof Schema.BigIntFromSelf;
3768
3755
  x3: typeof Schema.BigIntFromSelf;
3769
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3770
- storageEntries: Schema.optional<Schema.Array$<Schema.Struct<{
3771
- key: Schema.optional<Schema.transform<Schema.Struct<{
3756
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3757
+ storageEntries: Schema.Array$<Schema.Struct<{
3758
+ key: Schema.transform<Schema.Struct<{
3772
3759
  x0: typeof Schema.BigIntFromSelf;
3773
3760
  x1: typeof Schema.BigIntFromSelf;
3774
3761
  x2: typeof Schema.BigIntFromSelf;
3775
3762
  x3: typeof Schema.BigIntFromSelf;
3776
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3777
- value: Schema.optional<Schema.transform<Schema.Struct<{
3763
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3764
+ value: Schema.transform<Schema.Struct<{
3778
3765
  x0: typeof Schema.BigIntFromSelf;
3779
3766
  x1: typeof Schema.BigIntFromSelf;
3780
3767
  x2: typeof Schema.BigIntFromSelf;
3781
3768
  x3: typeof Schema.BigIntFromSelf;
3782
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3783
- }>>>;
3769
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3770
+ }>>;
3784
3771
  }>;
3785
3772
  type StorageDiff = typeof StorageDiff.Type;
3786
3773
  /** A new class declared.
@@ -3858,8 +3845,8 @@ type DeployedContract = typeof DeployedContract.Type;
3858
3845
  * @prop change The change.
3859
3846
  */
3860
3847
  declare const ContractChange: Schema.Struct<{
3861
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
3862
- change: Schema.optional<Schema.Union<[Schema.Struct<{
3848
+ filterIds: Schema.Array$<typeof Schema.Number>;
3849
+ change: Schema.Union<[Schema.Struct<{
3863
3850
  _tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
3864
3851
  declaredClass: Schema.Struct<{
3865
3852
  classHash: Schema.optional<Schema.transform<Schema.Struct<{
@@ -3907,7 +3894,7 @@ declare const ContractChange: Schema.Struct<{
3907
3894
  x3: typeof Schema.BigIntFromSelf;
3908
3895
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3909
3896
  }>;
3910
- }>]>>;
3897
+ }>]>;
3911
3898
  }>;
3912
3899
  type ContractChange = typeof ContractChange.Type;
3913
3900
  /** A nonce update.
@@ -3916,19 +3903,19 @@ type ContractChange = typeof ContractChange.Type;
3916
3903
  * @prop nonce The new nonce.
3917
3904
  */
3918
3905
  declare const NonceUpdate: Schema.Struct<{
3919
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
3920
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
3906
+ filterIds: Schema.Array$<typeof Schema.Number>;
3907
+ contractAddress: Schema.transform<Schema.Struct<{
3921
3908
  x0: typeof Schema.BigIntFromSelf;
3922
3909
  x1: typeof Schema.BigIntFromSelf;
3923
3910
  x2: typeof Schema.BigIntFromSelf;
3924
3911
  x3: typeof Schema.BigIntFromSelf;
3925
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3926
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
3912
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3913
+ nonce: Schema.transform<Schema.Struct<{
3927
3914
  x0: typeof Schema.BigIntFromSelf;
3928
3915
  x1: typeof Schema.BigIntFromSelf;
3929
3916
  x2: typeof Schema.BigIntFromSelf;
3930
3917
  x3: typeof Schema.BigIntFromSelf;
3931
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3918
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3932
3919
  }>;
3933
3920
  type NonceUpdate = typeof NonceUpdate.Type;
3934
3921
  /** A block.
@@ -3942,35 +3929,35 @@ type NonceUpdate = typeof NonceUpdate.Type;
3942
3929
  * @prop contractChanges The changes to contracts and classes.
3943
3930
  */
3944
3931
  declare const Block: Schema.Struct<{
3945
- header: Schema.optional<Schema.Struct<{
3932
+ header: Schema.Struct<{
3946
3933
  blockHash: Schema.optional<Schema.transform<Schema.Struct<{
3947
3934
  x0: typeof Schema.BigIntFromSelf;
3948
3935
  x1: typeof Schema.BigIntFromSelf;
3949
3936
  x2: typeof Schema.BigIntFromSelf;
3950
3937
  x3: typeof Schema.BigIntFromSelf;
3951
3938
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3952
- parentBlockHash: Schema.optional<Schema.transform<Schema.Struct<{
3939
+ parentBlockHash: Schema.transform<Schema.Struct<{
3953
3940
  x0: typeof Schema.BigIntFromSelf;
3954
3941
  x1: typeof Schema.BigIntFromSelf;
3955
3942
  x2: typeof Schema.BigIntFromSelf;
3956
3943
  x3: typeof Schema.BigIntFromSelf;
3957
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3944
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3958
3945
  blockNumber: typeof Schema.BigIntFromSelf;
3959
- sequencerAddress: Schema.optional<Schema.transform<Schema.Struct<{
3946
+ sequencerAddress: Schema.transform<Schema.Struct<{
3960
3947
  x0: typeof Schema.BigIntFromSelf;
3961
3948
  x1: typeof Schema.BigIntFromSelf;
3962
3949
  x2: typeof Schema.BigIntFromSelf;
3963
3950
  x3: typeof Schema.BigIntFromSelf;
3964
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3951
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
3965
3952
  newRoot: Schema.optional<Schema.transform<Schema.Struct<{
3966
3953
  x0: typeof Schema.BigIntFromSelf;
3967
3954
  x1: typeof Schema.BigIntFromSelf;
3968
3955
  x2: typeof Schema.BigIntFromSelf;
3969
3956
  x3: typeof Schema.BigIntFromSelf;
3970
3957
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3971
- timestamp: Schema.optional<typeof Schema.DateFromSelf>;
3972
- starknetVersion: Schema.optional<typeof Schema.String>;
3973
- l1GasPrice: Schema.optional<Schema.Struct<{
3958
+ timestamp: typeof Schema.DateFromSelf;
3959
+ starknetVersion: typeof Schema.String;
3960
+ l1GasPrice: Schema.Struct<{
3974
3961
  priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
3975
3962
  x0: typeof Schema.BigIntFromSelf;
3976
3963
  x1: typeof Schema.BigIntFromSelf;
@@ -3983,8 +3970,8 @@ declare const Block: Schema.Struct<{
3983
3970
  x2: typeof Schema.BigIntFromSelf;
3984
3971
  x3: typeof Schema.BigIntFromSelf;
3985
3972
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
3986
- }>>;
3987
- l1DataGasPrice: Schema.optional<Schema.Struct<{
3973
+ }>;
3974
+ l1DataGasPrice: Schema.Struct<{
3988
3975
  priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
3989
3976
  x0: typeof Schema.BigIntFromSelf;
3990
3977
  x1: typeof Schema.BigIntFromSelf;
@@ -3997,483 +3984,483 @@ declare const Block: Schema.Struct<{
3997
3984
  x2: typeof Schema.BigIntFromSelf;
3998
3985
  x3: typeof Schema.BigIntFromSelf;
3999
3986
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4000
- }>>;
4001
- l1DataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>>;
4002
- }>>;
3987
+ }>;
3988
+ l1DataAvailabilityMode: Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>;
3989
+ }>;
4003
3990
  transactions: Schema.Array$<Schema.Struct<{
4004
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
4005
- meta: Schema.optional<Schema.Struct<{
4006
- transactionIndex: Schema.optional<typeof Schema.Number>;
4007
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
3991
+ filterIds: Schema.Array$<typeof Schema.Number>;
3992
+ meta: Schema.Struct<{
3993
+ transactionIndex: typeof Schema.Number;
3994
+ transactionHash: Schema.transform<Schema.Struct<{
4008
3995
  x0: typeof Schema.BigIntFromSelf;
4009
3996
  x1: typeof Schema.BigIntFromSelf;
4010
3997
  x2: typeof Schema.BigIntFromSelf;
4011
3998
  x3: typeof Schema.BigIntFromSelf;
4012
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4013
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
4014
- }>>;
4015
- transaction: Schema.optional<Schema.Union<[Schema.Struct<{
3999
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4000
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
4001
+ }>;
4002
+ transaction: Schema.Union<[Schema.Struct<{
4016
4003
  _tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
4017
4004
  invokeV0: Schema.Struct<{
4018
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
4005
+ maxFee: Schema.transform<Schema.Struct<{
4019
4006
  x0: typeof Schema.BigIntFromSelf;
4020
4007
  x1: typeof Schema.BigIntFromSelf;
4021
4008
  x2: typeof Schema.BigIntFromSelf;
4022
4009
  x3: typeof Schema.BigIntFromSelf;
4023
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4024
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4010
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4011
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4025
4012
  x0: typeof Schema.BigIntFromSelf;
4026
4013
  x1: typeof Schema.BigIntFromSelf;
4027
4014
  x2: typeof Schema.BigIntFromSelf;
4028
4015
  x3: typeof Schema.BigIntFromSelf;
4029
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4030
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
4016
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4017
+ contractAddress: Schema.transform<Schema.Struct<{
4031
4018
  x0: typeof Schema.BigIntFromSelf;
4032
4019
  x1: typeof Schema.BigIntFromSelf;
4033
4020
  x2: typeof Schema.BigIntFromSelf;
4034
4021
  x3: typeof Schema.BigIntFromSelf;
4035
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4036
- entryPointSelector: Schema.optional<Schema.transform<Schema.Struct<{
4022
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4023
+ entryPointSelector: Schema.transform<Schema.Struct<{
4037
4024
  x0: typeof Schema.BigIntFromSelf;
4038
4025
  x1: typeof Schema.BigIntFromSelf;
4039
4026
  x2: typeof Schema.BigIntFromSelf;
4040
4027
  x3: typeof Schema.BigIntFromSelf;
4041
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4042
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4028
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4029
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
4043
4030
  x0: typeof Schema.BigIntFromSelf;
4044
4031
  x1: typeof Schema.BigIntFromSelf;
4045
4032
  x2: typeof Schema.BigIntFromSelf;
4046
4033
  x3: typeof Schema.BigIntFromSelf;
4047
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4034
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4048
4035
  }>;
4049
4036
  }>, Schema.Struct<{
4050
4037
  _tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
4051
4038
  invokeV1: Schema.Struct<{
4052
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
4039
+ senderAddress: Schema.transform<Schema.Struct<{
4053
4040
  x0: typeof Schema.BigIntFromSelf;
4054
4041
  x1: typeof Schema.BigIntFromSelf;
4055
4042
  x2: typeof Schema.BigIntFromSelf;
4056
4043
  x3: typeof Schema.BigIntFromSelf;
4057
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4058
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4044
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4045
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
4059
4046
  x0: typeof Schema.BigIntFromSelf;
4060
4047
  x1: typeof Schema.BigIntFromSelf;
4061
4048
  x2: typeof Schema.BigIntFromSelf;
4062
4049
  x3: typeof Schema.BigIntFromSelf;
4063
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4064
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
4050
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4051
+ maxFee: Schema.transform<Schema.Struct<{
4065
4052
  x0: typeof Schema.BigIntFromSelf;
4066
4053
  x1: typeof Schema.BigIntFromSelf;
4067
4054
  x2: typeof Schema.BigIntFromSelf;
4068
4055
  x3: typeof Schema.BigIntFromSelf;
4069
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4070
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4056
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4057
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4071
4058
  x0: typeof Schema.BigIntFromSelf;
4072
4059
  x1: typeof Schema.BigIntFromSelf;
4073
4060
  x2: typeof Schema.BigIntFromSelf;
4074
4061
  x3: typeof Schema.BigIntFromSelf;
4075
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4076
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
4062
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4063
+ nonce: Schema.transform<Schema.Struct<{
4077
4064
  x0: typeof Schema.BigIntFromSelf;
4078
4065
  x1: typeof Schema.BigIntFromSelf;
4079
4066
  x2: typeof Schema.BigIntFromSelf;
4080
4067
  x3: typeof Schema.BigIntFromSelf;
4081
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4068
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4082
4069
  }>;
4083
4070
  }>, Schema.Struct<{
4084
4071
  _tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
4085
4072
  invokeV3: Schema.Struct<{
4086
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
4073
+ senderAddress: Schema.transform<Schema.Struct<{
4087
4074
  x0: typeof Schema.BigIntFromSelf;
4088
4075
  x1: typeof Schema.BigIntFromSelf;
4089
4076
  x2: typeof Schema.BigIntFromSelf;
4090
4077
  x3: typeof Schema.BigIntFromSelf;
4091
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4092
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4078
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4079
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
4093
4080
  x0: typeof Schema.BigIntFromSelf;
4094
4081
  x1: typeof Schema.BigIntFromSelf;
4095
4082
  x2: typeof Schema.BigIntFromSelf;
4096
4083
  x3: typeof Schema.BigIntFromSelf;
4097
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4098
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4084
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4085
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4099
4086
  x0: typeof Schema.BigIntFromSelf;
4100
4087
  x1: typeof Schema.BigIntFromSelf;
4101
4088
  x2: typeof Schema.BigIntFromSelf;
4102
4089
  x3: typeof Schema.BigIntFromSelf;
4103
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4104
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
4090
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4091
+ nonce: Schema.transform<Schema.Struct<{
4105
4092
  x0: typeof Schema.BigIntFromSelf;
4106
4093
  x1: typeof Schema.BigIntFromSelf;
4107
4094
  x2: typeof Schema.BigIntFromSelf;
4108
4095
  x3: typeof Schema.BigIntFromSelf;
4109
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4110
- resourceBounds: Schema.optional<Schema.Struct<{
4111
- l1Gas: Schema.optional<Schema.Struct<{
4112
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
4113
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
4096
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4097
+ resourceBounds: Schema.Struct<{
4098
+ l1Gas: Schema.Struct<{
4099
+ maxAmount: typeof Schema.BigIntFromSelf;
4100
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
4114
4101
  x0: typeof Schema.BigIntFromSelf;
4115
4102
  x1: typeof Schema.BigIntFromSelf;
4116
- }>, typeof Schema.BigIntFromSelf>>;
4117
- }>>;
4118
- l2Gas: Schema.optional<Schema.Struct<{
4119
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
4120
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
4103
+ }>, typeof Schema.BigIntFromSelf>;
4104
+ }>;
4105
+ l2Gas: Schema.Struct<{
4106
+ maxAmount: typeof Schema.BigIntFromSelf;
4107
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
4121
4108
  x0: typeof Schema.BigIntFromSelf;
4122
4109
  x1: typeof Schema.BigIntFromSelf;
4123
- }>, typeof Schema.BigIntFromSelf>>;
4124
- }>>;
4125
- }>>;
4126
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
4127
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4110
+ }>, typeof Schema.BigIntFromSelf>;
4111
+ }>;
4112
+ }>;
4113
+ tip: typeof Schema.BigIntFromSelf;
4114
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
4128
4115
  x0: typeof Schema.BigIntFromSelf;
4129
4116
  x1: typeof Schema.BigIntFromSelf;
4130
4117
  x2: typeof Schema.BigIntFromSelf;
4131
4118
  x3: typeof Schema.BigIntFromSelf;
4132
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4133
- accountDeploymentData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4119
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4120
+ accountDeploymentData: Schema.Array$<Schema.transform<Schema.Struct<{
4134
4121
  x0: typeof Schema.BigIntFromSelf;
4135
4122
  x1: typeof Schema.BigIntFromSelf;
4136
4123
  x2: typeof Schema.BigIntFromSelf;
4137
4124
  x3: typeof Schema.BigIntFromSelf;
4138
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4139
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
4140
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
4125
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4126
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
4127
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
4141
4128
  }>;
4142
4129
  }>, Schema.Struct<{
4143
4130
  _tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
4144
4131
  l1Handler: Schema.Struct<{
4145
- nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
4146
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
4132
+ nonce: typeof Schema.BigIntFromSelf;
4133
+ contractAddress: Schema.transform<Schema.Struct<{
4147
4134
  x0: typeof Schema.BigIntFromSelf;
4148
4135
  x1: typeof Schema.BigIntFromSelf;
4149
4136
  x2: typeof Schema.BigIntFromSelf;
4150
4137
  x3: typeof Schema.BigIntFromSelf;
4151
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4152
- entryPointSelector: Schema.optional<Schema.transform<Schema.Struct<{
4138
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4139
+ entryPointSelector: Schema.transform<Schema.Struct<{
4153
4140
  x0: typeof Schema.BigIntFromSelf;
4154
4141
  x1: typeof Schema.BigIntFromSelf;
4155
4142
  x2: typeof Schema.BigIntFromSelf;
4156
4143
  x3: typeof Schema.BigIntFromSelf;
4157
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4158
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4144
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4145
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
4159
4146
  x0: typeof Schema.BigIntFromSelf;
4160
4147
  x1: typeof Schema.BigIntFromSelf;
4161
4148
  x2: typeof Schema.BigIntFromSelf;
4162
4149
  x3: typeof Schema.BigIntFromSelf;
4163
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4150
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4164
4151
  }>;
4165
4152
  }>, Schema.Struct<{
4166
4153
  _tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
4167
4154
  deploy: Schema.Struct<{
4168
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
4155
+ contractAddressSalt: Schema.transform<Schema.Struct<{
4169
4156
  x0: typeof Schema.BigIntFromSelf;
4170
4157
  x1: typeof Schema.BigIntFromSelf;
4171
4158
  x2: typeof Schema.BigIntFromSelf;
4172
4159
  x3: typeof Schema.BigIntFromSelf;
4173
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4174
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4160
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4161
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
4175
4162
  x0: typeof Schema.BigIntFromSelf;
4176
4163
  x1: typeof Schema.BigIntFromSelf;
4177
4164
  x2: typeof Schema.BigIntFromSelf;
4178
4165
  x3: typeof Schema.BigIntFromSelf;
4179
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4180
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
4166
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4167
+ classHash: Schema.transform<Schema.Struct<{
4181
4168
  x0: typeof Schema.BigIntFromSelf;
4182
4169
  x1: typeof Schema.BigIntFromSelf;
4183
4170
  x2: typeof Schema.BigIntFromSelf;
4184
4171
  x3: typeof Schema.BigIntFromSelf;
4185
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4172
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4186
4173
  }>;
4187
4174
  }>, Schema.Struct<{
4188
4175
  _tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
4189
4176
  declareV0: Schema.Struct<{
4190
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
4177
+ senderAddress: Schema.transform<Schema.Struct<{
4191
4178
  x0: typeof Schema.BigIntFromSelf;
4192
4179
  x1: typeof Schema.BigIntFromSelf;
4193
4180
  x2: typeof Schema.BigIntFromSelf;
4194
4181
  x3: typeof Schema.BigIntFromSelf;
4195
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4196
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
4182
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4183
+ maxFee: Schema.transform<Schema.Struct<{
4197
4184
  x0: typeof Schema.BigIntFromSelf;
4198
4185
  x1: typeof Schema.BigIntFromSelf;
4199
4186
  x2: typeof Schema.BigIntFromSelf;
4200
4187
  x3: typeof Schema.BigIntFromSelf;
4201
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4202
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4188
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4189
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4203
4190
  x0: typeof Schema.BigIntFromSelf;
4204
4191
  x1: typeof Schema.BigIntFromSelf;
4205
4192
  x2: typeof Schema.BigIntFromSelf;
4206
4193
  x3: typeof Schema.BigIntFromSelf;
4207
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4208
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
4194
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4195
+ classHash: Schema.transform<Schema.Struct<{
4209
4196
  x0: typeof Schema.BigIntFromSelf;
4210
4197
  x1: typeof Schema.BigIntFromSelf;
4211
4198
  x2: typeof Schema.BigIntFromSelf;
4212
4199
  x3: typeof Schema.BigIntFromSelf;
4213
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4200
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4214
4201
  }>;
4215
4202
  }>, Schema.Struct<{
4216
4203
  _tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
4217
4204
  declareV1: Schema.Struct<{
4218
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
4205
+ senderAddress: Schema.transform<Schema.Struct<{
4219
4206
  x0: typeof Schema.BigIntFromSelf;
4220
4207
  x1: typeof Schema.BigIntFromSelf;
4221
4208
  x2: typeof Schema.BigIntFromSelf;
4222
4209
  x3: typeof Schema.BigIntFromSelf;
4223
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4224
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
4210
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4211
+ maxFee: Schema.transform<Schema.Struct<{
4225
4212
  x0: typeof Schema.BigIntFromSelf;
4226
4213
  x1: typeof Schema.BigIntFromSelf;
4227
4214
  x2: typeof Schema.BigIntFromSelf;
4228
4215
  x3: typeof Schema.BigIntFromSelf;
4229
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4230
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4216
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4217
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4231
4218
  x0: typeof Schema.BigIntFromSelf;
4232
4219
  x1: typeof Schema.BigIntFromSelf;
4233
4220
  x2: typeof Schema.BigIntFromSelf;
4234
4221
  x3: typeof Schema.BigIntFromSelf;
4235
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4236
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
4222
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4223
+ nonce: Schema.transform<Schema.Struct<{
4237
4224
  x0: typeof Schema.BigIntFromSelf;
4238
4225
  x1: typeof Schema.BigIntFromSelf;
4239
4226
  x2: typeof Schema.BigIntFromSelf;
4240
4227
  x3: typeof Schema.BigIntFromSelf;
4241
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4242
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
4228
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4229
+ classHash: Schema.transform<Schema.Struct<{
4243
4230
  x0: typeof Schema.BigIntFromSelf;
4244
4231
  x1: typeof Schema.BigIntFromSelf;
4245
4232
  x2: typeof Schema.BigIntFromSelf;
4246
4233
  x3: typeof Schema.BigIntFromSelf;
4247
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4234
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4248
4235
  }>;
4249
4236
  }>, Schema.Struct<{
4250
4237
  _tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
4251
4238
  declareV2: Schema.Struct<{
4252
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
4239
+ senderAddress: Schema.transform<Schema.Struct<{
4253
4240
  x0: typeof Schema.BigIntFromSelf;
4254
4241
  x1: typeof Schema.BigIntFromSelf;
4255
4242
  x2: typeof Schema.BigIntFromSelf;
4256
4243
  x3: typeof Schema.BigIntFromSelf;
4257
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4258
- compiledClassHash: Schema.optional<Schema.transform<Schema.Struct<{
4244
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4245
+ compiledClassHash: Schema.transform<Schema.Struct<{
4259
4246
  x0: typeof Schema.BigIntFromSelf;
4260
4247
  x1: typeof Schema.BigIntFromSelf;
4261
4248
  x2: typeof Schema.BigIntFromSelf;
4262
4249
  x3: typeof Schema.BigIntFromSelf;
4263
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4264
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
4250
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4251
+ maxFee: Schema.transform<Schema.Struct<{
4265
4252
  x0: typeof Schema.BigIntFromSelf;
4266
4253
  x1: typeof Schema.BigIntFromSelf;
4267
4254
  x2: typeof Schema.BigIntFromSelf;
4268
4255
  x3: typeof Schema.BigIntFromSelf;
4269
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4270
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4256
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4257
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4271
4258
  x0: typeof Schema.BigIntFromSelf;
4272
4259
  x1: typeof Schema.BigIntFromSelf;
4273
4260
  x2: typeof Schema.BigIntFromSelf;
4274
4261
  x3: typeof Schema.BigIntFromSelf;
4275
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4276
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
4262
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4263
+ nonce: Schema.transform<Schema.Struct<{
4277
4264
  x0: typeof Schema.BigIntFromSelf;
4278
4265
  x1: typeof Schema.BigIntFromSelf;
4279
4266
  x2: typeof Schema.BigIntFromSelf;
4280
4267
  x3: typeof Schema.BigIntFromSelf;
4281
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4282
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
4268
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4269
+ classHash: Schema.transform<Schema.Struct<{
4283
4270
  x0: typeof Schema.BigIntFromSelf;
4284
4271
  x1: typeof Schema.BigIntFromSelf;
4285
4272
  x2: typeof Schema.BigIntFromSelf;
4286
4273
  x3: typeof Schema.BigIntFromSelf;
4287
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4274
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4288
4275
  }>;
4289
4276
  }>, Schema.Struct<{
4290
4277
  _tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
4291
4278
  declareV3: Schema.Struct<{
4292
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
4279
+ senderAddress: Schema.transform<Schema.Struct<{
4293
4280
  x0: typeof Schema.BigIntFromSelf;
4294
4281
  x1: typeof Schema.BigIntFromSelf;
4295
4282
  x2: typeof Schema.BigIntFromSelf;
4296
4283
  x3: typeof Schema.BigIntFromSelf;
4297
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4298
- compiledClassHash: Schema.optional<Schema.transform<Schema.Struct<{
4284
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4285
+ compiledClassHash: Schema.transform<Schema.Struct<{
4299
4286
  x0: typeof Schema.BigIntFromSelf;
4300
4287
  x1: typeof Schema.BigIntFromSelf;
4301
4288
  x2: typeof Schema.BigIntFromSelf;
4302
4289
  x3: typeof Schema.BigIntFromSelf;
4303
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4304
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4290
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4291
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4305
4292
  x0: typeof Schema.BigIntFromSelf;
4306
4293
  x1: typeof Schema.BigIntFromSelf;
4307
4294
  x2: typeof Schema.BigIntFromSelf;
4308
4295
  x3: typeof Schema.BigIntFromSelf;
4309
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4310
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
4296
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4297
+ nonce: Schema.transform<Schema.Struct<{
4311
4298
  x0: typeof Schema.BigIntFromSelf;
4312
4299
  x1: typeof Schema.BigIntFromSelf;
4313
4300
  x2: typeof Schema.BigIntFromSelf;
4314
4301
  x3: typeof Schema.BigIntFromSelf;
4315
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4316
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
4302
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4303
+ classHash: Schema.transform<Schema.Struct<{
4317
4304
  x0: typeof Schema.BigIntFromSelf;
4318
4305
  x1: typeof Schema.BigIntFromSelf;
4319
4306
  x2: typeof Schema.BigIntFromSelf;
4320
4307
  x3: typeof Schema.BigIntFromSelf;
4321
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4322
- resourceBounds: Schema.optional<Schema.Struct<{
4323
- l1Gas: Schema.optional<Schema.Struct<{
4324
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
4325
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
4308
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4309
+ resourceBounds: Schema.Struct<{
4310
+ l1Gas: Schema.Struct<{
4311
+ maxAmount: typeof Schema.BigIntFromSelf;
4312
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
4326
4313
  x0: typeof Schema.BigIntFromSelf;
4327
4314
  x1: typeof Schema.BigIntFromSelf;
4328
- }>, typeof Schema.BigIntFromSelf>>;
4329
- }>>;
4330
- l2Gas: Schema.optional<Schema.Struct<{
4331
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
4332
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
4315
+ }>, typeof Schema.BigIntFromSelf>;
4316
+ }>;
4317
+ l2Gas: Schema.Struct<{
4318
+ maxAmount: typeof Schema.BigIntFromSelf;
4319
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
4333
4320
  x0: typeof Schema.BigIntFromSelf;
4334
4321
  x1: typeof Schema.BigIntFromSelf;
4335
- }>, typeof Schema.BigIntFromSelf>>;
4336
- }>>;
4337
- }>>;
4338
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
4339
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4322
+ }>, typeof Schema.BigIntFromSelf>;
4323
+ }>;
4324
+ }>;
4325
+ tip: typeof Schema.BigIntFromSelf;
4326
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
4340
4327
  x0: typeof Schema.BigIntFromSelf;
4341
4328
  x1: typeof Schema.BigIntFromSelf;
4342
4329
  x2: typeof Schema.BigIntFromSelf;
4343
4330
  x3: typeof Schema.BigIntFromSelf;
4344
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4345
- accountDeploymentData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4331
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4332
+ accountDeploymentData: Schema.Array$<Schema.transform<Schema.Struct<{
4346
4333
  x0: typeof Schema.BigIntFromSelf;
4347
4334
  x1: typeof Schema.BigIntFromSelf;
4348
4335
  x2: typeof Schema.BigIntFromSelf;
4349
4336
  x3: typeof Schema.BigIntFromSelf;
4350
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4351
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
4352
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
4337
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4338
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
4339
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
4353
4340
  }>;
4354
4341
  }>, Schema.Struct<{
4355
4342
  _tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
4356
4343
  deployAccountV1: Schema.Struct<{
4357
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
4344
+ maxFee: Schema.transform<Schema.Struct<{
4358
4345
  x0: typeof Schema.BigIntFromSelf;
4359
4346
  x1: typeof Schema.BigIntFromSelf;
4360
4347
  x2: typeof Schema.BigIntFromSelf;
4361
4348
  x3: typeof Schema.BigIntFromSelf;
4362
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4363
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4349
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4350
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4364
4351
  x0: typeof Schema.BigIntFromSelf;
4365
4352
  x1: typeof Schema.BigIntFromSelf;
4366
4353
  x2: typeof Schema.BigIntFromSelf;
4367
4354
  x3: typeof Schema.BigIntFromSelf;
4368
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4369
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
4355
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4356
+ nonce: Schema.transform<Schema.Struct<{
4370
4357
  x0: typeof Schema.BigIntFromSelf;
4371
4358
  x1: typeof Schema.BigIntFromSelf;
4372
4359
  x2: typeof Schema.BigIntFromSelf;
4373
4360
  x3: typeof Schema.BigIntFromSelf;
4374
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4375
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
4361
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4362
+ contractAddressSalt: Schema.transform<Schema.Struct<{
4376
4363
  x0: typeof Schema.BigIntFromSelf;
4377
4364
  x1: typeof Schema.BigIntFromSelf;
4378
4365
  x2: typeof Schema.BigIntFromSelf;
4379
4366
  x3: typeof Schema.BigIntFromSelf;
4380
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4381
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4367
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4368
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
4382
4369
  x0: typeof Schema.BigIntFromSelf;
4383
4370
  x1: typeof Schema.BigIntFromSelf;
4384
4371
  x2: typeof Schema.BigIntFromSelf;
4385
4372
  x3: typeof Schema.BigIntFromSelf;
4386
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4387
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
4373
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4374
+ classHash: Schema.transform<Schema.Struct<{
4388
4375
  x0: typeof Schema.BigIntFromSelf;
4389
4376
  x1: typeof Schema.BigIntFromSelf;
4390
4377
  x2: typeof Schema.BigIntFromSelf;
4391
4378
  x3: typeof Schema.BigIntFromSelf;
4392
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4379
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4393
4380
  }>;
4394
4381
  }>, Schema.Struct<{
4395
4382
  _tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
4396
4383
  deployAccountV3: Schema.Struct<{
4397
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4384
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4398
4385
  x0: typeof Schema.BigIntFromSelf;
4399
4386
  x1: typeof Schema.BigIntFromSelf;
4400
4387
  x2: typeof Schema.BigIntFromSelf;
4401
4388
  x3: typeof Schema.BigIntFromSelf;
4402
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4403
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
4389
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4390
+ nonce: Schema.transform<Schema.Struct<{
4404
4391
  x0: typeof Schema.BigIntFromSelf;
4405
4392
  x1: typeof Schema.BigIntFromSelf;
4406
4393
  x2: typeof Schema.BigIntFromSelf;
4407
4394
  x3: typeof Schema.BigIntFromSelf;
4408
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4409
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
4395
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4396
+ contractAddressSalt: Schema.transform<Schema.Struct<{
4410
4397
  x0: typeof Schema.BigIntFromSelf;
4411
4398
  x1: typeof Schema.BigIntFromSelf;
4412
4399
  x2: typeof Schema.BigIntFromSelf;
4413
4400
  x3: typeof Schema.BigIntFromSelf;
4414
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4415
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4401
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4402
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
4416
4403
  x0: typeof Schema.BigIntFromSelf;
4417
4404
  x1: typeof Schema.BigIntFromSelf;
4418
4405
  x2: typeof Schema.BigIntFromSelf;
4419
4406
  x3: typeof Schema.BigIntFromSelf;
4420
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4421
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
4407
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4408
+ classHash: Schema.transform<Schema.Struct<{
4422
4409
  x0: typeof Schema.BigIntFromSelf;
4423
4410
  x1: typeof Schema.BigIntFromSelf;
4424
4411
  x2: typeof Schema.BigIntFromSelf;
4425
4412
  x3: typeof Schema.BigIntFromSelf;
4426
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4427
- resourceBounds: Schema.optional<Schema.Struct<{
4428
- l1Gas: Schema.optional<Schema.Struct<{
4429
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
4430
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
4413
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4414
+ resourceBounds: Schema.Struct<{
4415
+ l1Gas: Schema.Struct<{
4416
+ maxAmount: typeof Schema.BigIntFromSelf;
4417
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
4431
4418
  x0: typeof Schema.BigIntFromSelf;
4432
4419
  x1: typeof Schema.BigIntFromSelf;
4433
- }>, typeof Schema.BigIntFromSelf>>;
4434
- }>>;
4435
- l2Gas: Schema.optional<Schema.Struct<{
4436
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
4437
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
4420
+ }>, typeof Schema.BigIntFromSelf>;
4421
+ }>;
4422
+ l2Gas: Schema.Struct<{
4423
+ maxAmount: typeof Schema.BigIntFromSelf;
4424
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
4438
4425
  x0: typeof Schema.BigIntFromSelf;
4439
4426
  x1: typeof Schema.BigIntFromSelf;
4440
- }>, typeof Schema.BigIntFromSelf>>;
4441
- }>>;
4442
- }>>;
4443
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
4444
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4427
+ }>, typeof Schema.BigIntFromSelf>;
4428
+ }>;
4429
+ }>;
4430
+ tip: typeof Schema.BigIntFromSelf;
4431
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
4445
4432
  x0: typeof Schema.BigIntFromSelf;
4446
4433
  x1: typeof Schema.BigIntFromSelf;
4447
4434
  x2: typeof Schema.BigIntFromSelf;
4448
4435
  x3: typeof Schema.BigIntFromSelf;
4449
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4450
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
4451
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
4436
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4437
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
4438
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
4452
4439
  }>;
4453
- }>]>>;
4440
+ }>]>;
4454
4441
  }>>;
4455
4442
  receipts: Schema.Array$<Schema.Struct<{
4456
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
4457
- meta: Schema.optional<Schema.Struct<{
4458
- transactionIndex: Schema.optional<typeof Schema.Number>;
4459
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
4443
+ filterIds: Schema.Array$<typeof Schema.Number>;
4444
+ meta: Schema.Struct<{
4445
+ transactionIndex: typeof Schema.Number;
4446
+ transactionHash: Schema.transform<Schema.Struct<{
4460
4447
  x0: typeof Schema.BigIntFromSelf;
4461
4448
  x1: typeof Schema.BigIntFromSelf;
4462
4449
  x2: typeof Schema.BigIntFromSelf;
4463
4450
  x3: typeof Schema.BigIntFromSelf;
4464
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4465
- actualFee: Schema.optional<Schema.Struct<{
4466
- amount: Schema.optional<Schema.transform<Schema.Struct<{
4451
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4452
+ actualFee: Schema.Struct<{
4453
+ amount: Schema.transform<Schema.Struct<{
4467
4454
  x0: typeof Schema.BigIntFromSelf;
4468
4455
  x1: typeof Schema.BigIntFromSelf;
4469
4456
  x2: typeof Schema.BigIntFromSelf;
4470
4457
  x3: typeof Schema.BigIntFromSelf;
4471
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4472
- unit: Schema.optional<Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>>;
4473
- }>>;
4474
- executionResources: Schema.optional<Schema.Struct<{
4475
- computation: Schema.optional<Schema.Struct<{
4476
- steps: Schema.optional<typeof Schema.BigIntFromSelf>;
4458
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4459
+ unit: Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>;
4460
+ }>;
4461
+ executionResources: Schema.Struct<{
4462
+ computation: Schema.Struct<{
4463
+ steps: typeof Schema.BigIntFromSelf;
4477
4464
  memoryHoles: Schema.optional<typeof Schema.BigIntFromSelf>;
4478
4465
  rangeCheckBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
4479
4466
  pedersenBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
@@ -4483,13 +4470,13 @@ declare const Block: Schema.Struct<{
4483
4470
  bitwiseBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
4484
4471
  keccakBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
4485
4472
  segmentArenaBuiltin: Schema.optional<typeof Schema.BigIntFromSelf>;
4486
- }>>;
4487
- dataAvailability: Schema.optional<Schema.Struct<{
4488
- l1Gas: Schema.optional<typeof Schema.BigIntFromSelf>;
4489
- l1DataGas: Schema.optional<typeof Schema.BigIntFromSelf>;
4490
- }>>;
4491
- }>>;
4492
- executionResult: Schema.optional<Schema.Union<[Schema.Struct<{
4473
+ }>;
4474
+ dataAvailability: Schema.Struct<{
4475
+ l1Gas: typeof Schema.BigIntFromSelf;
4476
+ l1DataGas: typeof Schema.BigIntFromSelf;
4477
+ }>;
4478
+ }>;
4479
+ executionResult: Schema.Union<[Schema.Struct<{
4493
4480
  _tag: Schema.PropertySignature<":", "succeeded", "$case", ":", "succeeded", false, never>;
4494
4481
  succeeded: Schema.Struct<{}>;
4495
4482
  }>, Schema.Struct<{
@@ -4497,15 +4484,15 @@ declare const Block: Schema.Struct<{
4497
4484
  reverted: Schema.Struct<{
4498
4485
  reason: Schema.optional<typeof Schema.String>;
4499
4486
  }>;
4500
- }>]>>;
4501
- }>>;
4502
- receipt: Schema.optional<Schema.Union<[Schema.Struct<{
4487
+ }>]>;
4488
+ }>;
4489
+ receipt: Schema.Union<[Schema.Struct<{
4503
4490
  _tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
4504
4491
  invoke: Schema.Struct<{}>;
4505
4492
  }>, Schema.Struct<{
4506
4493
  _tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
4507
4494
  l1Handler: Schema.Struct<{
4508
- messageHash: Schema.optional<Schema.Schema<Uint8Array, Uint8Array, never>>;
4495
+ messageHash: Schema.Schema<Uint8Array, Uint8Array, never>;
4509
4496
  }>;
4510
4497
  }>, Schema.Struct<{
4511
4498
  _tag: Schema.PropertySignature<":", "declare", "$case", ":", "declare", false, never>;
@@ -4513,111 +4500,113 @@ declare const Block: Schema.Struct<{
4513
4500
  }>, Schema.Struct<{
4514
4501
  _tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
4515
4502
  deploy: Schema.Struct<{
4516
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
4503
+ contractAddress: Schema.transform<Schema.Struct<{
4517
4504
  x0: typeof Schema.BigIntFromSelf;
4518
4505
  x1: typeof Schema.BigIntFromSelf;
4519
4506
  x2: typeof Schema.BigIntFromSelf;
4520
4507
  x3: typeof Schema.BigIntFromSelf;
4521
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4508
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4522
4509
  }>;
4523
4510
  }>, Schema.Struct<{
4524
4511
  _tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
4525
4512
  deployAccount: Schema.Struct<{
4526
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
4513
+ contractAddress: Schema.transform<Schema.Struct<{
4527
4514
  x0: typeof Schema.BigIntFromSelf;
4528
4515
  x1: typeof Schema.BigIntFromSelf;
4529
4516
  x2: typeof Schema.BigIntFromSelf;
4530
4517
  x3: typeof Schema.BigIntFromSelf;
4531
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4518
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4532
4519
  }>;
4533
- }>]>>;
4520
+ }>]>;
4534
4521
  }>>;
4535
4522
  events: Schema.Array$<Schema.Struct<{
4536
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
4537
- address: Schema.optional<Schema.transform<Schema.Struct<{
4523
+ filterIds: Schema.Array$<typeof Schema.Number>;
4524
+ address: Schema.transform<Schema.Struct<{
4538
4525
  x0: typeof Schema.BigIntFromSelf;
4539
4526
  x1: typeof Schema.BigIntFromSelf;
4540
4527
  x2: typeof Schema.BigIntFromSelf;
4541
4528
  x3: typeof Schema.BigIntFromSelf;
4542
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4543
- keys: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4529
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4530
+ keys: Schema.Array$<Schema.transform<Schema.Struct<{
4544
4531
  x0: typeof Schema.BigIntFromSelf;
4545
4532
  x1: typeof Schema.BigIntFromSelf;
4546
4533
  x2: typeof Schema.BigIntFromSelf;
4547
4534
  x3: typeof Schema.BigIntFromSelf;
4548
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4549
- data: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4535
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4536
+ data: Schema.Array$<Schema.transform<Schema.Struct<{
4550
4537
  x0: typeof Schema.BigIntFromSelf;
4551
4538
  x1: typeof Schema.BigIntFromSelf;
4552
4539
  x2: typeof Schema.BigIntFromSelf;
4553
4540
  x3: typeof Schema.BigIntFromSelf;
4554
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4555
- eventIndex: Schema.optional<typeof Schema.Number>;
4556
- transactionIndex: Schema.optional<typeof Schema.Number>;
4557
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
4541
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4542
+ eventIndex: typeof Schema.Number;
4543
+ transactionIndex: typeof Schema.Number;
4544
+ transactionHash: Schema.transform<Schema.Struct<{
4558
4545
  x0: typeof Schema.BigIntFromSelf;
4559
4546
  x1: typeof Schema.BigIntFromSelf;
4560
4547
  x2: typeof Schema.BigIntFromSelf;
4561
4548
  x3: typeof Schema.BigIntFromSelf;
4562
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4563
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
4549
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4550
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
4551
+ eventIndexInTransaction: typeof Schema.Number;
4564
4552
  }>>;
4565
4553
  messages: Schema.Array$<Schema.Struct<{
4566
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
4567
- fromAddress: Schema.optional<Schema.transform<Schema.Struct<{
4554
+ filterIds: Schema.Array$<typeof Schema.Number>;
4555
+ fromAddress: Schema.transform<Schema.Struct<{
4568
4556
  x0: typeof Schema.BigIntFromSelf;
4569
4557
  x1: typeof Schema.BigIntFromSelf;
4570
4558
  x2: typeof Schema.BigIntFromSelf;
4571
4559
  x3: typeof Schema.BigIntFromSelf;
4572
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4573
- toAddress: Schema.optional<Schema.transform<Schema.Struct<{
4560
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4561
+ toAddress: Schema.transform<Schema.Struct<{
4574
4562
  x0: typeof Schema.BigIntFromSelf;
4575
4563
  x1: typeof Schema.BigIntFromSelf;
4576
4564
  x2: typeof Schema.BigIntFromSelf;
4577
4565
  x3: typeof Schema.BigIntFromSelf;
4578
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4579
- payload: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4566
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4567
+ payload: Schema.Array$<Schema.transform<Schema.Struct<{
4580
4568
  x0: typeof Schema.BigIntFromSelf;
4581
4569
  x1: typeof Schema.BigIntFromSelf;
4582
4570
  x2: typeof Schema.BigIntFromSelf;
4583
4571
  x3: typeof Schema.BigIntFromSelf;
4584
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4585
- messageIndex: Schema.optional<typeof Schema.Number>;
4586
- transactionIndex: Schema.optional<typeof Schema.Number>;
4587
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
4572
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4573
+ messageIndex: typeof Schema.Number;
4574
+ transactionIndex: typeof Schema.Number;
4575
+ transactionHash: Schema.transform<Schema.Struct<{
4588
4576
  x0: typeof Schema.BigIntFromSelf;
4589
4577
  x1: typeof Schema.BigIntFromSelf;
4590
4578
  x2: typeof Schema.BigIntFromSelf;
4591
4579
  x3: typeof Schema.BigIntFromSelf;
4592
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4593
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
4580
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4581
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
4582
+ messageIndexInTransaction: typeof Schema.Number;
4594
4583
  }>>;
4595
4584
  storageDiffs: Schema.Array$<Schema.Struct<{
4596
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
4597
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
4585
+ filterIds: Schema.Array$<typeof Schema.Number>;
4586
+ contractAddress: Schema.transform<Schema.Struct<{
4598
4587
  x0: typeof Schema.BigIntFromSelf;
4599
4588
  x1: typeof Schema.BigIntFromSelf;
4600
4589
  x2: typeof Schema.BigIntFromSelf;
4601
4590
  x3: typeof Schema.BigIntFromSelf;
4602
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4603
- storageEntries: Schema.optional<Schema.Array$<Schema.Struct<{
4604
- key: Schema.optional<Schema.transform<Schema.Struct<{
4591
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4592
+ storageEntries: Schema.Array$<Schema.Struct<{
4593
+ key: Schema.transform<Schema.Struct<{
4605
4594
  x0: typeof Schema.BigIntFromSelf;
4606
4595
  x1: typeof Schema.BigIntFromSelf;
4607
4596
  x2: typeof Schema.BigIntFromSelf;
4608
4597
  x3: typeof Schema.BigIntFromSelf;
4609
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4610
- value: Schema.optional<Schema.transform<Schema.Struct<{
4598
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4599
+ value: Schema.transform<Schema.Struct<{
4611
4600
  x0: typeof Schema.BigIntFromSelf;
4612
4601
  x1: typeof Schema.BigIntFromSelf;
4613
4602
  x2: typeof Schema.BigIntFromSelf;
4614
4603
  x3: typeof Schema.BigIntFromSelf;
4615
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4616
- }>>>;
4604
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4605
+ }>>;
4617
4606
  }>>;
4618
4607
  contractChanges: Schema.Array$<Schema.Struct<{
4619
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
4620
- change: Schema.optional<Schema.Union<[Schema.Struct<{
4608
+ filterIds: Schema.Array$<typeof Schema.Number>;
4609
+ change: Schema.Union<[Schema.Struct<{
4621
4610
  _tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
4622
4611
  declaredClass: Schema.Struct<{
4623
4612
  classHash: Schema.optional<Schema.transform<Schema.Struct<{
@@ -4665,55 +4654,55 @@ declare const Block: Schema.Struct<{
4665
4654
  x3: typeof Schema.BigIntFromSelf;
4666
4655
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4667
4656
  }>;
4668
- }>]>>;
4657
+ }>]>;
4669
4658
  }>>;
4670
4659
  nonceUpdates: Schema.Array$<Schema.Struct<{
4671
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
4672
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
4660
+ filterIds: Schema.Array$<typeof Schema.Number>;
4661
+ contractAddress: Schema.transform<Schema.Struct<{
4673
4662
  x0: typeof Schema.BigIntFromSelf;
4674
4663
  x1: typeof Schema.BigIntFromSelf;
4675
4664
  x2: typeof Schema.BigIntFromSelf;
4676
4665
  x3: typeof Schema.BigIntFromSelf;
4677
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4678
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
4666
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4667
+ nonce: Schema.transform<Schema.Struct<{
4679
4668
  x0: typeof Schema.BigIntFromSelf;
4680
4669
  x1: typeof Schema.BigIntFromSelf;
4681
4670
  x2: typeof Schema.BigIntFromSelf;
4682
4671
  x3: typeof Schema.BigIntFromSelf;
4683
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4672
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4684
4673
  }>>;
4685
4674
  }>;
4686
4675
  type Block = typeof Block.Type;
4687
4676
  declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.NullOr<Schema.Struct<{
4688
- header: Schema.optional<Schema.Struct<{
4677
+ header: Schema.Struct<{
4689
4678
  blockHash: Schema.optional<Schema.transform<Schema.Struct<{
4690
4679
  x0: typeof Schema.BigIntFromSelf;
4691
4680
  x1: typeof Schema.BigIntFromSelf;
4692
4681
  x2: typeof Schema.BigIntFromSelf;
4693
4682
  x3: typeof Schema.BigIntFromSelf;
4694
4683
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4695
- parentBlockHash: Schema.optional<Schema.transform<Schema.Struct<{
4684
+ parentBlockHash: Schema.transform<Schema.Struct<{
4696
4685
  x0: typeof Schema.BigIntFromSelf;
4697
4686
  x1: typeof Schema.BigIntFromSelf;
4698
4687
  x2: typeof Schema.BigIntFromSelf;
4699
4688
  x3: typeof Schema.BigIntFromSelf;
4700
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4689
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4701
4690
  blockNumber: typeof Schema.BigIntFromSelf;
4702
- sequencerAddress: Schema.optional<Schema.transform<Schema.Struct<{
4691
+ sequencerAddress: Schema.transform<Schema.Struct<{
4703
4692
  x0: typeof Schema.BigIntFromSelf;
4704
4693
  x1: typeof Schema.BigIntFromSelf;
4705
4694
  x2: typeof Schema.BigIntFromSelf;
4706
4695
  x3: typeof Schema.BigIntFromSelf;
4707
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4696
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4708
4697
  newRoot: Schema.optional<Schema.transform<Schema.Struct<{
4709
4698
  x0: typeof Schema.BigIntFromSelf;
4710
4699
  x1: typeof Schema.BigIntFromSelf;
4711
4700
  x2: typeof Schema.BigIntFromSelf;
4712
4701
  x3: typeof Schema.BigIntFromSelf;
4713
4702
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4714
- timestamp: Schema.optional<typeof Schema.DateFromSelf>;
4715
- starknetVersion: Schema.optional<typeof Schema.String>;
4716
- l1GasPrice: Schema.optional<Schema.Struct<{
4703
+ timestamp: typeof Schema.DateFromSelf;
4704
+ starknetVersion: typeof Schema.String;
4705
+ l1GasPrice: Schema.Struct<{
4717
4706
  priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
4718
4707
  x0: typeof Schema.BigIntFromSelf;
4719
4708
  x1: typeof Schema.BigIntFromSelf;
@@ -4726,8 +4715,8 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
4726
4715
  x2: typeof Schema.BigIntFromSelf;
4727
4716
  x3: typeof Schema.BigIntFromSelf;
4728
4717
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4729
- }>>;
4730
- l1DataGasPrice: Schema.optional<Schema.Struct<{
4718
+ }>;
4719
+ l1DataGasPrice: Schema.Struct<{
4731
4720
  priceInFri: Schema.optional<Schema.transform<Schema.Struct<{
4732
4721
  x0: typeof Schema.BigIntFromSelf;
4733
4722
  x1: typeof Schema.BigIntFromSelf;
@@ -4740,483 +4729,483 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
4740
4729
  x2: typeof Schema.BigIntFromSelf;
4741
4730
  x3: typeof Schema.BigIntFromSelf;
4742
4731
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4743
- }>>;
4744
- l1DataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>>;
4745
- }>>;
4732
+ }>;
4733
+ l1DataAvailabilityMode: Schema.transform<Schema.Enums<typeof L1DataAvailabilityMode$1>, Schema.Literal<["blob", "calldata", "unknown"]>>;
4734
+ }>;
4746
4735
  transactions: Schema.Array$<Schema.Struct<{
4747
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
4748
- meta: Schema.optional<Schema.Struct<{
4749
- transactionIndex: Schema.optional<typeof Schema.Number>;
4750
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
4736
+ filterIds: Schema.Array$<typeof Schema.Number>;
4737
+ meta: Schema.Struct<{
4738
+ transactionIndex: typeof Schema.Number;
4739
+ transactionHash: Schema.transform<Schema.Struct<{
4751
4740
  x0: typeof Schema.BigIntFromSelf;
4752
4741
  x1: typeof Schema.BigIntFromSelf;
4753
4742
  x2: typeof Schema.BigIntFromSelf;
4754
4743
  x3: typeof Schema.BigIntFromSelf;
4755
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4756
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
4757
- }>>;
4758
- transaction: Schema.optional<Schema.Union<[Schema.Struct<{
4744
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4745
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
4746
+ }>;
4747
+ transaction: Schema.Union<[Schema.Struct<{
4759
4748
  _tag: Schema.PropertySignature<":", "invokeV0", "$case", ":", "invokeV0", false, never>;
4760
4749
  invokeV0: Schema.Struct<{
4761
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
4750
+ maxFee: Schema.transform<Schema.Struct<{
4762
4751
  x0: typeof Schema.BigIntFromSelf;
4763
4752
  x1: typeof Schema.BigIntFromSelf;
4764
4753
  x2: typeof Schema.BigIntFromSelf;
4765
4754
  x3: typeof Schema.BigIntFromSelf;
4766
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4767
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4755
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4756
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4768
4757
  x0: typeof Schema.BigIntFromSelf;
4769
4758
  x1: typeof Schema.BigIntFromSelf;
4770
4759
  x2: typeof Schema.BigIntFromSelf;
4771
4760
  x3: typeof Schema.BigIntFromSelf;
4772
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4773
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
4761
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4762
+ contractAddress: Schema.transform<Schema.Struct<{
4774
4763
  x0: typeof Schema.BigIntFromSelf;
4775
4764
  x1: typeof Schema.BigIntFromSelf;
4776
4765
  x2: typeof Schema.BigIntFromSelf;
4777
4766
  x3: typeof Schema.BigIntFromSelf;
4778
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4779
- entryPointSelector: Schema.optional<Schema.transform<Schema.Struct<{
4767
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4768
+ entryPointSelector: Schema.transform<Schema.Struct<{
4780
4769
  x0: typeof Schema.BigIntFromSelf;
4781
4770
  x1: typeof Schema.BigIntFromSelf;
4782
4771
  x2: typeof Schema.BigIntFromSelf;
4783
4772
  x3: typeof Schema.BigIntFromSelf;
4784
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4785
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4773
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4774
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
4786
4775
  x0: typeof Schema.BigIntFromSelf;
4787
4776
  x1: typeof Schema.BigIntFromSelf;
4788
4777
  x2: typeof Schema.BigIntFromSelf;
4789
4778
  x3: typeof Schema.BigIntFromSelf;
4790
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4779
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4791
4780
  }>;
4792
4781
  }>, Schema.Struct<{
4793
4782
  _tag: Schema.PropertySignature<":", "invokeV1", "$case", ":", "invokeV1", false, never>;
4794
4783
  invokeV1: Schema.Struct<{
4795
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
4784
+ senderAddress: Schema.transform<Schema.Struct<{
4796
4785
  x0: typeof Schema.BigIntFromSelf;
4797
4786
  x1: typeof Schema.BigIntFromSelf;
4798
4787
  x2: typeof Schema.BigIntFromSelf;
4799
4788
  x3: typeof Schema.BigIntFromSelf;
4800
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4801
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4789
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4790
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
4802
4791
  x0: typeof Schema.BigIntFromSelf;
4803
4792
  x1: typeof Schema.BigIntFromSelf;
4804
4793
  x2: typeof Schema.BigIntFromSelf;
4805
4794
  x3: typeof Schema.BigIntFromSelf;
4806
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4807
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
4795
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4796
+ maxFee: Schema.transform<Schema.Struct<{
4808
4797
  x0: typeof Schema.BigIntFromSelf;
4809
4798
  x1: typeof Schema.BigIntFromSelf;
4810
4799
  x2: typeof Schema.BigIntFromSelf;
4811
4800
  x3: typeof Schema.BigIntFromSelf;
4812
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4813
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4801
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4802
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4814
4803
  x0: typeof Schema.BigIntFromSelf;
4815
4804
  x1: typeof Schema.BigIntFromSelf;
4816
4805
  x2: typeof Schema.BigIntFromSelf;
4817
4806
  x3: typeof Schema.BigIntFromSelf;
4818
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4819
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
4807
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4808
+ nonce: Schema.transform<Schema.Struct<{
4820
4809
  x0: typeof Schema.BigIntFromSelf;
4821
4810
  x1: typeof Schema.BigIntFromSelf;
4822
4811
  x2: typeof Schema.BigIntFromSelf;
4823
4812
  x3: typeof Schema.BigIntFromSelf;
4824
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4813
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4825
4814
  }>;
4826
4815
  }>, Schema.Struct<{
4827
4816
  _tag: Schema.PropertySignature<":", "invokeV3", "$case", ":", "invokeV3", false, never>;
4828
4817
  invokeV3: Schema.Struct<{
4829
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
4818
+ senderAddress: Schema.transform<Schema.Struct<{
4830
4819
  x0: typeof Schema.BigIntFromSelf;
4831
4820
  x1: typeof Schema.BigIntFromSelf;
4832
4821
  x2: typeof Schema.BigIntFromSelf;
4833
4822
  x3: typeof Schema.BigIntFromSelf;
4834
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4835
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4823
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4824
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
4836
4825
  x0: typeof Schema.BigIntFromSelf;
4837
4826
  x1: typeof Schema.BigIntFromSelf;
4838
4827
  x2: typeof Schema.BigIntFromSelf;
4839
4828
  x3: typeof Schema.BigIntFromSelf;
4840
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4841
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4829
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4830
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4842
4831
  x0: typeof Schema.BigIntFromSelf;
4843
4832
  x1: typeof Schema.BigIntFromSelf;
4844
4833
  x2: typeof Schema.BigIntFromSelf;
4845
4834
  x3: typeof Schema.BigIntFromSelf;
4846
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4847
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
4835
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4836
+ nonce: Schema.transform<Schema.Struct<{
4848
4837
  x0: typeof Schema.BigIntFromSelf;
4849
4838
  x1: typeof Schema.BigIntFromSelf;
4850
4839
  x2: typeof Schema.BigIntFromSelf;
4851
4840
  x3: typeof Schema.BigIntFromSelf;
4852
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4853
- resourceBounds: Schema.optional<Schema.Struct<{
4854
- l1Gas: Schema.optional<Schema.Struct<{
4855
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
4856
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
4841
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4842
+ resourceBounds: Schema.Struct<{
4843
+ l1Gas: Schema.Struct<{
4844
+ maxAmount: typeof Schema.BigIntFromSelf;
4845
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
4857
4846
  x0: typeof Schema.BigIntFromSelf;
4858
4847
  x1: typeof Schema.BigIntFromSelf;
4859
- }>, typeof Schema.BigIntFromSelf>>;
4860
- }>>;
4861
- l2Gas: Schema.optional<Schema.Struct<{
4862
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
4863
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
4848
+ }>, typeof Schema.BigIntFromSelf>;
4849
+ }>;
4850
+ l2Gas: Schema.Struct<{
4851
+ maxAmount: typeof Schema.BigIntFromSelf;
4852
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
4864
4853
  x0: typeof Schema.BigIntFromSelf;
4865
4854
  x1: typeof Schema.BigIntFromSelf;
4866
- }>, typeof Schema.BigIntFromSelf>>;
4867
- }>>;
4868
- }>>;
4869
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
4870
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4855
+ }>, typeof Schema.BigIntFromSelf>;
4856
+ }>;
4857
+ }>;
4858
+ tip: typeof Schema.BigIntFromSelf;
4859
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
4871
4860
  x0: typeof Schema.BigIntFromSelf;
4872
4861
  x1: typeof Schema.BigIntFromSelf;
4873
4862
  x2: typeof Schema.BigIntFromSelf;
4874
4863
  x3: typeof Schema.BigIntFromSelf;
4875
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4876
- accountDeploymentData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4864
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4865
+ accountDeploymentData: Schema.Array$<Schema.transform<Schema.Struct<{
4877
4866
  x0: typeof Schema.BigIntFromSelf;
4878
4867
  x1: typeof Schema.BigIntFromSelf;
4879
4868
  x2: typeof Schema.BigIntFromSelf;
4880
4869
  x3: typeof Schema.BigIntFromSelf;
4881
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4882
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
4883
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
4870
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4871
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
4872
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
4884
4873
  }>;
4885
4874
  }>, Schema.Struct<{
4886
4875
  _tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
4887
4876
  l1Handler: Schema.Struct<{
4888
- nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
4889
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
4877
+ nonce: typeof Schema.BigIntFromSelf;
4878
+ contractAddress: Schema.transform<Schema.Struct<{
4890
4879
  x0: typeof Schema.BigIntFromSelf;
4891
4880
  x1: typeof Schema.BigIntFromSelf;
4892
4881
  x2: typeof Schema.BigIntFromSelf;
4893
4882
  x3: typeof Schema.BigIntFromSelf;
4894
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4895
- entryPointSelector: Schema.optional<Schema.transform<Schema.Struct<{
4883
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4884
+ entryPointSelector: Schema.transform<Schema.Struct<{
4896
4885
  x0: typeof Schema.BigIntFromSelf;
4897
4886
  x1: typeof Schema.BigIntFromSelf;
4898
4887
  x2: typeof Schema.BigIntFromSelf;
4899
4888
  x3: typeof Schema.BigIntFromSelf;
4900
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4901
- calldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4889
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4890
+ calldata: Schema.Array$<Schema.transform<Schema.Struct<{
4902
4891
  x0: typeof Schema.BigIntFromSelf;
4903
4892
  x1: typeof Schema.BigIntFromSelf;
4904
4893
  x2: typeof Schema.BigIntFromSelf;
4905
4894
  x3: typeof Schema.BigIntFromSelf;
4906
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4895
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4907
4896
  }>;
4908
4897
  }>, Schema.Struct<{
4909
4898
  _tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
4910
4899
  deploy: Schema.Struct<{
4911
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
4900
+ contractAddressSalt: Schema.transform<Schema.Struct<{
4912
4901
  x0: typeof Schema.BigIntFromSelf;
4913
4902
  x1: typeof Schema.BigIntFromSelf;
4914
4903
  x2: typeof Schema.BigIntFromSelf;
4915
4904
  x3: typeof Schema.BigIntFromSelf;
4916
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4917
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4905
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4906
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
4918
4907
  x0: typeof Schema.BigIntFromSelf;
4919
4908
  x1: typeof Schema.BigIntFromSelf;
4920
4909
  x2: typeof Schema.BigIntFromSelf;
4921
4910
  x3: typeof Schema.BigIntFromSelf;
4922
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4923
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
4911
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4912
+ classHash: Schema.transform<Schema.Struct<{
4924
4913
  x0: typeof Schema.BigIntFromSelf;
4925
4914
  x1: typeof Schema.BigIntFromSelf;
4926
4915
  x2: typeof Schema.BigIntFromSelf;
4927
4916
  x3: typeof Schema.BigIntFromSelf;
4928
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4917
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4929
4918
  }>;
4930
4919
  }>, Schema.Struct<{
4931
4920
  _tag: Schema.PropertySignature<":", "declareV0", "$case", ":", "declareV0", false, never>;
4932
4921
  declareV0: Schema.Struct<{
4933
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
4922
+ senderAddress: Schema.transform<Schema.Struct<{
4934
4923
  x0: typeof Schema.BigIntFromSelf;
4935
4924
  x1: typeof Schema.BigIntFromSelf;
4936
4925
  x2: typeof Schema.BigIntFromSelf;
4937
4926
  x3: typeof Schema.BigIntFromSelf;
4938
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4939
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
4927
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4928
+ maxFee: Schema.transform<Schema.Struct<{
4940
4929
  x0: typeof Schema.BigIntFromSelf;
4941
4930
  x1: typeof Schema.BigIntFromSelf;
4942
4931
  x2: typeof Schema.BigIntFromSelf;
4943
4932
  x3: typeof Schema.BigIntFromSelf;
4944
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4945
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4933
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4934
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4946
4935
  x0: typeof Schema.BigIntFromSelf;
4947
4936
  x1: typeof Schema.BigIntFromSelf;
4948
4937
  x2: typeof Schema.BigIntFromSelf;
4949
4938
  x3: typeof Schema.BigIntFromSelf;
4950
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4951
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
4939
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4940
+ classHash: Schema.transform<Schema.Struct<{
4952
4941
  x0: typeof Schema.BigIntFromSelf;
4953
4942
  x1: typeof Schema.BigIntFromSelf;
4954
4943
  x2: typeof Schema.BigIntFromSelf;
4955
4944
  x3: typeof Schema.BigIntFromSelf;
4956
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4945
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4957
4946
  }>;
4958
4947
  }>, Schema.Struct<{
4959
4948
  _tag: Schema.PropertySignature<":", "declareV1", "$case", ":", "declareV1", false, never>;
4960
4949
  declareV1: Schema.Struct<{
4961
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
4950
+ senderAddress: Schema.transform<Schema.Struct<{
4962
4951
  x0: typeof Schema.BigIntFromSelf;
4963
4952
  x1: typeof Schema.BigIntFromSelf;
4964
4953
  x2: typeof Schema.BigIntFromSelf;
4965
4954
  x3: typeof Schema.BigIntFromSelf;
4966
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4967
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
4955
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4956
+ maxFee: Schema.transform<Schema.Struct<{
4968
4957
  x0: typeof Schema.BigIntFromSelf;
4969
4958
  x1: typeof Schema.BigIntFromSelf;
4970
4959
  x2: typeof Schema.BigIntFromSelf;
4971
4960
  x3: typeof Schema.BigIntFromSelf;
4972
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4973
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
4961
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4962
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
4974
4963
  x0: typeof Schema.BigIntFromSelf;
4975
4964
  x1: typeof Schema.BigIntFromSelf;
4976
4965
  x2: typeof Schema.BigIntFromSelf;
4977
4966
  x3: typeof Schema.BigIntFromSelf;
4978
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
4979
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
4967
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4968
+ nonce: Schema.transform<Schema.Struct<{
4980
4969
  x0: typeof Schema.BigIntFromSelf;
4981
4970
  x1: typeof Schema.BigIntFromSelf;
4982
4971
  x2: typeof Schema.BigIntFromSelf;
4983
4972
  x3: typeof Schema.BigIntFromSelf;
4984
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4985
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
4973
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4974
+ classHash: Schema.transform<Schema.Struct<{
4986
4975
  x0: typeof Schema.BigIntFromSelf;
4987
4976
  x1: typeof Schema.BigIntFromSelf;
4988
4977
  x2: typeof Schema.BigIntFromSelf;
4989
4978
  x3: typeof Schema.BigIntFromSelf;
4990
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
4979
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4991
4980
  }>;
4992
4981
  }>, Schema.Struct<{
4993
4982
  _tag: Schema.PropertySignature<":", "declareV2", "$case", ":", "declareV2", false, never>;
4994
4983
  declareV2: Schema.Struct<{
4995
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
4984
+ senderAddress: Schema.transform<Schema.Struct<{
4996
4985
  x0: typeof Schema.BigIntFromSelf;
4997
4986
  x1: typeof Schema.BigIntFromSelf;
4998
4987
  x2: typeof Schema.BigIntFromSelf;
4999
4988
  x3: typeof Schema.BigIntFromSelf;
5000
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5001
- compiledClassHash: Schema.optional<Schema.transform<Schema.Struct<{
4989
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4990
+ compiledClassHash: Schema.transform<Schema.Struct<{
5002
4991
  x0: typeof Schema.BigIntFromSelf;
5003
4992
  x1: typeof Schema.BigIntFromSelf;
5004
4993
  x2: typeof Schema.BigIntFromSelf;
5005
4994
  x3: typeof Schema.BigIntFromSelf;
5006
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5007
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
4995
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
4996
+ maxFee: Schema.transform<Schema.Struct<{
5008
4997
  x0: typeof Schema.BigIntFromSelf;
5009
4998
  x1: typeof Schema.BigIntFromSelf;
5010
4999
  x2: typeof Schema.BigIntFromSelf;
5011
5000
  x3: typeof Schema.BigIntFromSelf;
5012
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5013
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5001
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5002
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
5014
5003
  x0: typeof Schema.BigIntFromSelf;
5015
5004
  x1: typeof Schema.BigIntFromSelf;
5016
5005
  x2: typeof Schema.BigIntFromSelf;
5017
5006
  x3: typeof Schema.BigIntFromSelf;
5018
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5019
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
5007
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5008
+ nonce: Schema.transform<Schema.Struct<{
5020
5009
  x0: typeof Schema.BigIntFromSelf;
5021
5010
  x1: typeof Schema.BigIntFromSelf;
5022
5011
  x2: typeof Schema.BigIntFromSelf;
5023
5012
  x3: typeof Schema.BigIntFromSelf;
5024
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5025
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
5013
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5014
+ classHash: Schema.transform<Schema.Struct<{
5026
5015
  x0: typeof Schema.BigIntFromSelf;
5027
5016
  x1: typeof Schema.BigIntFromSelf;
5028
5017
  x2: typeof Schema.BigIntFromSelf;
5029
5018
  x3: typeof Schema.BigIntFromSelf;
5030
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5019
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5031
5020
  }>;
5032
5021
  }>, Schema.Struct<{
5033
5022
  _tag: Schema.PropertySignature<":", "declareV3", "$case", ":", "declareV3", false, never>;
5034
5023
  declareV3: Schema.Struct<{
5035
- senderAddress: Schema.optional<Schema.transform<Schema.Struct<{
5024
+ senderAddress: Schema.transform<Schema.Struct<{
5036
5025
  x0: typeof Schema.BigIntFromSelf;
5037
5026
  x1: typeof Schema.BigIntFromSelf;
5038
5027
  x2: typeof Schema.BigIntFromSelf;
5039
5028
  x3: typeof Schema.BigIntFromSelf;
5040
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5041
- compiledClassHash: Schema.optional<Schema.transform<Schema.Struct<{
5029
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5030
+ compiledClassHash: Schema.transform<Schema.Struct<{
5042
5031
  x0: typeof Schema.BigIntFromSelf;
5043
5032
  x1: typeof Schema.BigIntFromSelf;
5044
5033
  x2: typeof Schema.BigIntFromSelf;
5045
5034
  x3: typeof Schema.BigIntFromSelf;
5046
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5047
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5035
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5036
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
5048
5037
  x0: typeof Schema.BigIntFromSelf;
5049
5038
  x1: typeof Schema.BigIntFromSelf;
5050
5039
  x2: typeof Schema.BigIntFromSelf;
5051
5040
  x3: typeof Schema.BigIntFromSelf;
5052
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5053
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
5041
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5042
+ nonce: Schema.transform<Schema.Struct<{
5054
5043
  x0: typeof Schema.BigIntFromSelf;
5055
5044
  x1: typeof Schema.BigIntFromSelf;
5056
5045
  x2: typeof Schema.BigIntFromSelf;
5057
5046
  x3: typeof Schema.BigIntFromSelf;
5058
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5059
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
5047
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5048
+ classHash: Schema.transform<Schema.Struct<{
5060
5049
  x0: typeof Schema.BigIntFromSelf;
5061
5050
  x1: typeof Schema.BigIntFromSelf;
5062
5051
  x2: typeof Schema.BigIntFromSelf;
5063
5052
  x3: typeof Schema.BigIntFromSelf;
5064
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5065
- resourceBounds: Schema.optional<Schema.Struct<{
5066
- l1Gas: Schema.optional<Schema.Struct<{
5067
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
5068
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
5053
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5054
+ resourceBounds: Schema.Struct<{
5055
+ l1Gas: Schema.Struct<{
5056
+ maxAmount: typeof Schema.BigIntFromSelf;
5057
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
5069
5058
  x0: typeof Schema.BigIntFromSelf;
5070
5059
  x1: typeof Schema.BigIntFromSelf;
5071
- }>, typeof Schema.BigIntFromSelf>>;
5072
- }>>;
5073
- l2Gas: Schema.optional<Schema.Struct<{
5074
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
5075
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
5060
+ }>, typeof Schema.BigIntFromSelf>;
5061
+ }>;
5062
+ l2Gas: Schema.Struct<{
5063
+ maxAmount: typeof Schema.BigIntFromSelf;
5064
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
5076
5065
  x0: typeof Schema.BigIntFromSelf;
5077
5066
  x1: typeof Schema.BigIntFromSelf;
5078
- }>, typeof Schema.BigIntFromSelf>>;
5079
- }>>;
5080
- }>>;
5081
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
5082
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5067
+ }>, typeof Schema.BigIntFromSelf>;
5068
+ }>;
5069
+ }>;
5070
+ tip: typeof Schema.BigIntFromSelf;
5071
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
5083
5072
  x0: typeof Schema.BigIntFromSelf;
5084
5073
  x1: typeof Schema.BigIntFromSelf;
5085
5074
  x2: typeof Schema.BigIntFromSelf;
5086
5075
  x3: typeof Schema.BigIntFromSelf;
5087
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5088
- accountDeploymentData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5076
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5077
+ accountDeploymentData: Schema.Array$<Schema.transform<Schema.Struct<{
5089
5078
  x0: typeof Schema.BigIntFromSelf;
5090
5079
  x1: typeof Schema.BigIntFromSelf;
5091
5080
  x2: typeof Schema.BigIntFromSelf;
5092
5081
  x3: typeof Schema.BigIntFromSelf;
5093
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5094
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
5095
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
5082
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5083
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
5084
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
5096
5085
  }>;
5097
5086
  }>, Schema.Struct<{
5098
5087
  _tag: Schema.PropertySignature<":", "deployAccountV1", "$case", ":", "deployAccountV1", false, never>;
5099
5088
  deployAccountV1: Schema.Struct<{
5100
- maxFee: Schema.optional<Schema.transform<Schema.Struct<{
5089
+ maxFee: Schema.transform<Schema.Struct<{
5101
5090
  x0: typeof Schema.BigIntFromSelf;
5102
5091
  x1: typeof Schema.BigIntFromSelf;
5103
5092
  x2: typeof Schema.BigIntFromSelf;
5104
5093
  x3: typeof Schema.BigIntFromSelf;
5105
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5106
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5094
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5095
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
5107
5096
  x0: typeof Schema.BigIntFromSelf;
5108
5097
  x1: typeof Schema.BigIntFromSelf;
5109
5098
  x2: typeof Schema.BigIntFromSelf;
5110
5099
  x3: typeof Schema.BigIntFromSelf;
5111
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5112
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
5100
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5101
+ nonce: Schema.transform<Schema.Struct<{
5113
5102
  x0: typeof Schema.BigIntFromSelf;
5114
5103
  x1: typeof Schema.BigIntFromSelf;
5115
5104
  x2: typeof Schema.BigIntFromSelf;
5116
5105
  x3: typeof Schema.BigIntFromSelf;
5117
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5118
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
5106
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5107
+ contractAddressSalt: Schema.transform<Schema.Struct<{
5119
5108
  x0: typeof Schema.BigIntFromSelf;
5120
5109
  x1: typeof Schema.BigIntFromSelf;
5121
5110
  x2: typeof Schema.BigIntFromSelf;
5122
5111
  x3: typeof Schema.BigIntFromSelf;
5123
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5124
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5112
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5113
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
5125
5114
  x0: typeof Schema.BigIntFromSelf;
5126
5115
  x1: typeof Schema.BigIntFromSelf;
5127
5116
  x2: typeof Schema.BigIntFromSelf;
5128
5117
  x3: typeof Schema.BigIntFromSelf;
5129
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5130
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
5118
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5119
+ classHash: Schema.transform<Schema.Struct<{
5131
5120
  x0: typeof Schema.BigIntFromSelf;
5132
5121
  x1: typeof Schema.BigIntFromSelf;
5133
5122
  x2: typeof Schema.BigIntFromSelf;
5134
5123
  x3: typeof Schema.BigIntFromSelf;
5135
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5124
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5136
5125
  }>;
5137
5126
  }>, Schema.Struct<{
5138
5127
  _tag: Schema.PropertySignature<":", "deployAccountV3", "$case", ":", "deployAccountV3", false, never>;
5139
5128
  deployAccountV3: Schema.Struct<{
5140
- signature: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5129
+ signature: Schema.Array$<Schema.transform<Schema.Struct<{
5141
5130
  x0: typeof Schema.BigIntFromSelf;
5142
5131
  x1: typeof Schema.BigIntFromSelf;
5143
5132
  x2: typeof Schema.BigIntFromSelf;
5144
5133
  x3: typeof Schema.BigIntFromSelf;
5145
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5146
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
5134
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5135
+ nonce: Schema.transform<Schema.Struct<{
5147
5136
  x0: typeof Schema.BigIntFromSelf;
5148
5137
  x1: typeof Schema.BigIntFromSelf;
5149
5138
  x2: typeof Schema.BigIntFromSelf;
5150
5139
  x3: typeof Schema.BigIntFromSelf;
5151
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5152
- contractAddressSalt: Schema.optional<Schema.transform<Schema.Struct<{
5140
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5141
+ contractAddressSalt: Schema.transform<Schema.Struct<{
5153
5142
  x0: typeof Schema.BigIntFromSelf;
5154
5143
  x1: typeof Schema.BigIntFromSelf;
5155
5144
  x2: typeof Schema.BigIntFromSelf;
5156
5145
  x3: typeof Schema.BigIntFromSelf;
5157
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5158
- constructorCalldata: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5146
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5147
+ constructorCalldata: Schema.Array$<Schema.transform<Schema.Struct<{
5159
5148
  x0: typeof Schema.BigIntFromSelf;
5160
5149
  x1: typeof Schema.BigIntFromSelf;
5161
5150
  x2: typeof Schema.BigIntFromSelf;
5162
5151
  x3: typeof Schema.BigIntFromSelf;
5163
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5164
- classHash: Schema.optional<Schema.transform<Schema.Struct<{
5152
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5153
+ classHash: Schema.transform<Schema.Struct<{
5165
5154
  x0: typeof Schema.BigIntFromSelf;
5166
5155
  x1: typeof Schema.BigIntFromSelf;
5167
5156
  x2: typeof Schema.BigIntFromSelf;
5168
5157
  x3: typeof Schema.BigIntFromSelf;
5169
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5170
- resourceBounds: Schema.optional<Schema.Struct<{
5171
- l1Gas: Schema.optional<Schema.Struct<{
5172
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
5173
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
5158
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5159
+ resourceBounds: Schema.Struct<{
5160
+ l1Gas: Schema.Struct<{
5161
+ maxAmount: typeof Schema.BigIntFromSelf;
5162
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
5174
5163
  x0: typeof Schema.BigIntFromSelf;
5175
5164
  x1: typeof Schema.BigIntFromSelf;
5176
- }>, typeof Schema.BigIntFromSelf>>;
5177
- }>>;
5178
- l2Gas: Schema.optional<Schema.Struct<{
5179
- maxAmount: Schema.optional<typeof Schema.BigIntFromSelf>;
5180
- maxPricePerUnit: Schema.optional<Schema.transform<Schema.Struct<{
5165
+ }>, typeof Schema.BigIntFromSelf>;
5166
+ }>;
5167
+ l2Gas: Schema.Struct<{
5168
+ maxAmount: typeof Schema.BigIntFromSelf;
5169
+ maxPricePerUnit: Schema.transform<Schema.Struct<{
5181
5170
  x0: typeof Schema.BigIntFromSelf;
5182
5171
  x1: typeof Schema.BigIntFromSelf;
5183
- }>, typeof Schema.BigIntFromSelf>>;
5184
- }>>;
5185
- }>>;
5186
- tip: Schema.optional<typeof Schema.BigIntFromSelf>;
5187
- paymasterData: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5172
+ }>, typeof Schema.BigIntFromSelf>;
5173
+ }>;
5174
+ }>;
5175
+ tip: typeof Schema.BigIntFromSelf;
5176
+ paymasterData: Schema.Array$<Schema.transform<Schema.Struct<{
5188
5177
  x0: typeof Schema.BigIntFromSelf;
5189
5178
  x1: typeof Schema.BigIntFromSelf;
5190
5179
  x2: typeof Schema.BigIntFromSelf;
5191
5180
  x3: typeof Schema.BigIntFromSelf;
5192
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5193
- nonceDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
5194
- feeDataAvailabilityMode: Schema.optional<Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>>;
5181
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5182
+ nonceDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
5183
+ feeDataAvailabilityMode: Schema.transform<Schema.Enums<typeof DataAvailabilityMode$1>, Schema.Literal<["l1", "l2", "unknown"]>>;
5195
5184
  }>;
5196
- }>]>>;
5185
+ }>]>;
5197
5186
  }>>;
5198
5187
  receipts: Schema.Array$<Schema.Struct<{
5199
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
5200
- meta: Schema.optional<Schema.Struct<{
5201
- transactionIndex: Schema.optional<typeof Schema.Number>;
5202
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
5188
+ filterIds: Schema.Array$<typeof Schema.Number>;
5189
+ meta: Schema.Struct<{
5190
+ transactionIndex: typeof Schema.Number;
5191
+ transactionHash: Schema.transform<Schema.Struct<{
5203
5192
  x0: typeof Schema.BigIntFromSelf;
5204
5193
  x1: typeof Schema.BigIntFromSelf;
5205
5194
  x2: typeof Schema.BigIntFromSelf;
5206
5195
  x3: typeof Schema.BigIntFromSelf;
5207
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5208
- actualFee: Schema.optional<Schema.Struct<{
5209
- amount: Schema.optional<Schema.transform<Schema.Struct<{
5196
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5197
+ actualFee: Schema.Struct<{
5198
+ amount: Schema.transform<Schema.Struct<{
5210
5199
  x0: typeof Schema.BigIntFromSelf;
5211
5200
  x1: typeof Schema.BigIntFromSelf;
5212
5201
  x2: typeof Schema.BigIntFromSelf;
5213
5202
  x3: typeof Schema.BigIntFromSelf;
5214
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5215
- unit: Schema.optional<Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>>;
5216
- }>>;
5217
- executionResources: Schema.optional<Schema.Struct<{
5218
- computation: Schema.optional<Schema.Struct<{
5219
- steps: Schema.optional<typeof Schema.BigIntFromSelf>;
5203
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5204
+ unit: Schema.transform<Schema.Enums<typeof PriceUnit$1>, Schema.Literal<["wei", "fri", "unknown"]>>;
5205
+ }>;
5206
+ executionResources: Schema.Struct<{
5207
+ computation: Schema.Struct<{
5208
+ steps: typeof Schema.BigIntFromSelf;
5220
5209
  memoryHoles: Schema.optional<typeof Schema.BigIntFromSelf>;
5221
5210
  rangeCheckBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
5222
5211
  pedersenBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
@@ -5226,13 +5215,13 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
5226
5215
  bitwiseBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
5227
5216
  keccakBuiltinApplications: Schema.optional<typeof Schema.BigIntFromSelf>;
5228
5217
  segmentArenaBuiltin: Schema.optional<typeof Schema.BigIntFromSelf>;
5229
- }>>;
5230
- dataAvailability: Schema.optional<Schema.Struct<{
5231
- l1Gas: Schema.optional<typeof Schema.BigIntFromSelf>;
5232
- l1DataGas: Schema.optional<typeof Schema.BigIntFromSelf>;
5233
- }>>;
5234
- }>>;
5235
- executionResult: Schema.optional<Schema.Union<[Schema.Struct<{
5218
+ }>;
5219
+ dataAvailability: Schema.Struct<{
5220
+ l1Gas: typeof Schema.BigIntFromSelf;
5221
+ l1DataGas: typeof Schema.BigIntFromSelf;
5222
+ }>;
5223
+ }>;
5224
+ executionResult: Schema.Union<[Schema.Struct<{
5236
5225
  _tag: Schema.PropertySignature<":", "succeeded", "$case", ":", "succeeded", false, never>;
5237
5226
  succeeded: Schema.Struct<{}>;
5238
5227
  }>, Schema.Struct<{
@@ -5240,15 +5229,15 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
5240
5229
  reverted: Schema.Struct<{
5241
5230
  reason: Schema.optional<typeof Schema.String>;
5242
5231
  }>;
5243
- }>]>>;
5244
- }>>;
5245
- receipt: Schema.optional<Schema.Union<[Schema.Struct<{
5232
+ }>]>;
5233
+ }>;
5234
+ receipt: Schema.Union<[Schema.Struct<{
5246
5235
  _tag: Schema.PropertySignature<":", "invoke", "$case", ":", "invoke", false, never>;
5247
5236
  invoke: Schema.Struct<{}>;
5248
5237
  }>, Schema.Struct<{
5249
5238
  _tag: Schema.PropertySignature<":", "l1Handler", "$case", ":", "l1Handler", false, never>;
5250
5239
  l1Handler: Schema.Struct<{
5251
- messageHash: Schema.optional<Schema.Schema<Uint8Array, Uint8Array, never>>;
5240
+ messageHash: Schema.Schema<Uint8Array, Uint8Array, never>;
5252
5241
  }>;
5253
5242
  }>, Schema.Struct<{
5254
5243
  _tag: Schema.PropertySignature<":", "declare", "$case", ":", "declare", false, never>;
@@ -5256,111 +5245,113 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
5256
5245
  }>, Schema.Struct<{
5257
5246
  _tag: Schema.PropertySignature<":", "deploy", "$case", ":", "deploy", false, never>;
5258
5247
  deploy: Schema.Struct<{
5259
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
5248
+ contractAddress: Schema.transform<Schema.Struct<{
5260
5249
  x0: typeof Schema.BigIntFromSelf;
5261
5250
  x1: typeof Schema.BigIntFromSelf;
5262
5251
  x2: typeof Schema.BigIntFromSelf;
5263
5252
  x3: typeof Schema.BigIntFromSelf;
5264
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5253
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5265
5254
  }>;
5266
5255
  }>, Schema.Struct<{
5267
5256
  _tag: Schema.PropertySignature<":", "deployAccount", "$case", ":", "deployAccount", false, never>;
5268
5257
  deployAccount: Schema.Struct<{
5269
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
5258
+ contractAddress: Schema.transform<Schema.Struct<{
5270
5259
  x0: typeof Schema.BigIntFromSelf;
5271
5260
  x1: typeof Schema.BigIntFromSelf;
5272
5261
  x2: typeof Schema.BigIntFromSelf;
5273
5262
  x3: typeof Schema.BigIntFromSelf;
5274
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5263
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5275
5264
  }>;
5276
- }>]>>;
5265
+ }>]>;
5277
5266
  }>>;
5278
5267
  events: Schema.Array$<Schema.Struct<{
5279
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
5280
- address: Schema.optional<Schema.transform<Schema.Struct<{
5268
+ filterIds: Schema.Array$<typeof Schema.Number>;
5269
+ address: Schema.transform<Schema.Struct<{
5281
5270
  x0: typeof Schema.BigIntFromSelf;
5282
5271
  x1: typeof Schema.BigIntFromSelf;
5283
5272
  x2: typeof Schema.BigIntFromSelf;
5284
5273
  x3: typeof Schema.BigIntFromSelf;
5285
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5286
- keys: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5274
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5275
+ keys: Schema.Array$<Schema.transform<Schema.Struct<{
5287
5276
  x0: typeof Schema.BigIntFromSelf;
5288
5277
  x1: typeof Schema.BigIntFromSelf;
5289
5278
  x2: typeof Schema.BigIntFromSelf;
5290
5279
  x3: typeof Schema.BigIntFromSelf;
5291
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5292
- data: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5280
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5281
+ data: Schema.Array$<Schema.transform<Schema.Struct<{
5293
5282
  x0: typeof Schema.BigIntFromSelf;
5294
5283
  x1: typeof Schema.BigIntFromSelf;
5295
5284
  x2: typeof Schema.BigIntFromSelf;
5296
5285
  x3: typeof Schema.BigIntFromSelf;
5297
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5298
- eventIndex: Schema.optional<typeof Schema.Number>;
5299
- transactionIndex: Schema.optional<typeof Schema.Number>;
5300
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
5286
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5287
+ eventIndex: typeof Schema.Number;
5288
+ transactionIndex: typeof Schema.Number;
5289
+ transactionHash: Schema.transform<Schema.Struct<{
5301
5290
  x0: typeof Schema.BigIntFromSelf;
5302
5291
  x1: typeof Schema.BigIntFromSelf;
5303
5292
  x2: typeof Schema.BigIntFromSelf;
5304
5293
  x3: typeof Schema.BigIntFromSelf;
5305
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5306
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
5294
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5295
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
5296
+ eventIndexInTransaction: typeof Schema.Number;
5307
5297
  }>>;
5308
5298
  messages: Schema.Array$<Schema.Struct<{
5309
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
5310
- fromAddress: Schema.optional<Schema.transform<Schema.Struct<{
5299
+ filterIds: Schema.Array$<typeof Schema.Number>;
5300
+ fromAddress: Schema.transform<Schema.Struct<{
5311
5301
  x0: typeof Schema.BigIntFromSelf;
5312
5302
  x1: typeof Schema.BigIntFromSelf;
5313
5303
  x2: typeof Schema.BigIntFromSelf;
5314
5304
  x3: typeof Schema.BigIntFromSelf;
5315
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5316
- toAddress: Schema.optional<Schema.transform<Schema.Struct<{
5305
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5306
+ toAddress: Schema.transform<Schema.Struct<{
5317
5307
  x0: typeof Schema.BigIntFromSelf;
5318
5308
  x1: typeof Schema.BigIntFromSelf;
5319
5309
  x2: typeof Schema.BigIntFromSelf;
5320
5310
  x3: typeof Schema.BigIntFromSelf;
5321
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5322
- payload: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
5311
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5312
+ payload: Schema.Array$<Schema.transform<Schema.Struct<{
5323
5313
  x0: typeof Schema.BigIntFromSelf;
5324
5314
  x1: typeof Schema.BigIntFromSelf;
5325
5315
  x2: typeof Schema.BigIntFromSelf;
5326
5316
  x3: typeof Schema.BigIntFromSelf;
5327
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
5328
- messageIndex: Schema.optional<typeof Schema.Number>;
5329
- transactionIndex: Schema.optional<typeof Schema.Number>;
5330
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
5317
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5318
+ messageIndex: typeof Schema.Number;
5319
+ transactionIndex: typeof Schema.Number;
5320
+ transactionHash: Schema.transform<Schema.Struct<{
5331
5321
  x0: typeof Schema.BigIntFromSelf;
5332
5322
  x1: typeof Schema.BigIntFromSelf;
5333
5323
  x2: typeof Schema.BigIntFromSelf;
5334
5324
  x3: typeof Schema.BigIntFromSelf;
5335
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5336
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
5325
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5326
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
5327
+ messageIndexInTransaction: typeof Schema.Number;
5337
5328
  }>>;
5338
5329
  storageDiffs: Schema.Array$<Schema.Struct<{
5339
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
5340
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
5330
+ filterIds: Schema.Array$<typeof Schema.Number>;
5331
+ contractAddress: Schema.transform<Schema.Struct<{
5341
5332
  x0: typeof Schema.BigIntFromSelf;
5342
5333
  x1: typeof Schema.BigIntFromSelf;
5343
5334
  x2: typeof Schema.BigIntFromSelf;
5344
5335
  x3: typeof Schema.BigIntFromSelf;
5345
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5346
- storageEntries: Schema.optional<Schema.Array$<Schema.Struct<{
5347
- key: Schema.optional<Schema.transform<Schema.Struct<{
5336
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5337
+ storageEntries: Schema.Array$<Schema.Struct<{
5338
+ key: Schema.transform<Schema.Struct<{
5348
5339
  x0: typeof Schema.BigIntFromSelf;
5349
5340
  x1: typeof Schema.BigIntFromSelf;
5350
5341
  x2: typeof Schema.BigIntFromSelf;
5351
5342
  x3: typeof Schema.BigIntFromSelf;
5352
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5353
- value: Schema.optional<Schema.transform<Schema.Struct<{
5343
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5344
+ value: Schema.transform<Schema.Struct<{
5354
5345
  x0: typeof Schema.BigIntFromSelf;
5355
5346
  x1: typeof Schema.BigIntFromSelf;
5356
5347
  x2: typeof Schema.BigIntFromSelf;
5357
5348
  x3: typeof Schema.BigIntFromSelf;
5358
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5359
- }>>>;
5349
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5350
+ }>>;
5360
5351
  }>>;
5361
5352
  contractChanges: Schema.Array$<Schema.Struct<{
5362
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
5363
- change: Schema.optional<Schema.Union<[Schema.Struct<{
5353
+ filterIds: Schema.Array$<typeof Schema.Number>;
5354
+ change: Schema.Union<[Schema.Struct<{
5364
5355
  _tag: Schema.PropertySignature<":", "declaredClass", "$case", ":", "declaredClass", false, never>;
5365
5356
  declaredClass: Schema.Struct<{
5366
5357
  classHash: Schema.optional<Schema.transform<Schema.Struct<{
@@ -5408,30 +5399,71 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
5408
5399
  x3: typeof Schema.BigIntFromSelf;
5409
5400
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5410
5401
  }>;
5411
- }>]>>;
5402
+ }>]>;
5412
5403
  }>>;
5413
5404
  nonceUpdates: Schema.Array$<Schema.Struct<{
5414
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
5415
- contractAddress: Schema.optional<Schema.transform<Schema.Struct<{
5405
+ filterIds: Schema.Array$<typeof Schema.Number>;
5406
+ contractAddress: Schema.transform<Schema.Struct<{
5416
5407
  x0: typeof Schema.BigIntFromSelf;
5417
5408
  x1: typeof Schema.BigIntFromSelf;
5418
5409
  x2: typeof Schema.BigIntFromSelf;
5419
5410
  x3: typeof Schema.BigIntFromSelf;
5420
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5421
- nonce: Schema.optional<Schema.transform<Schema.Struct<{
5411
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5412
+ nonce: Schema.transform<Schema.Struct<{
5422
5413
  x0: typeof Schema.BigIntFromSelf;
5423
5414
  x1: typeof Schema.BigIntFromSelf;
5424
5415
  x2: typeof Schema.BigIntFromSelf;
5425
5416
  x3: typeof Schema.BigIntFromSelf;
5426
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
5417
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
5427
5418
  }>>;
5428
5419
  }>>>;
5429
5420
 
5430
5421
  /** Returns the transaction receipt for the given transaction index. */
5431
- declare function getReceipt(transactionIndex: number, receipts: readonly TransactionReceipt[]): TransactionReceipt | undefined;
5422
+ declare function getReceipt(transactionIndex: number, params: {
5423
+ receipts: readonly TransactionReceipt[];
5424
+ } | readonly TransactionReceipt[]): TransactionReceipt | undefined;
5432
5425
  /** Returns the transaction for the given transaction index. */
5433
- declare function getTransaction(transactionIndex: number, transactions: readonly Transaction[]): Transaction | undefined;
5426
+ declare function getTransaction(transactionIndex: number, params: {
5427
+ transactions: readonly Transaction[];
5428
+ } | readonly Transaction[]): Transaction | undefined;
5429
+
5430
+ declare class DecodeEventError extends Error {
5431
+ constructor(message: string);
5432
+ }
5433
+ type DecodeEventArgs<TAbi extends Abi = Abi, TEventName extends ExtractAbiEventNames<TAbi> = ExtractAbiEventNames<TAbi>, TStrict extends boolean = true> = {
5434
+ abi: TAbi;
5435
+ eventName: TEventName;
5436
+ event: Event;
5437
+ strict?: TStrict;
5438
+ };
5439
+ type DecodedEvent<TAbi extends Abi = Abi, TEventName extends ExtractAbiEventNames<TAbi> = ExtractAbiEventNames<TAbi>> = Event & {
5440
+ eventName: TEventName;
5441
+ args: EventToPrimitiveType<TAbi, TEventName>;
5442
+ };
5443
+ type DecodeEventReturn<TAbi extends Abi = Abi, TEventName extends ExtractAbiEventNames<TAbi> = ExtractAbiEventNames<TAbi>, TStrict extends boolean = true> = TStrict extends true ? DecodedEvent<TAbi, TEventName> : DecodedEvent<TAbi, TEventName> | null;
5444
+ /** Decodes a single event.
5445
+ *
5446
+ * If `strict: true`, this function throws on failure. Otherwise, returns null.
5447
+ */
5448
+ declare function decodeEvent<TAbi extends Abi = Abi, TEventName extends ExtractAbiEventNames<TAbi> = ExtractAbiEventNames<TAbi>, TStrict extends boolean = true>(args: DecodeEventArgs<TAbi, TEventName, TStrict>): DecodeEventReturn<TAbi, TEventName, TStrict>;
5434
5449
 
5450
+ /** Returns the selector of the provided `name` as a bigint. */
5451
+ declare function getBigIntSelector(name: string): bigint;
5452
+ /** Returns the selector of the provided `name` as a FieldElement. */
5453
+ declare function getSelector(name: string): FieldElement$1;
5454
+ /** Returns the selector of the provided event with `name` as a FieldElement.
5455
+ *
5456
+ * If the name is fully qualified, only the last part is used to compute the selector.
5457
+ */
5458
+ declare function getEventSelector(name: string): FieldElement$1;
5459
+
5460
+ declare module "abi-wan-kanabi" {
5461
+ interface Config {
5462
+ FeltType: bigint;
5463
+ BigIntType: bigint;
5464
+ U256Type: bigint;
5465
+ }
5466
+ }
5435
5467
  declare const StarknetStream: StreamConfig<{
5436
5468
  readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
5437
5469
  readonly transactions?: readonly {
@@ -5517,203 +5549,205 @@ declare const StarknetStream: StreamConfig<{
5517
5549
  readonly contractAddress?: `0x${string}` | undefined;
5518
5550
  }[] | undefined;
5519
5551
  }, {
5520
- readonly header?: {
5552
+ readonly header: {
5521
5553
  readonly blockHash?: `0x${string}` | undefined;
5522
- readonly parentBlockHash?: `0x${string}` | undefined;
5554
+ readonly parentBlockHash: `0x${string}`;
5523
5555
  readonly blockNumber: bigint;
5524
- readonly sequencerAddress?: `0x${string}` | undefined;
5556
+ readonly sequencerAddress: `0x${string}`;
5525
5557
  readonly newRoot?: `0x${string}` | undefined;
5526
- readonly timestamp?: Date | undefined;
5527
- readonly starknetVersion?: string | undefined;
5528
- readonly l1GasPrice?: {
5558
+ readonly timestamp: Date;
5559
+ readonly starknetVersion: string;
5560
+ readonly l1GasPrice: {
5529
5561
  readonly priceInFri?: `0x${string}` | undefined;
5530
5562
  readonly priceInWei?: `0x${string}` | undefined;
5531
- } | undefined;
5532
- readonly l1DataGasPrice?: {
5563
+ };
5564
+ readonly l1DataGasPrice: {
5533
5565
  readonly priceInFri?: `0x${string}` | undefined;
5534
5566
  readonly priceInWei?: `0x${string}` | undefined;
5535
- } | undefined;
5536
- readonly l1DataAvailabilityMode?: "unknown" | "calldata" | "blob" | undefined;
5537
- } | undefined;
5567
+ };
5568
+ readonly l1DataAvailabilityMode: "unknown" | "blob" | "calldata";
5569
+ };
5538
5570
  readonly transactions: readonly {
5539
- readonly filterIds?: readonly number[] | undefined;
5540
- readonly meta?: {
5541
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | undefined;
5542
- readonly transactionIndex?: number | undefined;
5543
- readonly transactionHash?: `0x${string}` | undefined;
5544
- } | undefined;
5545
- readonly transaction?: {
5571
+ readonly filterIds: readonly number[];
5572
+ readonly meta: {
5573
+ readonly transactionStatus: "unknown" | "succeeded" | "reverted";
5574
+ readonly transactionIndex: number;
5575
+ readonly transactionHash: `0x${string}`;
5576
+ };
5577
+ readonly transaction: {
5546
5578
  readonly _tag: "invokeV0";
5547
5579
  readonly invokeV0: {
5548
- readonly contractAddress?: `0x${string}` | undefined;
5549
- readonly maxFee?: `0x${string}` | undefined;
5550
- readonly signature?: readonly `0x${string}`[] | undefined;
5551
- readonly entryPointSelector?: `0x${string}` | undefined;
5552
- readonly calldata?: readonly `0x${string}`[] | undefined;
5580
+ readonly contractAddress: `0x${string}`;
5581
+ readonly calldata: readonly `0x${string}`[];
5582
+ readonly maxFee: `0x${string}`;
5583
+ readonly signature: readonly `0x${string}`[];
5584
+ readonly entryPointSelector: `0x${string}`;
5553
5585
  };
5554
5586
  } | {
5555
5587
  readonly _tag: "invokeV1";
5556
5588
  readonly invokeV1: {
5557
- readonly maxFee?: `0x${string}` | undefined;
5558
- readonly signature?: readonly `0x${string}`[] | undefined;
5559
- readonly calldata?: readonly `0x${string}`[] | undefined;
5560
- readonly senderAddress?: `0x${string}` | undefined;
5561
- readonly nonce?: `0x${string}` | undefined;
5589
+ readonly calldata: readonly `0x${string}`[];
5590
+ readonly maxFee: `0x${string}`;
5591
+ readonly signature: readonly `0x${string}`[];
5592
+ readonly senderAddress: `0x${string}`;
5593
+ readonly nonce: `0x${string}`;
5562
5594
  };
5563
5595
  } | {
5564
5596
  readonly _tag: "invokeV3";
5565
5597
  readonly invokeV3: {
5566
- readonly signature?: readonly `0x${string}`[] | undefined;
5567
- readonly calldata?: readonly `0x${string}`[] | undefined;
5568
- readonly senderAddress?: `0x${string}` | undefined;
5569
- readonly nonce?: `0x${string}` | undefined;
5570
- readonly resourceBounds?: {
5571
- readonly l1Gas?: {
5572
- readonly maxAmount?: bigint | undefined;
5573
- readonly maxPricePerUnit?: bigint | undefined;
5574
- } | undefined;
5575
- readonly l2Gas?: {
5576
- readonly maxAmount?: bigint | undefined;
5577
- readonly maxPricePerUnit?: bigint | undefined;
5578
- } | undefined;
5579
- } | undefined;
5580
- readonly tip?: bigint | undefined;
5581
- readonly paymasterData?: readonly `0x${string}`[] | undefined;
5582
- readonly accountDeploymentData?: readonly `0x${string}`[] | undefined;
5583
- readonly nonceDataAvailabilityMode?: "unknown" | "l1" | "l2" | undefined;
5584
- readonly feeDataAvailabilityMode?: "unknown" | "l1" | "l2" | undefined;
5598
+ readonly calldata: readonly `0x${string}`[];
5599
+ readonly signature: readonly `0x${string}`[];
5600
+ readonly senderAddress: `0x${string}`;
5601
+ readonly nonce: `0x${string}`;
5602
+ readonly resourceBounds: {
5603
+ readonly l1Gas: {
5604
+ readonly maxAmount: bigint;
5605
+ readonly maxPricePerUnit: bigint;
5606
+ };
5607
+ readonly l2Gas: {
5608
+ readonly maxAmount: bigint;
5609
+ readonly maxPricePerUnit: bigint;
5610
+ };
5611
+ };
5612
+ readonly tip: bigint;
5613
+ readonly paymasterData: readonly `0x${string}`[];
5614
+ readonly accountDeploymentData: readonly `0x${string}`[];
5615
+ readonly nonceDataAvailabilityMode: "unknown" | "l1" | "l2";
5616
+ readonly feeDataAvailabilityMode: "unknown" | "l1" | "l2";
5585
5617
  };
5586
5618
  } | {
5587
5619
  readonly _tag: "l1Handler";
5588
5620
  readonly l1Handler: {
5589
- readonly contractAddress?: `0x${string}` | undefined;
5590
- readonly entryPointSelector?: `0x${string}` | undefined;
5591
- readonly calldata?: readonly `0x${string}`[] | undefined;
5592
- readonly nonce?: bigint | undefined;
5621
+ readonly contractAddress: `0x${string}`;
5622
+ readonly calldata: readonly `0x${string}`[];
5623
+ readonly entryPointSelector: `0x${string}`;
5624
+ readonly nonce: bigint;
5593
5625
  };
5594
5626
  } | {
5595
5627
  readonly _tag: "deploy";
5596
5628
  readonly deploy: {
5597
- readonly contractAddressSalt?: `0x${string}` | undefined;
5598
- readonly constructorCalldata?: readonly `0x${string}`[] | undefined;
5599
- readonly classHash?: `0x${string}` | undefined;
5629
+ readonly contractAddressSalt: `0x${string}`;
5630
+ readonly constructorCalldata: readonly `0x${string}`[];
5631
+ readonly classHash: `0x${string}`;
5600
5632
  };
5601
5633
  } | {
5602
5634
  readonly _tag: "declareV0";
5603
5635
  readonly declareV0: {
5604
- readonly maxFee?: `0x${string}` | undefined;
5605
- readonly signature?: readonly `0x${string}`[] | undefined;
5606
- readonly senderAddress?: `0x${string}` | undefined;
5607
- readonly classHash?: `0x${string}` | undefined;
5636
+ readonly maxFee: `0x${string}`;
5637
+ readonly signature: readonly `0x${string}`[];
5638
+ readonly senderAddress: `0x${string}`;
5639
+ readonly classHash: `0x${string}`;
5608
5640
  };
5609
5641
  } | {
5610
5642
  readonly _tag: "declareV1";
5611
5643
  readonly declareV1: {
5612
- readonly maxFee?: `0x${string}` | undefined;
5613
- readonly signature?: readonly `0x${string}`[] | undefined;
5614
- readonly senderAddress?: `0x${string}` | undefined;
5615
- readonly nonce?: `0x${string}` | undefined;
5616
- readonly classHash?: `0x${string}` | undefined;
5644
+ readonly maxFee: `0x${string}`;
5645
+ readonly signature: readonly `0x${string}`[];
5646
+ readonly senderAddress: `0x${string}`;
5647
+ readonly nonce: `0x${string}`;
5648
+ readonly classHash: `0x${string}`;
5617
5649
  };
5618
5650
  } | {
5619
5651
  readonly _tag: "declareV2";
5620
5652
  readonly declareV2: {
5621
- readonly maxFee?: `0x${string}` | undefined;
5622
- readonly signature?: readonly `0x${string}`[] | undefined;
5623
- readonly senderAddress?: `0x${string}` | undefined;
5624
- readonly nonce?: `0x${string}` | undefined;
5625
- readonly classHash?: `0x${string}` | undefined;
5626
- readonly compiledClassHash?: `0x${string}` | undefined;
5653
+ readonly maxFee: `0x${string}`;
5654
+ readonly signature: readonly `0x${string}`[];
5655
+ readonly senderAddress: `0x${string}`;
5656
+ readonly nonce: `0x${string}`;
5657
+ readonly classHash: `0x${string}`;
5658
+ readonly compiledClassHash: `0x${string}`;
5627
5659
  };
5628
5660
  } | {
5629
5661
  readonly _tag: "declareV3";
5630
5662
  readonly declareV3: {
5631
- readonly signature?: readonly `0x${string}`[] | undefined;
5632
- readonly senderAddress?: `0x${string}` | undefined;
5633
- readonly nonce?: `0x${string}` | undefined;
5634
- readonly resourceBounds?: {
5635
- readonly l1Gas?: {
5636
- readonly maxAmount?: bigint | undefined;
5637
- readonly maxPricePerUnit?: bigint | undefined;
5638
- } | undefined;
5639
- readonly l2Gas?: {
5640
- readonly maxAmount?: bigint | undefined;
5641
- readonly maxPricePerUnit?: bigint | undefined;
5642
- } | undefined;
5643
- } | undefined;
5644
- readonly tip?: bigint | undefined;
5645
- readonly paymasterData?: readonly `0x${string}`[] | undefined;
5646
- readonly accountDeploymentData?: readonly `0x${string}`[] | undefined;
5647
- readonly nonceDataAvailabilityMode?: "unknown" | "l1" | "l2" | undefined;
5648
- readonly feeDataAvailabilityMode?: "unknown" | "l1" | "l2" | undefined;
5649
- readonly classHash?: `0x${string}` | undefined;
5650
- readonly compiledClassHash?: `0x${string}` | undefined;
5663
+ readonly signature: readonly `0x${string}`[];
5664
+ readonly senderAddress: `0x${string}`;
5665
+ readonly nonce: `0x${string}`;
5666
+ readonly resourceBounds: {
5667
+ readonly l1Gas: {
5668
+ readonly maxAmount: bigint;
5669
+ readonly maxPricePerUnit: bigint;
5670
+ };
5671
+ readonly l2Gas: {
5672
+ readonly maxAmount: bigint;
5673
+ readonly maxPricePerUnit: bigint;
5674
+ };
5675
+ };
5676
+ readonly tip: bigint;
5677
+ readonly paymasterData: readonly `0x${string}`[];
5678
+ readonly accountDeploymentData: readonly `0x${string}`[];
5679
+ readonly nonceDataAvailabilityMode: "unknown" | "l1" | "l2";
5680
+ readonly feeDataAvailabilityMode: "unknown" | "l1" | "l2";
5681
+ readonly classHash: `0x${string}`;
5682
+ readonly compiledClassHash: `0x${string}`;
5651
5683
  };
5652
5684
  } | {
5653
5685
  readonly _tag: "deployAccountV1";
5654
5686
  readonly deployAccountV1: {
5655
- readonly maxFee?: `0x${string}` | undefined;
5656
- readonly signature?: readonly `0x${string}`[] | undefined;
5657
- readonly nonce?: `0x${string}` | undefined;
5658
- readonly contractAddressSalt?: `0x${string}` | undefined;
5659
- readonly constructorCalldata?: readonly `0x${string}`[] | undefined;
5660
- readonly classHash?: `0x${string}` | undefined;
5687
+ readonly maxFee: `0x${string}`;
5688
+ readonly signature: readonly `0x${string}`[];
5689
+ readonly nonce: `0x${string}`;
5690
+ readonly contractAddressSalt: `0x${string}`;
5691
+ readonly constructorCalldata: readonly `0x${string}`[];
5692
+ readonly classHash: `0x${string}`;
5661
5693
  };
5662
5694
  } | {
5663
5695
  readonly _tag: "deployAccountV3";
5664
5696
  readonly deployAccountV3: {
5665
- readonly signature?: readonly `0x${string}`[] | undefined;
5666
- readonly nonce?: `0x${string}` | undefined;
5667
- readonly resourceBounds?: {
5668
- readonly l1Gas?: {
5669
- readonly maxAmount?: bigint | undefined;
5670
- readonly maxPricePerUnit?: bigint | undefined;
5671
- } | undefined;
5672
- readonly l2Gas?: {
5673
- readonly maxAmount?: bigint | undefined;
5674
- readonly maxPricePerUnit?: bigint | undefined;
5675
- } | undefined;
5676
- } | undefined;
5677
- readonly tip?: bigint | undefined;
5678
- readonly paymasterData?: readonly `0x${string}`[] | undefined;
5679
- readonly nonceDataAvailabilityMode?: "unknown" | "l1" | "l2" | undefined;
5680
- readonly feeDataAvailabilityMode?: "unknown" | "l1" | "l2" | undefined;
5681
- readonly contractAddressSalt?: `0x${string}` | undefined;
5682
- readonly constructorCalldata?: readonly `0x${string}`[] | undefined;
5683
- readonly classHash?: `0x${string}` | undefined;
5697
+ readonly signature: readonly `0x${string}`[];
5698
+ readonly nonce: `0x${string}`;
5699
+ readonly resourceBounds: {
5700
+ readonly l1Gas: {
5701
+ readonly maxAmount: bigint;
5702
+ readonly maxPricePerUnit: bigint;
5703
+ };
5704
+ readonly l2Gas: {
5705
+ readonly maxAmount: bigint;
5706
+ readonly maxPricePerUnit: bigint;
5707
+ };
5708
+ };
5709
+ readonly tip: bigint;
5710
+ readonly paymasterData: readonly `0x${string}`[];
5711
+ readonly nonceDataAvailabilityMode: "unknown" | "l1" | "l2";
5712
+ readonly feeDataAvailabilityMode: "unknown" | "l1" | "l2";
5713
+ readonly contractAddressSalt: `0x${string}`;
5714
+ readonly constructorCalldata: readonly `0x${string}`[];
5715
+ readonly classHash: `0x${string}`;
5684
5716
  };
5685
- } | undefined;
5717
+ };
5686
5718
  }[];
5687
5719
  readonly events: readonly {
5688
- readonly keys?: readonly `0x${string}`[] | undefined;
5689
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | undefined;
5690
- readonly address?: `0x${string}` | undefined;
5691
- readonly filterIds?: readonly number[] | undefined;
5692
- readonly transactionIndex?: number | undefined;
5693
- readonly transactionHash?: `0x${string}` | undefined;
5694
- readonly data?: readonly `0x${string}`[] | undefined;
5695
- readonly eventIndex?: number | undefined;
5720
+ readonly keys: readonly `0x${string}`[];
5721
+ readonly transactionStatus: "unknown" | "succeeded" | "reverted";
5722
+ readonly address: `0x${string}`;
5723
+ readonly filterIds: readonly number[];
5724
+ readonly transactionIndex: number;
5725
+ readonly transactionHash: `0x${string}`;
5726
+ readonly data: readonly `0x${string}`[];
5727
+ readonly eventIndex: number;
5728
+ readonly eventIndexInTransaction: number;
5696
5729
  }[];
5697
5730
  readonly messages: readonly {
5698
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | undefined;
5699
- readonly fromAddress?: `0x${string}` | undefined;
5700
- readonly toAddress?: `0x${string}` | undefined;
5701
- readonly filterIds?: readonly number[] | undefined;
5702
- readonly transactionIndex?: number | undefined;
5703
- readonly transactionHash?: `0x${string}` | undefined;
5704
- readonly payload?: readonly `0x${string}`[] | undefined;
5705
- readonly messageIndex?: number | undefined;
5731
+ readonly transactionStatus: "unknown" | "succeeded" | "reverted";
5732
+ readonly fromAddress: `0x${string}`;
5733
+ readonly toAddress: `0x${string}`;
5734
+ readonly filterIds: readonly number[];
5735
+ readonly transactionIndex: number;
5736
+ readonly transactionHash: `0x${string}`;
5737
+ readonly payload: readonly `0x${string}`[];
5738
+ readonly messageIndex: number;
5739
+ readonly messageIndexInTransaction: number;
5706
5740
  }[];
5707
5741
  readonly storageDiffs: readonly {
5708
- readonly contractAddress?: `0x${string}` | undefined;
5709
- readonly filterIds?: readonly number[] | undefined;
5710
- readonly storageEntries?: readonly {
5711
- readonly key?: `0x${string}` | undefined;
5712
- readonly value?: `0x${string}` | undefined;
5713
- }[] | undefined;
5742
+ readonly contractAddress: `0x${string}`;
5743
+ readonly filterIds: readonly number[];
5744
+ readonly storageEntries: readonly {
5745
+ readonly key: `0x${string}`;
5746
+ readonly value: `0x${string}`;
5747
+ }[];
5714
5748
  }[];
5715
5749
  readonly contractChanges: readonly {
5716
- readonly change?: {
5750
+ readonly change: {
5717
5751
  readonly _tag: "declaredClass";
5718
5752
  readonly declaredClass: {
5719
5753
  readonly classHash?: `0x${string}` | undefined;
@@ -5731,26 +5765,26 @@ declare const StarknetStream: StreamConfig<{
5731
5765
  readonly contractAddress?: `0x${string}` | undefined;
5732
5766
  readonly classHash?: `0x${string}` | undefined;
5733
5767
  };
5734
- } | undefined;
5735
- readonly filterIds?: readonly number[] | undefined;
5768
+ };
5769
+ readonly filterIds: readonly number[];
5736
5770
  }[];
5737
5771
  readonly nonceUpdates: readonly {
5738
- readonly contractAddress?: `0x${string}` | undefined;
5739
- readonly filterIds?: readonly number[] | undefined;
5740
- readonly nonce?: `0x${string}` | undefined;
5772
+ readonly contractAddress: `0x${string}`;
5773
+ readonly filterIds: readonly number[];
5774
+ readonly nonce: `0x${string}`;
5741
5775
  }[];
5742
5776
  readonly receipts: readonly {
5743
- readonly filterIds?: readonly number[] | undefined;
5744
- readonly meta?: {
5745
- readonly transactionIndex?: number | undefined;
5746
- readonly transactionHash?: `0x${string}` | undefined;
5747
- readonly actualFee?: {
5748
- readonly amount?: `0x${string}` | undefined;
5749
- readonly unit?: "unknown" | "wei" | "fri" | undefined;
5750
- } | undefined;
5751
- readonly executionResources?: {
5752
- readonly computation?: {
5753
- readonly steps?: bigint | undefined;
5777
+ readonly filterIds: readonly number[];
5778
+ readonly meta: {
5779
+ readonly transactionIndex: number;
5780
+ readonly transactionHash: `0x${string}`;
5781
+ readonly actualFee: {
5782
+ readonly amount: `0x${string}`;
5783
+ readonly unit: "unknown" | "wei" | "fri";
5784
+ };
5785
+ readonly executionResources: {
5786
+ readonly computation: {
5787
+ readonly steps: bigint;
5754
5788
  readonly memoryHoles?: bigint | undefined;
5755
5789
  readonly rangeCheckBuiltinApplications?: bigint | undefined;
5756
5790
  readonly pedersenBuiltinApplications?: bigint | undefined;
@@ -5760,13 +5794,13 @@ declare const StarknetStream: StreamConfig<{
5760
5794
  readonly bitwiseBuiltinApplications?: bigint | undefined;
5761
5795
  readonly keccakBuiltinApplications?: bigint | undefined;
5762
5796
  readonly segmentArenaBuiltin?: bigint | undefined;
5763
- } | undefined;
5764
- readonly dataAvailability?: {
5765
- readonly l1Gas?: bigint | undefined;
5766
- readonly l1DataGas?: bigint | undefined;
5767
- } | undefined;
5768
- } | undefined;
5769
- readonly executionResult?: {
5797
+ };
5798
+ readonly dataAvailability: {
5799
+ readonly l1Gas: bigint;
5800
+ readonly l1DataGas: bigint;
5801
+ };
5802
+ };
5803
+ readonly executionResult: {
5770
5804
  readonly succeeded: {};
5771
5805
  readonly _tag: "succeeded";
5772
5806
  } | {
@@ -5774,15 +5808,15 @@ declare const StarknetStream: StreamConfig<{
5774
5808
  readonly reason?: string | undefined;
5775
5809
  };
5776
5810
  readonly _tag: "reverted";
5777
- } | undefined;
5778
- } | undefined;
5779
- readonly receipt?: {
5811
+ };
5812
+ };
5813
+ readonly receipt: {
5780
5814
  readonly _tag: "invoke";
5781
5815
  readonly invoke: {};
5782
5816
  } | {
5783
5817
  readonly _tag: "l1Handler";
5784
5818
  readonly l1Handler: {
5785
- readonly messageHash?: Uint8Array | undefined;
5819
+ readonly messageHash: Uint8Array;
5786
5820
  };
5787
5821
  } | {
5788
5822
  readonly _tag: "declare";
@@ -5790,15 +5824,15 @@ declare const StarknetStream: StreamConfig<{
5790
5824
  } | {
5791
5825
  readonly _tag: "deploy";
5792
5826
  readonly deploy: {
5793
- readonly contractAddress?: `0x${string}` | undefined;
5827
+ readonly contractAddress: `0x${string}`;
5794
5828
  };
5795
5829
  } | {
5796
5830
  readonly _tag: "deployAccount";
5797
5831
  readonly deployAccount: {
5798
- readonly contractAddress?: `0x${string}` | undefined;
5832
+ readonly contractAddress: `0x${string}`;
5799
5833
  };
5800
- } | undefined;
5834
+ };
5801
5835
  }[];
5802
5836
  }>;
5803
5837
 
5804
- export { Block, BlockFromBytes, BlockHeader, ComputationResources, ContractChange, ContractChangeFilter, DataAvailabilityMode, DataAvailabilityResources, DeclareTransactionReceipt, DeclareTransactionV0, DeclareTransactionV1, DeclareTransactionV2, DeclareTransactionV3, DeclareV0TransactionFilter, DeclareV1TransactionFilter, DeclareV2TransactionFilter, DeclareV3TransactionFilter, DeclaredClass, DeclaredClassFilter, DeployAccountTransactionReceipt, DeployAccountTransactionV1, DeployAccountTransactionV3, DeployAccountV1TransactionFilter, DeployAccountV3TransactionFilter, DeployTransaction, DeployTransactionFilter, DeployTransactionReceipt, DeployedContract, DeployedContractFilter, Event, EventFilter, ExecutionResources, ExecutionReverted, ExecutionSucceeded, FeePayment, FieldElement, FieldElementProto, Filter, FilterFromBytes, HeaderFilter, InvokeTransactionReceipt, InvokeTransactionV0, InvokeTransactionV0Filter, InvokeTransactionV1, InvokeTransactionV1Filter, InvokeTransactionV3, InvokeTransactionV3Filter, Key, L1DataAvailabilityMode, L1HandlerTransaction, L1HandlerTransactionFilter, L1HandlerTransactionReceipt, MessageToL1, MessageToL1Filter, NonceUpdate, NonceUpdateFilter, PriceUnit, ReplacedClass, ReplacedClassFilter, ResourceBounds, ResourceBoundsMapping, ResourcePrice, StarknetStream, StorageDiff, StorageDiffFilter, StorageEntry, Transaction, TransactionFilter, TransactionMeta, TransactionReceipt, TransactionReceiptMeta, TransactionStatus, TransactionStatusFilter, U128, feltFromProto, feltToProto, filterFromBytes, filterFromProto, filterToBytes, filterToProto, getReceipt, getTransaction, mergeFilter, index as proto };
5838
+ export { Block, BlockFromBytes, BlockHeader, ComputationResources, ContractChange, ContractChangeFilter, DataAvailabilityMode, DataAvailabilityResources, DeclareTransactionReceipt, DeclareTransactionV0, DeclareTransactionV1, DeclareTransactionV2, DeclareTransactionV3, DeclareV0TransactionFilter, DeclareV1TransactionFilter, DeclareV2TransactionFilter, DeclareV3TransactionFilter, DeclaredClass, DeclaredClassFilter, type DecodeEventArgs, DecodeEventError, type DecodeEventReturn, type DecodedEvent, DeployAccountTransactionReceipt, DeployAccountTransactionV1, DeployAccountTransactionV3, DeployAccountV1TransactionFilter, DeployAccountV3TransactionFilter, DeployTransaction, DeployTransactionFilter, DeployTransactionReceipt, DeployedContract, DeployedContractFilter, Event, EventFilter, ExecutionResources, ExecutionReverted, ExecutionSucceeded, FeePayment, FieldElement$1 as FieldElement, Filter, FilterFromBytes, HeaderFilter, InvokeTransactionReceipt, InvokeTransactionV0, InvokeTransactionV0Filter, InvokeTransactionV1, InvokeTransactionV1Filter, InvokeTransactionV3, InvokeTransactionV3Filter, Key, L1DataAvailabilityMode, L1HandlerTransaction, L1HandlerTransactionFilter, L1HandlerTransactionReceipt, MessageToL1, MessageToL1Filter, NonceUpdate, NonceUpdateFilter, PriceUnit, ReplacedClass, ReplacedClassFilter, ResourceBounds, ResourceBoundsMapping, ResourcePrice, StarknetStream, StorageDiff, StorageDiffFilter, StorageEntry, Transaction, TransactionFilter, TransactionMeta, TransactionReceipt, TransactionReceiptMeta, TransactionStatus, TransactionStatusFilter, U128, decodeEvent, filterFromBytes, filterFromProto, filterToBytes, filterToProto, getBigIntSelector, getEventSelector, getReceipt, getSelector, getTransaction, mergeFilter, index as proto };