@apibara/evm 2.0.0 → 2.0.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { StreamConfig } from '@apibara/protocol';
2
- import _m0 from 'protobufjs/minimal';
2
+ import _m0 from 'protobufjs/minimal.js';
3
3
  import * as _effect_schema_AST from '@effect/schema/AST';
4
4
  import { Schema } from '@effect/schema';
5
5
 
@@ -94,6 +94,14 @@ declare namespace common {
94
94
 
95
95
  declare const protobufPackage$1 = "evm.v2";
96
96
  /** EVM DNA definitions (data). */
97
+ declare enum TransactionStatus$1 {
98
+ UNSPECIFIED = 0,
99
+ SUCCEEDED = 1,
100
+ REVERTED = 2,
101
+ UNRECOGNIZED = -1
102
+ }
103
+ declare function transactionStatusFromJSON(object: any): TransactionStatus$1;
104
+ declare function transactionStatusToJSON(object: TransactionStatus$1): string;
97
105
  /** Requested data, grouped by block. */
98
106
  interface Block$1 {
99
107
  /** The header. */
@@ -118,11 +126,11 @@ declare const Block$1: {
118
126
  /** Block header. */
119
127
  interface BlockHeader$1 {
120
128
  /** Block number. */
121
- readonly number?: bigint | undefined;
129
+ readonly blockNumber?: bigint | undefined;
122
130
  /** Hash of the block. */
123
- readonly hash?: B256$1 | undefined;
131
+ readonly blockHash?: B256$1 | undefined;
124
132
  /** Hash of the parent block. */
125
- readonly parentHash?: B256$1 | undefined;
133
+ readonly parentBlockHash?: B256$1 | undefined;
126
134
  /** Hash of the uncles. */
127
135
  readonly unclesHash?: B256$1 | undefined;
128
136
  /** Author of the block. */
@@ -138,9 +146,9 @@ interface BlockHeader$1 {
138
146
  /** Difficulty. */
139
147
  readonly difficulty?: U256$1 | undefined;
140
148
  /** Gas limit. */
141
- readonly gasLimit?: U256$1 | undefined;
149
+ readonly gasLimit?: U128$1 | undefined;
142
150
  /** Gas used. */
143
- readonly gasUsed?: U256$1 | undefined;
151
+ readonly gasUsed?: U128$1 | undefined;
144
152
  /** Timestamp. */
145
153
  readonly timestamp?: Date | undefined;
146
154
  /** Extra data. */
@@ -150,19 +158,15 @@ interface BlockHeader$1 {
150
158
  /** Nonce. */
151
159
  readonly nonce?: bigint | undefined;
152
160
  /** Base fee per unit of gas. */
153
- readonly baseFeePerGas?: U256$1 | undefined;
161
+ readonly baseFeePerGas?: U128$1 | undefined;
154
162
  /** Withdrawals root hash. */
155
163
  readonly withdrawalsRoot?: B256$1 | undefined;
156
164
  /** Total difficulty. */
157
165
  readonly totalDifficulty?: U256$1 | undefined;
158
- /** Uncles' hashes. */
159
- readonly uncles?: readonly B256$1[] | undefined;
160
- /** The size of this block in bytes. */
161
- readonly size?: U256$1 | undefined;
162
166
  /** Blob gas used. */
163
- readonly blobGasUsed?: bigint | undefined;
167
+ readonly blobGasUsed?: U128$1 | undefined;
164
168
  /** Excess blob gas. */
165
- readonly excessBlobGas?: bigint | undefined;
169
+ readonly excessBlobGas?: U128$1 | undefined;
166
170
  /** Parent beacon block root. */
167
171
  readonly parentBeaconBlockRoot?: B256$1 | undefined;
168
172
  }
@@ -176,16 +180,17 @@ declare const BlockHeader$1: {
176
180
  };
177
181
  /** A validator's withdrawal from the consensus layer. */
178
182
  interface Withdrawal$1 {
183
+ readonly filterIds?: readonly number[] | undefined;
184
+ /** Withdrawal index in the block. */
185
+ readonly withdrawalIndex?: number | undefined;
179
186
  /** Increasing index of the withdrawal. */
180
187
  readonly index?: bigint | undefined;
181
188
  /** Index of the validator. */
182
- readonly validatorIndex?: bigint | undefined;
183
- /** Withdrawal index in the block. */
184
- readonly withdrawalIndex?: bigint | undefined;
189
+ readonly validatorIndex?: number | undefined;
185
190
  /** Target address of the withdrawal. */
186
191
  readonly address?: Address$1 | undefined;
187
192
  /** Value of the withdrawal, in gwei. */
188
- readonly amount?: U256$1 | undefined;
193
+ readonly amount?: bigint | undefined;
189
194
  }
190
195
  declare const Withdrawal$1: {
191
196
  encode(message: Withdrawal$1, writer?: _m0.Writer): _m0.Writer;
@@ -196,12 +201,13 @@ declare const Withdrawal$1: {
196
201
  fromPartial(object: DeepPartial$1<Withdrawal$1>): Withdrawal$1;
197
202
  };
198
203
  interface Transaction$1 {
204
+ readonly filterIds?: readonly number[] | undefined;
205
+ /** Transaction index in the block. */
206
+ readonly transactionIndex?: number | undefined;
199
207
  /** Transaction hash. */
200
- readonly hash?: B256$1 | undefined;
208
+ readonly transactionHash?: B256$1 | undefined;
201
209
  /** Nonce. */
202
210
  readonly nonce?: bigint | undefined;
203
- /** Transaction index in the block. */
204
- readonly transactionIndex?: bigint | undefined;
205
211
  /** Sender. */
206
212
  readonly from?: Address$1 | undefined;
207
213
  /** Recipient. */
@@ -211,7 +217,7 @@ interface Transaction$1 {
211
217
  /** Gas price. */
212
218
  readonly gasPrice?: U128$1 | undefined;
213
219
  /** Gas amount. */
214
- readonly gas?: U256$1 | undefined;
220
+ readonly gas?: U128$1 | undefined;
215
221
  /** Max base fee per gas the sender is willing to pay. */
216
222
  readonly maxFeePerGas?: U128$1 | undefined;
217
223
  /** Miner's tip. */
@@ -230,6 +236,8 @@ interface Transaction$1 {
230
236
  readonly maxFeePerBlobGas?: U128$1 | undefined;
231
237
  /** EIP-4844 blob hashes. */
232
238
  readonly blobVersionedHashes?: readonly B256$1[] | undefined;
239
+ /** The transaction status. */
240
+ readonly transactionStatus?: TransactionStatus$1 | undefined;
233
241
  }
234
242
  declare const Transaction$1: {
235
243
  encode(message: Transaction$1, writer?: _m0.Writer): _m0.Writer;
@@ -240,14 +248,15 @@ declare const Transaction$1: {
240
248
  fromPartial(object: DeepPartial$1<Transaction$1>): Transaction$1;
241
249
  };
242
250
  interface TransactionReceipt$1 {
251
+ readonly filterIds?: readonly number[] | undefined;
252
+ /** Index of the transaction in the block. */
253
+ readonly transactionIndex?: number | undefined;
243
254
  /** Transaction hash. */
244
255
  readonly transactionHash?: B256$1 | undefined;
245
- /** Index of the transaction in the block. */
246
- readonly transactionIndex?: bigint | undefined;
247
256
  /** Cumulative gas used in the block after this transaction has been executed. */
248
- readonly cumulativeGasUsed?: U256$1 | undefined;
257
+ readonly cumulativeGasUsed?: U128$1 | undefined;
249
258
  /** Gas used by this transaction. */
250
- readonly gasUsed?: U256$1 | undefined;
259
+ readonly gasUsed?: U128$1 | undefined;
251
260
  /** The price paid by the transaction. */
252
261
  readonly effectiveGasPrice?: U128$1 | undefined;
253
262
  /** Sender. */
@@ -258,14 +267,14 @@ interface TransactionReceipt$1 {
258
267
  readonly contractAddress?: Address$1 | undefined;
259
268
  /** Logs bloom. */
260
269
  readonly logsBloom?: Bloom$1 | undefined;
261
- /** Either 1 (success) or 0 (failure). */
262
- readonly statusCode?: bigint | undefined;
263
270
  /** EIP-2718 transaction type. */
264
271
  readonly transactionType?: bigint | undefined;
265
272
  /** EIP-4844 blob gas used. */
266
273
  readonly blobGasUsed?: U128$1 | undefined;
267
274
  /** EIP-4844 blob gas paid by the transaction. */
268
275
  readonly blobGasPrice?: U128$1 | undefined;
276
+ /** The transaction status. */
277
+ readonly transactionStatus?: TransactionStatus$1 | undefined;
269
278
  }
270
279
  declare const TransactionReceipt$1: {
271
280
  encode(message: TransactionReceipt$1, writer?: _m0.Writer): _m0.Writer;
@@ -276,18 +285,21 @@ declare const TransactionReceipt$1: {
276
285
  fromPartial(object: DeepPartial$1<TransactionReceipt$1>): TransactionReceipt$1;
277
286
  };
278
287
  interface Log$1 {
288
+ readonly filterIds?: readonly number[] | undefined;
289
+ /** Index of the log in the block. */
290
+ readonly logIndex?: number | undefined;
279
291
  /** Address of the contract that emitted the log. */
280
292
  readonly address?: Address$1 | undefined;
281
293
  /** Log topics. */
282
294
  readonly topics?: readonly B256$1[] | undefined;
283
295
  /** Additional data. */
284
296
  readonly data?: Uint8Array | undefined;
285
- /** Index of the log in the block. */
286
- readonly logIndex?: bigint | undefined;
287
297
  /** Index of the transaction that emitted the log. */
288
- readonly transactionIndex?: bigint | undefined;
298
+ readonly transactionIndex?: number | undefined;
289
299
  /** Hash of the transaction that emitted the log. */
290
300
  readonly transactionHash?: B256$1 | undefined;
301
+ /** The transaction status. */
302
+ readonly transactionStatus?: TransactionStatus$1 | undefined;
291
303
  }
292
304
  declare const Log$1: {
293
305
  encode(message: Log$1, writer?: _m0.Writer): _m0.Writer;
@@ -340,12 +352,32 @@ type DeepPartial$1<T> = T extends Builtin$1 ? T : T extends globalThis.Array<inf
340
352
  [K in keyof T]?: DeepPartial$1<T[K]>;
341
353
  } : Partial<T>;
342
354
 
355
+ declare const data_transactionStatusFromJSON: typeof transactionStatusFromJSON;
356
+ declare const data_transactionStatusToJSON: typeof transactionStatusToJSON;
343
357
  declare namespace data {
344
- export { AccessListItem$1 as AccessListItem, Block$1 as Block, BlockHeader$1 as BlockHeader, type DeepPartial$1 as DeepPartial, Log$1 as Log, Signature$1 as Signature, Transaction$1 as Transaction, TransactionReceipt$1 as TransactionReceipt, Withdrawal$1 as Withdrawal, protobufPackage$1 as protobufPackage };
358
+ export { AccessListItem$1 as AccessListItem, Block$1 as Block, BlockHeader$1 as BlockHeader, type DeepPartial$1 as DeepPartial, Log$1 as Log, Signature$1 as Signature, Transaction$1 as Transaction, TransactionReceipt$1 as TransactionReceipt, TransactionStatus$1 as TransactionStatus, Withdrawal$1 as Withdrawal, protobufPackage$1 as protobufPackage, data_transactionStatusFromJSON as transactionStatusFromJSON, data_transactionStatusToJSON as transactionStatusToJSON };
345
359
  }
346
360
 
347
361
  declare const protobufPackage = "evm.v2";
348
362
  /** EVM DNA definitions (filter). */
363
+ declare enum HeaderFilter$1 {
364
+ UNSPECIFIED = 0,
365
+ ALWAYS = 1,
366
+ ON_DATA = 2,
367
+ ON_DATA_OR_ON_NEW_BLOCK = 3,
368
+ UNRECOGNIZED = -1
369
+ }
370
+ declare function headerFilterFromJSON(object: any): HeaderFilter$1;
371
+ declare function headerFilterToJSON(object: HeaderFilter$1): string;
372
+ declare enum TransactionStatusFilter$1 {
373
+ UNSPECIFIED = 0,
374
+ SUCCEEDED = 1,
375
+ REVERTED = 2,
376
+ ALL = 3,
377
+ UNRECOGNIZED = -1
378
+ }
379
+ declare function transactionStatusFilterFromJSON(object: any): TransactionStatusFilter$1;
380
+ declare function transactionStatusFilterToJSON(object: TransactionStatusFilter$1): string;
349
381
  interface Filter$1 {
350
382
  /** Include header. */
351
383
  readonly header?: HeaderFilter$1 | undefined;
@@ -364,21 +396,10 @@ declare const Filter$1: {
364
396
  create(base?: DeepPartial<Filter$1>): Filter$1;
365
397
  fromPartial(object: DeepPartial<Filter$1>): Filter$1;
366
398
  };
367
- interface HeaderFilter$1 {
368
- /** Always include header data. Defaults to `false`. */
369
- readonly always?: boolean | undefined;
370
- }
371
- declare const HeaderFilter$1: {
372
- encode(message: HeaderFilter$1, writer?: _m0.Writer): _m0.Writer;
373
- decode(input: _m0.Reader | Uint8Array, length?: number): HeaderFilter$1;
374
- fromJSON(object: any): HeaderFilter$1;
375
- toJSON(message: HeaderFilter$1): unknown;
376
- create(base?: DeepPartial<HeaderFilter$1>): HeaderFilter$1;
377
- fromPartial(object: DeepPartial<HeaderFilter$1>): HeaderFilter$1;
378
- };
379
399
  interface WithdrawalFilter$1 {
400
+ readonly id?: number | undefined;
380
401
  /** Filter based on the validator index. */
381
- readonly validatorIndex?: bigint | undefined;
402
+ readonly validatorIndex?: number | undefined;
382
403
  /** Filter based on the withdrawal's target address. */
383
404
  readonly address?: Address$1 | undefined;
384
405
  }
@@ -391,10 +412,19 @@ declare const WithdrawalFilter$1: {
391
412
  fromPartial(object: DeepPartial<WithdrawalFilter$1>): WithdrawalFilter$1;
392
413
  };
393
414
  interface TransactionFilter$1 {
415
+ readonly id?: number | undefined;
394
416
  /** Filter based on the transaction's sender address. */
395
417
  readonly from?: Address$1 | undefined;
396
418
  /** Filter based on the transaction's recipient address. */
397
419
  readonly to?: Address$1 | undefined;
420
+ /** / Only return `create` transactions. Defaults to `false`. */
421
+ readonly create?: boolean | undefined;
422
+ /**
423
+ * Filter based on the transaction status.
424
+ *
425
+ * Defaults to `Succeeded`.
426
+ */
427
+ readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
398
428
  /** Flag to request the transaction's receipt. Defaults to `false`. */
399
429
  readonly includeReceipt?: boolean | undefined;
400
430
  /** Flag to request the transaction's logs. Defaults to `false`. */
@@ -409,6 +439,7 @@ declare const TransactionFilter$1: {
409
439
  fromPartial(object: DeepPartial<TransactionFilter$1>): TransactionFilter$1;
410
440
  };
411
441
  interface LogFilter$1 {
442
+ readonly id?: number | undefined;
412
443
  /** Filter based on the log's contract address. */
413
444
  readonly address?: Address$1 | undefined;
414
445
  /** Filter based on the log's topics. */
@@ -419,10 +450,22 @@ interface LogFilter$1 {
419
450
  * Defaults to `false`.
420
451
  */
421
452
  readonly strict?: boolean | undefined;
453
+ /**
454
+ * Filter based on the transaction status.
455
+ *
456
+ * Defaults to `Succeeded`.
457
+ */
458
+ readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
422
459
  /** Flag to request the log's transaction. Defaults to `false`. */
423
460
  readonly includeTransaction?: boolean | undefined;
424
461
  /** Flag to request the log's receipt. Defaults to `false`. */
425
462
  readonly includeReceipt?: boolean | undefined;
463
+ /**
464
+ * Include sibling logs, that is logs emitted by the same transaction.
465
+ *
466
+ * Defaults to false.
467
+ */
468
+ readonly includeSiblings?: boolean | undefined;
426
469
  }
427
470
  declare const LogFilter$1: {
428
471
  encode(message: LogFilter$1, writer?: _m0.Writer): _m0.Writer;
@@ -457,9 +500,13 @@ type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U
457
500
  } : Partial<T>;
458
501
 
459
502
  type filter_DeepPartial<T> = DeepPartial<T>;
503
+ declare const filter_headerFilterFromJSON: typeof headerFilterFromJSON;
504
+ declare const filter_headerFilterToJSON: typeof headerFilterToJSON;
460
505
  declare const filter_protobufPackage: typeof protobufPackage;
506
+ declare const filter_transactionStatusFilterFromJSON: typeof transactionStatusFilterFromJSON;
507
+ declare const filter_transactionStatusFilterToJSON: typeof transactionStatusFilterToJSON;
461
508
  declare namespace filter {
462
- export { type filter_DeepPartial as DeepPartial, Filter$1 as Filter, HeaderFilter$1 as HeaderFilter, LogFilter$1 as LogFilter, Topic$1 as Topic, TransactionFilter$1 as TransactionFilter, WithdrawalFilter$1 as WithdrawalFilter, filter_protobufPackage as protobufPackage };
509
+ export { type filter_DeepPartial as DeepPartial, Filter$1 as Filter, HeaderFilter$1 as HeaderFilter, LogFilter$1 as LogFilter, Topic$1 as Topic, TransactionFilter$1 as TransactionFilter, TransactionStatusFilter$1 as TransactionStatusFilter, WithdrawalFilter$1 as WithdrawalFilter, filter_headerFilterFromJSON as headerFilterFromJSON, filter_headerFilterToJSON as headerFilterToJSON, filter_protobufPackage as protobufPackage, filter_transactionStatusFilterFromJSON as transactionStatusFilterFromJSON, filter_transactionStatusFilterToJSON as transactionStatusFilterToJSON };
463
510
  }
464
511
 
465
512
  declare const index_common: typeof common;
@@ -476,6 +523,13 @@ declare const Address: Schema.transform<Schema.Struct<{
476
523
  x2: typeof Schema.Number;
477
524
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
478
525
  type Address = typeof Address.Type;
526
+ /** Wire representation of `B256`. */
527
+ declare const B256Proto: Schema.Struct<{
528
+ x0: typeof Schema.BigIntFromSelf;
529
+ x1: typeof Schema.BigIntFromSelf;
530
+ x2: typeof Schema.BigIntFromSelf;
531
+ x3: typeof Schema.BigIntFromSelf;
532
+ }>;
479
533
  /** Data with length 256 bits. */
480
534
  declare const B256: Schema.transform<Schema.Struct<{
481
535
  x0: typeof Schema.BigIntFromSelf;
@@ -483,7 +537,7 @@ declare const B256: Schema.transform<Schema.Struct<{
483
537
  x2: typeof Schema.BigIntFromSelf;
484
538
  x3: typeof Schema.BigIntFromSelf;
485
539
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
486
- declare const b256ToProto: (a: `0x${string}`, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
540
+ declare const b256ToProto: (a: `0x${string}`, overrideOptions?: _effect_schema_AST.ParseOptions) => {
487
541
  readonly x0: bigint;
488
542
  readonly x1: bigint;
489
543
  readonly x2: bigint;
@@ -494,7 +548,7 @@ declare const b256FromProto: (i: {
494
548
  readonly x1: bigint;
495
549
  readonly x2: bigint;
496
550
  readonly x3: bigint;
497
- }, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => `0x${string}`;
551
+ }, overrideOptions?: _effect_schema_AST.ParseOptions) => `0x${string}`;
498
552
  /** Data with length 256 bits. */
499
553
  declare const U256: Schema.transform<Schema.Struct<{
500
554
  x0: typeof Schema.BigIntFromSelf;
@@ -502,7 +556,7 @@ declare const U256: Schema.transform<Schema.Struct<{
502
556
  x2: typeof Schema.BigIntFromSelf;
503
557
  x3: typeof Schema.BigIntFromSelf;
504
558
  }>, typeof Schema.BigIntFromSelf>;
505
- declare const u256ToProto: (a: bigint, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
559
+ declare const u256ToProto: (a: bigint, overrideOptions?: _effect_schema_AST.ParseOptions) => {
506
560
  readonly x0: bigint;
507
561
  readonly x1: bigint;
508
562
  readonly x2: bigint;
@@ -513,27 +567,32 @@ declare const u256FromProto: (i: {
513
567
  readonly x1: bigint;
514
568
  readonly x2: bigint;
515
569
  readonly x3: bigint;
516
- }, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => bigint;
570
+ }, overrideOptions?: _effect_schema_AST.ParseOptions) => bigint;
517
571
  /** Data with length 128 bits. */
518
572
  declare const U128: Schema.transform<Schema.Struct<{
519
573
  x0: typeof Schema.BigIntFromSelf;
520
574
  x1: typeof Schema.BigIntFromSelf;
521
575
  }>, typeof Schema.BigIntFromSelf>;
522
- declare const u128ToProto: (a: bigint, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
576
+ declare const u128ToProto: (a: bigint, overrideOptions?: _effect_schema_AST.ParseOptions) => {
523
577
  readonly x0: bigint;
524
578
  readonly x1: bigint;
525
579
  };
526
580
  declare const u128FromProto: (i: {
527
581
  readonly x0: bigint;
528
582
  readonly x1: bigint;
529
- }, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => bigint;
583
+ }, overrideOptions?: _effect_schema_AST.ParseOptions) => bigint;
530
584
 
531
- declare const HeaderFilter: Schema.Struct<{
532
- always: Schema.optional<typeof Schema.Boolean>;
533
- }>;
585
+ /** Header options.
586
+ *
587
+ * - `always`: receive all block headers.
588
+ * - `on_data`: receive headers only if any other filter matches.
589
+ * - `on_data_or_on_new_block`: receive headers only if any other filter matches and for "live" blocks.
590
+ */
591
+ declare const HeaderFilter: Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>;
534
592
  type HeaderFilter = typeof HeaderFilter.Type;
535
593
  declare const WithdrawalFilter: Schema.Struct<{
536
- validatorIndex: Schema.optional<typeof Schema.BigIntFromSelf>;
594
+ id: Schema.optional<typeof Schema.Number>;
595
+ validatorIndex: Schema.optional<typeof Schema.Number>;
537
596
  address: Schema.optional<Schema.transform<Schema.Struct<{
538
597
  x0: typeof Schema.BigIntFromSelf;
539
598
  x1: typeof Schema.BigIntFromSelf;
@@ -541,13 +600,15 @@ declare const WithdrawalFilter: Schema.Struct<{
541
600
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
542
601
  }>;
543
602
  type WithdrawalFilter = typeof WithdrawalFilter.Type;
603
+ declare const TransactionStatusFilter: Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>;
604
+ type TransactionStatusFilter = typeof TransactionStatusFilter.Type;
544
605
  declare const Topic: Schema.transform<Schema.Struct<{
545
- value: Schema.UndefinedOr<Schema.transform<Schema.Struct<{
606
+ value: Schema.UndefinedOr<Schema.Struct<{
546
607
  x0: typeof Schema.BigIntFromSelf;
547
608
  x1: typeof Schema.BigIntFromSelf;
548
609
  x2: typeof Schema.BigIntFromSelf;
549
610
  x3: typeof Schema.BigIntFromSelf;
550
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
611
+ }>>;
551
612
  }>, Schema.NullOr<Schema.transform<Schema.Struct<{
552
613
  x0: typeof Schema.BigIntFromSelf;
553
614
  x1: typeof Schema.BigIntFromSelf;
@@ -555,18 +616,19 @@ declare const Topic: Schema.transform<Schema.Struct<{
555
616
  x3: typeof Schema.BigIntFromSelf;
556
617
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>;
557
618
  declare const LogFilter: Schema.Struct<{
619
+ id: Schema.optional<typeof Schema.Number>;
558
620
  address: Schema.optional<Schema.transform<Schema.Struct<{
559
621
  x0: typeof Schema.BigIntFromSelf;
560
622
  x1: typeof Schema.BigIntFromSelf;
561
623
  x2: typeof Schema.Number;
562
624
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
563
625
  topics: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
564
- value: Schema.UndefinedOr<Schema.transform<Schema.Struct<{
626
+ value: Schema.UndefinedOr<Schema.Struct<{
565
627
  x0: typeof Schema.BigIntFromSelf;
566
628
  x1: typeof Schema.BigIntFromSelf;
567
629
  x2: typeof Schema.BigIntFromSelf;
568
630
  x3: typeof Schema.BigIntFromSelf;
569
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
631
+ }>>;
570
632
  }>, Schema.NullOr<Schema.transform<Schema.Struct<{
571
633
  x0: typeof Schema.BigIntFromSelf;
572
634
  x1: typeof Schema.BigIntFromSelf;
@@ -574,11 +636,13 @@ declare const LogFilter: Schema.Struct<{
574
636
  x3: typeof Schema.BigIntFromSelf;
575
637
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
576
638
  strict: Schema.optional<typeof Schema.Boolean>;
639
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
577
640
  includeTransaction: Schema.optional<typeof Schema.Boolean>;
578
641
  includeReceipt: Schema.optional<typeof Schema.Boolean>;
579
642
  }>;
580
643
  type LogFilter = typeof LogFilter.Type;
581
644
  declare const TransactionFilter: Schema.Struct<{
645
+ id: Schema.optional<typeof Schema.Number>;
582
646
  from: Schema.optional<Schema.transform<Schema.Struct<{
583
647
  x0: typeof Schema.BigIntFromSelf;
584
648
  x1: typeof Schema.BigIntFromSelf;
@@ -589,35 +653,54 @@ declare const TransactionFilter: Schema.Struct<{
589
653
  x1: typeof Schema.BigIntFromSelf;
590
654
  x2: typeof Schema.Number;
591
655
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
656
+ create: Schema.optional<typeof Schema.Boolean>;
657
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
592
658
  includeReceipt: Schema.optional<typeof Schema.Boolean>;
593
659
  includeLogs: Schema.optional<typeof Schema.Boolean>;
594
660
  }>;
595
661
  type TransactionFilter = typeof TransactionFilter.Type;
596
662
  declare const Filter: Schema.Struct<{
597
- header: Schema.optional<Schema.Struct<{
598
- always: Schema.optional<typeof Schema.Boolean>;
599
- }>>;
663
+ header: Schema.optional<Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>>;
600
664
  withdrawals: Schema.optional<Schema.Array$<Schema.Struct<{
601
- validatorIndex: Schema.optional<typeof Schema.BigIntFromSelf>;
665
+ id: Schema.optional<typeof Schema.Number>;
666
+ validatorIndex: Schema.optional<typeof Schema.Number>;
602
667
  address: Schema.optional<Schema.transform<Schema.Struct<{
603
668
  x0: typeof Schema.BigIntFromSelf;
604
669
  x1: typeof Schema.BigIntFromSelf;
605
670
  x2: typeof Schema.Number;
606
671
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
607
672
  }>>>;
673
+ transactions: Schema.optional<Schema.Array$<Schema.Struct<{
674
+ id: Schema.optional<typeof Schema.Number>;
675
+ from: Schema.optional<Schema.transform<Schema.Struct<{
676
+ x0: typeof Schema.BigIntFromSelf;
677
+ x1: typeof Schema.BigIntFromSelf;
678
+ x2: typeof Schema.Number;
679
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
680
+ to: Schema.optional<Schema.transform<Schema.Struct<{
681
+ x0: typeof Schema.BigIntFromSelf;
682
+ x1: typeof Schema.BigIntFromSelf;
683
+ x2: typeof Schema.Number;
684
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
685
+ create: Schema.optional<typeof Schema.Boolean>;
686
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
687
+ includeReceipt: Schema.optional<typeof Schema.Boolean>;
688
+ includeLogs: Schema.optional<typeof Schema.Boolean>;
689
+ }>>>;
608
690
  logs: Schema.optional<Schema.Array$<Schema.Struct<{
691
+ id: Schema.optional<typeof Schema.Number>;
609
692
  address: Schema.optional<Schema.transform<Schema.Struct<{
610
693
  x0: typeof Schema.BigIntFromSelf;
611
694
  x1: typeof Schema.BigIntFromSelf;
612
695
  x2: typeof Schema.Number;
613
696
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
614
697
  topics: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
615
- value: Schema.UndefinedOr<Schema.transform<Schema.Struct<{
698
+ value: Schema.UndefinedOr<Schema.Struct<{
616
699
  x0: typeof Schema.BigIntFromSelf;
617
700
  x1: typeof Schema.BigIntFromSelf;
618
701
  x2: typeof Schema.BigIntFromSelf;
619
702
  x3: typeof Schema.BigIntFromSelf;
620
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
703
+ }>>;
621
704
  }>, Schema.NullOr<Schema.transform<Schema.Struct<{
622
705
  x0: typeof Schema.BigIntFromSelf;
623
706
  x1: typeof Schema.BigIntFromSelf;
@@ -625,64 +708,74 @@ declare const Filter: Schema.Struct<{
625
708
  x3: typeof Schema.BigIntFromSelf;
626
709
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
627
710
  strict: Schema.optional<typeof Schema.Boolean>;
711
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
628
712
  includeTransaction: Schema.optional<typeof Schema.Boolean>;
629
713
  includeReceipt: Schema.optional<typeof Schema.Boolean>;
630
714
  }>>>;
631
- transactions: Schema.optional<Schema.Array$<Schema.Struct<{
632
- from: Schema.optional<Schema.transform<Schema.Struct<{
633
- x0: typeof Schema.BigIntFromSelf;
634
- x1: typeof Schema.BigIntFromSelf;
635
- x2: typeof Schema.Number;
636
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
637
- to: Schema.optional<Schema.transform<Schema.Struct<{
638
- x0: typeof Schema.BigIntFromSelf;
639
- x1: typeof Schema.BigIntFromSelf;
640
- x2: typeof Schema.Number;
641
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
642
- includeReceipt: Schema.optional<typeof Schema.Boolean>;
643
- includeLogs: Schema.optional<typeof Schema.Boolean>;
644
- }>>>;
645
715
  }>;
646
716
  type Filter = typeof Filter.Type;
647
717
  declare const filterToProto: (a: {
648
- readonly header?: {
649
- readonly always?: boolean | undefined;
650
- } | undefined;
718
+ readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
651
719
  readonly withdrawals?: readonly {
652
- readonly validatorIndex?: bigint | undefined;
720
+ readonly id?: number | undefined;
721
+ readonly validatorIndex?: number | undefined;
653
722
  readonly address?: `0x${string}` | undefined;
654
723
  }[] | undefined;
655
- readonly logs?: readonly {
656
- readonly address?: `0x${string}` | undefined;
657
- readonly topics?: readonly (`0x${string}` | null)[] | undefined;
658
- readonly strict?: boolean | undefined;
659
- readonly includeTransaction?: boolean | undefined;
660
- readonly includeReceipt?: boolean | undefined;
661
- }[] | undefined;
662
724
  readonly transactions?: readonly {
725
+ readonly id?: number | undefined;
663
726
  readonly from?: `0x${string}` | undefined;
664
727
  readonly to?: `0x${string}` | undefined;
728
+ readonly create?: boolean | undefined;
729
+ readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
665
730
  readonly includeReceipt?: boolean | undefined;
666
731
  readonly includeLogs?: boolean | undefined;
667
732
  }[] | undefined;
668
- }, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
669
- readonly header?: {
670
- readonly always?: boolean | undefined;
671
- } | undefined;
733
+ readonly logs?: readonly {
734
+ readonly id?: number | undefined;
735
+ readonly address?: `0x${string}` | undefined;
736
+ readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
737
+ readonly includeReceipt?: boolean | undefined;
738
+ readonly topics?: readonly (`0x${string}` | null)[] | undefined;
739
+ readonly strict?: boolean | undefined;
740
+ readonly includeTransaction?: boolean | undefined;
741
+ }[] | undefined;
742
+ }, overrideOptions?: _effect_schema_AST.ParseOptions) => {
743
+ readonly header?: HeaderFilter$1 | undefined;
672
744
  readonly withdrawals?: readonly {
673
- readonly validatorIndex?: bigint | undefined;
745
+ readonly id?: number | undefined;
746
+ readonly validatorIndex?: number | undefined;
674
747
  readonly address?: {
675
748
  readonly x0: bigint;
676
749
  readonly x1: bigint;
677
750
  readonly x2: number;
678
751
  } | undefined;
679
752
  }[] | undefined;
753
+ readonly transactions?: readonly {
754
+ readonly id?: number | undefined;
755
+ readonly from?: {
756
+ readonly x0: bigint;
757
+ readonly x1: bigint;
758
+ readonly x2: number;
759
+ } | undefined;
760
+ readonly to?: {
761
+ readonly x0: bigint;
762
+ readonly x1: bigint;
763
+ readonly x2: number;
764
+ } | undefined;
765
+ readonly create?: boolean | undefined;
766
+ readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
767
+ readonly includeReceipt?: boolean | undefined;
768
+ readonly includeLogs?: boolean | undefined;
769
+ }[] | undefined;
680
770
  readonly logs?: readonly {
771
+ readonly id?: number | undefined;
681
772
  readonly address?: {
682
773
  readonly x0: bigint;
683
774
  readonly x1: bigint;
684
775
  readonly x2: number;
685
776
  } | undefined;
777
+ readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
778
+ readonly includeReceipt?: boolean | undefined;
686
779
  readonly topics?: readonly {
687
780
  readonly value: {
688
781
  readonly x0: bigint;
@@ -693,9 +786,21 @@ declare const filterToProto: (a: {
693
786
  }[] | undefined;
694
787
  readonly strict?: boolean | undefined;
695
788
  readonly includeTransaction?: boolean | undefined;
696
- readonly includeReceipt?: boolean | undefined;
789
+ }[] | undefined;
790
+ };
791
+ declare const filterFromProto: (i: {
792
+ readonly header?: HeaderFilter$1 | undefined;
793
+ readonly withdrawals?: readonly {
794
+ readonly id?: number | undefined;
795
+ readonly validatorIndex?: number | undefined;
796
+ readonly address?: {
797
+ readonly x0: bigint;
798
+ readonly x1: bigint;
799
+ readonly x2: number;
800
+ } | undefined;
697
801
  }[] | undefined;
698
802
  readonly transactions?: readonly {
803
+ readonly id?: number | undefined;
699
804
  readonly from?: {
700
805
  readonly x0: bigint;
701
806
  readonly x1: bigint;
@@ -706,28 +811,20 @@ declare const filterToProto: (a: {
706
811
  readonly x1: bigint;
707
812
  readonly x2: number;
708
813
  } | undefined;
814
+ readonly create?: boolean | undefined;
815
+ readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
709
816
  readonly includeReceipt?: boolean | undefined;
710
817
  readonly includeLogs?: boolean | undefined;
711
818
  }[] | undefined;
712
- };
713
- declare const filterFromProto: (i: {
714
- readonly header?: {
715
- readonly always?: boolean | undefined;
716
- } | undefined;
717
- readonly withdrawals?: readonly {
718
- readonly validatorIndex?: bigint | undefined;
719
- readonly address?: {
720
- readonly x0: bigint;
721
- readonly x1: bigint;
722
- readonly x2: number;
723
- } | undefined;
724
- }[] | undefined;
725
819
  readonly logs?: readonly {
820
+ readonly id?: number | undefined;
726
821
  readonly address?: {
727
822
  readonly x0: bigint;
728
823
  readonly x1: bigint;
729
824
  readonly x2: number;
730
825
  } | undefined;
826
+ readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
827
+ readonly includeReceipt?: boolean | undefined;
731
828
  readonly topics?: readonly {
732
829
  readonly value: {
733
830
  readonly x0: bigint;
@@ -738,69 +835,75 @@ declare const filterFromProto: (i: {
738
835
  }[] | undefined;
739
836
  readonly strict?: boolean | undefined;
740
837
  readonly includeTransaction?: boolean | undefined;
741
- readonly includeReceipt?: boolean | undefined;
838
+ }[] | undefined;
839
+ }, overrideOptions?: _effect_schema_AST.ParseOptions) => {
840
+ readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
841
+ readonly withdrawals?: readonly {
842
+ readonly id?: number | undefined;
843
+ readonly validatorIndex?: number | undefined;
844
+ readonly address?: `0x${string}` | undefined;
742
845
  }[] | undefined;
743
846
  readonly transactions?: readonly {
744
- readonly from?: {
745
- readonly x0: bigint;
746
- readonly x1: bigint;
747
- readonly x2: number;
748
- } | undefined;
749
- readonly to?: {
750
- readonly x0: bigint;
751
- readonly x1: bigint;
752
- readonly x2: number;
753
- } | undefined;
847
+ readonly id?: number | undefined;
848
+ readonly from?: `0x${string}` | undefined;
849
+ readonly to?: `0x${string}` | undefined;
850
+ readonly create?: boolean | undefined;
851
+ readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
754
852
  readonly includeReceipt?: boolean | undefined;
755
853
  readonly includeLogs?: boolean | undefined;
756
854
  }[] | undefined;
757
- }, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
758
- readonly header?: {
759
- readonly always?: boolean | undefined;
760
- } | undefined;
761
- readonly withdrawals?: readonly {
762
- readonly validatorIndex?: bigint | undefined;
763
- readonly address?: `0x${string}` | undefined;
764
- }[] | undefined;
765
855
  readonly logs?: readonly {
856
+ readonly id?: number | undefined;
766
857
  readonly address?: `0x${string}` | undefined;
858
+ readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
859
+ readonly includeReceipt?: boolean | undefined;
767
860
  readonly topics?: readonly (`0x${string}` | null)[] | undefined;
768
861
  readonly strict?: boolean | undefined;
769
862
  readonly includeTransaction?: boolean | undefined;
770
- readonly includeReceipt?: boolean | undefined;
771
- }[] | undefined;
772
- readonly transactions?: readonly {
773
- readonly from?: `0x${string}` | undefined;
774
- readonly to?: `0x${string}` | undefined;
775
- readonly includeReceipt?: boolean | undefined;
776
- readonly includeLogs?: boolean | undefined;
777
863
  }[] | undefined;
778
864
  };
779
865
  declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.Struct<{
780
- header: Schema.optional<Schema.Struct<{
781
- always: Schema.optional<typeof Schema.Boolean>;
782
- }>>;
866
+ header: Schema.optional<Schema.transform<Schema.Enums<typeof HeaderFilter$1>, Schema.Literal<["always", "on_data", "on_data_or_on_new_block", "unknown"]>>>;
783
867
  withdrawals: Schema.optional<Schema.Array$<Schema.Struct<{
784
- validatorIndex: Schema.optional<typeof Schema.BigIntFromSelf>;
868
+ id: Schema.optional<typeof Schema.Number>;
869
+ validatorIndex: Schema.optional<typeof Schema.Number>;
785
870
  address: Schema.optional<Schema.transform<Schema.Struct<{
786
871
  x0: typeof Schema.BigIntFromSelf;
787
872
  x1: typeof Schema.BigIntFromSelf;
788
873
  x2: typeof Schema.Number;
789
874
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
790
875
  }>>>;
876
+ transactions: Schema.optional<Schema.Array$<Schema.Struct<{
877
+ id: Schema.optional<typeof Schema.Number>;
878
+ from: Schema.optional<Schema.transform<Schema.Struct<{
879
+ x0: typeof Schema.BigIntFromSelf;
880
+ x1: typeof Schema.BigIntFromSelf;
881
+ x2: typeof Schema.Number;
882
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
883
+ to: Schema.optional<Schema.transform<Schema.Struct<{
884
+ x0: typeof Schema.BigIntFromSelf;
885
+ x1: typeof Schema.BigIntFromSelf;
886
+ x2: typeof Schema.Number;
887
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
888
+ create: Schema.optional<typeof Schema.Boolean>;
889
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
890
+ includeReceipt: Schema.optional<typeof Schema.Boolean>;
891
+ includeLogs: Schema.optional<typeof Schema.Boolean>;
892
+ }>>>;
791
893
  logs: Schema.optional<Schema.Array$<Schema.Struct<{
894
+ id: Schema.optional<typeof Schema.Number>;
792
895
  address: Schema.optional<Schema.transform<Schema.Struct<{
793
896
  x0: typeof Schema.BigIntFromSelf;
794
897
  x1: typeof Schema.BigIntFromSelf;
795
898
  x2: typeof Schema.Number;
796
899
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
797
900
  topics: Schema.optional<Schema.Array$<Schema.transform<Schema.Struct<{
798
- value: Schema.UndefinedOr<Schema.transform<Schema.Struct<{
901
+ value: Schema.UndefinedOr<Schema.Struct<{
799
902
  x0: typeof Schema.BigIntFromSelf;
800
903
  x1: typeof Schema.BigIntFromSelf;
801
904
  x2: typeof Schema.BigIntFromSelf;
802
905
  x3: typeof Schema.BigIntFromSelf;
803
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
906
+ }>>;
804
907
  }>, Schema.NullOr<Schema.transform<Schema.Struct<{
805
908
  x0: typeof Schema.BigIntFromSelf;
806
909
  x1: typeof Schema.BigIntFromSelf;
@@ -808,91 +911,85 @@ declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8A
808
911
  x3: typeof Schema.BigIntFromSelf;
809
912
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>>>>;
810
913
  strict: Schema.optional<typeof Schema.Boolean>;
914
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatusFilter$1>, Schema.Literal<["succeeded", "reverted", "all", "unknown"]>>>;
811
915
  includeTransaction: Schema.optional<typeof Schema.Boolean>;
812
916
  includeReceipt: Schema.optional<typeof Schema.Boolean>;
813
917
  }>>>;
814
- transactions: Schema.optional<Schema.Array$<Schema.Struct<{
815
- from: Schema.optional<Schema.transform<Schema.Struct<{
816
- x0: typeof Schema.BigIntFromSelf;
817
- x1: typeof Schema.BigIntFromSelf;
818
- x2: typeof Schema.Number;
819
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
820
- to: Schema.optional<Schema.transform<Schema.Struct<{
821
- x0: typeof Schema.BigIntFromSelf;
822
- x1: typeof Schema.BigIntFromSelf;
823
- x2: typeof Schema.Number;
824
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
825
- includeReceipt: Schema.optional<typeof Schema.Boolean>;
826
- includeLogs: Schema.optional<typeof Schema.Boolean>;
827
- }>>>;
828
918
  }>>;
829
919
  declare const filterToBytes: (a: {
830
- readonly header?: {
831
- readonly always?: boolean | undefined;
832
- } | undefined;
920
+ readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
833
921
  readonly withdrawals?: readonly {
834
- readonly validatorIndex?: bigint | undefined;
835
- readonly address?: `0x${string}` | undefined;
836
- }[] | undefined;
837
- readonly logs?: readonly {
922
+ readonly id?: number | undefined;
923
+ readonly validatorIndex?: number | undefined;
838
924
  readonly address?: `0x${string}` | undefined;
839
- readonly topics?: readonly (`0x${string}` | null)[] | undefined;
840
- readonly strict?: boolean | undefined;
841
- readonly includeTransaction?: boolean | undefined;
842
- readonly includeReceipt?: boolean | undefined;
843
925
  }[] | undefined;
844
926
  readonly transactions?: readonly {
927
+ readonly id?: number | undefined;
845
928
  readonly from?: `0x${string}` | undefined;
846
929
  readonly to?: `0x${string}` | undefined;
930
+ readonly create?: boolean | undefined;
931
+ readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
847
932
  readonly includeReceipt?: boolean | undefined;
848
933
  readonly includeLogs?: boolean | undefined;
849
934
  }[] | undefined;
850
- }, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => Uint8Array;
851
- declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_AST.ParseOptions | undefined) => {
852
- readonly header?: {
853
- readonly always?: boolean | undefined;
854
- } | undefined;
855
- readonly withdrawals?: readonly {
856
- readonly validatorIndex?: bigint | undefined;
857
- readonly address?: `0x${string}` | undefined;
858
- }[] | undefined;
859
935
  readonly logs?: readonly {
936
+ readonly id?: number | undefined;
860
937
  readonly address?: `0x${string}` | undefined;
938
+ readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
939
+ readonly includeReceipt?: boolean | undefined;
861
940
  readonly topics?: readonly (`0x${string}` | null)[] | undefined;
862
941
  readonly strict?: boolean | undefined;
863
942
  readonly includeTransaction?: boolean | undefined;
864
- readonly includeReceipt?: boolean | undefined;
943
+ }[] | undefined;
944
+ }, overrideOptions?: _effect_schema_AST.ParseOptions) => Uint8Array;
945
+ declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_AST.ParseOptions) => {
946
+ readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
947
+ readonly withdrawals?: readonly {
948
+ readonly id?: number | undefined;
949
+ readonly validatorIndex?: number | undefined;
950
+ readonly address?: `0x${string}` | undefined;
865
951
  }[] | undefined;
866
952
  readonly transactions?: readonly {
953
+ readonly id?: number | undefined;
867
954
  readonly from?: `0x${string}` | undefined;
868
955
  readonly to?: `0x${string}` | undefined;
956
+ readonly create?: boolean | undefined;
957
+ readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
869
958
  readonly includeReceipt?: boolean | undefined;
870
959
  readonly includeLogs?: boolean | undefined;
871
960
  }[] | undefined;
961
+ readonly logs?: readonly {
962
+ readonly id?: number | undefined;
963
+ readonly address?: `0x${string}` | undefined;
964
+ readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
965
+ readonly includeReceipt?: boolean | undefined;
966
+ readonly topics?: readonly (`0x${string}` | null)[] | undefined;
967
+ readonly strict?: boolean | undefined;
968
+ readonly includeTransaction?: boolean | undefined;
969
+ }[] | undefined;
872
970
  };
873
971
  declare function mergeFilter(a: Filter, b: Filter): Filter;
874
972
 
875
- declare const HexData: Schema.transform<Schema.Struct<{
876
- value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
877
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
878
973
  declare const Bloom: Schema.transform<Schema.Struct<{
879
974
  value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
880
975
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
976
+ declare const TransactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
977
+ type TransactionStatus = typeof TransactionStatus.Type;
881
978
  declare const BlockHeader: Schema.Struct<{
882
- number: typeof Schema.BigIntFromSelf;
883
- hash: Schema.optional<Schema.transform<Schema.Struct<{
979
+ blockNumber: typeof Schema.BigIntFromSelf;
980
+ blockHash: Schema.optional<Schema.transform<Schema.Struct<{
884
981
  x0: typeof Schema.BigIntFromSelf;
885
982
  x1: typeof Schema.BigIntFromSelf;
886
983
  x2: typeof Schema.BigIntFromSelf;
887
984
  x3: typeof Schema.BigIntFromSelf;
888
985
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
889
- parentHash: Schema.optional<Schema.transform<Schema.Struct<{
986
+ parentBlockHash: Schema.optional<Schema.transform<Schema.Struct<{
890
987
  x0: typeof Schema.BigIntFromSelf;
891
988
  x1: typeof Schema.BigIntFromSelf;
892
989
  x2: typeof Schema.BigIntFromSelf;
893
990
  x3: typeof Schema.BigIntFromSelf;
894
991
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
895
- uncleHash: Schema.optional<Schema.transform<Schema.Struct<{
992
+ unclesHash: Schema.optional<Schema.transform<Schema.Struct<{
896
993
  x0: typeof Schema.BigIntFromSelf;
897
994
  x1: typeof Schema.BigIntFromSelf;
898
995
  x2: typeof Schema.BigIntFromSelf;
@@ -909,13 +1006,13 @@ declare const BlockHeader: Schema.Struct<{
909
1006
  x2: typeof Schema.BigIntFromSelf;
910
1007
  x3: typeof Schema.BigIntFromSelf;
911
1008
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
912
- transactionRoot: Schema.optional<Schema.transform<Schema.Struct<{
1009
+ transactionsRoot: Schema.optional<Schema.transform<Schema.Struct<{
913
1010
  x0: typeof Schema.BigIntFromSelf;
914
1011
  x1: typeof Schema.BigIntFromSelf;
915
1012
  x2: typeof Schema.BigIntFromSelf;
916
1013
  x3: typeof Schema.BigIntFromSelf;
917
1014
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
918
- receiptRoot: Schema.optional<Schema.transform<Schema.Struct<{
1015
+ receiptsRoot: Schema.optional<Schema.transform<Schema.Struct<{
919
1016
  x0: typeof Schema.BigIntFromSelf;
920
1017
  x1: typeof Schema.BigIntFromSelf;
921
1018
  x2: typeof Schema.BigIntFromSelf;
@@ -933,28 +1030,23 @@ declare const BlockHeader: Schema.Struct<{
933
1030
  gasLimit: Schema.optional<Schema.transform<Schema.Struct<{
934
1031
  x0: typeof Schema.BigIntFromSelf;
935
1032
  x1: typeof Schema.BigIntFromSelf;
936
- x2: typeof Schema.BigIntFromSelf;
937
- x3: typeof Schema.BigIntFromSelf;
938
1033
  }>, typeof Schema.BigIntFromSelf>>;
939
1034
  gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
940
1035
  x0: typeof Schema.BigIntFromSelf;
941
1036
  x1: typeof Schema.BigIntFromSelf;
942
- x2: typeof Schema.BigIntFromSelf;
943
- x3: typeof Schema.BigIntFromSelf;
944
1037
  }>, typeof Schema.BigIntFromSelf>>;
945
1038
  timestamp: Schema.optional<typeof Schema.DateFromSelf>;
1039
+ extraData: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
946
1040
  mixHash: Schema.optional<Schema.transform<Schema.Struct<{
947
1041
  x0: typeof Schema.BigIntFromSelf;
948
1042
  x1: typeof Schema.BigIntFromSelf;
949
1043
  x2: typeof Schema.BigIntFromSelf;
950
1044
  x3: typeof Schema.BigIntFromSelf;
951
1045
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
952
- nonce: typeof Schema.BigIntFromSelf;
1046
+ nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
953
1047
  baseFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
954
1048
  x0: typeof Schema.BigIntFromSelf;
955
1049
  x1: typeof Schema.BigIntFromSelf;
956
- x2: typeof Schema.BigIntFromSelf;
957
- x3: typeof Schema.BigIntFromSelf;
958
1050
  }>, typeof Schema.BigIntFromSelf>>;
959
1051
  withdrawalsRoot: Schema.optional<Schema.transform<Schema.Struct<{
960
1052
  x0: typeof Schema.BigIntFromSelf;
@@ -968,20 +1060,14 @@ declare const BlockHeader: Schema.Struct<{
968
1060
  x2: typeof Schema.BigIntFromSelf;
969
1061
  x3: typeof Schema.BigIntFromSelf;
970
1062
  }>, typeof Schema.BigIntFromSelf>>;
971
- uncles: Schema.Array$<Schema.transform<Schema.Struct<{
1063
+ blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
972
1064
  x0: typeof Schema.BigIntFromSelf;
973
1065
  x1: typeof Schema.BigIntFromSelf;
974
- x2: typeof Schema.BigIntFromSelf;
975
- x3: typeof Schema.BigIntFromSelf;
976
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
977
- size: Schema.optional<Schema.transform<Schema.Struct<{
1066
+ }>, typeof Schema.BigIntFromSelf>>;
1067
+ excessBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
978
1068
  x0: typeof Schema.BigIntFromSelf;
979
1069
  x1: typeof Schema.BigIntFromSelf;
980
- x2: typeof Schema.BigIntFromSelf;
981
- x3: typeof Schema.BigIntFromSelf;
982
1070
  }>, typeof Schema.BigIntFromSelf>>;
983
- blobGasUsed: typeof Schema.BigIntFromSelf;
984
- excessBlobGas: typeof Schema.BigIntFromSelf;
985
1071
  parentBeaconBlockRoot: Schema.optional<Schema.transform<Schema.Struct<{
986
1072
  x0: typeof Schema.BigIntFromSelf;
987
1073
  x1: typeof Schema.BigIntFromSelf;
@@ -991,20 +1077,16 @@ declare const BlockHeader: Schema.Struct<{
991
1077
  }>;
992
1078
  type BlockHeader = typeof BlockHeader.Type;
993
1079
  declare const Withdrawal: Schema.Struct<{
1080
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1081
+ withdrawalIndex: typeof Schema.Number;
994
1082
  index: typeof Schema.BigIntFromSelf;
995
- validatorIndex: typeof Schema.BigIntFromSelf;
996
- withdrawalIndex: typeof Schema.BigIntFromSelf;
1083
+ validatorIndex: typeof Schema.Number;
997
1084
  address: Schema.optional<Schema.transform<Schema.Struct<{
998
1085
  x0: typeof Schema.BigIntFromSelf;
999
1086
  x1: typeof Schema.BigIntFromSelf;
1000
1087
  x2: typeof Schema.Number;
1001
1088
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1002
- amount: Schema.optional<Schema.transform<Schema.Struct<{
1003
- x0: typeof Schema.BigIntFromSelf;
1004
- x1: typeof Schema.BigIntFromSelf;
1005
- x2: typeof Schema.BigIntFromSelf;
1006
- x3: typeof Schema.BigIntFromSelf;
1007
- }>, typeof Schema.BigIntFromSelf>>;
1089
+ amount: Schema.optional<typeof Schema.BigIntFromSelf>;
1008
1090
  }>;
1009
1091
  declare const AccessListItem: Schema.Struct<{
1010
1092
  address: Schema.optional<Schema.transform<Schema.Struct<{
@@ -1041,14 +1123,15 @@ declare const Signature: Schema.Struct<{
1041
1123
  YParity: Schema.optional<typeof Schema.Boolean>;
1042
1124
  }>;
1043
1125
  declare const Transaction: Schema.Struct<{
1044
- hash: Schema.optional<Schema.transform<Schema.Struct<{
1126
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1127
+ transactionIndex: typeof Schema.Number;
1128
+ transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1045
1129
  x0: typeof Schema.BigIntFromSelf;
1046
1130
  x1: typeof Schema.BigIntFromSelf;
1047
1131
  x2: typeof Schema.BigIntFromSelf;
1048
1132
  x3: typeof Schema.BigIntFromSelf;
1049
1133
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1050
- nonce: typeof Schema.BigIntFromSelf;
1051
- transactionIndex: typeof Schema.BigIntFromSelf;
1134
+ nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
1052
1135
  from: Schema.optional<Schema.transform<Schema.Struct<{
1053
1136
  x0: typeof Schema.BigIntFromSelf;
1054
1137
  x1: typeof Schema.BigIntFromSelf;
@@ -1072,8 +1155,6 @@ declare const Transaction: Schema.Struct<{
1072
1155
  gas: Schema.optional<Schema.transform<Schema.Struct<{
1073
1156
  x0: typeof Schema.BigIntFromSelf;
1074
1157
  x1: typeof Schema.BigIntFromSelf;
1075
- x2: typeof Schema.BigIntFromSelf;
1076
- x3: typeof Schema.BigIntFromSelf;
1077
1158
  }>, typeof Schema.BigIntFromSelf>>;
1078
1159
  maxFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
1079
1160
  x0: typeof Schema.BigIntFromSelf;
@@ -1083,6 +1164,7 @@ declare const Transaction: Schema.Struct<{
1083
1164
  x0: typeof Schema.BigIntFromSelf;
1084
1165
  x1: typeof Schema.BigIntFromSelf;
1085
1166
  }>, typeof Schema.BigIntFromSelf>>;
1167
+ input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1086
1168
  signature: Schema.optional<Schema.Struct<{
1087
1169
  r: Schema.optional<Schema.transform<Schema.Struct<{
1088
1170
  x0: typeof Schema.BigIntFromSelf;
@@ -1104,7 +1186,7 @@ declare const Transaction: Schema.Struct<{
1104
1186
  }>, typeof Schema.BigIntFromSelf>>;
1105
1187
  YParity: Schema.optional<typeof Schema.Boolean>;
1106
1188
  }>>;
1107
- chainId: typeof Schema.BigIntFromSelf;
1189
+ chainId: Schema.optional<typeof Schema.BigIntFromSelf>;
1108
1190
  accessList: Schema.Array$<Schema.Struct<{
1109
1191
  address: Schema.optional<Schema.transform<Schema.Struct<{
1110
1192
  x0: typeof Schema.BigIntFromSelf;
@@ -1118,7 +1200,7 @@ declare const Transaction: Schema.Struct<{
1118
1200
  x3: typeof Schema.BigIntFromSelf;
1119
1201
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1120
1202
  }>>;
1121
- transactionType: typeof Schema.BigIntFromSelf;
1203
+ transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1122
1204
  maxFeePerBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
1123
1205
  x0: typeof Schema.BigIntFromSelf;
1124
1206
  x1: typeof Schema.BigIntFromSelf;
@@ -1129,26 +1211,24 @@ declare const Transaction: Schema.Struct<{
1129
1211
  x2: typeof Schema.BigIntFromSelf;
1130
1212
  x3: typeof Schema.BigIntFromSelf;
1131
1213
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1214
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1132
1215
  }>;
1133
1216
  declare const TransactionReceipt: Schema.Struct<{
1217
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1218
+ transactionIndex: Schema.optional<typeof Schema.Number>;
1134
1219
  transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1135
1220
  x0: typeof Schema.BigIntFromSelf;
1136
1221
  x1: typeof Schema.BigIntFromSelf;
1137
1222
  x2: typeof Schema.BigIntFromSelf;
1138
1223
  x3: typeof Schema.BigIntFromSelf;
1139
1224
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1140
- transactionIndex: typeof Schema.BigIntFromSelf;
1141
1225
  cumulativeGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1142
1226
  x0: typeof Schema.BigIntFromSelf;
1143
1227
  x1: typeof Schema.BigIntFromSelf;
1144
- x2: typeof Schema.BigIntFromSelf;
1145
- x3: typeof Schema.BigIntFromSelf;
1146
1228
  }>, typeof Schema.BigIntFromSelf>>;
1147
1229
  gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1148
1230
  x0: typeof Schema.BigIntFromSelf;
1149
1231
  x1: typeof Schema.BigIntFromSelf;
1150
- x2: typeof Schema.BigIntFromSelf;
1151
- x3: typeof Schema.BigIntFromSelf;
1152
1232
  }>, typeof Schema.BigIntFromSelf>>;
1153
1233
  effectiveGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
1154
1234
  x0: typeof Schema.BigIntFromSelf;
@@ -1172,8 +1252,7 @@ declare const TransactionReceipt: Schema.Struct<{
1172
1252
  logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
1173
1253
  value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1174
1254
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1175
- statusCode: typeof Schema.BigIntFromSelf;
1176
- transactionType: typeof Schema.BigIntFromSelf;
1255
+ transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1177
1256
  blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1178
1257
  x0: typeof Schema.BigIntFromSelf;
1179
1258
  x1: typeof Schema.BigIntFromSelf;
@@ -1182,8 +1261,10 @@ declare const TransactionReceipt: Schema.Struct<{
1182
1261
  x0: typeof Schema.BigIntFromSelf;
1183
1262
  x1: typeof Schema.BigIntFromSelf;
1184
1263
  }>, typeof Schema.BigIntFromSelf>>;
1264
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1185
1265
  }>;
1186
1266
  declare const Log: Schema.Struct<{
1267
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1187
1268
  address: Schema.optional<Schema.transform<Schema.Struct<{
1188
1269
  x0: typeof Schema.BigIntFromSelf;
1189
1270
  x1: typeof Schema.BigIntFromSelf;
@@ -1195,32 +1276,34 @@ declare const Log: Schema.Struct<{
1195
1276
  x2: typeof Schema.BigIntFromSelf;
1196
1277
  x3: typeof Schema.BigIntFromSelf;
1197
1278
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1198
- logIndex: typeof Schema.BigIntFromSelf;
1199
- transactionIndex: typeof Schema.BigIntFromSelf;
1279
+ data: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1280
+ logIndex: typeof Schema.Number;
1281
+ transactionIndex: typeof Schema.Number;
1200
1282
  transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1201
1283
  x0: typeof Schema.BigIntFromSelf;
1202
1284
  x1: typeof Schema.BigIntFromSelf;
1203
1285
  x2: typeof Schema.BigIntFromSelf;
1204
1286
  x3: typeof Schema.BigIntFromSelf;
1205
1287
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1288
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1206
1289
  }>;
1207
1290
  type Log = typeof Log.Type;
1208
1291
  declare const Block: Schema.Struct<{
1209
1292
  header: Schema.optional<Schema.Struct<{
1210
- number: typeof Schema.BigIntFromSelf;
1211
- hash: Schema.optional<Schema.transform<Schema.Struct<{
1293
+ blockNumber: typeof Schema.BigIntFromSelf;
1294
+ blockHash: Schema.optional<Schema.transform<Schema.Struct<{
1212
1295
  x0: typeof Schema.BigIntFromSelf;
1213
1296
  x1: typeof Schema.BigIntFromSelf;
1214
1297
  x2: typeof Schema.BigIntFromSelf;
1215
1298
  x3: typeof Schema.BigIntFromSelf;
1216
1299
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1217
- parentHash: Schema.optional<Schema.transform<Schema.Struct<{
1300
+ parentBlockHash: Schema.optional<Schema.transform<Schema.Struct<{
1218
1301
  x0: typeof Schema.BigIntFromSelf;
1219
1302
  x1: typeof Schema.BigIntFromSelf;
1220
1303
  x2: typeof Schema.BigIntFromSelf;
1221
1304
  x3: typeof Schema.BigIntFromSelf;
1222
1305
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1223
- uncleHash: Schema.optional<Schema.transform<Schema.Struct<{
1306
+ unclesHash: Schema.optional<Schema.transform<Schema.Struct<{
1224
1307
  x0: typeof Schema.BigIntFromSelf;
1225
1308
  x1: typeof Schema.BigIntFromSelf;
1226
1309
  x2: typeof Schema.BigIntFromSelf;
@@ -1237,13 +1320,13 @@ declare const Block: Schema.Struct<{
1237
1320
  x2: typeof Schema.BigIntFromSelf;
1238
1321
  x3: typeof Schema.BigIntFromSelf;
1239
1322
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1240
- transactionRoot: Schema.optional<Schema.transform<Schema.Struct<{
1323
+ transactionsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1241
1324
  x0: typeof Schema.BigIntFromSelf;
1242
1325
  x1: typeof Schema.BigIntFromSelf;
1243
1326
  x2: typeof Schema.BigIntFromSelf;
1244
1327
  x3: typeof Schema.BigIntFromSelf;
1245
1328
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1246
- receiptRoot: Schema.optional<Schema.transform<Schema.Struct<{
1329
+ receiptsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1247
1330
  x0: typeof Schema.BigIntFromSelf;
1248
1331
  x1: typeof Schema.BigIntFromSelf;
1249
1332
  x2: typeof Schema.BigIntFromSelf;
@@ -1261,28 +1344,23 @@ declare const Block: Schema.Struct<{
1261
1344
  gasLimit: Schema.optional<Schema.transform<Schema.Struct<{
1262
1345
  x0: typeof Schema.BigIntFromSelf;
1263
1346
  x1: typeof Schema.BigIntFromSelf;
1264
- x2: typeof Schema.BigIntFromSelf;
1265
- x3: typeof Schema.BigIntFromSelf;
1266
1347
  }>, typeof Schema.BigIntFromSelf>>;
1267
1348
  gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1268
1349
  x0: typeof Schema.BigIntFromSelf;
1269
1350
  x1: typeof Schema.BigIntFromSelf;
1270
- x2: typeof Schema.BigIntFromSelf;
1271
- x3: typeof Schema.BigIntFromSelf;
1272
1351
  }>, typeof Schema.BigIntFromSelf>>;
1273
1352
  timestamp: Schema.optional<typeof Schema.DateFromSelf>;
1353
+ extraData: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1274
1354
  mixHash: Schema.optional<Schema.transform<Schema.Struct<{
1275
1355
  x0: typeof Schema.BigIntFromSelf;
1276
1356
  x1: typeof Schema.BigIntFromSelf;
1277
1357
  x2: typeof Schema.BigIntFromSelf;
1278
1358
  x3: typeof Schema.BigIntFromSelf;
1279
1359
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1280
- nonce: typeof Schema.BigIntFromSelf;
1360
+ nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
1281
1361
  baseFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
1282
1362
  x0: typeof Schema.BigIntFromSelf;
1283
1363
  x1: typeof Schema.BigIntFromSelf;
1284
- x2: typeof Schema.BigIntFromSelf;
1285
- x3: typeof Schema.BigIntFromSelf;
1286
1364
  }>, typeof Schema.BigIntFromSelf>>;
1287
1365
  withdrawalsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1288
1366
  x0: typeof Schema.BigIntFromSelf;
@@ -1296,20 +1374,14 @@ declare const Block: Schema.Struct<{
1296
1374
  x2: typeof Schema.BigIntFromSelf;
1297
1375
  x3: typeof Schema.BigIntFromSelf;
1298
1376
  }>, typeof Schema.BigIntFromSelf>>;
1299
- uncles: Schema.Array$<Schema.transform<Schema.Struct<{
1377
+ blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1300
1378
  x0: typeof Schema.BigIntFromSelf;
1301
1379
  x1: typeof Schema.BigIntFromSelf;
1302
- x2: typeof Schema.BigIntFromSelf;
1303
- x3: typeof Schema.BigIntFromSelf;
1304
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1305
- size: Schema.optional<Schema.transform<Schema.Struct<{
1380
+ }>, typeof Schema.BigIntFromSelf>>;
1381
+ excessBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
1306
1382
  x0: typeof Schema.BigIntFromSelf;
1307
1383
  x1: typeof Schema.BigIntFromSelf;
1308
- x2: typeof Schema.BigIntFromSelf;
1309
- x3: typeof Schema.BigIntFromSelf;
1310
1384
  }>, typeof Schema.BigIntFromSelf>>;
1311
- blobGasUsed: typeof Schema.BigIntFromSelf;
1312
- excessBlobGas: typeof Schema.BigIntFromSelf;
1313
1385
  parentBeaconBlockRoot: Schema.optional<Schema.transform<Schema.Struct<{
1314
1386
  x0: typeof Schema.BigIntFromSelf;
1315
1387
  x1: typeof Schema.BigIntFromSelf;
@@ -1318,30 +1390,27 @@ declare const Block: Schema.Struct<{
1318
1390
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1319
1391
  }>>;
1320
1392
  withdrawals: Schema.Array$<Schema.Struct<{
1393
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1394
+ withdrawalIndex: typeof Schema.Number;
1321
1395
  index: typeof Schema.BigIntFromSelf;
1322
- validatorIndex: typeof Schema.BigIntFromSelf;
1323
- withdrawalIndex: typeof Schema.BigIntFromSelf;
1396
+ validatorIndex: typeof Schema.Number;
1324
1397
  address: Schema.optional<Schema.transform<Schema.Struct<{
1325
1398
  x0: typeof Schema.BigIntFromSelf;
1326
1399
  x1: typeof Schema.BigIntFromSelf;
1327
1400
  x2: typeof Schema.Number;
1328
1401
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1329
- amount: Schema.optional<Schema.transform<Schema.Struct<{
1330
- x0: typeof Schema.BigIntFromSelf;
1331
- x1: typeof Schema.BigIntFromSelf;
1332
- x2: typeof Schema.BigIntFromSelf;
1333
- x3: typeof Schema.BigIntFromSelf;
1334
- }>, typeof Schema.BigIntFromSelf>>;
1402
+ amount: Schema.optional<typeof Schema.BigIntFromSelf>;
1335
1403
  }>>;
1336
1404
  transactions: Schema.Array$<Schema.Struct<{
1337
- hash: Schema.optional<Schema.transform<Schema.Struct<{
1405
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1406
+ transactionIndex: typeof Schema.Number;
1407
+ transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1338
1408
  x0: typeof Schema.BigIntFromSelf;
1339
1409
  x1: typeof Schema.BigIntFromSelf;
1340
1410
  x2: typeof Schema.BigIntFromSelf;
1341
1411
  x3: typeof Schema.BigIntFromSelf;
1342
1412
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1343
- nonce: typeof Schema.BigIntFromSelf;
1344
- transactionIndex: typeof Schema.BigIntFromSelf;
1413
+ nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
1345
1414
  from: Schema.optional<Schema.transform<Schema.Struct<{
1346
1415
  x0: typeof Schema.BigIntFromSelf;
1347
1416
  x1: typeof Schema.BigIntFromSelf;
@@ -1365,8 +1434,6 @@ declare const Block: Schema.Struct<{
1365
1434
  gas: Schema.optional<Schema.transform<Schema.Struct<{
1366
1435
  x0: typeof Schema.BigIntFromSelf;
1367
1436
  x1: typeof Schema.BigIntFromSelf;
1368
- x2: typeof Schema.BigIntFromSelf;
1369
- x3: typeof Schema.BigIntFromSelf;
1370
1437
  }>, typeof Schema.BigIntFromSelf>>;
1371
1438
  maxFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
1372
1439
  x0: typeof Schema.BigIntFromSelf;
@@ -1376,6 +1443,7 @@ declare const Block: Schema.Struct<{
1376
1443
  x0: typeof Schema.BigIntFromSelf;
1377
1444
  x1: typeof Schema.BigIntFromSelf;
1378
1445
  }>, typeof Schema.BigIntFromSelf>>;
1446
+ input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1379
1447
  signature: Schema.optional<Schema.Struct<{
1380
1448
  r: Schema.optional<Schema.transform<Schema.Struct<{
1381
1449
  x0: typeof Schema.BigIntFromSelf;
@@ -1397,7 +1465,7 @@ declare const Block: Schema.Struct<{
1397
1465
  }>, typeof Schema.BigIntFromSelf>>;
1398
1466
  YParity: Schema.optional<typeof Schema.Boolean>;
1399
1467
  }>>;
1400
- chainId: typeof Schema.BigIntFromSelf;
1468
+ chainId: Schema.optional<typeof Schema.BigIntFromSelf>;
1401
1469
  accessList: Schema.Array$<Schema.Struct<{
1402
1470
  address: Schema.optional<Schema.transform<Schema.Struct<{
1403
1471
  x0: typeof Schema.BigIntFromSelf;
@@ -1411,7 +1479,7 @@ declare const Block: Schema.Struct<{
1411
1479
  x3: typeof Schema.BigIntFromSelf;
1412
1480
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1413
1481
  }>>;
1414
- transactionType: typeof Schema.BigIntFromSelf;
1482
+ transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1415
1483
  maxFeePerBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
1416
1484
  x0: typeof Schema.BigIntFromSelf;
1417
1485
  x1: typeof Schema.BigIntFromSelf;
@@ -1422,26 +1490,24 @@ declare const Block: Schema.Struct<{
1422
1490
  x2: typeof Schema.BigIntFromSelf;
1423
1491
  x3: typeof Schema.BigIntFromSelf;
1424
1492
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1493
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1425
1494
  }>>;
1426
1495
  receipts: Schema.Array$<Schema.Struct<{
1496
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1497
+ transactionIndex: Schema.optional<typeof Schema.Number>;
1427
1498
  transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1428
1499
  x0: typeof Schema.BigIntFromSelf;
1429
1500
  x1: typeof Schema.BigIntFromSelf;
1430
1501
  x2: typeof Schema.BigIntFromSelf;
1431
1502
  x3: typeof Schema.BigIntFromSelf;
1432
1503
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1433
- transactionIndex: typeof Schema.BigIntFromSelf;
1434
1504
  cumulativeGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1435
1505
  x0: typeof Schema.BigIntFromSelf;
1436
1506
  x1: typeof Schema.BigIntFromSelf;
1437
- x2: typeof Schema.BigIntFromSelf;
1438
- x3: typeof Schema.BigIntFromSelf;
1439
1507
  }>, typeof Schema.BigIntFromSelf>>;
1440
1508
  gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1441
1509
  x0: typeof Schema.BigIntFromSelf;
1442
1510
  x1: typeof Schema.BigIntFromSelf;
1443
- x2: typeof Schema.BigIntFromSelf;
1444
- x3: typeof Schema.BigIntFromSelf;
1445
1511
  }>, typeof Schema.BigIntFromSelf>>;
1446
1512
  effectiveGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
1447
1513
  x0: typeof Schema.BigIntFromSelf;
@@ -1465,8 +1531,7 @@ declare const Block: Schema.Struct<{
1465
1531
  logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
1466
1532
  value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1467
1533
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1468
- statusCode: typeof Schema.BigIntFromSelf;
1469
- transactionType: typeof Schema.BigIntFromSelf;
1534
+ transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1470
1535
  blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1471
1536
  x0: typeof Schema.BigIntFromSelf;
1472
1537
  x1: typeof Schema.BigIntFromSelf;
@@ -1475,8 +1540,10 @@ declare const Block: Schema.Struct<{
1475
1540
  x0: typeof Schema.BigIntFromSelf;
1476
1541
  x1: typeof Schema.BigIntFromSelf;
1477
1542
  }>, typeof Schema.BigIntFromSelf>>;
1543
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1478
1544
  }>>;
1479
1545
  logs: Schema.Array$<Schema.Struct<{
1546
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1480
1547
  address: Schema.optional<Schema.transform<Schema.Struct<{
1481
1548
  x0: typeof Schema.BigIntFromSelf;
1482
1549
  x1: typeof Schema.BigIntFromSelf;
@@ -1488,33 +1555,35 @@ declare const Block: Schema.Struct<{
1488
1555
  x2: typeof Schema.BigIntFromSelf;
1489
1556
  x3: typeof Schema.BigIntFromSelf;
1490
1557
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1491
- logIndex: typeof Schema.BigIntFromSelf;
1492
- transactionIndex: typeof Schema.BigIntFromSelf;
1558
+ data: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1559
+ logIndex: typeof Schema.Number;
1560
+ transactionIndex: typeof Schema.Number;
1493
1561
  transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1494
1562
  x0: typeof Schema.BigIntFromSelf;
1495
1563
  x1: typeof Schema.BigIntFromSelf;
1496
1564
  x2: typeof Schema.BigIntFromSelf;
1497
1565
  x3: typeof Schema.BigIntFromSelf;
1498
1566
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1567
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1499
1568
  }>>;
1500
1569
  }>;
1501
1570
  type Block = typeof Block.Type;
1502
1571
  declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.NullOr<Schema.Struct<{
1503
1572
  header: Schema.optional<Schema.Struct<{
1504
- number: typeof Schema.BigIntFromSelf;
1505
- hash: Schema.optional<Schema.transform<Schema.Struct<{
1573
+ blockNumber: typeof Schema.BigIntFromSelf;
1574
+ blockHash: Schema.optional<Schema.transform<Schema.Struct<{
1506
1575
  x0: typeof Schema.BigIntFromSelf;
1507
1576
  x1: typeof Schema.BigIntFromSelf;
1508
1577
  x2: typeof Schema.BigIntFromSelf;
1509
1578
  x3: typeof Schema.BigIntFromSelf;
1510
1579
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1511
- parentHash: Schema.optional<Schema.transform<Schema.Struct<{
1580
+ parentBlockHash: Schema.optional<Schema.transform<Schema.Struct<{
1512
1581
  x0: typeof Schema.BigIntFromSelf;
1513
1582
  x1: typeof Schema.BigIntFromSelf;
1514
1583
  x2: typeof Schema.BigIntFromSelf;
1515
1584
  x3: typeof Schema.BigIntFromSelf;
1516
1585
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1517
- uncleHash: Schema.optional<Schema.transform<Schema.Struct<{
1586
+ unclesHash: Schema.optional<Schema.transform<Schema.Struct<{
1518
1587
  x0: typeof Schema.BigIntFromSelf;
1519
1588
  x1: typeof Schema.BigIntFromSelf;
1520
1589
  x2: typeof Schema.BigIntFromSelf;
@@ -1531,13 +1600,13 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1531
1600
  x2: typeof Schema.BigIntFromSelf;
1532
1601
  x3: typeof Schema.BigIntFromSelf;
1533
1602
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1534
- transactionRoot: Schema.optional<Schema.transform<Schema.Struct<{
1603
+ transactionsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1535
1604
  x0: typeof Schema.BigIntFromSelf;
1536
1605
  x1: typeof Schema.BigIntFromSelf;
1537
1606
  x2: typeof Schema.BigIntFromSelf;
1538
1607
  x3: typeof Schema.BigIntFromSelf;
1539
1608
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1540
- receiptRoot: Schema.optional<Schema.transform<Schema.Struct<{
1609
+ receiptsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1541
1610
  x0: typeof Schema.BigIntFromSelf;
1542
1611
  x1: typeof Schema.BigIntFromSelf;
1543
1612
  x2: typeof Schema.BigIntFromSelf;
@@ -1555,28 +1624,23 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1555
1624
  gasLimit: Schema.optional<Schema.transform<Schema.Struct<{
1556
1625
  x0: typeof Schema.BigIntFromSelf;
1557
1626
  x1: typeof Schema.BigIntFromSelf;
1558
- x2: typeof Schema.BigIntFromSelf;
1559
- x3: typeof Schema.BigIntFromSelf;
1560
1627
  }>, typeof Schema.BigIntFromSelf>>;
1561
1628
  gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1562
1629
  x0: typeof Schema.BigIntFromSelf;
1563
1630
  x1: typeof Schema.BigIntFromSelf;
1564
- x2: typeof Schema.BigIntFromSelf;
1565
- x3: typeof Schema.BigIntFromSelf;
1566
1631
  }>, typeof Schema.BigIntFromSelf>>;
1567
1632
  timestamp: Schema.optional<typeof Schema.DateFromSelf>;
1633
+ extraData: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1568
1634
  mixHash: Schema.optional<Schema.transform<Schema.Struct<{
1569
1635
  x0: typeof Schema.BigIntFromSelf;
1570
1636
  x1: typeof Schema.BigIntFromSelf;
1571
1637
  x2: typeof Schema.BigIntFromSelf;
1572
1638
  x3: typeof Schema.BigIntFromSelf;
1573
1639
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1574
- nonce: typeof Schema.BigIntFromSelf;
1640
+ nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
1575
1641
  baseFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
1576
1642
  x0: typeof Schema.BigIntFromSelf;
1577
1643
  x1: typeof Schema.BigIntFromSelf;
1578
- x2: typeof Schema.BigIntFromSelf;
1579
- x3: typeof Schema.BigIntFromSelf;
1580
1644
  }>, typeof Schema.BigIntFromSelf>>;
1581
1645
  withdrawalsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1582
1646
  x0: typeof Schema.BigIntFromSelf;
@@ -1590,20 +1654,14 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1590
1654
  x2: typeof Schema.BigIntFromSelf;
1591
1655
  x3: typeof Schema.BigIntFromSelf;
1592
1656
  }>, typeof Schema.BigIntFromSelf>>;
1593
- uncles: Schema.Array$<Schema.transform<Schema.Struct<{
1657
+ blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1594
1658
  x0: typeof Schema.BigIntFromSelf;
1595
1659
  x1: typeof Schema.BigIntFromSelf;
1596
- x2: typeof Schema.BigIntFromSelf;
1597
- x3: typeof Schema.BigIntFromSelf;
1598
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1599
- size: Schema.optional<Schema.transform<Schema.Struct<{
1660
+ }>, typeof Schema.BigIntFromSelf>>;
1661
+ excessBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
1600
1662
  x0: typeof Schema.BigIntFromSelf;
1601
1663
  x1: typeof Schema.BigIntFromSelf;
1602
- x2: typeof Schema.BigIntFromSelf;
1603
- x3: typeof Schema.BigIntFromSelf;
1604
1664
  }>, typeof Schema.BigIntFromSelf>>;
1605
- blobGasUsed: typeof Schema.BigIntFromSelf;
1606
- excessBlobGas: typeof Schema.BigIntFromSelf;
1607
1665
  parentBeaconBlockRoot: Schema.optional<Schema.transform<Schema.Struct<{
1608
1666
  x0: typeof Schema.BigIntFromSelf;
1609
1667
  x1: typeof Schema.BigIntFromSelf;
@@ -1612,30 +1670,27 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1612
1670
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1613
1671
  }>>;
1614
1672
  withdrawals: Schema.Array$<Schema.Struct<{
1673
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1674
+ withdrawalIndex: typeof Schema.Number;
1615
1675
  index: typeof Schema.BigIntFromSelf;
1616
- validatorIndex: typeof Schema.BigIntFromSelf;
1617
- withdrawalIndex: typeof Schema.BigIntFromSelf;
1676
+ validatorIndex: typeof Schema.Number;
1618
1677
  address: Schema.optional<Schema.transform<Schema.Struct<{
1619
1678
  x0: typeof Schema.BigIntFromSelf;
1620
1679
  x1: typeof Schema.BigIntFromSelf;
1621
1680
  x2: typeof Schema.Number;
1622
1681
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1623
- amount: Schema.optional<Schema.transform<Schema.Struct<{
1624
- x0: typeof Schema.BigIntFromSelf;
1625
- x1: typeof Schema.BigIntFromSelf;
1626
- x2: typeof Schema.BigIntFromSelf;
1627
- x3: typeof Schema.BigIntFromSelf;
1628
- }>, typeof Schema.BigIntFromSelf>>;
1682
+ amount: Schema.optional<typeof Schema.BigIntFromSelf>;
1629
1683
  }>>;
1630
1684
  transactions: Schema.Array$<Schema.Struct<{
1631
- hash: Schema.optional<Schema.transform<Schema.Struct<{
1685
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1686
+ transactionIndex: typeof Schema.Number;
1687
+ transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1632
1688
  x0: typeof Schema.BigIntFromSelf;
1633
1689
  x1: typeof Schema.BigIntFromSelf;
1634
1690
  x2: typeof Schema.BigIntFromSelf;
1635
1691
  x3: typeof Schema.BigIntFromSelf;
1636
1692
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1637
- nonce: typeof Schema.BigIntFromSelf;
1638
- transactionIndex: typeof Schema.BigIntFromSelf;
1693
+ nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
1639
1694
  from: Schema.optional<Schema.transform<Schema.Struct<{
1640
1695
  x0: typeof Schema.BigIntFromSelf;
1641
1696
  x1: typeof Schema.BigIntFromSelf;
@@ -1659,8 +1714,6 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1659
1714
  gas: Schema.optional<Schema.transform<Schema.Struct<{
1660
1715
  x0: typeof Schema.BigIntFromSelf;
1661
1716
  x1: typeof Schema.BigIntFromSelf;
1662
- x2: typeof Schema.BigIntFromSelf;
1663
- x3: typeof Schema.BigIntFromSelf;
1664
1717
  }>, typeof Schema.BigIntFromSelf>>;
1665
1718
  maxFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
1666
1719
  x0: typeof Schema.BigIntFromSelf;
@@ -1670,6 +1723,7 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1670
1723
  x0: typeof Schema.BigIntFromSelf;
1671
1724
  x1: typeof Schema.BigIntFromSelf;
1672
1725
  }>, typeof Schema.BigIntFromSelf>>;
1726
+ input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1673
1727
  signature: Schema.optional<Schema.Struct<{
1674
1728
  r: Schema.optional<Schema.transform<Schema.Struct<{
1675
1729
  x0: typeof Schema.BigIntFromSelf;
@@ -1691,7 +1745,7 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1691
1745
  }>, typeof Schema.BigIntFromSelf>>;
1692
1746
  YParity: Schema.optional<typeof Schema.Boolean>;
1693
1747
  }>>;
1694
- chainId: typeof Schema.BigIntFromSelf;
1748
+ chainId: Schema.optional<typeof Schema.BigIntFromSelf>;
1695
1749
  accessList: Schema.Array$<Schema.Struct<{
1696
1750
  address: Schema.optional<Schema.transform<Schema.Struct<{
1697
1751
  x0: typeof Schema.BigIntFromSelf;
@@ -1705,7 +1759,7 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1705
1759
  x3: typeof Schema.BigIntFromSelf;
1706
1760
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1707
1761
  }>>;
1708
- transactionType: typeof Schema.BigIntFromSelf;
1762
+ transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1709
1763
  maxFeePerBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
1710
1764
  x0: typeof Schema.BigIntFromSelf;
1711
1765
  x1: typeof Schema.BigIntFromSelf;
@@ -1716,26 +1770,24 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1716
1770
  x2: typeof Schema.BigIntFromSelf;
1717
1771
  x3: typeof Schema.BigIntFromSelf;
1718
1772
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1773
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1719
1774
  }>>;
1720
1775
  receipts: Schema.Array$<Schema.Struct<{
1776
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1777
+ transactionIndex: Schema.optional<typeof Schema.Number>;
1721
1778
  transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1722
1779
  x0: typeof Schema.BigIntFromSelf;
1723
1780
  x1: typeof Schema.BigIntFromSelf;
1724
1781
  x2: typeof Schema.BigIntFromSelf;
1725
1782
  x3: typeof Schema.BigIntFromSelf;
1726
1783
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1727
- transactionIndex: typeof Schema.BigIntFromSelf;
1728
1784
  cumulativeGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1729
1785
  x0: typeof Schema.BigIntFromSelf;
1730
1786
  x1: typeof Schema.BigIntFromSelf;
1731
- x2: typeof Schema.BigIntFromSelf;
1732
- x3: typeof Schema.BigIntFromSelf;
1733
1787
  }>, typeof Schema.BigIntFromSelf>>;
1734
1788
  gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1735
1789
  x0: typeof Schema.BigIntFromSelf;
1736
1790
  x1: typeof Schema.BigIntFromSelf;
1737
- x2: typeof Schema.BigIntFromSelf;
1738
- x3: typeof Schema.BigIntFromSelf;
1739
1791
  }>, typeof Schema.BigIntFromSelf>>;
1740
1792
  effectiveGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
1741
1793
  x0: typeof Schema.BigIntFromSelf;
@@ -1759,8 +1811,7 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1759
1811
  logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
1760
1812
  value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1761
1813
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1762
- statusCode: typeof Schema.BigIntFromSelf;
1763
- transactionType: typeof Schema.BigIntFromSelf;
1814
+ transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1764
1815
  blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1765
1816
  x0: typeof Schema.BigIntFromSelf;
1766
1817
  x1: typeof Schema.BigIntFromSelf;
@@ -1769,8 +1820,10 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1769
1820
  x0: typeof Schema.BigIntFromSelf;
1770
1821
  x1: typeof Schema.BigIntFromSelf;
1771
1822
  }>, typeof Schema.BigIntFromSelf>>;
1823
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1772
1824
  }>>;
1773
1825
  logs: Schema.Array$<Schema.Struct<{
1826
+ filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1774
1827
  address: Schema.optional<Schema.transform<Schema.Struct<{
1775
1828
  x0: typeof Schema.BigIntFromSelf;
1776
1829
  x1: typeof Schema.BigIntFromSelf;
@@ -1782,119 +1835,132 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1782
1835
  x2: typeof Schema.BigIntFromSelf;
1783
1836
  x3: typeof Schema.BigIntFromSelf;
1784
1837
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1785
- logIndex: typeof Schema.BigIntFromSelf;
1786
- transactionIndex: typeof Schema.BigIntFromSelf;
1838
+ data: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1839
+ logIndex: typeof Schema.Number;
1840
+ transactionIndex: typeof Schema.Number;
1787
1841
  transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1788
1842
  x0: typeof Schema.BigIntFromSelf;
1789
1843
  x1: typeof Schema.BigIntFromSelf;
1790
1844
  x2: typeof Schema.BigIntFromSelf;
1791
1845
  x3: typeof Schema.BigIntFromSelf;
1792
1846
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1847
+ transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1793
1848
  }>>;
1794
1849
  }>>>;
1795
1850
 
1796
1851
  declare const EvmStream: StreamConfig<{
1797
- readonly header?: {
1798
- readonly always?: boolean | undefined;
1799
- } | undefined;
1852
+ readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
1800
1853
  readonly withdrawals?: readonly {
1801
- readonly validatorIndex?: bigint | undefined;
1802
- readonly address?: `0x${string}` | undefined;
1803
- }[] | undefined;
1804
- readonly logs?: readonly {
1854
+ readonly id?: number | undefined;
1855
+ readonly validatorIndex?: number | undefined;
1805
1856
  readonly address?: `0x${string}` | undefined;
1806
- readonly topics?: readonly (`0x${string}` | null)[] | undefined;
1807
- readonly strict?: boolean | undefined;
1808
- readonly includeTransaction?: boolean | undefined;
1809
- readonly includeReceipt?: boolean | undefined;
1810
1857
  }[] | undefined;
1811
1858
  readonly transactions?: readonly {
1859
+ readonly id?: number | undefined;
1812
1860
  readonly from?: `0x${string}` | undefined;
1813
1861
  readonly to?: `0x${string}` | undefined;
1862
+ readonly create?: boolean | undefined;
1863
+ readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
1814
1864
  readonly includeReceipt?: boolean | undefined;
1815
1865
  readonly includeLogs?: boolean | undefined;
1816
1866
  }[] | undefined;
1867
+ readonly logs?: readonly {
1868
+ readonly id?: number | undefined;
1869
+ readonly address?: `0x${string}` | undefined;
1870
+ readonly transactionStatus?: "succeeded" | "reverted" | "all" | "unknown" | undefined;
1871
+ readonly includeReceipt?: boolean | undefined;
1872
+ readonly topics?: readonly (`0x${string}` | null)[] | undefined;
1873
+ readonly strict?: boolean | undefined;
1874
+ readonly includeTransaction?: boolean | undefined;
1875
+ }[] | undefined;
1817
1876
  }, {
1818
1877
  readonly header?: {
1819
- readonly number: bigint;
1820
- readonly hash?: `0x${string}` | undefined;
1821
- readonly nonce: bigint;
1878
+ readonly nonce?: bigint | undefined;
1822
1879
  readonly gasUsed?: bigint | undefined;
1823
1880
  readonly logsBloom?: `0x${string}` | undefined;
1824
- readonly blobGasUsed: bigint;
1825
- readonly parentHash?: `0x${string}` | undefined;
1826
- readonly uncleHash?: `0x${string}` | undefined;
1881
+ readonly blobGasUsed?: bigint | undefined;
1882
+ readonly blockNumber: bigint;
1883
+ readonly blockHash?: `0x${string}` | undefined;
1884
+ readonly parentBlockHash?: `0x${string}` | undefined;
1885
+ readonly unclesHash?: `0x${string}` | undefined;
1827
1886
  readonly miner?: `0x${string}` | undefined;
1828
1887
  readonly stateRoot?: `0x${string}` | undefined;
1829
- readonly transactionRoot?: `0x${string}` | undefined;
1830
- readonly receiptRoot?: `0x${string}` | undefined;
1888
+ readonly transactionsRoot?: `0x${string}` | undefined;
1889
+ readonly receiptsRoot?: `0x${string}` | undefined;
1831
1890
  readonly difficulty?: bigint | undefined;
1832
1891
  readonly gasLimit?: bigint | undefined;
1833
1892
  readonly timestamp?: Date | undefined;
1893
+ readonly extraData?: `0x${string}` | undefined;
1834
1894
  readonly mixHash?: `0x${string}` | undefined;
1835
1895
  readonly baseFeePerGas?: bigint | undefined;
1836
1896
  readonly withdrawalsRoot?: `0x${string}` | undefined;
1837
1897
  readonly totalDifficulty?: bigint | undefined;
1838
- readonly uncles: readonly `0x${string}`[];
1839
- readonly size?: bigint | undefined;
1840
- readonly excessBlobGas: bigint;
1898
+ readonly excessBlobGas?: bigint | undefined;
1841
1899
  readonly parentBeaconBlockRoot?: `0x${string}` | undefined;
1842
1900
  } | undefined;
1843
1901
  readonly withdrawals: readonly {
1844
- readonly validatorIndex: bigint;
1902
+ readonly validatorIndex: number;
1845
1903
  readonly address?: `0x${string}` | undefined;
1904
+ readonly filterIds?: readonly number[] | undefined;
1905
+ readonly withdrawalIndex: number;
1846
1906
  readonly index: bigint;
1847
- readonly withdrawalIndex: bigint;
1848
1907
  readonly amount?: bigint | undefined;
1849
1908
  }[];
1850
- readonly logs: readonly {
1851
- readonly address?: `0x${string}` | undefined;
1852
- readonly topics: readonly `0x${string}`[];
1853
- readonly transactionIndex: bigint;
1854
- readonly transactionHash?: `0x${string}` | undefined;
1855
- readonly logIndex: bigint;
1856
- }[];
1857
1909
  readonly transactions: readonly {
1858
1910
  readonly value?: bigint | undefined;
1859
1911
  readonly from?: `0x${string}` | undefined;
1860
1912
  readonly to?: `0x${string}` | undefined;
1861
- readonly hash?: `0x${string}` | undefined;
1862
- readonly nonce: bigint;
1863
- readonly transactionIndex: bigint;
1913
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | undefined;
1914
+ readonly filterIds?: readonly number[] | undefined;
1915
+ readonly transactionIndex: number;
1916
+ readonly transactionHash?: `0x${string}` | undefined;
1917
+ readonly nonce?: bigint | undefined;
1864
1918
  readonly gasPrice?: bigint | undefined;
1865
1919
  readonly gas?: bigint | undefined;
1866
1920
  readonly maxFeePerGas?: bigint | undefined;
1867
1921
  readonly maxPriorityFeePerGas?: bigint | undefined;
1922
+ readonly input?: `0x${string}` | undefined;
1868
1923
  readonly signature?: {
1869
1924
  readonly r?: bigint | undefined;
1870
1925
  readonly s?: bigint | undefined;
1871
1926
  readonly v?: bigint | undefined;
1872
1927
  readonly YParity?: boolean | undefined;
1873
1928
  } | undefined;
1874
- readonly chainId: bigint;
1929
+ readonly chainId?: bigint | undefined;
1875
1930
  readonly accessList: readonly {
1876
1931
  readonly address?: `0x${string}` | undefined;
1877
1932
  readonly storageKeys: readonly `0x${string}`[];
1878
1933
  }[];
1879
- readonly transactionType: bigint;
1934
+ readonly transactionType?: bigint | undefined;
1880
1935
  readonly maxFeePerBlobGas?: bigint | undefined;
1881
1936
  readonly blobVersionedHashes: readonly `0x${string}`[];
1882
1937
  }[];
1938
+ readonly logs: readonly {
1939
+ readonly address?: `0x${string}` | undefined;
1940
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | undefined;
1941
+ readonly topics: readonly `0x${string}`[];
1942
+ readonly filterIds?: readonly number[] | undefined;
1943
+ readonly transactionIndex: number;
1944
+ readonly transactionHash?: `0x${string}` | undefined;
1945
+ readonly data?: `0x${string}` | undefined;
1946
+ readonly logIndex: number;
1947
+ }[];
1883
1948
  readonly receipts: readonly {
1884
1949
  readonly from?: `0x${string}` | undefined;
1885
1950
  readonly to?: `0x${string}` | undefined;
1886
- readonly transactionIndex: bigint;
1887
- readonly transactionType: bigint;
1951
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | undefined;
1952
+ readonly filterIds?: readonly number[] | undefined;
1953
+ readonly transactionIndex?: number | undefined;
1888
1954
  readonly transactionHash?: `0x${string}` | undefined;
1955
+ readonly transactionType?: bigint | undefined;
1889
1956
  readonly cumulativeGasUsed?: bigint | undefined;
1890
1957
  readonly gasUsed?: bigint | undefined;
1891
1958
  readonly effectiveGasPrice?: bigint | undefined;
1892
1959
  readonly contractAddress?: `0x${string}` | undefined;
1893
1960
  readonly logsBloom?: `0x${string}` | undefined;
1894
- readonly statusCode: bigint;
1895
1961
  readonly blobGasUsed?: bigint | undefined;
1896
1962
  readonly blobGasPrice?: bigint | undefined;
1897
1963
  }[];
1898
1964
  }>;
1899
1965
 
1900
- export { AccessListItem, Address, B256, Block, BlockFromBytes, BlockHeader, Bloom, EvmStream, Filter, FilterFromBytes, HeaderFilter, HexData, Log, LogFilter, Signature, Topic, Transaction, TransactionFilter, TransactionReceipt, U128, U256, Withdrawal, WithdrawalFilter, b256FromProto, b256ToProto, filterFromBytes, filterFromProto, filterToBytes, filterToProto, mergeFilter, index as proto, u128FromProto, u128ToProto, u256FromProto, u256ToProto };
1966
+ export { AccessListItem, Address, B256, B256Proto, Block, BlockFromBytes, BlockHeader, Bloom, EvmStream, Filter, FilterFromBytes, HeaderFilter, Log, LogFilter, Signature, Topic, Transaction, TransactionFilter, TransactionReceipt, TransactionStatus, TransactionStatusFilter, U128, U256, Withdrawal, WithdrawalFilter, b256FromProto, b256ToProto, filterFromBytes, filterFromProto, filterToBytes, filterToProto, mergeFilter, index as proto, u128FromProto, u128ToProto, u256FromProto, u256ToProto };