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