@apibara/evm 2.0.1-beta.9 → 2.1.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -300,6 +300,8 @@ interface Log$1 {
300
300
  readonly transactionHash?: B256$1 | undefined;
301
301
  /** The transaction status. */
302
302
  readonly transactionStatus?: TransactionStatus$1 | undefined;
303
+ /** Index of the log in the transaction. */
304
+ readonly logIndexInTransaction?: number | undefined;
303
305
  }
304
306
  declare const Log$1: {
305
307
  encode(message: Log$1, writer?: _m0.Writer): _m0.Writer;
@@ -977,65 +979,65 @@ declare const TransactionStatus: Schema.transform<Schema.Enums<typeof Transactio
977
979
  type TransactionStatus = typeof TransactionStatus.Type;
978
980
  declare const BlockHeader: Schema.Struct<{
979
981
  blockNumber: typeof Schema.BigIntFromSelf;
980
- blockHash: Schema.optional<Schema.transform<Schema.Struct<{
982
+ blockHash: Schema.transform<Schema.Struct<{
981
983
  x0: typeof Schema.BigIntFromSelf;
982
984
  x1: typeof Schema.BigIntFromSelf;
983
985
  x2: typeof Schema.BigIntFromSelf;
984
986
  x3: typeof Schema.BigIntFromSelf;
985
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
986
- parentBlockHash: Schema.optional<Schema.transform<Schema.Struct<{
987
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
988
+ parentBlockHash: Schema.transform<Schema.Struct<{
987
989
  x0: typeof Schema.BigIntFromSelf;
988
990
  x1: typeof Schema.BigIntFromSelf;
989
991
  x2: typeof Schema.BigIntFromSelf;
990
992
  x3: typeof Schema.BigIntFromSelf;
991
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
992
- unclesHash: Schema.optional<Schema.transform<Schema.Struct<{
993
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
994
+ unclesHash: Schema.transform<Schema.Struct<{
993
995
  x0: typeof Schema.BigIntFromSelf;
994
996
  x1: typeof Schema.BigIntFromSelf;
995
997
  x2: typeof Schema.BigIntFromSelf;
996
998
  x3: typeof Schema.BigIntFromSelf;
997
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
998
- miner: Schema.optional<Schema.transform<Schema.Struct<{
999
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1000
+ miner: Schema.transform<Schema.Struct<{
999
1001
  x0: typeof Schema.BigIntFromSelf;
1000
1002
  x1: typeof Schema.BigIntFromSelf;
1001
1003
  x2: typeof Schema.Number;
1002
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1003
- stateRoot: Schema.optional<Schema.transform<Schema.Struct<{
1004
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1005
+ stateRoot: Schema.transform<Schema.Struct<{
1004
1006
  x0: typeof Schema.BigIntFromSelf;
1005
1007
  x1: typeof Schema.BigIntFromSelf;
1006
1008
  x2: typeof Schema.BigIntFromSelf;
1007
1009
  x3: typeof Schema.BigIntFromSelf;
1008
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1009
- transactionsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1010
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1011
+ transactionsRoot: Schema.transform<Schema.Struct<{
1010
1012
  x0: typeof Schema.BigIntFromSelf;
1011
1013
  x1: typeof Schema.BigIntFromSelf;
1012
1014
  x2: typeof Schema.BigIntFromSelf;
1013
1015
  x3: typeof Schema.BigIntFromSelf;
1014
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1015
- receiptsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1016
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1017
+ receiptsRoot: Schema.transform<Schema.Struct<{
1016
1018
  x0: typeof Schema.BigIntFromSelf;
1017
1019
  x1: typeof Schema.BigIntFromSelf;
1018
1020
  x2: typeof Schema.BigIntFromSelf;
1019
1021
  x3: typeof Schema.BigIntFromSelf;
1020
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1021
- logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
1022
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1023
+ logsBloom: Schema.transform<Schema.Struct<{
1022
1024
  value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1023
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1024
- difficulty: Schema.optional<Schema.transform<Schema.Struct<{
1025
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1026
+ difficulty: Schema.transform<Schema.Struct<{
1025
1027
  x0: typeof Schema.BigIntFromSelf;
1026
1028
  x1: typeof Schema.BigIntFromSelf;
1027
1029
  x2: typeof Schema.BigIntFromSelf;
1028
1030
  x3: typeof Schema.BigIntFromSelf;
1029
- }>, typeof Schema.BigIntFromSelf>>;
1030
- gasLimit: Schema.optional<Schema.transform<Schema.Struct<{
1031
+ }>, typeof Schema.BigIntFromSelf>;
1032
+ gasLimit: Schema.transform<Schema.Struct<{
1031
1033
  x0: typeof Schema.BigIntFromSelf;
1032
1034
  x1: typeof Schema.BigIntFromSelf;
1033
- }>, typeof Schema.BigIntFromSelf>>;
1034
- gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1035
+ }>, typeof Schema.BigIntFromSelf>;
1036
+ gasUsed: Schema.transform<Schema.Struct<{
1035
1037
  x0: typeof Schema.BigIntFromSelf;
1036
1038
  x1: typeof Schema.BigIntFromSelf;
1037
- }>, typeof Schema.BigIntFromSelf>>;
1038
- timestamp: Schema.optional<typeof Schema.DateFromSelf>;
1039
+ }>, typeof Schema.BigIntFromSelf>;
1040
+ timestamp: typeof Schema.DateFromSelf;
1039
1041
  extraData: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1040
1042
  mixHash: Schema.optional<Schema.transform<Schema.Struct<{
1041
1043
  x0: typeof Schema.BigIntFromSelf;
@@ -1077,23 +1079,23 @@ declare const BlockHeader: Schema.Struct<{
1077
1079
  }>;
1078
1080
  type BlockHeader = typeof BlockHeader.Type;
1079
1081
  declare const Withdrawal: Schema.Struct<{
1080
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1082
+ filterIds: Schema.Array$<typeof Schema.Number>;
1081
1083
  withdrawalIndex: typeof Schema.Number;
1082
1084
  index: typeof Schema.BigIntFromSelf;
1083
1085
  validatorIndex: typeof Schema.Number;
1084
- address: Schema.optional<Schema.transform<Schema.Struct<{
1086
+ address: Schema.transform<Schema.Struct<{
1085
1087
  x0: typeof Schema.BigIntFromSelf;
1086
1088
  x1: typeof Schema.BigIntFromSelf;
1087
1089
  x2: typeof Schema.Number;
1088
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1089
- amount: Schema.optional<typeof Schema.BigIntFromSelf>;
1090
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1091
+ amount: typeof Schema.BigIntFromSelf;
1090
1092
  }>;
1091
1093
  declare const AccessListItem: Schema.Struct<{
1092
- address: Schema.optional<Schema.transform<Schema.Struct<{
1094
+ address: Schema.transform<Schema.Struct<{
1093
1095
  x0: typeof Schema.BigIntFromSelf;
1094
1096
  x1: typeof Schema.BigIntFromSelf;
1095
1097
  x2: typeof Schema.Number;
1096
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1098
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1097
1099
  storageKeys: Schema.Array$<Schema.transform<Schema.Struct<{
1098
1100
  x0: typeof Schema.BigIntFromSelf;
1099
1101
  x1: typeof Schema.BigIntFromSelf;
@@ -1102,60 +1104,60 @@ declare const AccessListItem: Schema.Struct<{
1102
1104
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1103
1105
  }>;
1104
1106
  declare const Signature: Schema.Struct<{
1105
- r: Schema.optional<Schema.transform<Schema.Struct<{
1107
+ r: Schema.transform<Schema.Struct<{
1106
1108
  x0: typeof Schema.BigIntFromSelf;
1107
1109
  x1: typeof Schema.BigIntFromSelf;
1108
1110
  x2: typeof Schema.BigIntFromSelf;
1109
1111
  x3: typeof Schema.BigIntFromSelf;
1110
- }>, typeof Schema.BigIntFromSelf>>;
1111
- s: Schema.optional<Schema.transform<Schema.Struct<{
1112
+ }>, typeof Schema.BigIntFromSelf>;
1113
+ s: Schema.transform<Schema.Struct<{
1112
1114
  x0: typeof Schema.BigIntFromSelf;
1113
1115
  x1: typeof Schema.BigIntFromSelf;
1114
1116
  x2: typeof Schema.BigIntFromSelf;
1115
1117
  x3: typeof Schema.BigIntFromSelf;
1116
- }>, typeof Schema.BigIntFromSelf>>;
1117
- v: Schema.optional<Schema.transform<Schema.Struct<{
1118
+ }>, typeof Schema.BigIntFromSelf>;
1119
+ v: Schema.transform<Schema.Struct<{
1118
1120
  x0: typeof Schema.BigIntFromSelf;
1119
1121
  x1: typeof Schema.BigIntFromSelf;
1120
1122
  x2: typeof Schema.BigIntFromSelf;
1121
1123
  x3: typeof Schema.BigIntFromSelf;
1122
- }>, typeof Schema.BigIntFromSelf>>;
1124
+ }>, typeof Schema.BigIntFromSelf>;
1123
1125
  YParity: Schema.optional<typeof Schema.Boolean>;
1124
1126
  }>;
1125
1127
  declare const Transaction: Schema.Struct<{
1126
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1128
+ filterIds: Schema.Array$<typeof Schema.Number>;
1127
1129
  transactionIndex: typeof Schema.Number;
1128
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1130
+ transactionHash: Schema.transform<Schema.Struct<{
1129
1131
  x0: typeof Schema.BigIntFromSelf;
1130
1132
  x1: typeof Schema.BigIntFromSelf;
1131
1133
  x2: typeof Schema.BigIntFromSelf;
1132
1134
  x3: typeof Schema.BigIntFromSelf;
1133
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1134
- nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
1135
- from: Schema.optional<Schema.transform<Schema.Struct<{
1135
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1136
+ nonce: typeof Schema.BigIntFromSelf;
1137
+ from: Schema.transform<Schema.Struct<{
1136
1138
  x0: typeof Schema.BigIntFromSelf;
1137
1139
  x1: typeof Schema.BigIntFromSelf;
1138
1140
  x2: typeof Schema.Number;
1139
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1141
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1140
1142
  to: Schema.optional<Schema.transform<Schema.Struct<{
1141
1143
  x0: typeof Schema.BigIntFromSelf;
1142
1144
  x1: typeof Schema.BigIntFromSelf;
1143
1145
  x2: typeof Schema.Number;
1144
1146
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1145
- value: Schema.optional<Schema.transform<Schema.Struct<{
1147
+ value: Schema.transform<Schema.Struct<{
1146
1148
  x0: typeof Schema.BigIntFromSelf;
1147
1149
  x1: typeof Schema.BigIntFromSelf;
1148
1150
  x2: typeof Schema.BigIntFromSelf;
1149
1151
  x3: typeof Schema.BigIntFromSelf;
1150
- }>, typeof Schema.BigIntFromSelf>>;
1152
+ }>, typeof Schema.BigIntFromSelf>;
1151
1153
  gasPrice: Schema.optional<Schema.transform<Schema.Struct<{
1152
1154
  x0: typeof Schema.BigIntFromSelf;
1153
1155
  x1: typeof Schema.BigIntFromSelf;
1154
1156
  }>, typeof Schema.BigIntFromSelf>>;
1155
- gas: Schema.optional<Schema.transform<Schema.Struct<{
1157
+ gas: Schema.transform<Schema.Struct<{
1156
1158
  x0: typeof Schema.BigIntFromSelf;
1157
1159
  x1: typeof Schema.BigIntFromSelf;
1158
- }>, typeof Schema.BigIntFromSelf>>;
1160
+ }>, typeof Schema.BigIntFromSelf>;
1159
1161
  maxFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
1160
1162
  x0: typeof Schema.BigIntFromSelf;
1161
1163
  x1: typeof Schema.BigIntFromSelf;
@@ -1166,33 +1168,33 @@ declare const Transaction: Schema.Struct<{
1166
1168
  }>, typeof Schema.BigIntFromSelf>>;
1167
1169
  input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1168
1170
  signature: Schema.optional<Schema.Struct<{
1169
- r: Schema.optional<Schema.transform<Schema.Struct<{
1171
+ r: Schema.transform<Schema.Struct<{
1170
1172
  x0: typeof Schema.BigIntFromSelf;
1171
1173
  x1: typeof Schema.BigIntFromSelf;
1172
1174
  x2: typeof Schema.BigIntFromSelf;
1173
1175
  x3: typeof Schema.BigIntFromSelf;
1174
- }>, typeof Schema.BigIntFromSelf>>;
1175
- s: Schema.optional<Schema.transform<Schema.Struct<{
1176
+ }>, typeof Schema.BigIntFromSelf>;
1177
+ s: Schema.transform<Schema.Struct<{
1176
1178
  x0: typeof Schema.BigIntFromSelf;
1177
1179
  x1: typeof Schema.BigIntFromSelf;
1178
1180
  x2: typeof Schema.BigIntFromSelf;
1179
1181
  x3: typeof Schema.BigIntFromSelf;
1180
- }>, typeof Schema.BigIntFromSelf>>;
1181
- v: Schema.optional<Schema.transform<Schema.Struct<{
1182
+ }>, typeof Schema.BigIntFromSelf>;
1183
+ v: Schema.transform<Schema.Struct<{
1182
1184
  x0: typeof Schema.BigIntFromSelf;
1183
1185
  x1: typeof Schema.BigIntFromSelf;
1184
1186
  x2: typeof Schema.BigIntFromSelf;
1185
1187
  x3: typeof Schema.BigIntFromSelf;
1186
- }>, typeof Schema.BigIntFromSelf>>;
1188
+ }>, typeof Schema.BigIntFromSelf>;
1187
1189
  YParity: Schema.optional<typeof Schema.Boolean>;
1188
1190
  }>>;
1189
1191
  chainId: Schema.optional<typeof Schema.BigIntFromSelf>;
1190
1192
  accessList: Schema.Array$<Schema.Struct<{
1191
- address: Schema.optional<Schema.transform<Schema.Struct<{
1193
+ address: Schema.transform<Schema.Struct<{
1192
1194
  x0: typeof Schema.BigIntFromSelf;
1193
1195
  x1: typeof Schema.BigIntFromSelf;
1194
1196
  x2: typeof Schema.Number;
1195
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1197
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1196
1198
  storageKeys: Schema.Array$<Schema.transform<Schema.Struct<{
1197
1199
  x0: typeof Schema.BigIntFromSelf;
1198
1200
  x1: typeof Schema.BigIntFromSelf;
@@ -1200,7 +1202,7 @@ declare const Transaction: Schema.Struct<{
1200
1202
  x3: typeof Schema.BigIntFromSelf;
1201
1203
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1202
1204
  }>>;
1203
- transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1205
+ transactionType: typeof Schema.BigIntFromSelf;
1204
1206
  maxFeePerBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
1205
1207
  x0: typeof Schema.BigIntFromSelf;
1206
1208
  x1: typeof Schema.BigIntFromSelf;
@@ -1211,34 +1213,34 @@ declare const Transaction: Schema.Struct<{
1211
1213
  x2: typeof Schema.BigIntFromSelf;
1212
1214
  x3: typeof Schema.BigIntFromSelf;
1213
1215
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1214
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1216
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
1215
1217
  }>;
1216
1218
  declare const TransactionReceipt: Schema.Struct<{
1217
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1218
- transactionIndex: Schema.optional<typeof Schema.Number>;
1219
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1219
+ filterIds: Schema.Array$<typeof Schema.Number>;
1220
+ transactionIndex: typeof Schema.Number;
1221
+ transactionHash: Schema.transform<Schema.Struct<{
1220
1222
  x0: typeof Schema.BigIntFromSelf;
1221
1223
  x1: typeof Schema.BigIntFromSelf;
1222
1224
  x2: typeof Schema.BigIntFromSelf;
1223
1225
  x3: typeof Schema.BigIntFromSelf;
1224
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1225
- cumulativeGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1226
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1227
+ cumulativeGasUsed: Schema.transform<Schema.Struct<{
1226
1228
  x0: typeof Schema.BigIntFromSelf;
1227
1229
  x1: typeof Schema.BigIntFromSelf;
1228
- }>, typeof Schema.BigIntFromSelf>>;
1229
- gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1230
+ }>, typeof Schema.BigIntFromSelf>;
1231
+ gasUsed: Schema.transform<Schema.Struct<{
1230
1232
  x0: typeof Schema.BigIntFromSelf;
1231
1233
  x1: typeof Schema.BigIntFromSelf;
1232
- }>, typeof Schema.BigIntFromSelf>>;
1233
- effectiveGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
1234
+ }>, typeof Schema.BigIntFromSelf>;
1235
+ effectiveGasPrice: Schema.transform<Schema.Struct<{
1234
1236
  x0: typeof Schema.BigIntFromSelf;
1235
1237
  x1: typeof Schema.BigIntFromSelf;
1236
- }>, typeof Schema.BigIntFromSelf>>;
1237
- from: Schema.optional<Schema.transform<Schema.Struct<{
1238
+ }>, typeof Schema.BigIntFromSelf>;
1239
+ from: Schema.transform<Schema.Struct<{
1238
1240
  x0: typeof Schema.BigIntFromSelf;
1239
1241
  x1: typeof Schema.BigIntFromSelf;
1240
1242
  x2: typeof Schema.Number;
1241
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1243
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1242
1244
  to: Schema.optional<Schema.transform<Schema.Struct<{
1243
1245
  x0: typeof Schema.BigIntFromSelf;
1244
1246
  x1: typeof Schema.BigIntFromSelf;
@@ -1249,10 +1251,10 @@ declare const TransactionReceipt: Schema.Struct<{
1249
1251
  x1: typeof Schema.BigIntFromSelf;
1250
1252
  x2: typeof Schema.Number;
1251
1253
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1252
- logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
1254
+ logsBloom: Schema.transform<Schema.Struct<{
1253
1255
  value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1254
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1255
- transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1256
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1257
+ transactionType: typeof Schema.BigIntFromSelf;
1256
1258
  blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1257
1259
  x0: typeof Schema.BigIntFromSelf;
1258
1260
  x1: typeof Schema.BigIntFromSelf;
@@ -1261,15 +1263,15 @@ declare const TransactionReceipt: Schema.Struct<{
1261
1263
  x0: typeof Schema.BigIntFromSelf;
1262
1264
  x1: typeof Schema.BigIntFromSelf;
1263
1265
  }>, typeof Schema.BigIntFromSelf>>;
1264
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1266
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
1265
1267
  }>;
1266
1268
  declare const Log: Schema.Struct<{
1267
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1268
- address: Schema.optional<Schema.transform<Schema.Struct<{
1269
+ filterIds: Schema.Array$<typeof Schema.Number>;
1270
+ address: Schema.transform<Schema.Struct<{
1269
1271
  x0: typeof Schema.BigIntFromSelf;
1270
1272
  x1: typeof Schema.BigIntFromSelf;
1271
1273
  x2: typeof Schema.Number;
1272
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1274
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1273
1275
  topics: Schema.Array$<Schema.transform<Schema.Struct<{
1274
1276
  x0: typeof Schema.BigIntFromSelf;
1275
1277
  x1: typeof Schema.BigIntFromSelf;
@@ -1278,78 +1280,79 @@ declare const Log: Schema.Struct<{
1278
1280
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1279
1281
  data: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1280
1282
  logIndex: typeof Schema.Number;
1283
+ logIndexInTransaction: typeof Schema.Number;
1281
1284
  transactionIndex: typeof Schema.Number;
1282
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1285
+ transactionHash: Schema.transform<Schema.Struct<{
1283
1286
  x0: typeof Schema.BigIntFromSelf;
1284
1287
  x1: typeof Schema.BigIntFromSelf;
1285
1288
  x2: typeof Schema.BigIntFromSelf;
1286
1289
  x3: typeof Schema.BigIntFromSelf;
1287
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1288
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1290
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1291
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
1289
1292
  }>;
1290
1293
  type Log = typeof Log.Type;
1291
1294
  declare const Block: Schema.Struct<{
1292
- header: Schema.optional<Schema.Struct<{
1295
+ header: Schema.Struct<{
1293
1296
  blockNumber: typeof Schema.BigIntFromSelf;
1294
- blockHash: Schema.optional<Schema.transform<Schema.Struct<{
1297
+ blockHash: Schema.transform<Schema.Struct<{
1295
1298
  x0: typeof Schema.BigIntFromSelf;
1296
1299
  x1: typeof Schema.BigIntFromSelf;
1297
1300
  x2: typeof Schema.BigIntFromSelf;
1298
1301
  x3: typeof Schema.BigIntFromSelf;
1299
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1300
- parentBlockHash: Schema.optional<Schema.transform<Schema.Struct<{
1302
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1303
+ parentBlockHash: Schema.transform<Schema.Struct<{
1301
1304
  x0: typeof Schema.BigIntFromSelf;
1302
1305
  x1: typeof Schema.BigIntFromSelf;
1303
1306
  x2: typeof Schema.BigIntFromSelf;
1304
1307
  x3: typeof Schema.BigIntFromSelf;
1305
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1306
- unclesHash: Schema.optional<Schema.transform<Schema.Struct<{
1308
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1309
+ unclesHash: Schema.transform<Schema.Struct<{
1307
1310
  x0: typeof Schema.BigIntFromSelf;
1308
1311
  x1: typeof Schema.BigIntFromSelf;
1309
1312
  x2: typeof Schema.BigIntFromSelf;
1310
1313
  x3: typeof Schema.BigIntFromSelf;
1311
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1312
- miner: Schema.optional<Schema.transform<Schema.Struct<{
1314
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1315
+ miner: Schema.transform<Schema.Struct<{
1313
1316
  x0: typeof Schema.BigIntFromSelf;
1314
1317
  x1: typeof Schema.BigIntFromSelf;
1315
1318
  x2: typeof Schema.Number;
1316
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1317
- stateRoot: Schema.optional<Schema.transform<Schema.Struct<{
1319
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1320
+ stateRoot: Schema.transform<Schema.Struct<{
1318
1321
  x0: typeof Schema.BigIntFromSelf;
1319
1322
  x1: typeof Schema.BigIntFromSelf;
1320
1323
  x2: typeof Schema.BigIntFromSelf;
1321
1324
  x3: typeof Schema.BigIntFromSelf;
1322
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1323
- transactionsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1325
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1326
+ transactionsRoot: Schema.transform<Schema.Struct<{
1324
1327
  x0: typeof Schema.BigIntFromSelf;
1325
1328
  x1: typeof Schema.BigIntFromSelf;
1326
1329
  x2: typeof Schema.BigIntFromSelf;
1327
1330
  x3: typeof Schema.BigIntFromSelf;
1328
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1329
- receiptsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1331
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1332
+ receiptsRoot: Schema.transform<Schema.Struct<{
1330
1333
  x0: typeof Schema.BigIntFromSelf;
1331
1334
  x1: typeof Schema.BigIntFromSelf;
1332
1335
  x2: typeof Schema.BigIntFromSelf;
1333
1336
  x3: typeof Schema.BigIntFromSelf;
1334
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1335
- logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
1337
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1338
+ logsBloom: Schema.transform<Schema.Struct<{
1336
1339
  value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1337
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1338
- difficulty: Schema.optional<Schema.transform<Schema.Struct<{
1340
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1341
+ difficulty: Schema.transform<Schema.Struct<{
1339
1342
  x0: typeof Schema.BigIntFromSelf;
1340
1343
  x1: typeof Schema.BigIntFromSelf;
1341
1344
  x2: typeof Schema.BigIntFromSelf;
1342
1345
  x3: typeof Schema.BigIntFromSelf;
1343
- }>, typeof Schema.BigIntFromSelf>>;
1344
- gasLimit: Schema.optional<Schema.transform<Schema.Struct<{
1346
+ }>, typeof Schema.BigIntFromSelf>;
1347
+ gasLimit: Schema.transform<Schema.Struct<{
1345
1348
  x0: typeof Schema.BigIntFromSelf;
1346
1349
  x1: typeof Schema.BigIntFromSelf;
1347
- }>, typeof Schema.BigIntFromSelf>>;
1348
- gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1350
+ }>, typeof Schema.BigIntFromSelf>;
1351
+ gasUsed: Schema.transform<Schema.Struct<{
1349
1352
  x0: typeof Schema.BigIntFromSelf;
1350
1353
  x1: typeof Schema.BigIntFromSelf;
1351
- }>, typeof Schema.BigIntFromSelf>>;
1352
- timestamp: Schema.optional<typeof Schema.DateFromSelf>;
1354
+ }>, typeof Schema.BigIntFromSelf>;
1355
+ timestamp: typeof Schema.DateFromSelf;
1353
1356
  extraData: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1354
1357
  mixHash: Schema.optional<Schema.transform<Schema.Struct<{
1355
1358
  x0: typeof Schema.BigIntFromSelf;
@@ -1388,53 +1391,53 @@ declare const Block: Schema.Struct<{
1388
1391
  x2: typeof Schema.BigIntFromSelf;
1389
1392
  x3: typeof Schema.BigIntFromSelf;
1390
1393
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1391
- }>>;
1394
+ }>;
1392
1395
  withdrawals: Schema.Array$<Schema.Struct<{
1393
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1396
+ filterIds: Schema.Array$<typeof Schema.Number>;
1394
1397
  withdrawalIndex: typeof Schema.Number;
1395
1398
  index: typeof Schema.BigIntFromSelf;
1396
1399
  validatorIndex: typeof Schema.Number;
1397
- address: Schema.optional<Schema.transform<Schema.Struct<{
1400
+ address: Schema.transform<Schema.Struct<{
1398
1401
  x0: typeof Schema.BigIntFromSelf;
1399
1402
  x1: typeof Schema.BigIntFromSelf;
1400
1403
  x2: typeof Schema.Number;
1401
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1402
- amount: Schema.optional<typeof Schema.BigIntFromSelf>;
1404
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1405
+ amount: typeof Schema.BigIntFromSelf;
1403
1406
  }>>;
1404
1407
  transactions: Schema.Array$<Schema.Struct<{
1405
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1408
+ filterIds: Schema.Array$<typeof Schema.Number>;
1406
1409
  transactionIndex: typeof Schema.Number;
1407
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1410
+ transactionHash: Schema.transform<Schema.Struct<{
1408
1411
  x0: typeof Schema.BigIntFromSelf;
1409
1412
  x1: typeof Schema.BigIntFromSelf;
1410
1413
  x2: typeof Schema.BigIntFromSelf;
1411
1414
  x3: typeof Schema.BigIntFromSelf;
1412
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1413
- nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
1414
- from: Schema.optional<Schema.transform<Schema.Struct<{
1415
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1416
+ nonce: typeof Schema.BigIntFromSelf;
1417
+ from: Schema.transform<Schema.Struct<{
1415
1418
  x0: typeof Schema.BigIntFromSelf;
1416
1419
  x1: typeof Schema.BigIntFromSelf;
1417
1420
  x2: typeof Schema.Number;
1418
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1421
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1419
1422
  to: Schema.optional<Schema.transform<Schema.Struct<{
1420
1423
  x0: typeof Schema.BigIntFromSelf;
1421
1424
  x1: typeof Schema.BigIntFromSelf;
1422
1425
  x2: typeof Schema.Number;
1423
1426
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1424
- value: Schema.optional<Schema.transform<Schema.Struct<{
1427
+ value: Schema.transform<Schema.Struct<{
1425
1428
  x0: typeof Schema.BigIntFromSelf;
1426
1429
  x1: typeof Schema.BigIntFromSelf;
1427
1430
  x2: typeof Schema.BigIntFromSelf;
1428
1431
  x3: typeof Schema.BigIntFromSelf;
1429
- }>, typeof Schema.BigIntFromSelf>>;
1432
+ }>, typeof Schema.BigIntFromSelf>;
1430
1433
  gasPrice: Schema.optional<Schema.transform<Schema.Struct<{
1431
1434
  x0: typeof Schema.BigIntFromSelf;
1432
1435
  x1: typeof Schema.BigIntFromSelf;
1433
1436
  }>, typeof Schema.BigIntFromSelf>>;
1434
- gas: Schema.optional<Schema.transform<Schema.Struct<{
1437
+ gas: Schema.transform<Schema.Struct<{
1435
1438
  x0: typeof Schema.BigIntFromSelf;
1436
1439
  x1: typeof Schema.BigIntFromSelf;
1437
- }>, typeof Schema.BigIntFromSelf>>;
1440
+ }>, typeof Schema.BigIntFromSelf>;
1438
1441
  maxFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
1439
1442
  x0: typeof Schema.BigIntFromSelf;
1440
1443
  x1: typeof Schema.BigIntFromSelf;
@@ -1445,33 +1448,33 @@ declare const Block: Schema.Struct<{
1445
1448
  }>, typeof Schema.BigIntFromSelf>>;
1446
1449
  input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1447
1450
  signature: Schema.optional<Schema.Struct<{
1448
- r: Schema.optional<Schema.transform<Schema.Struct<{
1451
+ r: Schema.transform<Schema.Struct<{
1449
1452
  x0: typeof Schema.BigIntFromSelf;
1450
1453
  x1: typeof Schema.BigIntFromSelf;
1451
1454
  x2: typeof Schema.BigIntFromSelf;
1452
1455
  x3: typeof Schema.BigIntFromSelf;
1453
- }>, typeof Schema.BigIntFromSelf>>;
1454
- s: Schema.optional<Schema.transform<Schema.Struct<{
1456
+ }>, typeof Schema.BigIntFromSelf>;
1457
+ s: Schema.transform<Schema.Struct<{
1455
1458
  x0: typeof Schema.BigIntFromSelf;
1456
1459
  x1: typeof Schema.BigIntFromSelf;
1457
1460
  x2: typeof Schema.BigIntFromSelf;
1458
1461
  x3: typeof Schema.BigIntFromSelf;
1459
- }>, typeof Schema.BigIntFromSelf>>;
1460
- v: Schema.optional<Schema.transform<Schema.Struct<{
1462
+ }>, typeof Schema.BigIntFromSelf>;
1463
+ v: Schema.transform<Schema.Struct<{
1461
1464
  x0: typeof Schema.BigIntFromSelf;
1462
1465
  x1: typeof Schema.BigIntFromSelf;
1463
1466
  x2: typeof Schema.BigIntFromSelf;
1464
1467
  x3: typeof Schema.BigIntFromSelf;
1465
- }>, typeof Schema.BigIntFromSelf>>;
1468
+ }>, typeof Schema.BigIntFromSelf>;
1466
1469
  YParity: Schema.optional<typeof Schema.Boolean>;
1467
1470
  }>>;
1468
1471
  chainId: Schema.optional<typeof Schema.BigIntFromSelf>;
1469
1472
  accessList: Schema.Array$<Schema.Struct<{
1470
- address: Schema.optional<Schema.transform<Schema.Struct<{
1473
+ address: Schema.transform<Schema.Struct<{
1471
1474
  x0: typeof Schema.BigIntFromSelf;
1472
1475
  x1: typeof Schema.BigIntFromSelf;
1473
1476
  x2: typeof Schema.Number;
1474
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1477
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1475
1478
  storageKeys: Schema.Array$<Schema.transform<Schema.Struct<{
1476
1479
  x0: typeof Schema.BigIntFromSelf;
1477
1480
  x1: typeof Schema.BigIntFromSelf;
@@ -1479,7 +1482,7 @@ declare const Block: Schema.Struct<{
1479
1482
  x3: typeof Schema.BigIntFromSelf;
1480
1483
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1481
1484
  }>>;
1482
- transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1485
+ transactionType: typeof Schema.BigIntFromSelf;
1483
1486
  maxFeePerBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
1484
1487
  x0: typeof Schema.BigIntFromSelf;
1485
1488
  x1: typeof Schema.BigIntFromSelf;
@@ -1490,34 +1493,34 @@ declare const Block: Schema.Struct<{
1490
1493
  x2: typeof Schema.BigIntFromSelf;
1491
1494
  x3: typeof Schema.BigIntFromSelf;
1492
1495
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1493
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1496
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
1494
1497
  }>>;
1495
1498
  receipts: Schema.Array$<Schema.Struct<{
1496
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1497
- transactionIndex: Schema.optional<typeof Schema.Number>;
1498
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1499
+ filterIds: Schema.Array$<typeof Schema.Number>;
1500
+ transactionIndex: typeof Schema.Number;
1501
+ transactionHash: Schema.transform<Schema.Struct<{
1499
1502
  x0: typeof Schema.BigIntFromSelf;
1500
1503
  x1: typeof Schema.BigIntFromSelf;
1501
1504
  x2: typeof Schema.BigIntFromSelf;
1502
1505
  x3: typeof Schema.BigIntFromSelf;
1503
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1504
- cumulativeGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1506
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1507
+ cumulativeGasUsed: Schema.transform<Schema.Struct<{
1505
1508
  x0: typeof Schema.BigIntFromSelf;
1506
1509
  x1: typeof Schema.BigIntFromSelf;
1507
- }>, typeof Schema.BigIntFromSelf>>;
1508
- gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1510
+ }>, typeof Schema.BigIntFromSelf>;
1511
+ gasUsed: Schema.transform<Schema.Struct<{
1509
1512
  x0: typeof Schema.BigIntFromSelf;
1510
1513
  x1: typeof Schema.BigIntFromSelf;
1511
- }>, typeof Schema.BigIntFromSelf>>;
1512
- effectiveGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
1514
+ }>, typeof Schema.BigIntFromSelf>;
1515
+ effectiveGasPrice: Schema.transform<Schema.Struct<{
1513
1516
  x0: typeof Schema.BigIntFromSelf;
1514
1517
  x1: typeof Schema.BigIntFromSelf;
1515
- }>, typeof Schema.BigIntFromSelf>>;
1516
- from: Schema.optional<Schema.transform<Schema.Struct<{
1518
+ }>, typeof Schema.BigIntFromSelf>;
1519
+ from: Schema.transform<Schema.Struct<{
1517
1520
  x0: typeof Schema.BigIntFromSelf;
1518
1521
  x1: typeof Schema.BigIntFromSelf;
1519
1522
  x2: typeof Schema.Number;
1520
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1523
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1521
1524
  to: Schema.optional<Schema.transform<Schema.Struct<{
1522
1525
  x0: typeof Schema.BigIntFromSelf;
1523
1526
  x1: typeof Schema.BigIntFromSelf;
@@ -1528,10 +1531,10 @@ declare const Block: Schema.Struct<{
1528
1531
  x1: typeof Schema.BigIntFromSelf;
1529
1532
  x2: typeof Schema.Number;
1530
1533
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1531
- logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
1534
+ logsBloom: Schema.transform<Schema.Struct<{
1532
1535
  value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1533
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1534
- transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1536
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1537
+ transactionType: typeof Schema.BigIntFromSelf;
1535
1538
  blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1536
1539
  x0: typeof Schema.BigIntFromSelf;
1537
1540
  x1: typeof Schema.BigIntFromSelf;
@@ -1540,15 +1543,15 @@ declare const Block: Schema.Struct<{
1540
1543
  x0: typeof Schema.BigIntFromSelf;
1541
1544
  x1: typeof Schema.BigIntFromSelf;
1542
1545
  }>, typeof Schema.BigIntFromSelf>>;
1543
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1546
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
1544
1547
  }>>;
1545
1548
  logs: Schema.Array$<Schema.Struct<{
1546
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1547
- address: Schema.optional<Schema.transform<Schema.Struct<{
1549
+ filterIds: Schema.Array$<typeof Schema.Number>;
1550
+ address: Schema.transform<Schema.Struct<{
1548
1551
  x0: typeof Schema.BigIntFromSelf;
1549
1552
  x1: typeof Schema.BigIntFromSelf;
1550
1553
  x2: typeof Schema.Number;
1551
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1554
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1552
1555
  topics: Schema.Array$<Schema.transform<Schema.Struct<{
1553
1556
  x0: typeof Schema.BigIntFromSelf;
1554
1557
  x1: typeof Schema.BigIntFromSelf;
@@ -1557,79 +1560,80 @@ declare const Block: Schema.Struct<{
1557
1560
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1558
1561
  data: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1559
1562
  logIndex: typeof Schema.Number;
1563
+ logIndexInTransaction: typeof Schema.Number;
1560
1564
  transactionIndex: typeof Schema.Number;
1561
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1565
+ transactionHash: Schema.transform<Schema.Struct<{
1562
1566
  x0: typeof Schema.BigIntFromSelf;
1563
1567
  x1: typeof Schema.BigIntFromSelf;
1564
1568
  x2: typeof Schema.BigIntFromSelf;
1565
1569
  x3: typeof Schema.BigIntFromSelf;
1566
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1567
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1570
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1571
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
1568
1572
  }>>;
1569
1573
  }>;
1570
1574
  type Block = typeof Block.Type;
1571
1575
  declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.NullOr<Schema.Struct<{
1572
- header: Schema.optional<Schema.Struct<{
1576
+ header: Schema.Struct<{
1573
1577
  blockNumber: typeof Schema.BigIntFromSelf;
1574
- blockHash: Schema.optional<Schema.transform<Schema.Struct<{
1578
+ blockHash: Schema.transform<Schema.Struct<{
1575
1579
  x0: typeof Schema.BigIntFromSelf;
1576
1580
  x1: typeof Schema.BigIntFromSelf;
1577
1581
  x2: typeof Schema.BigIntFromSelf;
1578
1582
  x3: typeof Schema.BigIntFromSelf;
1579
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1580
- parentBlockHash: Schema.optional<Schema.transform<Schema.Struct<{
1583
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1584
+ parentBlockHash: Schema.transform<Schema.Struct<{
1581
1585
  x0: typeof Schema.BigIntFromSelf;
1582
1586
  x1: typeof Schema.BigIntFromSelf;
1583
1587
  x2: typeof Schema.BigIntFromSelf;
1584
1588
  x3: typeof Schema.BigIntFromSelf;
1585
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1586
- unclesHash: Schema.optional<Schema.transform<Schema.Struct<{
1589
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1590
+ unclesHash: Schema.transform<Schema.Struct<{
1587
1591
  x0: typeof Schema.BigIntFromSelf;
1588
1592
  x1: typeof Schema.BigIntFromSelf;
1589
1593
  x2: typeof Schema.BigIntFromSelf;
1590
1594
  x3: typeof Schema.BigIntFromSelf;
1591
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1592
- miner: Schema.optional<Schema.transform<Schema.Struct<{
1595
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1596
+ miner: Schema.transform<Schema.Struct<{
1593
1597
  x0: typeof Schema.BigIntFromSelf;
1594
1598
  x1: typeof Schema.BigIntFromSelf;
1595
1599
  x2: typeof Schema.Number;
1596
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1597
- stateRoot: Schema.optional<Schema.transform<Schema.Struct<{
1600
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1601
+ stateRoot: Schema.transform<Schema.Struct<{
1598
1602
  x0: typeof Schema.BigIntFromSelf;
1599
1603
  x1: typeof Schema.BigIntFromSelf;
1600
1604
  x2: typeof Schema.BigIntFromSelf;
1601
1605
  x3: typeof Schema.BigIntFromSelf;
1602
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1603
- transactionsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1606
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1607
+ transactionsRoot: Schema.transform<Schema.Struct<{
1604
1608
  x0: typeof Schema.BigIntFromSelf;
1605
1609
  x1: typeof Schema.BigIntFromSelf;
1606
1610
  x2: typeof Schema.BigIntFromSelf;
1607
1611
  x3: typeof Schema.BigIntFromSelf;
1608
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1609
- receiptsRoot: Schema.optional<Schema.transform<Schema.Struct<{
1612
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1613
+ receiptsRoot: Schema.transform<Schema.Struct<{
1610
1614
  x0: typeof Schema.BigIntFromSelf;
1611
1615
  x1: typeof Schema.BigIntFromSelf;
1612
1616
  x2: typeof Schema.BigIntFromSelf;
1613
1617
  x3: typeof Schema.BigIntFromSelf;
1614
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1615
- logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
1618
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1619
+ logsBloom: Schema.transform<Schema.Struct<{
1616
1620
  value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1617
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1618
- difficulty: Schema.optional<Schema.transform<Schema.Struct<{
1621
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1622
+ difficulty: Schema.transform<Schema.Struct<{
1619
1623
  x0: typeof Schema.BigIntFromSelf;
1620
1624
  x1: typeof Schema.BigIntFromSelf;
1621
1625
  x2: typeof Schema.BigIntFromSelf;
1622
1626
  x3: typeof Schema.BigIntFromSelf;
1623
- }>, typeof Schema.BigIntFromSelf>>;
1624
- gasLimit: Schema.optional<Schema.transform<Schema.Struct<{
1627
+ }>, typeof Schema.BigIntFromSelf>;
1628
+ gasLimit: Schema.transform<Schema.Struct<{
1625
1629
  x0: typeof Schema.BigIntFromSelf;
1626
1630
  x1: typeof Schema.BigIntFromSelf;
1627
- }>, typeof Schema.BigIntFromSelf>>;
1628
- gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1631
+ }>, typeof Schema.BigIntFromSelf>;
1632
+ gasUsed: Schema.transform<Schema.Struct<{
1629
1633
  x0: typeof Schema.BigIntFromSelf;
1630
1634
  x1: typeof Schema.BigIntFromSelf;
1631
- }>, typeof Schema.BigIntFromSelf>>;
1632
- timestamp: Schema.optional<typeof Schema.DateFromSelf>;
1635
+ }>, typeof Schema.BigIntFromSelf>;
1636
+ timestamp: typeof Schema.DateFromSelf;
1633
1637
  extraData: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1634
1638
  mixHash: Schema.optional<Schema.transform<Schema.Struct<{
1635
1639
  x0: typeof Schema.BigIntFromSelf;
@@ -1668,53 +1672,53 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1668
1672
  x2: typeof Schema.BigIntFromSelf;
1669
1673
  x3: typeof Schema.BigIntFromSelf;
1670
1674
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1671
- }>>;
1675
+ }>;
1672
1676
  withdrawals: Schema.Array$<Schema.Struct<{
1673
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1677
+ filterIds: Schema.Array$<typeof Schema.Number>;
1674
1678
  withdrawalIndex: typeof Schema.Number;
1675
1679
  index: typeof Schema.BigIntFromSelf;
1676
1680
  validatorIndex: typeof Schema.Number;
1677
- address: Schema.optional<Schema.transform<Schema.Struct<{
1681
+ address: Schema.transform<Schema.Struct<{
1678
1682
  x0: typeof Schema.BigIntFromSelf;
1679
1683
  x1: typeof Schema.BigIntFromSelf;
1680
1684
  x2: typeof Schema.Number;
1681
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1682
- amount: Schema.optional<typeof Schema.BigIntFromSelf>;
1685
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1686
+ amount: typeof Schema.BigIntFromSelf;
1683
1687
  }>>;
1684
1688
  transactions: Schema.Array$<Schema.Struct<{
1685
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1689
+ filterIds: Schema.Array$<typeof Schema.Number>;
1686
1690
  transactionIndex: typeof Schema.Number;
1687
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1691
+ transactionHash: Schema.transform<Schema.Struct<{
1688
1692
  x0: typeof Schema.BigIntFromSelf;
1689
1693
  x1: typeof Schema.BigIntFromSelf;
1690
1694
  x2: typeof Schema.BigIntFromSelf;
1691
1695
  x3: typeof Schema.BigIntFromSelf;
1692
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1693
- nonce: Schema.optional<typeof Schema.BigIntFromSelf>;
1694
- from: Schema.optional<Schema.transform<Schema.Struct<{
1696
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1697
+ nonce: typeof Schema.BigIntFromSelf;
1698
+ from: Schema.transform<Schema.Struct<{
1695
1699
  x0: typeof Schema.BigIntFromSelf;
1696
1700
  x1: typeof Schema.BigIntFromSelf;
1697
1701
  x2: typeof Schema.Number;
1698
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1702
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1699
1703
  to: Schema.optional<Schema.transform<Schema.Struct<{
1700
1704
  x0: typeof Schema.BigIntFromSelf;
1701
1705
  x1: typeof Schema.BigIntFromSelf;
1702
1706
  x2: typeof Schema.Number;
1703
1707
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1704
- value: Schema.optional<Schema.transform<Schema.Struct<{
1708
+ value: Schema.transform<Schema.Struct<{
1705
1709
  x0: typeof Schema.BigIntFromSelf;
1706
1710
  x1: typeof Schema.BigIntFromSelf;
1707
1711
  x2: typeof Schema.BigIntFromSelf;
1708
1712
  x3: typeof Schema.BigIntFromSelf;
1709
- }>, typeof Schema.BigIntFromSelf>>;
1713
+ }>, typeof Schema.BigIntFromSelf>;
1710
1714
  gasPrice: Schema.optional<Schema.transform<Schema.Struct<{
1711
1715
  x0: typeof Schema.BigIntFromSelf;
1712
1716
  x1: typeof Schema.BigIntFromSelf;
1713
1717
  }>, typeof Schema.BigIntFromSelf>>;
1714
- gas: Schema.optional<Schema.transform<Schema.Struct<{
1718
+ gas: Schema.transform<Schema.Struct<{
1715
1719
  x0: typeof Schema.BigIntFromSelf;
1716
1720
  x1: typeof Schema.BigIntFromSelf;
1717
- }>, typeof Schema.BigIntFromSelf>>;
1721
+ }>, typeof Schema.BigIntFromSelf>;
1718
1722
  maxFeePerGas: Schema.optional<Schema.transform<Schema.Struct<{
1719
1723
  x0: typeof Schema.BigIntFromSelf;
1720
1724
  x1: typeof Schema.BigIntFromSelf;
@@ -1725,33 +1729,33 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1725
1729
  }>, typeof Schema.BigIntFromSelf>>;
1726
1730
  input: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1727
1731
  signature: Schema.optional<Schema.Struct<{
1728
- r: Schema.optional<Schema.transform<Schema.Struct<{
1732
+ r: Schema.transform<Schema.Struct<{
1729
1733
  x0: typeof Schema.BigIntFromSelf;
1730
1734
  x1: typeof Schema.BigIntFromSelf;
1731
1735
  x2: typeof Schema.BigIntFromSelf;
1732
1736
  x3: typeof Schema.BigIntFromSelf;
1733
- }>, typeof Schema.BigIntFromSelf>>;
1734
- s: Schema.optional<Schema.transform<Schema.Struct<{
1737
+ }>, typeof Schema.BigIntFromSelf>;
1738
+ s: Schema.transform<Schema.Struct<{
1735
1739
  x0: typeof Schema.BigIntFromSelf;
1736
1740
  x1: typeof Schema.BigIntFromSelf;
1737
1741
  x2: typeof Schema.BigIntFromSelf;
1738
1742
  x3: typeof Schema.BigIntFromSelf;
1739
- }>, typeof Schema.BigIntFromSelf>>;
1740
- v: Schema.optional<Schema.transform<Schema.Struct<{
1743
+ }>, typeof Schema.BigIntFromSelf>;
1744
+ v: Schema.transform<Schema.Struct<{
1741
1745
  x0: typeof Schema.BigIntFromSelf;
1742
1746
  x1: typeof Schema.BigIntFromSelf;
1743
1747
  x2: typeof Schema.BigIntFromSelf;
1744
1748
  x3: typeof Schema.BigIntFromSelf;
1745
- }>, typeof Schema.BigIntFromSelf>>;
1749
+ }>, typeof Schema.BigIntFromSelf>;
1746
1750
  YParity: Schema.optional<typeof Schema.Boolean>;
1747
1751
  }>>;
1748
1752
  chainId: Schema.optional<typeof Schema.BigIntFromSelf>;
1749
1753
  accessList: Schema.Array$<Schema.Struct<{
1750
- address: Schema.optional<Schema.transform<Schema.Struct<{
1754
+ address: Schema.transform<Schema.Struct<{
1751
1755
  x0: typeof Schema.BigIntFromSelf;
1752
1756
  x1: typeof Schema.BigIntFromSelf;
1753
1757
  x2: typeof Schema.Number;
1754
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1758
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1755
1759
  storageKeys: Schema.Array$<Schema.transform<Schema.Struct<{
1756
1760
  x0: typeof Schema.BigIntFromSelf;
1757
1761
  x1: typeof Schema.BigIntFromSelf;
@@ -1759,7 +1763,7 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1759
1763
  x3: typeof Schema.BigIntFromSelf;
1760
1764
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1761
1765
  }>>;
1762
- transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1766
+ transactionType: typeof Schema.BigIntFromSelf;
1763
1767
  maxFeePerBlobGas: Schema.optional<Schema.transform<Schema.Struct<{
1764
1768
  x0: typeof Schema.BigIntFromSelf;
1765
1769
  x1: typeof Schema.BigIntFromSelf;
@@ -1770,34 +1774,34 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1770
1774
  x2: typeof Schema.BigIntFromSelf;
1771
1775
  x3: typeof Schema.BigIntFromSelf;
1772
1776
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1773
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1777
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
1774
1778
  }>>;
1775
1779
  receipts: Schema.Array$<Schema.Struct<{
1776
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1777
- transactionIndex: Schema.optional<typeof Schema.Number>;
1778
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1780
+ filterIds: Schema.Array$<typeof Schema.Number>;
1781
+ transactionIndex: typeof Schema.Number;
1782
+ transactionHash: Schema.transform<Schema.Struct<{
1779
1783
  x0: typeof Schema.BigIntFromSelf;
1780
1784
  x1: typeof Schema.BigIntFromSelf;
1781
1785
  x2: typeof Schema.BigIntFromSelf;
1782
1786
  x3: typeof Schema.BigIntFromSelf;
1783
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1784
- cumulativeGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1787
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1788
+ cumulativeGasUsed: Schema.transform<Schema.Struct<{
1785
1789
  x0: typeof Schema.BigIntFromSelf;
1786
1790
  x1: typeof Schema.BigIntFromSelf;
1787
- }>, typeof Schema.BigIntFromSelf>>;
1788
- gasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1791
+ }>, typeof Schema.BigIntFromSelf>;
1792
+ gasUsed: Schema.transform<Schema.Struct<{
1789
1793
  x0: typeof Schema.BigIntFromSelf;
1790
1794
  x1: typeof Schema.BigIntFromSelf;
1791
- }>, typeof Schema.BigIntFromSelf>>;
1792
- effectiveGasPrice: Schema.optional<Schema.transform<Schema.Struct<{
1795
+ }>, typeof Schema.BigIntFromSelf>;
1796
+ effectiveGasPrice: Schema.transform<Schema.Struct<{
1793
1797
  x0: typeof Schema.BigIntFromSelf;
1794
1798
  x1: typeof Schema.BigIntFromSelf;
1795
- }>, typeof Schema.BigIntFromSelf>>;
1796
- from: Schema.optional<Schema.transform<Schema.Struct<{
1799
+ }>, typeof Schema.BigIntFromSelf>;
1800
+ from: Schema.transform<Schema.Struct<{
1797
1801
  x0: typeof Schema.BigIntFromSelf;
1798
1802
  x1: typeof Schema.BigIntFromSelf;
1799
1803
  x2: typeof Schema.Number;
1800
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1804
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1801
1805
  to: Schema.optional<Schema.transform<Schema.Struct<{
1802
1806
  x0: typeof Schema.BigIntFromSelf;
1803
1807
  x1: typeof Schema.BigIntFromSelf;
@@ -1808,10 +1812,10 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1808
1812
  x1: typeof Schema.BigIntFromSelf;
1809
1813
  x2: typeof Schema.Number;
1810
1814
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1811
- logsBloom: Schema.optional<Schema.transform<Schema.Struct<{
1815
+ logsBloom: Schema.transform<Schema.Struct<{
1812
1816
  value: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1813
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1814
- transactionType: Schema.optional<typeof Schema.BigIntFromSelf>;
1817
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1818
+ transactionType: typeof Schema.BigIntFromSelf;
1815
1819
  blobGasUsed: Schema.optional<Schema.transform<Schema.Struct<{
1816
1820
  x0: typeof Schema.BigIntFromSelf;
1817
1821
  x1: typeof Schema.BigIntFromSelf;
@@ -1820,15 +1824,15 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1820
1824
  x0: typeof Schema.BigIntFromSelf;
1821
1825
  x1: typeof Schema.BigIntFromSelf;
1822
1826
  }>, typeof Schema.BigIntFromSelf>>;
1823
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1827
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
1824
1828
  }>>;
1825
1829
  logs: Schema.Array$<Schema.Struct<{
1826
- filterIds: Schema.optional<Schema.Array$<typeof Schema.Number>>;
1827
- address: Schema.optional<Schema.transform<Schema.Struct<{
1830
+ filterIds: Schema.Array$<typeof Schema.Number>;
1831
+ address: Schema.transform<Schema.Struct<{
1828
1832
  x0: typeof Schema.BigIntFromSelf;
1829
1833
  x1: typeof Schema.BigIntFromSelf;
1830
1834
  x2: typeof Schema.Number;
1831
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1835
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1832
1836
  topics: Schema.Array$<Schema.transform<Schema.Struct<{
1833
1837
  x0: typeof Schema.BigIntFromSelf;
1834
1838
  x1: typeof Schema.BigIntFromSelf;
@@ -1837,14 +1841,15 @@ declare const BlockFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Ar
1837
1841
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1838
1842
  data: Schema.PropertySignature<"?:", `0x${string}`, never, ":", Uint8Array, false, never>;
1839
1843
  logIndex: typeof Schema.Number;
1844
+ logIndexInTransaction: typeof Schema.Number;
1840
1845
  transactionIndex: typeof Schema.Number;
1841
- transactionHash: Schema.optional<Schema.transform<Schema.Struct<{
1846
+ transactionHash: Schema.transform<Schema.Struct<{
1842
1847
  x0: typeof Schema.BigIntFromSelf;
1843
1848
  x1: typeof Schema.BigIntFromSelf;
1844
1849
  x2: typeof Schema.BigIntFromSelf;
1845
1850
  x3: typeof Schema.BigIntFromSelf;
1846
- }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>>;
1847
- transactionStatus: Schema.optional<Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>>;
1851
+ }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
1852
+ transactionStatus: Schema.transform<Schema.Enums<typeof TransactionStatus$1>, Schema.Literal<["unknown", "succeeded", "reverted"]>>;
1848
1853
  }>>;
1849
1854
  }>>>;
1850
1855
 
@@ -1874,91 +1879,92 @@ declare const EvmStream: StreamConfig<{
1874
1879
  readonly includeTransaction?: boolean | undefined;
1875
1880
  }[] | undefined;
1876
1881
  }, {
1877
- readonly header?: {
1878
- readonly nonce?: bigint | undefined;
1879
- readonly gasUsed?: bigint | undefined;
1880
- readonly logsBloom?: `0x${string}` | undefined;
1881
- readonly blobGasUsed?: bigint | undefined;
1882
+ readonly header: {
1882
1883
  readonly blockNumber: bigint;
1883
- readonly blockHash?: `0x${string}` | undefined;
1884
- readonly parentBlockHash?: `0x${string}` | undefined;
1885
- readonly unclesHash?: `0x${string}` | undefined;
1886
- readonly miner?: `0x${string}` | undefined;
1887
- readonly stateRoot?: `0x${string}` | undefined;
1888
- readonly transactionsRoot?: `0x${string}` | undefined;
1889
- readonly receiptsRoot?: `0x${string}` | undefined;
1890
- readonly difficulty?: bigint | undefined;
1891
- readonly gasLimit?: bigint | undefined;
1892
- readonly timestamp?: Date | undefined;
1884
+ readonly blockHash: `0x${string}`;
1885
+ readonly parentBlockHash: `0x${string}`;
1886
+ readonly unclesHash: `0x${string}`;
1887
+ readonly miner: `0x${string}`;
1888
+ readonly stateRoot: `0x${string}`;
1889
+ readonly transactionsRoot: `0x${string}`;
1890
+ readonly receiptsRoot: `0x${string}`;
1891
+ readonly logsBloom: `0x${string}`;
1892
+ readonly difficulty: bigint;
1893
+ readonly gasLimit: bigint;
1894
+ readonly gasUsed: bigint;
1895
+ readonly timestamp: Date;
1893
1896
  readonly extraData?: `0x${string}` | undefined;
1894
1897
  readonly mixHash?: `0x${string}` | undefined;
1898
+ readonly nonce?: bigint | undefined;
1895
1899
  readonly baseFeePerGas?: bigint | undefined;
1896
1900
  readonly withdrawalsRoot?: `0x${string}` | undefined;
1897
1901
  readonly totalDifficulty?: bigint | undefined;
1902
+ readonly blobGasUsed?: bigint | undefined;
1898
1903
  readonly excessBlobGas?: bigint | undefined;
1899
1904
  readonly parentBeaconBlockRoot?: `0x${string}` | undefined;
1900
- } | undefined;
1905
+ };
1901
1906
  readonly withdrawals: readonly {
1902
1907
  readonly validatorIndex: number;
1903
- readonly address?: `0x${string}` | undefined;
1904
- readonly filterIds?: readonly number[] | undefined;
1908
+ readonly address: `0x${string}`;
1909
+ readonly filterIds: readonly number[];
1905
1910
  readonly withdrawalIndex: number;
1906
1911
  readonly index: bigint;
1907
- readonly amount?: bigint | undefined;
1912
+ readonly amount: bigint;
1908
1913
  }[];
1909
1914
  readonly transactions: readonly {
1910
- readonly value?: bigint | undefined;
1911
- readonly from?: `0x${string}` | undefined;
1915
+ readonly value: bigint;
1916
+ readonly from: `0x${string}`;
1912
1917
  readonly to?: `0x${string}` | undefined;
1913
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | undefined;
1914
- readonly filterIds?: readonly number[] | undefined;
1918
+ readonly transactionStatus: "succeeded" | "reverted" | "unknown";
1919
+ readonly nonce: bigint;
1920
+ readonly filterIds: readonly number[];
1915
1921
  readonly transactionIndex: number;
1916
- readonly transactionHash?: `0x${string}` | undefined;
1917
- readonly nonce?: bigint | undefined;
1922
+ readonly transactionHash: `0x${string}`;
1918
1923
  readonly gasPrice?: bigint | undefined;
1919
- readonly gas?: bigint | undefined;
1924
+ readonly gas: bigint;
1920
1925
  readonly maxFeePerGas?: bigint | undefined;
1921
1926
  readonly maxPriorityFeePerGas?: bigint | undefined;
1922
1927
  readonly input?: `0x${string}` | undefined;
1923
1928
  readonly signature?: {
1924
- readonly r?: bigint | undefined;
1925
- readonly s?: bigint | undefined;
1926
- readonly v?: bigint | undefined;
1929
+ readonly r: bigint;
1930
+ readonly s: bigint;
1931
+ readonly v: bigint;
1927
1932
  readonly YParity?: boolean | undefined;
1928
1933
  } | undefined;
1929
1934
  readonly chainId?: bigint | undefined;
1930
1935
  readonly accessList: readonly {
1931
- readonly address?: `0x${string}` | undefined;
1936
+ readonly address: `0x${string}`;
1932
1937
  readonly storageKeys: readonly `0x${string}`[];
1933
1938
  }[];
1934
- readonly transactionType?: bigint | undefined;
1939
+ readonly transactionType: bigint;
1935
1940
  readonly maxFeePerBlobGas?: bigint | undefined;
1936
1941
  readonly blobVersionedHashes: readonly `0x${string}`[];
1937
1942
  }[];
1938
1943
  readonly logs: readonly {
1939
- readonly address?: `0x${string}` | undefined;
1940
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | undefined;
1944
+ readonly address: `0x${string}`;
1945
+ readonly transactionStatus: "succeeded" | "reverted" | "unknown";
1941
1946
  readonly topics: readonly `0x${string}`[];
1942
- readonly filterIds?: readonly number[] | undefined;
1947
+ readonly filterIds: readonly number[];
1943
1948
  readonly transactionIndex: number;
1944
- readonly transactionHash?: `0x${string}` | undefined;
1949
+ readonly transactionHash: `0x${string}`;
1945
1950
  readonly data?: `0x${string}` | undefined;
1946
1951
  readonly logIndex: number;
1952
+ readonly logIndexInTransaction: number;
1947
1953
  }[];
1948
1954
  readonly receipts: readonly {
1949
- readonly from?: `0x${string}` | undefined;
1955
+ readonly from: `0x${string}`;
1950
1956
  readonly to?: `0x${string}` | undefined;
1951
- readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | undefined;
1952
- readonly filterIds?: readonly number[] | undefined;
1953
- readonly transactionIndex?: number | undefined;
1954
- readonly transactionHash?: `0x${string}` | undefined;
1955
- readonly transactionType?: bigint | undefined;
1956
- readonly cumulativeGasUsed?: bigint | undefined;
1957
- readonly gasUsed?: bigint | undefined;
1958
- readonly effectiveGasPrice?: bigint | undefined;
1959
- readonly contractAddress?: `0x${string}` | undefined;
1960
- readonly logsBloom?: `0x${string}` | undefined;
1957
+ readonly transactionStatus: "succeeded" | "reverted" | "unknown";
1958
+ readonly logsBloom: `0x${string}`;
1959
+ readonly gasUsed: bigint;
1961
1960
  readonly blobGasUsed?: bigint | undefined;
1961
+ readonly filterIds: readonly number[];
1962
+ readonly transactionIndex: number;
1963
+ readonly transactionHash: `0x${string}`;
1964
+ readonly transactionType: bigint;
1965
+ readonly cumulativeGasUsed: bigint;
1966
+ readonly effectiveGasPrice: bigint;
1967
+ readonly contractAddress?: `0x${string}` | undefined;
1962
1968
  readonly blobGasPrice?: bigint | undefined;
1963
1969
  }[];
1964
1970
  }>;