viem 1.7.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/README.md +6 -0
  2. package/dist/cjs/actions/index.js +8 -2
  3. package/dist/cjs/actions/index.js.map +1 -1
  4. package/dist/cjs/actions/public/estimateFeesPerGas.js +3 -2
  5. package/dist/cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  6. package/dist/cjs/actions/public/estimateGas.js +2 -2
  7. package/dist/cjs/actions/public/estimateGas.js.map +1 -1
  8. package/dist/cjs/actions/public/estimateMaxPriorityFeePerGas.js +3 -3
  9. package/dist/cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  10. package/dist/cjs/actions/public/watchContractEvent.js +10 -7
  11. package/dist/cjs/actions/public/watchContractEvent.js.map +1 -1
  12. package/dist/cjs/{utils/transaction/prepareRequest.js → actions/wallet/prepareTransactionRequest.js} +19 -10
  13. package/dist/cjs/actions/wallet/prepareTransactionRequest.js.map +1 -0
  14. package/dist/cjs/actions/wallet/sendRawTransaction.js +11 -0
  15. package/dist/cjs/actions/wallet/sendRawTransaction.js.map +1 -0
  16. package/dist/cjs/actions/wallet/sendTransaction.js +6 -6
  17. package/dist/cjs/actions/wallet/sendTransaction.js.map +1 -1
  18. package/dist/cjs/actions/wallet/signTransaction.js +47 -0
  19. package/dist/cjs/actions/wallet/signTransaction.js.map +1 -0
  20. package/dist/cjs/chains/celo/formatters.js +4 -1
  21. package/dist/cjs/chains/celo/formatters.js.map +1 -1
  22. package/dist/cjs/chains/index.js +3 -2
  23. package/dist/cjs/chains/index.js.map +1 -1
  24. package/dist/cjs/clients/decorators/public.js +4 -0
  25. package/dist/cjs/clients/decorators/public.js.map +1 -1
  26. package/dist/cjs/clients/decorators/wallet.js +6 -0
  27. package/dist/cjs/clients/decorators/wallet.js.map +1 -1
  28. package/dist/cjs/errors/version.js +1 -1
  29. package/dist/cjs/index.js +4 -5
  30. package/dist/cjs/index.js.map +1 -1
  31. package/dist/cjs/utils/data/isBytesEqual.js +4 -3
  32. package/dist/cjs/utils/data/isBytesEqual.js.map +1 -1
  33. package/dist/cjs/utils/ens/encodedLabelToLabelhash.js +2 -2
  34. package/dist/cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -1
  35. package/dist/cjs/utils/formatters/transactionRequest.js +9 -1
  36. package/dist/cjs/utils/formatters/transactionRequest.js.map +1 -1
  37. package/dist/cjs/utils/index.js +3 -3
  38. package/dist/cjs/utils/index.js.map +1 -1
  39. package/dist/esm/actions/index.js +3 -0
  40. package/dist/esm/actions/index.js.map +1 -1
  41. package/dist/esm/actions/public/estimateFeesPerGas.js +3 -2
  42. package/dist/esm/actions/public/estimateFeesPerGas.js.map +1 -1
  43. package/dist/esm/actions/public/estimateGas.js +2 -2
  44. package/dist/esm/actions/public/estimateGas.js.map +1 -1
  45. package/dist/esm/actions/public/estimateMaxPriorityFeePerGas.js +3 -3
  46. package/dist/esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  47. package/dist/esm/actions/public/watchContractEvent.js +5 -2
  48. package/dist/esm/actions/public/watchContractEvent.js.map +1 -1
  49. package/dist/esm/{utils/transaction/prepareRequest.js → actions/wallet/prepareTransactionRequest.js} +58 -9
  50. package/dist/esm/actions/wallet/prepareTransactionRequest.js.map +1 -0
  51. package/dist/esm/actions/wallet/sendRawTransaction.js +31 -0
  52. package/dist/esm/actions/wallet/sendRawTransaction.js.map +1 -0
  53. package/dist/esm/actions/wallet/sendTransaction.js +6 -6
  54. package/dist/esm/actions/wallet/sendTransaction.js.map +1 -1
  55. package/dist/esm/actions/wallet/signTransaction.js +87 -0
  56. package/dist/esm/actions/wallet/signTransaction.js.map +1 -0
  57. package/dist/esm/chains/celo/formatters.js +4 -1
  58. package/dist/esm/chains/celo/formatters.js.map +1 -1
  59. package/dist/esm/chains/index.js +1 -0
  60. package/dist/esm/chains/index.js.map +1 -1
  61. package/dist/esm/clients/decorators/public.js +4 -0
  62. package/dist/esm/clients/decorators/public.js.map +1 -1
  63. package/dist/esm/clients/decorators/wallet.js +6 -0
  64. package/dist/esm/clients/decorators/wallet.js.map +1 -1
  65. package/dist/esm/errors/version.js +1 -1
  66. package/dist/esm/index.js +1 -2
  67. package/dist/esm/index.js.map +1 -1
  68. package/dist/esm/utils/data/isBytesEqual.js +2 -1
  69. package/dist/esm/utils/data/isBytesEqual.js.map +1 -1
  70. package/dist/esm/utils/ens/encodedLabelToLabelhash.js +1 -1
  71. package/dist/esm/utils/ens/encodedLabelToLabelhash.js.map +1 -1
  72. package/dist/esm/utils/formatters/transactionRequest.js +8 -0
  73. package/dist/esm/utils/formatters/transactionRequest.js.map +1 -1
  74. package/dist/esm/utils/index.js +3 -1
  75. package/dist/esm/utils/index.js.map +1 -1
  76. package/dist/types/actions/index.d.ts +3 -0
  77. package/dist/types/actions/index.d.ts.map +1 -1
  78. package/dist/types/actions/public/estimateFeesPerGas.d.ts +2 -2
  79. package/dist/types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
  80. package/dist/types/actions/public/estimateMaxPriorityFeePerGas.d.ts +4 -2
  81. package/dist/types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
  82. package/dist/types/actions/public/watchContractEvent.d.ts.map +1 -1
  83. package/dist/types/actions/wallet/prepareTransactionRequest.d.ts +52 -0
  84. package/dist/types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -0
  85. package/dist/types/actions/wallet/sendRawTransaction.d.ts +38 -0
  86. package/dist/types/actions/wallet/sendRawTransaction.d.ts.map +1 -0
  87. package/dist/types/actions/wallet/sendTransaction.d.ts.map +1 -1
  88. package/dist/types/actions/wallet/signTransaction.d.ts +55 -0
  89. package/dist/types/actions/wallet/signTransaction.d.ts.map +1 -0
  90. package/dist/types/chains/celo/formatters.d.ts +303 -5
  91. package/dist/types/chains/celo/formatters.d.ts.map +1 -1
  92. package/dist/types/chains/celo/types.d.ts +43 -17
  93. package/dist/types/chains/celo/types.d.ts.map +1 -1
  94. package/dist/types/chains/index.d.ts +958 -19
  95. package/dist/types/chains/index.d.ts.map +1 -1
  96. package/dist/types/chains/utils.d.ts +1 -1
  97. package/dist/types/chains/utils.d.ts.map +1 -1
  98. package/dist/types/clients/decorators/public.d.ts +66 -0
  99. package/dist/types/clients/decorators/public.d.ts.map +1 -1
  100. package/dist/types/clients/decorators/wallet.d.ts +111 -0
  101. package/dist/types/clients/decorators/wallet.d.ts.map +1 -1
  102. package/dist/types/errors/version.d.ts +1 -1
  103. package/dist/types/index.d.ts +4 -2
  104. package/dist/types/index.d.ts.map +1 -1
  105. package/dist/types/types/chain.d.ts +2 -2
  106. package/dist/types/types/chain.d.ts.map +1 -1
  107. package/dist/types/types/eip1193.d.ts +1 -1
  108. package/dist/types/utils/data/isBytesEqual.d.ts +1 -1
  109. package/dist/types/utils/data/isBytesEqual.d.ts.map +1 -1
  110. package/dist/types/utils/ens/encodeLabelhash.d.ts +1 -1
  111. package/dist/types/utils/ens/encodeLabelhash.d.ts.map +1 -1
  112. package/dist/types/utils/ens/encodedLabelToLabelhash.d.ts +1 -1
  113. package/dist/types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -1
  114. package/dist/types/utils/formatters/transactionRequest.d.ts +5 -0
  115. package/dist/types/utils/formatters/transactionRequest.d.ts.map +1 -1
  116. package/dist/types/utils/index.d.ts +3 -1
  117. package/dist/types/utils/index.d.ts.map +1 -1
  118. package/package.json +1 -1
  119. package/src/actions/index.ts +15 -0
  120. package/src/actions/public/estimateFeesPerGas.ts +6 -4
  121. package/src/actions/public/estimateGas.ts +5 -5
  122. package/src/actions/public/estimateMaxPriorityFeePerGas.ts +7 -5
  123. package/src/actions/public/watchContractEvent.ts +9 -6
  124. package/src/{utils/transaction/prepareRequest.ts → actions/wallet/prepareTransactionRequest.ts} +80 -36
  125. package/src/actions/wallet/sendRawTransaction.ts +48 -0
  126. package/src/actions/wallet/sendTransaction.ts +6 -6
  127. package/src/actions/wallet/signTransaction.ts +137 -0
  128. package/src/chains/celo/formatters.ts +11 -12
  129. package/src/chains/celo/types.ts +86 -30
  130. package/src/chains/index.ts +1 -0
  131. package/src/chains/utils.ts +4 -4
  132. package/src/clients/decorators/public.ts +81 -0
  133. package/src/clients/decorators/wallet.ts +133 -0
  134. package/src/errors/rpc.ts +1 -1
  135. package/src/errors/version.ts +1 -1
  136. package/src/index.ts +7 -1
  137. package/src/types/chain.ts +2 -2
  138. package/src/types/eip1193.ts +1 -1
  139. package/src/utils/data/isBytesEqual.ts +4 -1
  140. package/src/utils/ens/encodeLabelhash.ts +1 -1
  141. package/src/utils/ens/encodedLabelToLabelhash.ts +2 -2
  142. package/src/utils/formatters/transactionRequest.ts +10 -0
  143. package/src/utils/index.ts +4 -1
  144. package/dist/cjs/utils/transaction/prepareRequest.js.map +0 -1
  145. package/dist/esm/utils/transaction/prepareRequest.js.map +0 -1
  146. package/dist/types/utils/transaction/prepareRequest.d.ts +0 -21
  147. package/dist/types/utils/transaction/prepareRequest.d.ts.map +0 -1
@@ -1141,7 +1141,50 @@ export declare const celo: import("../types/utils.js").Assign<{
1141
1141
  };
1142
1142
  readonly transaction: {
1143
1143
  exclude: [] | undefined;
1144
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
1144
+ format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1145
+ feeCurrency: `0x${string}` | null;
1146
+ gatewayFee: `0x${string}` | null;
1147
+ gatewayFeeRecipient: `0x${string}` | null;
1148
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1149
+ feeCurrency: `0x${string}` | null;
1150
+ gatewayFee: `0x${string}` | null;
1151
+ gatewayFeeRecipient: `0x${string}` | null;
1152
+ type: "0x7c";
1153
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1154
+ feeCurrency: `0x${string}` | null;
1155
+ gatewayFee: `0x${string}` | null;
1156
+ gatewayFeeRecipient: `0x${string}` | null;
1157
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1158
+ feeCurrency: `0x${string}` | null;
1159
+ gatewayFee: `0x${string}` | null;
1160
+ gatewayFeeRecipient: `0x${string}` | null;
1161
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1162
+ feeCurrency: `0x${string}` | null;
1163
+ gatewayFee: `0x${string}` | null;
1164
+ gatewayFeeRecipient: `0x${string}` | null;
1165
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1166
+ feeCurrency: `0x${string}` | null;
1167
+ gatewayFee: `0x${string}` | null;
1168
+ gatewayFeeRecipient: `0x${string}` | null;
1169
+ type: "0x7c";
1170
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1171
+ feeCurrency: `0x${string}` | null;
1172
+ gatewayFee: `0x${string}` | null;
1173
+ gatewayFeeRecipient: `0x${string}` | null;
1174
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1175
+ feeCurrency: `0x${string}` | null;
1176
+ gatewayFee: `0x${string}` | null;
1177
+ gatewayFeeRecipient: `0x${string}` | null;
1178
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1179
+ feeCurrency: `0x${string}` | null;
1180
+ gatewayFee: `0x${string}` | null;
1181
+ gatewayFeeRecipient: `0x${string}` | null;
1182
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1183
+ feeCurrency: `0x${string}` | null;
1184
+ gatewayFee: `0x${string}` | null;
1185
+ gatewayFeeRecipient: `0x${string}` | null;
1186
+ type: "0x7c";
1187
+ })) => ({
1145
1188
  blockHash: `0x${string}` | null;
1146
1189
  blockNumber: bigint | null;
1147
1190
  from: `0x${string}`;
@@ -1165,6 +1208,30 @@ export declare const celo: import("../types/utils.js").Assign<{
1165
1208
  feeCurrency: `0x${string}` | null;
1166
1209
  gatewayFee: bigint | null;
1167
1210
  gatewayFeeRecipient: `0x${string}` | null;
1211
+ } | {
1212
+ blockHash: `0x${string}` | null;
1213
+ blockNumber: bigint | null;
1214
+ from: `0x${string}`;
1215
+ gas: bigint;
1216
+ hash: `0x${string}`;
1217
+ input: `0x${string}`;
1218
+ nonce: number;
1219
+ r: `0x${string}`;
1220
+ s: `0x${string}`;
1221
+ to: `0x${string}` | null;
1222
+ transactionIndex: number | null;
1223
+ typeHex: `0x${string}` | null;
1224
+ v: bigint;
1225
+ value: bigint;
1226
+ gasPrice: undefined;
1227
+ maxFeePerGas: bigint;
1228
+ maxPriorityFeePerGas: bigint;
1229
+ accessList?: undefined;
1230
+ chainId?: number | undefined;
1231
+ type: "cip42";
1232
+ feeCurrency: `0x${string}` | null;
1233
+ gatewayFee: bigint | null;
1234
+ gatewayFeeRecipient: `0x${string}` | null;
1168
1235
  } | {
1169
1236
  blockHash: `0x${string}` | null;
1170
1237
  blockNumber: bigint | null;
@@ -1189,6 +1256,78 @@ export declare const celo: import("../types/utils.js").Assign<{
1189
1256
  feeCurrency: `0x${string}` | null;
1190
1257
  gatewayFee: bigint | null;
1191
1258
  gatewayFeeRecipient: `0x${string}` | null;
1259
+ } | {
1260
+ blockHash: `0x${string}` | null;
1261
+ blockNumber: bigint | null;
1262
+ from: `0x${string}`;
1263
+ gas: bigint;
1264
+ hash: `0x${string}`;
1265
+ input: `0x${string}`;
1266
+ nonce: number;
1267
+ r: `0x${string}`;
1268
+ s: `0x${string}`;
1269
+ to: `0x${string}` | null;
1270
+ transactionIndex: number | null;
1271
+ typeHex: `0x${string}` | null;
1272
+ v: bigint;
1273
+ value: bigint;
1274
+ gasPrice: undefined;
1275
+ maxFeePerGas: bigint;
1276
+ maxPriorityFeePerGas: bigint;
1277
+ accessList: import("../index.js").AccessList;
1278
+ chainId: number;
1279
+ type: "eip1559";
1280
+ feeCurrency: `0x${string}` | null;
1281
+ gatewayFee: bigint | null;
1282
+ gatewayFeeRecipient: `0x${string}` | null;
1283
+ } | {
1284
+ blockHash: `0x${string}` | null;
1285
+ blockNumber: bigint | null;
1286
+ from: `0x${string}`;
1287
+ gas: bigint;
1288
+ hash: `0x${string}`;
1289
+ input: `0x${string}`;
1290
+ nonce: number;
1291
+ r: `0x${string}`;
1292
+ s: `0x${string}`;
1293
+ to: `0x${string}` | null;
1294
+ transactionIndex: number | null;
1295
+ typeHex: `0x${string}` | null;
1296
+ v: bigint;
1297
+ value: bigint;
1298
+ gasPrice: undefined;
1299
+ maxFeePerGas: bigint;
1300
+ maxPriorityFeePerGas: bigint;
1301
+ accessList: import("../index.js").AccessList;
1302
+ chainId: number;
1303
+ type: "cip42";
1304
+ feeCurrency: `0x${string}` | null;
1305
+ gatewayFee: bigint | null;
1306
+ gatewayFeeRecipient: `0x${string}` | null;
1307
+ } | {
1308
+ blockHash: `0x${string}` | null;
1309
+ blockNumber: bigint | null;
1310
+ from: `0x${string}`;
1311
+ gas: bigint;
1312
+ hash: `0x${string}`;
1313
+ input: `0x${string}`;
1314
+ nonce: number;
1315
+ r: `0x${string}`;
1316
+ s: `0x${string}`;
1317
+ to: `0x${string}` | null;
1318
+ transactionIndex: number | null;
1319
+ typeHex: `0x${string}` | null;
1320
+ v: bigint;
1321
+ value: bigint;
1322
+ gasPrice: bigint;
1323
+ maxFeePerGas: undefined;
1324
+ maxPriorityFeePerGas: undefined;
1325
+ accessList: import("../index.js").AccessList;
1326
+ chainId: number;
1327
+ type: "eip2930";
1328
+ feeCurrency: `0x${string}` | null;
1329
+ gatewayFee: bigint | null;
1330
+ gatewayFeeRecipient: `0x${string}` | null;
1192
1331
  } | {
1193
1332
  blockHash: `0x${string}` | null;
1194
1333
  blockNumber: bigint | null;
@@ -1213,6 +1352,30 @@ export declare const celo: import("../types/utils.js").Assign<{
1213
1352
  feeCurrency: `0x${string}` | null;
1214
1353
  gatewayFee: bigint | null;
1215
1354
  gatewayFeeRecipient: `0x${string}` | null;
1355
+ } | {
1356
+ blockHash: `0x${string}` | null;
1357
+ blockNumber: bigint | null;
1358
+ from: `0x${string}`;
1359
+ gas: bigint;
1360
+ hash: `0x${string}`;
1361
+ input: `0x${string}`;
1362
+ nonce: number;
1363
+ r: `0x${string}`;
1364
+ s: `0x${string}`;
1365
+ to: `0x${string}` | null;
1366
+ transactionIndex: number | null;
1367
+ typeHex: `0x${string}` | null;
1368
+ v: bigint;
1369
+ value: bigint;
1370
+ gasPrice?: undefined;
1371
+ maxFeePerGas: bigint;
1372
+ maxPriorityFeePerGas: bigint;
1373
+ accessList: import("../index.js").AccessList;
1374
+ chainId: number;
1375
+ type: "cip42";
1376
+ feeCurrency: `0x${string}` | null;
1377
+ gatewayFee: bigint | null;
1378
+ gatewayFeeRecipient: `0x${string}` | null;
1216
1379
  }) & {};
1217
1380
  type: "transaction";
1218
1381
  };
@@ -1241,7 +1404,7 @@ export declare const celo: import("../types/utils.js").Assign<{
1241
1404
  };
1242
1405
  readonly transactionRequest: {
1243
1406
  exclude: [] | undefined;
1244
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
1407
+ format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequest>) => ({
1245
1408
  data?: `0x${string}` | undefined;
1246
1409
  from: `0x${string}`;
1247
1410
  gas?: `0x${string}` | undefined;
@@ -1286,6 +1449,141 @@ export declare const celo: import("../types/utils.js").Assign<{
1286
1449
  feeCurrency?: `0x${string}` | undefined;
1287
1450
  gatewayFee?: `0x${string}` | undefined;
1288
1451
  gatewayFeeRecipient?: `0x${string}` | undefined;
1452
+ } | {
1453
+ data?: `0x${string}` | undefined;
1454
+ from: `0x${string}`;
1455
+ gas?: `0x${string}` | undefined;
1456
+ nonce?: `0x${string}` | undefined;
1457
+ to?: `0x${string}` | undefined;
1458
+ value?: `0x${string}` | undefined;
1459
+ gasPrice?: undefined;
1460
+ maxFeePerGas?: `0x${string}` | undefined;
1461
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1462
+ accessList?: import("../index.js").AccessList | undefined;
1463
+ type?: "0x7c" | undefined;
1464
+ feeCurrency?: `0x${string}` | undefined;
1465
+ gatewayFee?: `0x${string}` | undefined;
1466
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1467
+ } | {
1468
+ data?: `0x${string}` | undefined;
1469
+ from: `0x${string}`;
1470
+ gas?: `0x${string}` | undefined;
1471
+ nonce?: `0x${string}` | undefined;
1472
+ to?: `0x${string}` | undefined;
1473
+ value?: `0x${string}` | undefined;
1474
+ gasPrice?: `0x${string}` | undefined;
1475
+ maxFeePerGas?: undefined;
1476
+ maxPriorityFeePerGas?: undefined;
1477
+ accessList?: undefined;
1478
+ type?: "0x0" | undefined;
1479
+ feeCurrency?: `0x${string}` | undefined;
1480
+ gatewayFee?: `0x${string}` | undefined;
1481
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1482
+ } | {
1483
+ data?: `0x${string}` | undefined;
1484
+ from: `0x${string}`;
1485
+ gas?: `0x${string}` | undefined;
1486
+ nonce?: `0x${string}` | undefined;
1487
+ to?: `0x${string}` | undefined;
1488
+ value?: `0x${string}` | undefined;
1489
+ gasPrice?: `0x${string}` | undefined;
1490
+ maxFeePerGas?: undefined;
1491
+ maxPriorityFeePerGas?: undefined;
1492
+ accessList?: import("../index.js").AccessList | undefined;
1493
+ type?: "0x1" | undefined;
1494
+ feeCurrency?: `0x${string}` | undefined;
1495
+ gatewayFee?: `0x${string}` | undefined;
1496
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1497
+ } | {
1498
+ data?: `0x${string}` | undefined;
1499
+ from: `0x${string}`;
1500
+ gas?: `0x${string}` | undefined;
1501
+ nonce?: `0x${string}` | undefined;
1502
+ to?: `0x${string}` | undefined;
1503
+ value?: `0x${string}` | undefined;
1504
+ gasPrice?: undefined;
1505
+ maxFeePerGas?: `0x${string}` | undefined;
1506
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1507
+ accessList?: import("../index.js").AccessList | undefined;
1508
+ type?: "0x2" | undefined;
1509
+ feeCurrency?: `0x${string}` | undefined;
1510
+ gatewayFee?: `0x${string}` | undefined;
1511
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1512
+ } | {
1513
+ data?: `0x${string}` | undefined;
1514
+ from: `0x${string}`;
1515
+ gas?: `0x${string}` | undefined;
1516
+ nonce?: `0x${string}` | undefined;
1517
+ to?: `0x${string}` | undefined;
1518
+ value?: `0x${string}` | undefined;
1519
+ gasPrice?: undefined;
1520
+ maxFeePerGas?: `0x${string}` | undefined;
1521
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1522
+ accessList?: import("../index.js").AccessList | undefined;
1523
+ type?: "0x7c" | undefined;
1524
+ feeCurrency?: `0x${string}` | undefined;
1525
+ gatewayFee?: `0x${string}` | undefined;
1526
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1527
+ } | {
1528
+ data?: `0x${string}` | undefined;
1529
+ from: `0x${string}`;
1530
+ gas?: `0x${string}` | undefined;
1531
+ nonce?: `0x${string}` | undefined;
1532
+ to?: `0x${string}` | undefined;
1533
+ value?: `0x${string}` | undefined;
1534
+ gasPrice?: `0x${string}` | undefined;
1535
+ maxFeePerGas?: undefined;
1536
+ maxPriorityFeePerGas?: undefined;
1537
+ accessList?: undefined;
1538
+ type?: "0x0" | undefined;
1539
+ feeCurrency?: `0x${string}` | undefined;
1540
+ gatewayFee?: `0x${string}` | undefined;
1541
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1542
+ } | {
1543
+ data?: `0x${string}` | undefined;
1544
+ from: `0x${string}`;
1545
+ gas?: `0x${string}` | undefined;
1546
+ nonce?: `0x${string}` | undefined;
1547
+ to?: `0x${string}` | undefined;
1548
+ value?: `0x${string}` | undefined;
1549
+ gasPrice?: `0x${string}` | undefined;
1550
+ maxFeePerGas?: undefined;
1551
+ maxPriorityFeePerGas?: undefined;
1552
+ accessList?: import("../index.js").AccessList | undefined;
1553
+ type?: "0x1" | undefined;
1554
+ feeCurrency?: `0x${string}` | undefined;
1555
+ gatewayFee?: `0x${string}` | undefined;
1556
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1557
+ } | {
1558
+ data?: `0x${string}` | undefined;
1559
+ from: `0x${string}`;
1560
+ gas?: `0x${string}` | undefined;
1561
+ nonce?: `0x${string}` | undefined;
1562
+ to?: `0x${string}` | undefined;
1563
+ value?: `0x${string}` | undefined;
1564
+ gasPrice?: undefined;
1565
+ maxFeePerGas?: `0x${string}` | undefined;
1566
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1567
+ accessList?: import("../index.js").AccessList | undefined;
1568
+ type?: "0x2" | undefined;
1569
+ feeCurrency?: `0x${string}` | undefined;
1570
+ gatewayFee?: `0x${string}` | undefined;
1571
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1572
+ } | {
1573
+ data?: `0x${string}` | undefined;
1574
+ from: `0x${string}`;
1575
+ gas?: `0x${string}` | undefined;
1576
+ nonce?: `0x${string}` | undefined;
1577
+ to?: `0x${string}` | undefined;
1578
+ value?: `0x${string}` | undefined;
1579
+ gasPrice?: undefined;
1580
+ maxFeePerGas?: `0x${string}` | undefined;
1581
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1582
+ accessList?: import("../index.js").AccessList | undefined;
1583
+ type?: "0x7c" | undefined;
1584
+ feeCurrency?: `0x${string}` | undefined;
1585
+ gatewayFee?: `0x${string}` | undefined;
1586
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1289
1587
  }) & {};
1290
1588
  type: "transactionRequest";
1291
1589
  };
@@ -1370,7 +1668,122 @@ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1370
1668
  };
1371
1669
  readonly transaction: {
1372
1670
  exclude: [] | undefined;
1373
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
1671
+ format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1672
+ feeCurrency: `0x${string}` | null;
1673
+ gatewayFee: `0x${string}` | null;
1674
+ gatewayFeeRecipient: `0x${string}` | null;
1675
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1676
+ feeCurrency: `0x${string}` | null;
1677
+ gatewayFee: `0x${string}` | null;
1678
+ gatewayFeeRecipient: `0x${string}` | null;
1679
+ type: "0x7c";
1680
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1681
+ feeCurrency: `0x${string}` | null;
1682
+ gatewayFee: `0x${string}` | null;
1683
+ gatewayFeeRecipient: `0x${string}` | null;
1684
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1685
+ feeCurrency: `0x${string}` | null;
1686
+ gatewayFee: `0x${string}` | null;
1687
+ gatewayFeeRecipient: `0x${string}` | null;
1688
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1689
+ feeCurrency: `0x${string}` | null;
1690
+ gatewayFee: `0x${string}` | null;
1691
+ gatewayFeeRecipient: `0x${string}` | null;
1692
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1693
+ feeCurrency: `0x${string}` | null;
1694
+ gatewayFee: `0x${string}` | null;
1695
+ gatewayFeeRecipient: `0x${string}` | null;
1696
+ type: "0x7c";
1697
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1698
+ feeCurrency: `0x${string}` | null;
1699
+ gatewayFee: `0x${string}` | null;
1700
+ gatewayFeeRecipient: `0x${string}` | null;
1701
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1702
+ feeCurrency: `0x${string}` | null;
1703
+ gatewayFee: `0x${string}` | null;
1704
+ gatewayFeeRecipient: `0x${string}` | null;
1705
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1706
+ feeCurrency: `0x${string}` | null;
1707
+ gatewayFee: `0x${string}` | null;
1708
+ gatewayFeeRecipient: `0x${string}` | null;
1709
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1710
+ feeCurrency: `0x${string}` | null;
1711
+ gatewayFee: `0x${string}` | null;
1712
+ gatewayFeeRecipient: `0x${string}` | null;
1713
+ type: "0x7c";
1714
+ })) => ({
1715
+ blockHash: `0x${string}` | null;
1716
+ blockNumber: bigint | null;
1717
+ from: `0x${string}`;
1718
+ gas: bigint;
1719
+ hash: `0x${string}`;
1720
+ input: `0x${string}`;
1721
+ nonce: number;
1722
+ r: `0x${string}`;
1723
+ s: `0x${string}`;
1724
+ to: `0x${string}` | null;
1725
+ transactionIndex: number | null;
1726
+ typeHex: `0x${string}` | null;
1727
+ v: bigint;
1728
+ value: bigint;
1729
+ gasPrice: bigint;
1730
+ maxFeePerGas?: undefined;
1731
+ maxPriorityFeePerGas?: undefined;
1732
+ accessList?: undefined;
1733
+ chainId?: number | undefined;
1734
+ type: "legacy";
1735
+ feeCurrency: `0x${string}` | null;
1736
+ gatewayFee: bigint | null;
1737
+ gatewayFeeRecipient: `0x${string}` | null;
1738
+ } | {
1739
+ blockHash: `0x${string}` | null;
1740
+ blockNumber: bigint | null;
1741
+ from: `0x${string}`;
1742
+ gas: bigint;
1743
+ hash: `0x${string}`;
1744
+ input: `0x${string}`;
1745
+ nonce: number;
1746
+ r: `0x${string}`;
1747
+ s: `0x${string}`;
1748
+ to: `0x${string}` | null;
1749
+ transactionIndex: number | null;
1750
+ typeHex: `0x${string}` | null;
1751
+ v: bigint;
1752
+ value: bigint;
1753
+ gasPrice: undefined;
1754
+ maxFeePerGas: bigint;
1755
+ maxPriorityFeePerGas: bigint;
1756
+ accessList?: undefined;
1757
+ chainId?: number | undefined;
1758
+ type: "cip42";
1759
+ feeCurrency: `0x${string}` | null;
1760
+ gatewayFee: bigint | null;
1761
+ gatewayFeeRecipient: `0x${string}` | null;
1762
+ } | {
1763
+ blockHash: `0x${string}` | null;
1764
+ blockNumber: bigint | null;
1765
+ from: `0x${string}`;
1766
+ gas: bigint;
1767
+ hash: `0x${string}`;
1768
+ input: `0x${string}`;
1769
+ nonce: number;
1770
+ r: `0x${string}`;
1771
+ s: `0x${string}`;
1772
+ to: `0x${string}` | null;
1773
+ transactionIndex: number | null;
1774
+ typeHex: `0x${string}` | null;
1775
+ v: bigint;
1776
+ value: bigint;
1777
+ gasPrice: bigint;
1778
+ maxFeePerGas?: undefined;
1779
+ maxPriorityFeePerGas?: undefined;
1780
+ accessList: import("../index.js").AccessList;
1781
+ chainId: number;
1782
+ type: "eip2930";
1783
+ feeCurrency: `0x${string}` | null;
1784
+ gatewayFee: bigint | null;
1785
+ gatewayFeeRecipient: `0x${string}` | null;
1786
+ } | {
1374
1787
  blockHash: `0x${string}` | null;
1375
1788
  blockNumber: bigint | null;
1376
1789
  from: `0x${string}`;
@@ -1385,12 +1798,36 @@ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1385
1798
  typeHex: `0x${string}` | null;
1386
1799
  v: bigint;
1387
1800
  value: bigint;
1388
- gasPrice: bigint;
1389
- maxFeePerGas?: undefined;
1390
- maxPriorityFeePerGas?: undefined;
1391
- accessList?: undefined;
1392
- chainId?: number | undefined;
1393
- type: "legacy";
1801
+ gasPrice: undefined;
1802
+ maxFeePerGas: bigint;
1803
+ maxPriorityFeePerGas: bigint;
1804
+ accessList: import("../index.js").AccessList;
1805
+ chainId: number;
1806
+ type: "eip1559";
1807
+ feeCurrency: `0x${string}` | null;
1808
+ gatewayFee: bigint | null;
1809
+ gatewayFeeRecipient: `0x${string}` | null;
1810
+ } | {
1811
+ blockHash: `0x${string}` | null;
1812
+ blockNumber: bigint | null;
1813
+ from: `0x${string}`;
1814
+ gas: bigint;
1815
+ hash: `0x${string}`;
1816
+ input: `0x${string}`;
1817
+ nonce: number;
1818
+ r: `0x${string}`;
1819
+ s: `0x${string}`;
1820
+ to: `0x${string}` | null;
1821
+ transactionIndex: number | null;
1822
+ typeHex: `0x${string}` | null;
1823
+ v: bigint;
1824
+ value: bigint;
1825
+ gasPrice: undefined;
1826
+ maxFeePerGas: bigint;
1827
+ maxPriorityFeePerGas: bigint;
1828
+ accessList: import("../index.js").AccessList;
1829
+ chainId: number;
1830
+ type: "cip42";
1394
1831
  feeCurrency: `0x${string}` | null;
1395
1832
  gatewayFee: bigint | null;
1396
1833
  gatewayFeeRecipient: `0x${string}` | null;
@@ -1410,8 +1847,8 @@ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1410
1847
  v: bigint;
1411
1848
  value: bigint;
1412
1849
  gasPrice: bigint;
1413
- maxFeePerGas?: undefined;
1414
- maxPriorityFeePerGas?: undefined;
1850
+ maxFeePerGas: undefined;
1851
+ maxPriorityFeePerGas: undefined;
1415
1852
  accessList: import("../index.js").AccessList;
1416
1853
  chainId: number;
1417
1854
  type: "eip2930";
@@ -1442,6 +1879,30 @@ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1442
1879
  feeCurrency: `0x${string}` | null;
1443
1880
  gatewayFee: bigint | null;
1444
1881
  gatewayFeeRecipient: `0x${string}` | null;
1882
+ } | {
1883
+ blockHash: `0x${string}` | null;
1884
+ blockNumber: bigint | null;
1885
+ from: `0x${string}`;
1886
+ gas: bigint;
1887
+ hash: `0x${string}`;
1888
+ input: `0x${string}`;
1889
+ nonce: number;
1890
+ r: `0x${string}`;
1891
+ s: `0x${string}`;
1892
+ to: `0x${string}` | null;
1893
+ transactionIndex: number | null;
1894
+ typeHex: `0x${string}` | null;
1895
+ v: bigint;
1896
+ value: bigint;
1897
+ gasPrice?: undefined;
1898
+ maxFeePerGas: bigint;
1899
+ maxPriorityFeePerGas: bigint;
1900
+ accessList: import("../index.js").AccessList;
1901
+ chainId: number;
1902
+ type: "cip42";
1903
+ feeCurrency: `0x${string}` | null;
1904
+ gatewayFee: bigint | null;
1905
+ gatewayFeeRecipient: `0x${string}` | null;
1445
1906
  }) & {};
1446
1907
  type: "transaction";
1447
1908
  };
@@ -1470,7 +1931,67 @@ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1470
1931
  };
1471
1932
  readonly transactionRequest: {
1472
1933
  exclude: [] | undefined;
1473
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
1934
+ format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequest>) => ({
1935
+ data?: `0x${string}` | undefined;
1936
+ from: `0x${string}`;
1937
+ gas?: `0x${string}` | undefined;
1938
+ nonce?: `0x${string}` | undefined;
1939
+ to?: `0x${string}` | undefined;
1940
+ value?: `0x${string}` | undefined;
1941
+ gasPrice?: `0x${string}` | undefined;
1942
+ maxFeePerGas?: undefined;
1943
+ maxPriorityFeePerGas?: undefined;
1944
+ accessList?: undefined;
1945
+ type?: "0x0" | undefined;
1946
+ feeCurrency?: `0x${string}` | undefined;
1947
+ gatewayFee?: `0x${string}` | undefined;
1948
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1949
+ } | {
1950
+ data?: `0x${string}` | undefined;
1951
+ from: `0x${string}`;
1952
+ gas?: `0x${string}` | undefined;
1953
+ nonce?: `0x${string}` | undefined;
1954
+ to?: `0x${string}` | undefined;
1955
+ value?: `0x${string}` | undefined;
1956
+ gasPrice?: `0x${string}` | undefined;
1957
+ maxFeePerGas?: undefined;
1958
+ maxPriorityFeePerGas?: undefined;
1959
+ accessList?: import("../index.js").AccessList | undefined;
1960
+ type?: "0x1" | undefined;
1961
+ feeCurrency?: `0x${string}` | undefined;
1962
+ gatewayFee?: `0x${string}` | undefined;
1963
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1964
+ } | {
1965
+ data?: `0x${string}` | undefined;
1966
+ from: `0x${string}`;
1967
+ gas?: `0x${string}` | undefined;
1968
+ nonce?: `0x${string}` | undefined;
1969
+ to?: `0x${string}` | undefined;
1970
+ value?: `0x${string}` | undefined;
1971
+ gasPrice?: undefined;
1972
+ maxFeePerGas?: `0x${string}` | undefined;
1973
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1974
+ accessList?: import("../index.js").AccessList | undefined;
1975
+ type?: "0x2" | undefined;
1976
+ feeCurrency?: `0x${string}` | undefined;
1977
+ gatewayFee?: `0x${string}` | undefined;
1978
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1979
+ } | {
1980
+ data?: `0x${string}` | undefined;
1981
+ from: `0x${string}`;
1982
+ gas?: `0x${string}` | undefined;
1983
+ nonce?: `0x${string}` | undefined;
1984
+ to?: `0x${string}` | undefined;
1985
+ value?: `0x${string}` | undefined;
1986
+ gasPrice?: undefined;
1987
+ maxFeePerGas?: `0x${string}` | undefined;
1988
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1989
+ accessList?: import("../index.js").AccessList | undefined;
1990
+ type?: "0x7c" | undefined;
1991
+ feeCurrency?: `0x${string}` | undefined;
1992
+ gatewayFee?: `0x${string}` | undefined;
1993
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1994
+ } | {
1474
1995
  data?: `0x${string}` | undefined;
1475
1996
  from: `0x${string}`;
1476
1997
  gas?: `0x${string}` | undefined;
@@ -1515,6 +2036,81 @@ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1515
2036
  feeCurrency?: `0x${string}` | undefined;
1516
2037
  gatewayFee?: `0x${string}` | undefined;
1517
2038
  gatewayFeeRecipient?: `0x${string}` | undefined;
2039
+ } | {
2040
+ data?: `0x${string}` | undefined;
2041
+ from: `0x${string}`;
2042
+ gas?: `0x${string}` | undefined;
2043
+ nonce?: `0x${string}` | undefined;
2044
+ to?: `0x${string}` | undefined;
2045
+ value?: `0x${string}` | undefined;
2046
+ gasPrice?: undefined;
2047
+ maxFeePerGas?: `0x${string}` | undefined;
2048
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2049
+ accessList?: import("../index.js").AccessList | undefined;
2050
+ type?: "0x7c" | undefined;
2051
+ feeCurrency?: `0x${string}` | undefined;
2052
+ gatewayFee?: `0x${string}` | undefined;
2053
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2054
+ } | {
2055
+ data?: `0x${string}` | undefined;
2056
+ from: `0x${string}`;
2057
+ gas?: `0x${string}` | undefined;
2058
+ nonce?: `0x${string}` | undefined;
2059
+ to?: `0x${string}` | undefined;
2060
+ value?: `0x${string}` | undefined;
2061
+ gasPrice?: `0x${string}` | undefined;
2062
+ maxFeePerGas?: undefined;
2063
+ maxPriorityFeePerGas?: undefined;
2064
+ accessList?: undefined;
2065
+ type?: "0x0" | undefined;
2066
+ feeCurrency?: `0x${string}` | undefined;
2067
+ gatewayFee?: `0x${string}` | undefined;
2068
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2069
+ } | {
2070
+ data?: `0x${string}` | undefined;
2071
+ from: `0x${string}`;
2072
+ gas?: `0x${string}` | undefined;
2073
+ nonce?: `0x${string}` | undefined;
2074
+ to?: `0x${string}` | undefined;
2075
+ value?: `0x${string}` | undefined;
2076
+ gasPrice?: `0x${string}` | undefined;
2077
+ maxFeePerGas?: undefined;
2078
+ maxPriorityFeePerGas?: undefined;
2079
+ accessList?: import("../index.js").AccessList | undefined;
2080
+ type?: "0x1" | undefined;
2081
+ feeCurrency?: `0x${string}` | undefined;
2082
+ gatewayFee?: `0x${string}` | undefined;
2083
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2084
+ } | {
2085
+ data?: `0x${string}` | undefined;
2086
+ from: `0x${string}`;
2087
+ gas?: `0x${string}` | undefined;
2088
+ nonce?: `0x${string}` | undefined;
2089
+ to?: `0x${string}` | undefined;
2090
+ value?: `0x${string}` | undefined;
2091
+ gasPrice?: undefined;
2092
+ maxFeePerGas?: `0x${string}` | undefined;
2093
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2094
+ accessList?: import("../index.js").AccessList | undefined;
2095
+ type?: "0x2" | undefined;
2096
+ feeCurrency?: `0x${string}` | undefined;
2097
+ gatewayFee?: `0x${string}` | undefined;
2098
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2099
+ } | {
2100
+ data?: `0x${string}` | undefined;
2101
+ from: `0x${string}`;
2102
+ gas?: `0x${string}` | undefined;
2103
+ nonce?: `0x${string}` | undefined;
2104
+ to?: `0x${string}` | undefined;
2105
+ value?: `0x${string}` | undefined;
2106
+ gasPrice?: undefined;
2107
+ maxFeePerGas?: `0x${string}` | undefined;
2108
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2109
+ accessList?: import("../index.js").AccessList | undefined;
2110
+ type?: "0x7c" | undefined;
2111
+ feeCurrency?: `0x${string}` | undefined;
2112
+ gatewayFee?: `0x${string}` | undefined;
2113
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1518
2114
  }) & {};
1519
2115
  type: "transactionRequest";
1520
2116
  };
@@ -1592,7 +2188,98 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1592
2188
  };
1593
2189
  readonly transaction: {
1594
2190
  exclude: [] | undefined;
1595
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
2191
+ format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
2192
+ feeCurrency: `0x${string}` | null;
2193
+ gatewayFee: `0x${string}` | null;
2194
+ gatewayFeeRecipient: `0x${string}` | null;
2195
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
2196
+ feeCurrency: `0x${string}` | null;
2197
+ gatewayFee: `0x${string}` | null;
2198
+ gatewayFeeRecipient: `0x${string}` | null;
2199
+ type: "0x7c";
2200
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
2201
+ feeCurrency: `0x${string}` | null;
2202
+ gatewayFee: `0x${string}` | null;
2203
+ gatewayFeeRecipient: `0x${string}` | null;
2204
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
2205
+ feeCurrency: `0x${string}` | null;
2206
+ gatewayFee: `0x${string}` | null;
2207
+ gatewayFeeRecipient: `0x${string}` | null;
2208
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
2209
+ feeCurrency: `0x${string}` | null;
2210
+ gatewayFee: `0x${string}` | null;
2211
+ gatewayFeeRecipient: `0x${string}` | null;
2212
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
2213
+ feeCurrency: `0x${string}` | null;
2214
+ gatewayFee: `0x${string}` | null;
2215
+ gatewayFeeRecipient: `0x${string}` | null;
2216
+ type: "0x7c";
2217
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
2218
+ feeCurrency: `0x${string}` | null;
2219
+ gatewayFee: `0x${string}` | null;
2220
+ gatewayFeeRecipient: `0x${string}` | null;
2221
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
2222
+ feeCurrency: `0x${string}` | null;
2223
+ gatewayFee: `0x${string}` | null;
2224
+ gatewayFeeRecipient: `0x${string}` | null;
2225
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
2226
+ feeCurrency: `0x${string}` | null;
2227
+ gatewayFee: `0x${string}` | null;
2228
+ gatewayFeeRecipient: `0x${string}` | null;
2229
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
2230
+ feeCurrency: `0x${string}` | null;
2231
+ gatewayFee: `0x${string}` | null;
2232
+ gatewayFeeRecipient: `0x${string}` | null;
2233
+ type: "0x7c";
2234
+ })) => ({
2235
+ blockHash: `0x${string}` | null;
2236
+ blockNumber: bigint | null;
2237
+ from: `0x${string}`;
2238
+ gas: bigint;
2239
+ hash: `0x${string}`;
2240
+ input: `0x${string}`;
2241
+ nonce: number;
2242
+ r: `0x${string}`;
2243
+ s: `0x${string}`;
2244
+ to: `0x${string}` | null;
2245
+ transactionIndex: number | null;
2246
+ typeHex: `0x${string}` | null;
2247
+ v: bigint;
2248
+ value: bigint;
2249
+ gasPrice: bigint;
2250
+ maxFeePerGas?: undefined;
2251
+ maxPriorityFeePerGas?: undefined;
2252
+ accessList?: undefined;
2253
+ chainId?: number | undefined;
2254
+ type: "legacy";
2255
+ feeCurrency: `0x${string}` | null;
2256
+ gatewayFee: bigint | null;
2257
+ gatewayFeeRecipient: `0x${string}` | null;
2258
+ } | {
2259
+ blockHash: `0x${string}` | null;
2260
+ blockNumber: bigint | null;
2261
+ from: `0x${string}`;
2262
+ gas: bigint;
2263
+ hash: `0x${string}`;
2264
+ input: `0x${string}`;
2265
+ nonce: number;
2266
+ r: `0x${string}`;
2267
+ s: `0x${string}`;
2268
+ to: `0x${string}` | null;
2269
+ transactionIndex: number | null;
2270
+ typeHex: `0x${string}` | null;
2271
+ v: bigint;
2272
+ value: bigint;
2273
+ gasPrice: undefined;
2274
+ maxFeePerGas: bigint;
2275
+ maxPriorityFeePerGas: bigint;
2276
+ accessList?: undefined;
2277
+ chainId?: number | undefined;
2278
+ type: "cip42";
2279
+ feeCurrency: `0x${string}` | null;
2280
+ gatewayFee: bigint | null;
2281
+ gatewayFeeRecipient: `0x${string}` | null;
2282
+ } | {
1596
2283
  blockHash: `0x${string}` | null;
1597
2284
  blockNumber: bigint | null;
1598
2285
  from: `0x${string}`;
@@ -1610,9 +2297,57 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1610
2297
  gasPrice: bigint;
1611
2298
  maxFeePerGas?: undefined;
1612
2299
  maxPriorityFeePerGas?: undefined;
1613
- accessList?: undefined;
1614
- chainId?: number | undefined;
1615
- type: "legacy";
2300
+ accessList: import("../index.js").AccessList;
2301
+ chainId: number;
2302
+ type: "eip2930";
2303
+ feeCurrency: `0x${string}` | null;
2304
+ gatewayFee: bigint | null;
2305
+ gatewayFeeRecipient: `0x${string}` | null;
2306
+ } | {
2307
+ blockHash: `0x${string}` | null;
2308
+ blockNumber: bigint | null;
2309
+ from: `0x${string}`;
2310
+ gas: bigint;
2311
+ hash: `0x${string}`;
2312
+ input: `0x${string}`;
2313
+ nonce: number;
2314
+ r: `0x${string}`;
2315
+ s: `0x${string}`;
2316
+ to: `0x${string}` | null;
2317
+ transactionIndex: number | null;
2318
+ typeHex: `0x${string}` | null;
2319
+ v: bigint;
2320
+ value: bigint;
2321
+ gasPrice: undefined;
2322
+ maxFeePerGas: bigint;
2323
+ maxPriorityFeePerGas: bigint;
2324
+ accessList: import("../index.js").AccessList;
2325
+ chainId: number;
2326
+ type: "eip1559";
2327
+ feeCurrency: `0x${string}` | null;
2328
+ gatewayFee: bigint | null;
2329
+ gatewayFeeRecipient: `0x${string}` | null;
2330
+ } | {
2331
+ blockHash: `0x${string}` | null;
2332
+ blockNumber: bigint | null;
2333
+ from: `0x${string}`;
2334
+ gas: bigint;
2335
+ hash: `0x${string}`;
2336
+ input: `0x${string}`;
2337
+ nonce: number;
2338
+ r: `0x${string}`;
2339
+ s: `0x${string}`;
2340
+ to: `0x${string}` | null;
2341
+ transactionIndex: number | null;
2342
+ typeHex: `0x${string}` | null;
2343
+ v: bigint;
2344
+ value: bigint;
2345
+ gasPrice: undefined;
2346
+ maxFeePerGas: bigint;
2347
+ maxPriorityFeePerGas: bigint;
2348
+ accessList: import("../index.js").AccessList;
2349
+ chainId: number;
2350
+ type: "cip42";
1616
2351
  feeCurrency: `0x${string}` | null;
1617
2352
  gatewayFee: bigint | null;
1618
2353
  gatewayFeeRecipient: `0x${string}` | null;
@@ -1632,8 +2367,8 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1632
2367
  v: bigint;
1633
2368
  value: bigint;
1634
2369
  gasPrice: bigint;
1635
- maxFeePerGas?: undefined;
1636
- maxPriorityFeePerGas?: undefined;
2370
+ maxFeePerGas: undefined;
2371
+ maxPriorityFeePerGas: undefined;
1637
2372
  accessList: import("../index.js").AccessList;
1638
2373
  chainId: number;
1639
2374
  type: "eip2930";
@@ -1664,6 +2399,30 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1664
2399
  feeCurrency: `0x${string}` | null;
1665
2400
  gatewayFee: bigint | null;
1666
2401
  gatewayFeeRecipient: `0x${string}` | null;
2402
+ } | {
2403
+ blockHash: `0x${string}` | null;
2404
+ blockNumber: bigint | null;
2405
+ from: `0x${string}`;
2406
+ gas: bigint;
2407
+ hash: `0x${string}`;
2408
+ input: `0x${string}`;
2409
+ nonce: number;
2410
+ r: `0x${string}`;
2411
+ s: `0x${string}`;
2412
+ to: `0x${string}` | null;
2413
+ transactionIndex: number | null;
2414
+ typeHex: `0x${string}` | null;
2415
+ v: bigint;
2416
+ value: bigint;
2417
+ gasPrice?: undefined;
2418
+ maxFeePerGas: bigint;
2419
+ maxPriorityFeePerGas: bigint;
2420
+ accessList: import("../index.js").AccessList;
2421
+ chainId: number;
2422
+ type: "cip42";
2423
+ feeCurrency: `0x${string}` | null;
2424
+ gatewayFee: bigint | null;
2425
+ gatewayFeeRecipient: `0x${string}` | null;
1667
2426
  }) & {};
1668
2427
  type: "transaction";
1669
2428
  };
@@ -1692,7 +2451,127 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1692
2451
  };
1693
2452
  readonly transactionRequest: {
1694
2453
  exclude: [] | undefined;
1695
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
2454
+ format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequest>) => ({
2455
+ data?: `0x${string}` | undefined;
2456
+ from: `0x${string}`;
2457
+ gas?: `0x${string}` | undefined;
2458
+ nonce?: `0x${string}` | undefined;
2459
+ to?: `0x${string}` | undefined;
2460
+ value?: `0x${string}` | undefined;
2461
+ gasPrice?: `0x${string}` | undefined;
2462
+ maxFeePerGas?: undefined;
2463
+ maxPriorityFeePerGas?: undefined;
2464
+ accessList?: undefined;
2465
+ type?: "0x0" | undefined;
2466
+ feeCurrency?: `0x${string}` | undefined;
2467
+ gatewayFee?: `0x${string}` | undefined;
2468
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2469
+ } | {
2470
+ data?: `0x${string}` | undefined;
2471
+ from: `0x${string}`;
2472
+ gas?: `0x${string}` | undefined;
2473
+ nonce?: `0x${string}` | undefined;
2474
+ to?: `0x${string}` | undefined;
2475
+ value?: `0x${string}` | undefined;
2476
+ gasPrice?: `0x${string}` | undefined;
2477
+ maxFeePerGas?: undefined;
2478
+ maxPriorityFeePerGas?: undefined;
2479
+ accessList?: import("../index.js").AccessList | undefined;
2480
+ type?: "0x1" | undefined;
2481
+ feeCurrency?: `0x${string}` | undefined;
2482
+ gatewayFee?: `0x${string}` | undefined;
2483
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2484
+ } | {
2485
+ data?: `0x${string}` | undefined;
2486
+ from: `0x${string}`;
2487
+ gas?: `0x${string}` | undefined;
2488
+ nonce?: `0x${string}` | undefined;
2489
+ to?: `0x${string}` | undefined;
2490
+ value?: `0x${string}` | undefined;
2491
+ gasPrice?: undefined;
2492
+ maxFeePerGas?: `0x${string}` | undefined;
2493
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2494
+ accessList?: import("../index.js").AccessList | undefined;
2495
+ type?: "0x2" | undefined;
2496
+ feeCurrency?: `0x${string}` | undefined;
2497
+ gatewayFee?: `0x${string}` | undefined;
2498
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2499
+ } | {
2500
+ data?: `0x${string}` | undefined;
2501
+ from: `0x${string}`;
2502
+ gas?: `0x${string}` | undefined;
2503
+ nonce?: `0x${string}` | undefined;
2504
+ to?: `0x${string}` | undefined;
2505
+ value?: `0x${string}` | undefined;
2506
+ gasPrice?: undefined;
2507
+ maxFeePerGas?: `0x${string}` | undefined;
2508
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2509
+ accessList?: import("../index.js").AccessList | undefined;
2510
+ type?: "0x7c" | undefined;
2511
+ feeCurrency?: `0x${string}` | undefined;
2512
+ gatewayFee?: `0x${string}` | undefined;
2513
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2514
+ } | {
2515
+ data?: `0x${string}` | undefined;
2516
+ from: `0x${string}`;
2517
+ gas?: `0x${string}` | undefined;
2518
+ nonce?: `0x${string}` | undefined;
2519
+ to?: `0x${string}` | undefined;
2520
+ value?: `0x${string}` | undefined;
2521
+ gasPrice?: `0x${string}` | undefined;
2522
+ maxFeePerGas?: undefined;
2523
+ maxPriorityFeePerGas?: undefined;
2524
+ accessList?: undefined;
2525
+ type?: "0x0" | undefined;
2526
+ feeCurrency?: `0x${string}` | undefined;
2527
+ gatewayFee?: `0x${string}` | undefined;
2528
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2529
+ } | {
2530
+ data?: `0x${string}` | undefined;
2531
+ from: `0x${string}`;
2532
+ gas?: `0x${string}` | undefined;
2533
+ nonce?: `0x${string}` | undefined;
2534
+ to?: `0x${string}` | undefined;
2535
+ value?: `0x${string}` | undefined;
2536
+ gasPrice?: `0x${string}` | undefined;
2537
+ maxFeePerGas?: undefined;
2538
+ maxPriorityFeePerGas?: undefined;
2539
+ accessList?: import("../index.js").AccessList | undefined;
2540
+ type?: "0x1" | undefined;
2541
+ feeCurrency?: `0x${string}` | undefined;
2542
+ gatewayFee?: `0x${string}` | undefined;
2543
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2544
+ } | {
2545
+ data?: `0x${string}` | undefined;
2546
+ from: `0x${string}`;
2547
+ gas?: `0x${string}` | undefined;
2548
+ nonce?: `0x${string}` | undefined;
2549
+ to?: `0x${string}` | undefined;
2550
+ value?: `0x${string}` | undefined;
2551
+ gasPrice?: undefined;
2552
+ maxFeePerGas?: `0x${string}` | undefined;
2553
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2554
+ accessList?: import("../index.js").AccessList | undefined;
2555
+ type?: "0x2" | undefined;
2556
+ feeCurrency?: `0x${string}` | undefined;
2557
+ gatewayFee?: `0x${string}` | undefined;
2558
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2559
+ } | {
2560
+ data?: `0x${string}` | undefined;
2561
+ from: `0x${string}`;
2562
+ gas?: `0x${string}` | undefined;
2563
+ nonce?: `0x${string}` | undefined;
2564
+ to?: `0x${string}` | undefined;
2565
+ value?: `0x${string}` | undefined;
2566
+ gasPrice?: undefined;
2567
+ maxFeePerGas?: `0x${string}` | undefined;
2568
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2569
+ accessList?: import("../index.js").AccessList | undefined;
2570
+ type?: "0x7c" | undefined;
2571
+ feeCurrency?: `0x${string}` | undefined;
2572
+ gatewayFee?: `0x${string}` | undefined;
2573
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2574
+ } | {
1696
2575
  data?: `0x${string}` | undefined;
1697
2576
  from: `0x${string}`;
1698
2577
  gas?: `0x${string}` | undefined;
@@ -1737,6 +2616,21 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1737
2616
  feeCurrency?: `0x${string}` | undefined;
1738
2617
  gatewayFee?: `0x${string}` | undefined;
1739
2618
  gatewayFeeRecipient?: `0x${string}` | undefined;
2619
+ } | {
2620
+ data?: `0x${string}` | undefined;
2621
+ from: `0x${string}`;
2622
+ gas?: `0x${string}` | undefined;
2623
+ nonce?: `0x${string}` | undefined;
2624
+ to?: `0x${string}` | undefined;
2625
+ value?: `0x${string}` | undefined;
2626
+ gasPrice?: undefined;
2627
+ maxFeePerGas?: `0x${string}` | undefined;
2628
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2629
+ accessList?: import("../index.js").AccessList | undefined;
2630
+ type?: "0x7c" | undefined;
2631
+ feeCurrency?: `0x${string}` | undefined;
2632
+ gatewayFee?: `0x${string}` | undefined;
2633
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1740
2634
  }) & {};
1741
2635
  type: "transactionRequest";
1742
2636
  };
@@ -2344,6 +3238,51 @@ export declare const klaytn: import("../types/utils.js").Assign<{
2344
3238
  };
2345
3239
  };
2346
3240
  }, import("../types/chain.js").ChainConfig<import("../types/chain.js").ChainFormatters>>;
3241
+ export declare const linea: import("../types/utils.js").Assign<{
3242
+ readonly id: 59144;
3243
+ readonly name: "Linea Mainnet";
3244
+ readonly network: "linea-mainnet";
3245
+ readonly nativeCurrency: {
3246
+ readonly name: "Linea Ether";
3247
+ readonly symbol: "ETH";
3248
+ readonly decimals: 18;
3249
+ };
3250
+ readonly rpcUrls: {
3251
+ readonly infura: {
3252
+ readonly http: readonly ["https://linea-mainnet.infura.io/v3"];
3253
+ readonly webSocket: readonly ["wss://linea-mainnet.infura.io/ws/v3"];
3254
+ };
3255
+ readonly default: {
3256
+ readonly http: readonly ["https://rpc.linea.build"];
3257
+ readonly webSocket: readonly ["wss://rpc.linea.build"];
3258
+ };
3259
+ readonly public: {
3260
+ readonly http: readonly ["https://rpc.linea.build"];
3261
+ readonly webSocket: readonly ["wss://rpc.linea.build"];
3262
+ };
3263
+ };
3264
+ readonly blockExplorers: {
3265
+ readonly default: {
3266
+ readonly name: "Etherscan";
3267
+ readonly url: "https://lineascan.build";
3268
+ };
3269
+ readonly etherscan: {
3270
+ readonly name: "Etherscan";
3271
+ readonly url: "https://lineascan.build";
3272
+ };
3273
+ readonly blockscout: {
3274
+ readonly name: "Blockscout";
3275
+ readonly url: "https://explorer.linea.build";
3276
+ };
3277
+ };
3278
+ readonly contracts: {
3279
+ readonly multicall3: {
3280
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
3281
+ readonly blockCreated: 42;
3282
+ };
3283
+ };
3284
+ readonly testnet: false;
3285
+ }, import("../types/chain.js").ChainConfig<import("../types/chain.js").ChainFormatters>>;
2347
3286
  export declare const lineaTestnet: import("../types/utils.js").Assign<{
2348
3287
  readonly id: 59140;
2349
3288
  readonly name: "Linea Goerli Testnet";