@funkit/connect 5.2.0 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +55 -0
- package/dist/{chunk-QBCQK5KX.js → chunk-C63T33UV.js} +6 -1
- package/dist/{chunk-2C7D5NQG.js → chunk-CRPOYQ6X.js} +24 -4
- package/dist/{chunk-PKXUTXYG.js → chunk-LEJS74SX.js} +6 -1
- package/dist/components/Box/Box.d.ts +29 -29
- package/dist/components/Dialog/Dialog.css.d.ts +4 -2
- package/dist/components/Dialog/Dialog.d.ts +11 -3
- package/dist/components/Dialog/DialogContent.css.d.ts +2 -0
- package/dist/components/Dropdown/BaseDropdown.css.d.ts +1 -1
- package/dist/components/Dropdown/BaseDropdown.d.ts +4 -3
- package/dist/components/FunAsset/FunAssetLoading.d.ts +6 -3
- package/dist/components/FunBadge/BridgeCustomerStatusBadge.d.ts +9 -0
- package/dist/components/FunBadge/FunBadge.d.ts +4 -2
- package/dist/components/FunButton/FunIconButton.d.ts +1 -0
- package/dist/components/FunButton/FunLinkButton.d.ts +4 -0
- package/dist/components/FunCheckbox/FunCheckbox.d.ts +9 -0
- package/dist/components/FunCheckoutHistory/FunCheckoutStatus.d.ts +11 -2
- package/dist/components/FunCheckoutHistory/FunDirectExecutionStatus.d.ts +7 -0
- package/dist/components/FunFeatureList/FunFeatureList.d.ts +13 -0
- package/dist/components/FunFeatureList/FunFeatureListItem.d.ts +10 -0
- package/dist/components/FunGuarantees/FunGuarantees.d.ts +7 -3
- package/dist/components/FunInput/FunInput.d.ts +3 -1
- package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -1
- package/dist/components/FunInputButton/FunInputButton.d.ts +14 -0
- package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -1
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +8 -1
- package/dist/components/FunSelect/FunSelect.d.ts +3 -0
- package/dist/components/FunTooltip/FunTooltip.css.d.ts +1 -0
- package/dist/components/FunTooltip/FunTooltip.d.ts +15 -1
- package/dist/components/FunTransactionSummary/PaymentAmountSummary.d.ts +3 -4
- package/dist/components/Icons/CheckIcon.d.ts +1 -1
- package/dist/components/Icons/HomeIcon.d.ts +4 -0
- package/dist/components/Icons/Icons.css.d.ts +0 -1
- package/dist/components/Icons/New/BankIcon.d.ts +7 -0
- package/dist/components/Icons/New/BanknoteIcon.d.ts +4 -0
- package/dist/components/Icons/New/CoinsHandIcon.d.ts +4 -0
- package/dist/components/Icons/New/FiatAccountIcon.d.ts +4 -0
- package/dist/components/Icons/New/HelpIcon.d.ts +2 -0
- package/dist/components/Icons/New/LightningBoltOutlineIcon.d.ts +4 -0
- package/dist/components/Icons/New/ShieldCheckIcon.d.ts +4 -0
- package/dist/components/Icons/New/TimeIcon.d.ts +4 -0
- package/dist/components/Icons/New/UserIcon.d.ts +4 -0
- package/dist/components/Icons/SpinnerIconWithBackground.d.ts +6 -4
- package/dist/components/Icons/SuccessIcon.d.ts +3 -1
- package/dist/components/Icons/UserSquareIcon.d.ts +4 -0
- package/dist/components/Icons/VerificationFailedIcon.d.ts +4 -0
- package/dist/components/Icons/VerificationPendingIcon.d.ts +4 -0
- package/dist/components/Icons/VerificationSuccessIcon.d.ts +4 -0
- package/dist/components/Icons/VerifyIdentityIcon.d.ts +4 -0
- package/dist/components/SourcePaymentMethodItem/SourcePaymentMethodItem.d.ts +1 -2
- package/dist/components/Tabs/Tabs.d.ts +11 -0
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/components/TransferTokenDetails/TransferTokenDetails.d.ts +2 -2
- package/dist/components/VirtualFiatAccount/CreateAccountScreen/CreateAccountScreen.d.ts +15 -0
- package/dist/components/VirtualFiatAccount/IntroScreen/IntroScreen.d.ts +6 -0
- package/dist/components/VirtualFiatAccount/VerifyAccountScreen/VerifyAccountScreen.d.ts +15 -0
- package/dist/config/getDefaultConfig.d.ts +291 -150
- package/dist/consts/customers.d.ts +1 -0
- package/dist/consts/funkit.d.ts +0 -1
- package/dist/consts/quote.d.ts +3 -10
- package/dist/css/sprinkles.css.d.ts +45 -29
- package/dist/domains/bridge.d.ts +25 -0
- package/dist/domains/fees.d.ts +14 -1
- package/dist/domains/paymentMethods.d.ts +25 -4
- package/dist/domains/quote.d.ts +17 -14
- package/dist/domains/relay.d.ts +52 -0
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +1 -1
- package/dist/hooks/useCheckoutDirectExecution.d.ts +30 -0
- package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +11 -0
- package/dist/hooks/useCheckoutTimeEstimate.d.ts +2 -1
- package/dist/hooks/useCopyToClipboard.d.ts +7 -3
- package/dist/hooks/useFrogAccount.d.ts +335 -0
- package/dist/hooks/useIsUsBankrUser.d.ts +1 -0
- package/dist/hooks/usePaymentMethodIcon.d.ts +1 -0
- package/dist/hooks/usePaymentSources.d.ts +1 -1
- package/dist/hooks/useReceiveAmountLabel.d.ts +4 -0
- package/dist/hooks/useRelayBypass.d.ts +11 -7
- package/dist/hooks/useRelayExecutionInfo.d.ts +7 -0
- package/dist/hooks/useTokenTransfer.d.ts +3 -2
- package/dist/index.css +2723 -2456
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17595 -14237
- package/dist/modals/CheckoutModal/ConfirmationStep/useQuoteRefresh.d.ts +5 -1
- package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +1 -1
- package/dist/modals/CheckoutModal/LoadingAccount.d.ts +4 -1
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +8 -3
- package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeCustomer.d.ts +13 -0
- package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeKyc.d.ts +22 -0
- package/dist/modals/CheckoutModal/VirtualFiatAccount/ErrorScreen.d.ts +7 -0
- package/dist/modals/CheckoutModal/VirtualFiatAccount/FiatAccountDetail.d.ts +9 -0
- package/dist/modals/CheckoutModal/VirtualFiatAccount/KycIframe.d.ts +5 -0
- package/dist/modals/CheckoutModal/VirtualFiatAccount/VirtualFiatAccount.d.ts +9 -0
- package/dist/modals/CheckoutModal/stepTransition.d.ts +26 -1
- package/dist/modals/CheckoutModal/useNewCheckoutQuote.d.ts +1 -1
- package/dist/providers/FunkitCheckoutContext.d.ts +10 -3
- package/dist/providers/FunkitConfigContext.d.ts +1 -0
- package/dist/providers/FunkitQuoteContext.d.ts +4 -1
- package/dist/providers/FunkitThemeProvider.d.ts +24 -0
- package/dist/providers/GeneralWalletProvider.d.ts +10 -74
- package/dist/providers/ModalContext.d.ts +1 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/utils/checkout.d.ts +20 -10
- package/dist/utils/flags/config.d.ts +49 -2
- package/dist/utils/flags/types.d.ts +2 -0
- package/dist/utils/mesh.d.ts +1 -0
- package/dist/utils/tokenIconUrl.d.ts +2 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +65 -65
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +8 -7
- /package/dist/components/{TransferTokenDetails/TransferTokenDetails.css.d.ts → FunFeatureList/FunFeatureList.css.d.ts} +0 -0
|
@@ -72,6 +72,7 @@ export declare const getDefaultChains: () => ({
|
|
|
72
72
|
readonly blockCreated: 14353601;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
+
ensTlds?: readonly string[] | undefined;
|
|
75
76
|
id: 1;
|
|
76
77
|
name: "Ethereum";
|
|
77
78
|
nativeCurrency: {
|
|
@@ -81,11 +82,11 @@ export declare const getDefaultChains: () => ({
|
|
|
81
82
|
};
|
|
82
83
|
rpcUrls: {
|
|
83
84
|
readonly default: {
|
|
84
|
-
readonly http: readonly ["https://
|
|
85
|
+
readonly http: readonly ["https://eth.merkle.io"];
|
|
85
86
|
};
|
|
86
87
|
};
|
|
87
|
-
sourceId?: number | undefined;
|
|
88
|
-
testnet?: boolean | undefined;
|
|
88
|
+
sourceId?: number | undefined | undefined;
|
|
89
|
+
testnet?: boolean | undefined | undefined;
|
|
89
90
|
custom?: Record<string, unknown> | undefined;
|
|
90
91
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
91
92
|
formatters?: undefined;
|
|
@@ -99,6 +100,11 @@ export declare const getDefaultChains: () => ({
|
|
|
99
100
|
};
|
|
100
101
|
};
|
|
101
102
|
contracts: {
|
|
103
|
+
readonly disputeGameFactory: {
|
|
104
|
+
readonly 1: {
|
|
105
|
+
readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
|
|
106
|
+
};
|
|
107
|
+
};
|
|
102
108
|
readonly l2OutputOracle: {
|
|
103
109
|
readonly 1: {
|
|
104
110
|
readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
|
|
@@ -139,6 +145,7 @@ export declare const getDefaultChains: () => ({
|
|
|
139
145
|
readonly address: "0x4200000000000000000000000000000000000016";
|
|
140
146
|
};
|
|
141
147
|
};
|
|
148
|
+
ensTlds?: readonly string[] | undefined;
|
|
142
149
|
id: 8453;
|
|
143
150
|
name: "Base";
|
|
144
151
|
nativeCurrency: {
|
|
@@ -152,7 +159,7 @@ export declare const getDefaultChains: () => ({
|
|
|
152
159
|
};
|
|
153
160
|
};
|
|
154
161
|
sourceId: 1;
|
|
155
|
-
testnet?: boolean | undefined;
|
|
162
|
+
testnet?: boolean | undefined | undefined;
|
|
156
163
|
custom?: Record<string, unknown> | undefined;
|
|
157
164
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
158
165
|
formatters: {
|
|
@@ -172,6 +179,7 @@ export declare const getDefaultChains: () => ({
|
|
|
172
179
|
mixHash: import("viem").Hash;
|
|
173
180
|
nonce: `0x${string}` | null;
|
|
174
181
|
number: bigint | null;
|
|
182
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
175
183
|
parentHash: import("viem").Hash;
|
|
176
184
|
receiptsRoot: import("viem").Hex;
|
|
177
185
|
sealFields: import("viem").Hex[];
|
|
@@ -183,8 +191,8 @@ export declare const getDefaultChains: () => ({
|
|
|
183
191
|
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
184
192
|
transactionsRoot: import("viem").Hash;
|
|
185
193
|
uncles: import("viem").Hash[];
|
|
186
|
-
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
187
|
-
withdrawalsRoot?:
|
|
194
|
+
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
195
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
188
196
|
} & {};
|
|
189
197
|
type: "block";
|
|
190
198
|
};
|
|
@@ -206,12 +214,12 @@ export declare const getDefaultChains: () => ({
|
|
|
206
214
|
v: bigint;
|
|
207
215
|
value: bigint;
|
|
208
216
|
yParity: number;
|
|
209
|
-
gasPrice?: undefined;
|
|
210
|
-
maxFeePerBlobGas?: undefined;
|
|
217
|
+
gasPrice?: undefined | undefined;
|
|
218
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
211
219
|
maxFeePerGas: bigint;
|
|
212
220
|
maxPriorityFeePerGas: bigint;
|
|
213
221
|
isSystemTx?: boolean;
|
|
214
|
-
mint?: bigint | undefined;
|
|
222
|
+
mint?: bigint | undefined | undefined;
|
|
215
223
|
sourceHash: import("viem").Hex;
|
|
216
224
|
type: "deposit";
|
|
217
225
|
} | {
|
|
@@ -229,18 +237,19 @@ export declare const getDefaultChains: () => ({
|
|
|
229
237
|
input: import("viem").Hex;
|
|
230
238
|
transactionIndex: number | null;
|
|
231
239
|
typeHex: import("viem").Hex | null;
|
|
232
|
-
accessList?: undefined;
|
|
233
|
-
|
|
240
|
+
accessList?: undefined | undefined;
|
|
241
|
+
authorizationList?: undefined | undefined;
|
|
242
|
+
blobVersionedHashes?: undefined | undefined;
|
|
234
243
|
chainId?: number | undefined;
|
|
235
|
-
yParity?: undefined;
|
|
244
|
+
yParity?: undefined | undefined;
|
|
236
245
|
type: "legacy";
|
|
237
246
|
gasPrice: bigint;
|
|
238
|
-
maxFeePerBlobGas?: undefined;
|
|
239
|
-
maxFeePerGas?: undefined;
|
|
240
|
-
maxPriorityFeePerGas?: undefined;
|
|
241
|
-
isSystemTx?: undefined;
|
|
242
|
-
mint?: undefined;
|
|
243
|
-
sourceHash?: undefined;
|
|
247
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
248
|
+
maxFeePerGas?: undefined | undefined;
|
|
249
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
250
|
+
isSystemTx?: undefined | undefined;
|
|
251
|
+
mint?: undefined | undefined;
|
|
252
|
+
sourceHash?: undefined | undefined;
|
|
244
253
|
} | {
|
|
245
254
|
blockHash: `0x${string}` | null;
|
|
246
255
|
blockNumber: bigint | null;
|
|
@@ -258,16 +267,17 @@ export declare const getDefaultChains: () => ({
|
|
|
258
267
|
value: bigint;
|
|
259
268
|
yParity: number;
|
|
260
269
|
accessList: import("viem").AccessList;
|
|
261
|
-
|
|
270
|
+
authorizationList?: undefined | undefined;
|
|
271
|
+
blobVersionedHashes?: undefined | undefined;
|
|
262
272
|
chainId: number;
|
|
263
273
|
type: "eip2930";
|
|
264
274
|
gasPrice: bigint;
|
|
265
|
-
maxFeePerBlobGas?: undefined;
|
|
266
|
-
maxFeePerGas?: undefined;
|
|
267
|
-
maxPriorityFeePerGas?: undefined;
|
|
268
|
-
isSystemTx?: undefined;
|
|
269
|
-
mint?: undefined;
|
|
270
|
-
sourceHash?: undefined;
|
|
275
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
276
|
+
maxFeePerGas?: undefined | undefined;
|
|
277
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
278
|
+
isSystemTx?: undefined | undefined;
|
|
279
|
+
mint?: undefined | undefined;
|
|
280
|
+
sourceHash?: undefined | undefined;
|
|
271
281
|
} | {
|
|
272
282
|
blockHash: `0x${string}` | null;
|
|
273
283
|
blockNumber: bigint | null;
|
|
@@ -285,16 +295,17 @@ export declare const getDefaultChains: () => ({
|
|
|
285
295
|
value: bigint;
|
|
286
296
|
yParity: number;
|
|
287
297
|
accessList: import("viem").AccessList;
|
|
288
|
-
|
|
298
|
+
authorizationList?: undefined | undefined;
|
|
299
|
+
blobVersionedHashes?: undefined | undefined;
|
|
289
300
|
chainId: number;
|
|
290
301
|
type: "eip1559";
|
|
291
|
-
gasPrice?: undefined;
|
|
292
|
-
maxFeePerBlobGas?: undefined;
|
|
302
|
+
gasPrice?: undefined | undefined;
|
|
303
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
293
304
|
maxFeePerGas: bigint;
|
|
294
305
|
maxPriorityFeePerGas: bigint;
|
|
295
|
-
isSystemTx?: undefined;
|
|
296
|
-
mint?: undefined;
|
|
297
|
-
sourceHash?: undefined;
|
|
306
|
+
isSystemTx?: undefined | undefined;
|
|
307
|
+
mint?: undefined | undefined;
|
|
308
|
+
sourceHash?: undefined | undefined;
|
|
298
309
|
} | {
|
|
299
310
|
blockHash: `0x${string}` | null;
|
|
300
311
|
blockNumber: bigint | null;
|
|
@@ -312,16 +323,45 @@ export declare const getDefaultChains: () => ({
|
|
|
312
323
|
value: bigint;
|
|
313
324
|
yParity: number;
|
|
314
325
|
accessList: import("viem").AccessList;
|
|
326
|
+
authorizationList?: undefined | undefined;
|
|
315
327
|
blobVersionedHashes: readonly import("viem").Hex[];
|
|
316
328
|
chainId: number;
|
|
317
329
|
type: "eip4844";
|
|
318
|
-
gasPrice?: undefined;
|
|
330
|
+
gasPrice?: undefined | undefined;
|
|
319
331
|
maxFeePerBlobGas: bigint;
|
|
320
332
|
maxFeePerGas: bigint;
|
|
321
333
|
maxPriorityFeePerGas: bigint;
|
|
322
|
-
isSystemTx?: undefined;
|
|
323
|
-
mint?: undefined;
|
|
324
|
-
sourceHash?: undefined;
|
|
334
|
+
isSystemTx?: undefined | undefined;
|
|
335
|
+
mint?: undefined | undefined;
|
|
336
|
+
sourceHash?: undefined | undefined;
|
|
337
|
+
} | {
|
|
338
|
+
blockHash: `0x${string}` | null;
|
|
339
|
+
blockNumber: bigint | null;
|
|
340
|
+
from: import("viem").Address;
|
|
341
|
+
gas: bigint;
|
|
342
|
+
hash: import("viem").Hash;
|
|
343
|
+
input: import("viem").Hex;
|
|
344
|
+
nonce: number;
|
|
345
|
+
r: import("viem").Hex;
|
|
346
|
+
s: import("viem").Hex;
|
|
347
|
+
to: import("viem").Address | null;
|
|
348
|
+
transactionIndex: number | null;
|
|
349
|
+
typeHex: import("viem").Hex | null;
|
|
350
|
+
v: bigint;
|
|
351
|
+
value: bigint;
|
|
352
|
+
yParity: number;
|
|
353
|
+
accessList: import("viem").AccessList;
|
|
354
|
+
authorizationList: import("viem").SignedAuthorizationList;
|
|
355
|
+
blobVersionedHashes?: undefined | undefined;
|
|
356
|
+
chainId: number;
|
|
357
|
+
type: "eip7702";
|
|
358
|
+
gasPrice?: undefined | undefined;
|
|
359
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
360
|
+
maxFeePerGas: bigint;
|
|
361
|
+
maxPriorityFeePerGas: bigint;
|
|
362
|
+
isSystemTx?: undefined | undefined;
|
|
363
|
+
mint?: undefined | undefined;
|
|
364
|
+
sourceHash?: undefined | undefined;
|
|
325
365
|
}) & {};
|
|
326
366
|
type: "transaction";
|
|
327
367
|
};
|
|
@@ -339,7 +379,7 @@ export declare const getDefaultChains: () => ({
|
|
|
339
379
|
gasUsed: bigint;
|
|
340
380
|
logs: import("viem").Log<bigint, number, false>[];
|
|
341
381
|
logsBloom: import("viem").Hex;
|
|
342
|
-
root?:
|
|
382
|
+
root?: `0x${string}` | undefined;
|
|
343
383
|
status: "success" | "reverted";
|
|
344
384
|
to: import("viem").Address | null;
|
|
345
385
|
transactionHash: import("viem").Hash;
|
|
@@ -370,11 +410,12 @@ export declare const getDefaultChains: () => ({
|
|
|
370
410
|
readonly blockCreated: 25770160;
|
|
371
411
|
};
|
|
372
412
|
};
|
|
413
|
+
ensTlds?: readonly string[] | undefined;
|
|
373
414
|
id: 137;
|
|
374
415
|
name: "Polygon";
|
|
375
416
|
nativeCurrency: {
|
|
376
|
-
readonly name: "
|
|
377
|
-
readonly symbol: "
|
|
417
|
+
readonly name: "POL";
|
|
418
|
+
readonly symbol: "POL";
|
|
378
419
|
readonly decimals: 18;
|
|
379
420
|
};
|
|
380
421
|
rpcUrls: {
|
|
@@ -382,8 +423,8 @@ export declare const getDefaultChains: () => ({
|
|
|
382
423
|
readonly http: readonly ["https://polygon-rpc.com"];
|
|
383
424
|
};
|
|
384
425
|
};
|
|
385
|
-
sourceId?: number | undefined;
|
|
386
|
-
testnet?: boolean | undefined;
|
|
426
|
+
sourceId?: number | undefined | undefined;
|
|
427
|
+
testnet?: boolean | undefined | undefined;
|
|
387
428
|
custom?: Record<string, unknown> | undefined;
|
|
388
429
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
389
430
|
formatters?: undefined;
|
|
@@ -402,6 +443,7 @@ export declare const getDefaultChains: () => ({
|
|
|
402
443
|
readonly blockCreated: 7654707;
|
|
403
444
|
};
|
|
404
445
|
};
|
|
446
|
+
ensTlds?: readonly string[] | undefined;
|
|
405
447
|
id: 42161;
|
|
406
448
|
name: "Arbitrum One";
|
|
407
449
|
nativeCurrency: {
|
|
@@ -414,8 +456,8 @@ export declare const getDefaultChains: () => ({
|
|
|
414
456
|
readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
|
|
415
457
|
};
|
|
416
458
|
};
|
|
417
|
-
sourceId?: number | undefined;
|
|
418
|
-
testnet?: boolean | undefined;
|
|
459
|
+
sourceId?: number | undefined | undefined;
|
|
460
|
+
testnet?: boolean | undefined | undefined;
|
|
419
461
|
custom?: Record<string, unknown> | undefined;
|
|
420
462
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
421
463
|
formatters?: undefined;
|
|
@@ -472,6 +514,7 @@ export declare const getDefaultChains: () => ({
|
|
|
472
514
|
readonly address: "0x4200000000000000000000000000000000000016";
|
|
473
515
|
};
|
|
474
516
|
};
|
|
517
|
+
ensTlds?: readonly string[] | undefined;
|
|
475
518
|
id: 10;
|
|
476
519
|
name: "OP Mainnet";
|
|
477
520
|
nativeCurrency: {
|
|
@@ -485,7 +528,7 @@ export declare const getDefaultChains: () => ({
|
|
|
485
528
|
};
|
|
486
529
|
};
|
|
487
530
|
sourceId: 1;
|
|
488
|
-
testnet?: boolean | undefined;
|
|
531
|
+
testnet?: boolean | undefined | undefined;
|
|
489
532
|
custom?: Record<string, unknown> | undefined;
|
|
490
533
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
491
534
|
formatters: {
|
|
@@ -505,6 +548,7 @@ export declare const getDefaultChains: () => ({
|
|
|
505
548
|
mixHash: import("viem").Hash;
|
|
506
549
|
nonce: `0x${string}` | null;
|
|
507
550
|
number: bigint | null;
|
|
551
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
508
552
|
parentHash: import("viem").Hash;
|
|
509
553
|
receiptsRoot: import("viem").Hex;
|
|
510
554
|
sealFields: import("viem").Hex[];
|
|
@@ -516,8 +560,8 @@ export declare const getDefaultChains: () => ({
|
|
|
516
560
|
transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
|
|
517
561
|
transactionsRoot: import("viem").Hash;
|
|
518
562
|
uncles: import("viem").Hash[];
|
|
519
|
-
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
520
|
-
withdrawalsRoot?:
|
|
563
|
+
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
564
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
521
565
|
} & {};
|
|
522
566
|
type: "block";
|
|
523
567
|
};
|
|
@@ -539,12 +583,12 @@ export declare const getDefaultChains: () => ({
|
|
|
539
583
|
v: bigint;
|
|
540
584
|
value: bigint;
|
|
541
585
|
yParity: number;
|
|
542
|
-
gasPrice?: undefined;
|
|
543
|
-
maxFeePerBlobGas?: undefined;
|
|
586
|
+
gasPrice?: undefined | undefined;
|
|
587
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
544
588
|
maxFeePerGas: bigint;
|
|
545
589
|
maxPriorityFeePerGas: bigint;
|
|
546
590
|
isSystemTx?: boolean;
|
|
547
|
-
mint?: bigint | undefined;
|
|
591
|
+
mint?: bigint | undefined | undefined;
|
|
548
592
|
sourceHash: import("viem").Hex;
|
|
549
593
|
type: "deposit";
|
|
550
594
|
} | {
|
|
@@ -562,18 +606,19 @@ export declare const getDefaultChains: () => ({
|
|
|
562
606
|
input: import("viem").Hex;
|
|
563
607
|
transactionIndex: number | null;
|
|
564
608
|
typeHex: import("viem").Hex | null;
|
|
565
|
-
accessList?: undefined;
|
|
566
|
-
|
|
609
|
+
accessList?: undefined | undefined;
|
|
610
|
+
authorizationList?: undefined | undefined;
|
|
611
|
+
blobVersionedHashes?: undefined | undefined;
|
|
567
612
|
chainId?: number | undefined;
|
|
568
|
-
yParity?: undefined;
|
|
613
|
+
yParity?: undefined | undefined;
|
|
569
614
|
type: "legacy";
|
|
570
615
|
gasPrice: bigint;
|
|
571
|
-
maxFeePerBlobGas?: undefined;
|
|
572
|
-
maxFeePerGas?: undefined;
|
|
573
|
-
maxPriorityFeePerGas?: undefined;
|
|
574
|
-
isSystemTx?: undefined;
|
|
575
|
-
mint?: undefined;
|
|
576
|
-
sourceHash?: undefined;
|
|
616
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
617
|
+
maxFeePerGas?: undefined | undefined;
|
|
618
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
619
|
+
isSystemTx?: undefined | undefined;
|
|
620
|
+
mint?: undefined | undefined;
|
|
621
|
+
sourceHash?: undefined | undefined;
|
|
577
622
|
} | {
|
|
578
623
|
blockHash: `0x${string}` | null;
|
|
579
624
|
blockNumber: bigint | null;
|
|
@@ -591,16 +636,17 @@ export declare const getDefaultChains: () => ({
|
|
|
591
636
|
value: bigint;
|
|
592
637
|
yParity: number;
|
|
593
638
|
accessList: import("viem").AccessList;
|
|
594
|
-
|
|
639
|
+
authorizationList?: undefined | undefined;
|
|
640
|
+
blobVersionedHashes?: undefined | undefined;
|
|
595
641
|
chainId: number;
|
|
596
642
|
type: "eip2930";
|
|
597
643
|
gasPrice: bigint;
|
|
598
|
-
maxFeePerBlobGas?: undefined;
|
|
599
|
-
maxFeePerGas?: undefined;
|
|
600
|
-
maxPriorityFeePerGas?: undefined;
|
|
601
|
-
isSystemTx?: undefined;
|
|
602
|
-
mint?: undefined;
|
|
603
|
-
sourceHash?: undefined;
|
|
644
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
645
|
+
maxFeePerGas?: undefined | undefined;
|
|
646
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
647
|
+
isSystemTx?: undefined | undefined;
|
|
648
|
+
mint?: undefined | undefined;
|
|
649
|
+
sourceHash?: undefined | undefined;
|
|
604
650
|
} | {
|
|
605
651
|
blockHash: `0x${string}` | null;
|
|
606
652
|
blockNumber: bigint | null;
|
|
@@ -618,16 +664,17 @@ export declare const getDefaultChains: () => ({
|
|
|
618
664
|
value: bigint;
|
|
619
665
|
yParity: number;
|
|
620
666
|
accessList: import("viem").AccessList;
|
|
621
|
-
|
|
667
|
+
authorizationList?: undefined | undefined;
|
|
668
|
+
blobVersionedHashes?: undefined | undefined;
|
|
622
669
|
chainId: number;
|
|
623
670
|
type: "eip1559";
|
|
624
|
-
gasPrice?: undefined;
|
|
625
|
-
maxFeePerBlobGas?: undefined;
|
|
671
|
+
gasPrice?: undefined | undefined;
|
|
672
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
626
673
|
maxFeePerGas: bigint;
|
|
627
674
|
maxPriorityFeePerGas: bigint;
|
|
628
|
-
isSystemTx?: undefined;
|
|
629
|
-
mint?: undefined;
|
|
630
|
-
sourceHash?: undefined;
|
|
675
|
+
isSystemTx?: undefined | undefined;
|
|
676
|
+
mint?: undefined | undefined;
|
|
677
|
+
sourceHash?: undefined | undefined;
|
|
631
678
|
} | {
|
|
632
679
|
blockHash: `0x${string}` | null;
|
|
633
680
|
blockNumber: bigint | null;
|
|
@@ -645,16 +692,45 @@ export declare const getDefaultChains: () => ({
|
|
|
645
692
|
value: bigint;
|
|
646
693
|
yParity: number;
|
|
647
694
|
accessList: import("viem").AccessList;
|
|
695
|
+
authorizationList?: undefined | undefined;
|
|
648
696
|
blobVersionedHashes: readonly import("viem").Hex[];
|
|
649
697
|
chainId: number;
|
|
650
698
|
type: "eip4844";
|
|
651
|
-
gasPrice?: undefined;
|
|
699
|
+
gasPrice?: undefined | undefined;
|
|
652
700
|
maxFeePerBlobGas: bigint;
|
|
653
701
|
maxFeePerGas: bigint;
|
|
654
702
|
maxPriorityFeePerGas: bigint;
|
|
655
|
-
isSystemTx?: undefined;
|
|
656
|
-
mint?: undefined;
|
|
657
|
-
sourceHash?: undefined;
|
|
703
|
+
isSystemTx?: undefined | undefined;
|
|
704
|
+
mint?: undefined | undefined;
|
|
705
|
+
sourceHash?: undefined | undefined;
|
|
706
|
+
} | {
|
|
707
|
+
blockHash: `0x${string}` | null;
|
|
708
|
+
blockNumber: bigint | null;
|
|
709
|
+
from: import("viem").Address;
|
|
710
|
+
gas: bigint;
|
|
711
|
+
hash: import("viem").Hash;
|
|
712
|
+
input: import("viem").Hex;
|
|
713
|
+
nonce: number;
|
|
714
|
+
r: import("viem").Hex;
|
|
715
|
+
s: import("viem").Hex;
|
|
716
|
+
to: import("viem").Address | null;
|
|
717
|
+
transactionIndex: number | null;
|
|
718
|
+
typeHex: import("viem").Hex | null;
|
|
719
|
+
v: bigint;
|
|
720
|
+
value: bigint;
|
|
721
|
+
yParity: number;
|
|
722
|
+
accessList: import("viem").AccessList;
|
|
723
|
+
authorizationList: import("viem").SignedAuthorizationList;
|
|
724
|
+
blobVersionedHashes?: undefined | undefined;
|
|
725
|
+
chainId: number;
|
|
726
|
+
type: "eip7702";
|
|
727
|
+
gasPrice?: undefined | undefined;
|
|
728
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
729
|
+
maxFeePerGas: bigint;
|
|
730
|
+
maxPriorityFeePerGas: bigint;
|
|
731
|
+
isSystemTx?: undefined | undefined;
|
|
732
|
+
mint?: undefined | undefined;
|
|
733
|
+
sourceHash?: undefined | undefined;
|
|
658
734
|
}) & {};
|
|
659
735
|
type: "transaction";
|
|
660
736
|
};
|
|
@@ -672,7 +748,7 @@ export declare const getDefaultChains: () => ({
|
|
|
672
748
|
gasUsed: bigint;
|
|
673
749
|
logs: import("viem").Log<bigint, number, false>[];
|
|
674
750
|
logsBloom: import("viem").Hex;
|
|
675
|
-
root?:
|
|
751
|
+
root?: `0x${string}` | undefined;
|
|
676
752
|
status: "success" | "reverted";
|
|
677
753
|
to: import("viem").Address | null;
|
|
678
754
|
transactionHash: import("viem").Hash;
|
|
@@ -697,17 +773,23 @@ export declare const getDefaultChains: () => ({
|
|
|
697
773
|
readonly apiUrl: "https://api-era.zksync.network/api";
|
|
698
774
|
};
|
|
699
775
|
readonly native: {
|
|
700
|
-
readonly name: "
|
|
776
|
+
readonly name: "ZKsync Explorer";
|
|
701
777
|
readonly url: "https://explorer.zksync.io/";
|
|
778
|
+
readonly apiUrl: "https://block-explorer-api.mainnet.zksync.io/api";
|
|
702
779
|
};
|
|
703
780
|
};
|
|
704
781
|
contracts: {
|
|
705
782
|
readonly multicall3: {
|
|
706
783
|
readonly address: "0xF9cda624FBC7e059355ce98a31693d299FACd963";
|
|
707
784
|
};
|
|
785
|
+
readonly universalSignatureVerifier: {
|
|
786
|
+
readonly address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C";
|
|
787
|
+
readonly blockCreated: 45659388;
|
|
788
|
+
};
|
|
708
789
|
};
|
|
790
|
+
ensTlds?: readonly string[] | undefined;
|
|
709
791
|
id: 324;
|
|
710
|
-
name: "
|
|
792
|
+
name: "ZKsync Era";
|
|
711
793
|
nativeCurrency: {
|
|
712
794
|
readonly decimals: 18;
|
|
713
795
|
readonly name: "Ether";
|
|
@@ -719,8 +801,8 @@ export declare const getDefaultChains: () => ({
|
|
|
719
801
|
readonly webSocket: readonly ["wss://mainnet.era.zksync.io/ws"];
|
|
720
802
|
};
|
|
721
803
|
};
|
|
722
|
-
sourceId?: number | undefined;
|
|
723
|
-
testnet?: boolean | undefined;
|
|
804
|
+
sourceId?: number | undefined | undefined;
|
|
805
|
+
testnet?: boolean | undefined | undefined;
|
|
724
806
|
custom: {
|
|
725
807
|
readonly getEip712Domain: import("viem/zksync").EIP712DomainFn<import("viem/zksync").ZkSyncTransactionSerializable, import("viem/zksync").ZkSyncEIP712TransactionSignable>;
|
|
726
808
|
};
|
|
@@ -742,6 +824,7 @@ export declare const getDefaultChains: () => ({
|
|
|
742
824
|
mixHash: import("viem").Hash;
|
|
743
825
|
nonce: `0x${string}` | null;
|
|
744
826
|
number: bigint | null;
|
|
827
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
745
828
|
parentHash: import("viem").Hash;
|
|
746
829
|
receiptsRoot: import("viem").Hex;
|
|
747
830
|
sealFields: import("viem").Hex[];
|
|
@@ -753,8 +836,8 @@ export declare const getDefaultChains: () => ({
|
|
|
753
836
|
transactions: `0x${string}`[] | import("viem/zksync").ZkSyncTransaction<boolean>[];
|
|
754
837
|
transactionsRoot: import("viem").Hash;
|
|
755
838
|
uncles: import("viem").Hash[];
|
|
756
|
-
withdrawals?: import("viem").Withdrawal[] | undefined;
|
|
757
|
-
withdrawalsRoot?:
|
|
839
|
+
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
|
|
840
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
758
841
|
l1BatchNumber: bigint | null;
|
|
759
842
|
l1BatchTimestamp: bigint | null;
|
|
760
843
|
} & {};
|
|
@@ -777,15 +860,16 @@ export declare const getDefaultChains: () => ({
|
|
|
777
860
|
input: import("viem").Hex;
|
|
778
861
|
transactionIndex: number | null;
|
|
779
862
|
typeHex: import("viem").Hex | null;
|
|
780
|
-
accessList?: undefined;
|
|
781
|
-
|
|
863
|
+
accessList?: undefined | undefined;
|
|
864
|
+
authorizationList?: undefined | undefined;
|
|
865
|
+
blobVersionedHashes?: undefined | undefined;
|
|
782
866
|
chainId?: number | undefined;
|
|
783
|
-
yParity?: undefined;
|
|
867
|
+
yParity?: undefined | undefined;
|
|
784
868
|
type: "legacy";
|
|
785
869
|
gasPrice: bigint;
|
|
786
|
-
maxFeePerBlobGas?: undefined;
|
|
787
|
-
maxFeePerGas?: undefined;
|
|
788
|
-
maxPriorityFeePerGas?: undefined;
|
|
870
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
871
|
+
maxFeePerGas?: undefined | undefined;
|
|
872
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
789
873
|
l1BatchNumber: bigint | null;
|
|
790
874
|
l1BatchTxIndex: bigint | null;
|
|
791
875
|
} | {
|
|
@@ -805,13 +889,14 @@ export declare const getDefaultChains: () => ({
|
|
|
805
889
|
value: bigint;
|
|
806
890
|
yParity: number;
|
|
807
891
|
accessList: import("viem").AccessList;
|
|
808
|
-
|
|
892
|
+
authorizationList?: undefined | undefined;
|
|
893
|
+
blobVersionedHashes?: undefined | undefined;
|
|
809
894
|
chainId: number;
|
|
810
895
|
type: "eip2930";
|
|
811
896
|
gasPrice: bigint;
|
|
812
|
-
maxFeePerBlobGas?: undefined;
|
|
813
|
-
maxFeePerGas?: undefined;
|
|
814
|
-
maxPriorityFeePerGas?: undefined;
|
|
897
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
898
|
+
maxFeePerGas?: undefined | undefined;
|
|
899
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
815
900
|
l1BatchNumber: bigint | null;
|
|
816
901
|
l1BatchTxIndex: bigint | null;
|
|
817
902
|
} | {
|
|
@@ -831,11 +916,12 @@ export declare const getDefaultChains: () => ({
|
|
|
831
916
|
value: bigint;
|
|
832
917
|
yParity: number;
|
|
833
918
|
accessList: import("viem").AccessList;
|
|
834
|
-
|
|
919
|
+
authorizationList?: undefined | undefined;
|
|
920
|
+
blobVersionedHashes?: undefined | undefined;
|
|
835
921
|
chainId: number;
|
|
836
922
|
type: "eip1559";
|
|
837
|
-
gasPrice?: undefined;
|
|
838
|
-
maxFeePerBlobGas?: undefined;
|
|
923
|
+
gasPrice?: undefined | undefined;
|
|
924
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
839
925
|
maxFeePerGas: bigint;
|
|
840
926
|
maxPriorityFeePerGas: bigint;
|
|
841
927
|
l1BatchNumber: bigint | null;
|
|
@@ -857,10 +943,11 @@ export declare const getDefaultChains: () => ({
|
|
|
857
943
|
value: bigint;
|
|
858
944
|
yParity: number;
|
|
859
945
|
accessList: import("viem").AccessList;
|
|
946
|
+
authorizationList?: undefined | undefined;
|
|
860
947
|
blobVersionedHashes: readonly import("viem").Hex[];
|
|
861
948
|
chainId: number;
|
|
862
949
|
type: "eip4844";
|
|
863
|
-
gasPrice?: undefined;
|
|
950
|
+
gasPrice?: undefined | undefined;
|
|
864
951
|
maxFeePerBlobGas: bigint;
|
|
865
952
|
maxFeePerGas: bigint;
|
|
866
953
|
maxPriorityFeePerGas: bigint;
|
|
@@ -882,10 +969,37 @@ export declare const getDefaultChains: () => ({
|
|
|
882
969
|
v: bigint;
|
|
883
970
|
value: bigint;
|
|
884
971
|
yParity: number;
|
|
972
|
+
accessList: import("viem").AccessList;
|
|
973
|
+
authorizationList: import("viem").SignedAuthorizationList;
|
|
974
|
+
blobVersionedHashes?: undefined | undefined;
|
|
975
|
+
chainId: number;
|
|
976
|
+
type: "eip7702";
|
|
977
|
+
gasPrice?: undefined | undefined;
|
|
978
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
979
|
+
maxFeePerGas: bigint;
|
|
980
|
+
maxPriorityFeePerGas: bigint;
|
|
885
981
|
l1BatchNumber: bigint | null;
|
|
886
982
|
l1BatchTxIndex: bigint | null;
|
|
887
|
-
|
|
888
|
-
|
|
983
|
+
} | {
|
|
984
|
+
blockHash: `0x${string}` | null;
|
|
985
|
+
blockNumber: bigint | null;
|
|
986
|
+
from: import("viem").Address;
|
|
987
|
+
gas: bigint;
|
|
988
|
+
hash: import("viem").Hash;
|
|
989
|
+
input: import("viem").Hex;
|
|
990
|
+
nonce: number;
|
|
991
|
+
r: import("viem").Hex;
|
|
992
|
+
s: import("viem").Hex;
|
|
993
|
+
to: import("viem").Address | null;
|
|
994
|
+
transactionIndex: number | null;
|
|
995
|
+
typeHex: import("viem").Hex | null;
|
|
996
|
+
v: bigint;
|
|
997
|
+
value: bigint;
|
|
998
|
+
yParity: number;
|
|
999
|
+
l1BatchNumber: bigint | null;
|
|
1000
|
+
l1BatchTxIndex: bigint | null;
|
|
1001
|
+
gasPrice?: undefined | undefined;
|
|
1002
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
889
1003
|
maxFeePerGas: bigint;
|
|
890
1004
|
maxPriorityFeePerGas: bigint;
|
|
891
1005
|
type: "priority";
|
|
@@ -907,8 +1021,8 @@ export declare const getDefaultChains: () => ({
|
|
|
907
1021
|
yParity: number;
|
|
908
1022
|
l1BatchNumber: bigint | null;
|
|
909
1023
|
l1BatchTxIndex: bigint | null;
|
|
910
|
-
gasPrice?: undefined;
|
|
911
|
-
maxFeePerBlobGas?: undefined;
|
|
1024
|
+
gasPrice?: undefined | undefined;
|
|
1025
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
912
1026
|
maxFeePerGas: bigint;
|
|
913
1027
|
maxPriorityFeePerGas: bigint;
|
|
914
1028
|
type: "eip712" | "priority";
|
|
@@ -917,8 +1031,9 @@ export declare const getDefaultChains: () => ({
|
|
|
917
1031
|
};
|
|
918
1032
|
readonly transactionReceipt: {
|
|
919
1033
|
exclude: [] | undefined;
|
|
920
|
-
format: (args: import("viem/
|
|
1034
|
+
format: (args: import("viem/zksync").ZkSyncRpcTransactionReceipt) => {
|
|
921
1035
|
type: import("viem/zksync").ZkSyncTransactionType;
|
|
1036
|
+
contractAddress: import("viem").Address | null | undefined;
|
|
922
1037
|
to: import("viem").Address | null;
|
|
923
1038
|
from: import("viem").Address;
|
|
924
1039
|
blockHash: import("viem").Hash;
|
|
@@ -928,12 +1043,11 @@ export declare const getDefaultChains: () => ({
|
|
|
928
1043
|
logsBloom: import("viem").Hex;
|
|
929
1044
|
blobGasUsed?: bigint | undefined;
|
|
930
1045
|
gasUsed: bigint;
|
|
931
|
-
contractAddress: import("viem").Address | null | undefined;
|
|
932
1046
|
transactionHash: import("viem").Hash;
|
|
933
1047
|
blobGasPrice?: bigint | undefined;
|
|
934
1048
|
cumulativeGasUsed: bigint;
|
|
935
1049
|
effectiveGasPrice: bigint;
|
|
936
|
-
root?:
|
|
1050
|
+
root?: `0x${string}` | undefined;
|
|
937
1051
|
l1BatchNumber: bigint | null;
|
|
938
1052
|
l1BatchTxIndex: bigint | null;
|
|
939
1053
|
logs: import("viem/zksync").ZkSyncLog[];
|
|
@@ -942,95 +1056,118 @@ export declare const getDefaultChains: () => ({
|
|
|
942
1056
|
type: "transactionReceipt";
|
|
943
1057
|
};
|
|
944
1058
|
readonly transactionRequest: {
|
|
945
|
-
exclude: ("
|
|
1059
|
+
exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
|
|
946
1060
|
format: (args: import("viem/zksync").ZkSyncTransactionRequest) => ({
|
|
947
|
-
data?:
|
|
948
|
-
from
|
|
1061
|
+
data?: `0x${string}` | undefined;
|
|
1062
|
+
from?: `0x${string}` | undefined;
|
|
949
1063
|
gas?: `0x${string}` | undefined;
|
|
950
1064
|
nonce?: `0x${string}` | undefined;
|
|
951
|
-
to?:
|
|
952
|
-
value?: `0x${string}` | undefined;
|
|
953
|
-
accessList?: undefined;
|
|
954
|
-
blobs?: undefined;
|
|
1065
|
+
to?: `0x${string}` | null | undefined;
|
|
955
1066
|
type?: "0x0" | undefined;
|
|
1067
|
+
value?: `0x${string}` | undefined;
|
|
956
1068
|
gasPrice?: `0x${string}` | undefined;
|
|
957
|
-
maxFeePerBlobGas?: undefined;
|
|
958
|
-
maxFeePerGas?: undefined;
|
|
959
|
-
maxPriorityFeePerGas?: undefined;
|
|
1069
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1070
|
+
maxFeePerGas?: undefined | undefined;
|
|
1071
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
1072
|
+
blobs?: undefined;
|
|
1073
|
+
accessList?: undefined;
|
|
960
1074
|
blobVersionedHashes?: undefined;
|
|
961
1075
|
kzg?: undefined;
|
|
962
1076
|
sidecars?: undefined;
|
|
963
|
-
|
|
1077
|
+
authorizationList?: undefined;
|
|
1078
|
+
eip712Meta?: undefined | undefined;
|
|
964
1079
|
} | {
|
|
965
|
-
data?:
|
|
966
|
-
from
|
|
1080
|
+
data?: `0x${string}` | undefined;
|
|
1081
|
+
from?: `0x${string}` | undefined;
|
|
967
1082
|
gas?: `0x${string}` | undefined;
|
|
968
1083
|
nonce?: `0x${string}` | undefined;
|
|
969
|
-
to?:
|
|
1084
|
+
to?: `0x${string}` | null | undefined;
|
|
1085
|
+
type?: "0x1" | undefined;
|
|
970
1086
|
value?: `0x${string}` | undefined;
|
|
1087
|
+
gasPrice?: `0x${string}` | undefined;
|
|
1088
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1089
|
+
maxFeePerGas?: undefined | undefined;
|
|
1090
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
971
1091
|
accessList?: import("viem").AccessList | undefined;
|
|
972
1092
|
blobs?: undefined;
|
|
973
|
-
type?: "0x1" | undefined;
|
|
974
|
-
gasPrice?: `0x${string}` | undefined;
|
|
975
|
-
maxFeePerBlobGas?: undefined;
|
|
976
|
-
maxFeePerGas?: undefined;
|
|
977
|
-
maxPriorityFeePerGas?: undefined;
|
|
978
1093
|
blobVersionedHashes?: undefined;
|
|
979
1094
|
kzg?: undefined;
|
|
980
1095
|
sidecars?: undefined;
|
|
981
|
-
|
|
1096
|
+
authorizationList?: undefined;
|
|
1097
|
+
eip712Meta?: undefined | undefined;
|
|
982
1098
|
} | {
|
|
983
|
-
data?:
|
|
984
|
-
from
|
|
1099
|
+
data?: `0x${string}` | undefined;
|
|
1100
|
+
from?: `0x${string}` | undefined;
|
|
985
1101
|
gas?: `0x${string}` | undefined;
|
|
986
1102
|
nonce?: `0x${string}` | undefined;
|
|
987
|
-
to?:
|
|
1103
|
+
to?: `0x${string}` | null | undefined;
|
|
1104
|
+
type?: "0x2" | undefined;
|
|
988
1105
|
value?: `0x${string}` | undefined;
|
|
989
|
-
gasPrice?: undefined;
|
|
990
|
-
maxFeePerBlobGas?: undefined;
|
|
1106
|
+
gasPrice?: undefined | undefined;
|
|
1107
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
991
1108
|
maxFeePerGas?: `0x${string}` | undefined;
|
|
992
1109
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
993
1110
|
accessList?: import("viem").AccessList | undefined;
|
|
994
1111
|
blobs?: undefined;
|
|
995
|
-
type?: "0x2" | undefined;
|
|
996
1112
|
blobVersionedHashes?: undefined;
|
|
997
1113
|
kzg?: undefined;
|
|
998
1114
|
sidecars?: undefined;
|
|
999
|
-
|
|
1115
|
+
authorizationList?: undefined;
|
|
1116
|
+
eip712Meta?: undefined | undefined;
|
|
1000
1117
|
} | {
|
|
1001
|
-
|
|
1002
|
-
|
|
1118
|
+
type?: "0x3" | undefined;
|
|
1119
|
+
data?: `0x${string}` | undefined;
|
|
1120
|
+
from?: `0x${string}` | undefined;
|
|
1003
1121
|
gas?: `0x${string}` | undefined;
|
|
1004
1122
|
nonce?: `0x${string}` | undefined;
|
|
1005
1123
|
value?: `0x${string}` | undefined;
|
|
1006
1124
|
to: `0x${string}` | null;
|
|
1125
|
+
gasPrice?: undefined | undefined;
|
|
1126
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
1127
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
1128
|
+
maxFeePerBlobGas: `0x${string}`;
|
|
1007
1129
|
accessList?: import("viem").AccessList | undefined;
|
|
1008
1130
|
blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
|
|
1009
|
-
blobVersionedHashes?: readonly
|
|
1131
|
+
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
1010
1132
|
kzg?: import("viem").Kzg | undefined;
|
|
1011
|
-
sidecars?: readonly import("viem").BlobSidecar
|
|
1012
|
-
|
|
1013
|
-
|
|
1133
|
+
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
1134
|
+
authorizationList?: undefined;
|
|
1135
|
+
eip712Meta?: undefined | undefined;
|
|
1136
|
+
} | {
|
|
1137
|
+
type?: "0x4" | undefined;
|
|
1138
|
+
gasPrice?: undefined | undefined;
|
|
1139
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1014
1140
|
maxFeePerGas?: `0x${string}` | undefined;
|
|
1015
1141
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
1016
|
-
|
|
1017
|
-
|
|
1142
|
+
to?: `0x${string}` | null | undefined;
|
|
1143
|
+
data?: `0x${string}` | undefined;
|
|
1144
|
+
from?: `0x${string}` | undefined;
|
|
1145
|
+
gas?: `0x${string}` | undefined;
|
|
1146
|
+
nonce?: `0x${string}` | undefined;
|
|
1147
|
+
value?: `0x${string}` | undefined;
|
|
1148
|
+
accessList?: import("viem").AccessList | undefined;
|
|
1149
|
+
authorizationList?: import("viem").RpcAuthorizationList | undefined;
|
|
1150
|
+
blobs?: undefined;
|
|
1151
|
+
blobVersionedHashes?: undefined;
|
|
1152
|
+
kzg?: undefined;
|
|
1153
|
+
sidecars?: undefined;
|
|
1154
|
+
eip712Meta?: undefined | undefined;
|
|
1018
1155
|
} | {
|
|
1019
|
-
data?:
|
|
1020
|
-
from
|
|
1156
|
+
data?: `0x${string}` | undefined;
|
|
1157
|
+
from?: `0x${string}` | undefined;
|
|
1021
1158
|
gas?: `0x${string}` | undefined;
|
|
1022
1159
|
nonce?: `0x${string}` | undefined;
|
|
1023
|
-
to?:
|
|
1160
|
+
to?: `0x${string}` | null | undefined;
|
|
1161
|
+
type: "0xff" | "0x71";
|
|
1024
1162
|
value?: `0x${string}` | undefined;
|
|
1025
|
-
gasPrice?: undefined;
|
|
1026
|
-
maxFeePerBlobGas?: undefined;
|
|
1163
|
+
gasPrice?: undefined | undefined;
|
|
1164
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
1027
1165
|
maxFeePerGas?: `0x${string}` | undefined;
|
|
1028
1166
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
1029
1167
|
eip712Meta: import("viem/zksync").ZkSyncEip712Meta;
|
|
1030
|
-
type: "0x71" | "0xff";
|
|
1031
1168
|
}) & {
|
|
1032
|
-
gasPerPubdata: never;
|
|
1033
1169
|
paymaster: never;
|
|
1170
|
+
gasPerPubdata: never;
|
|
1034
1171
|
factoryDeps: never;
|
|
1035
1172
|
paymasterInput: never;
|
|
1036
1173
|
customSignature: never;
|
|
@@ -1056,6 +1193,7 @@ export declare const getDefaultChains: () => ({
|
|
|
1056
1193
|
readonly blockCreated: 304717;
|
|
1057
1194
|
};
|
|
1058
1195
|
};
|
|
1196
|
+
ensTlds?: readonly string[] | undefined;
|
|
1059
1197
|
id: 5000;
|
|
1060
1198
|
name: "Mantle";
|
|
1061
1199
|
nativeCurrency: {
|
|
@@ -1068,8 +1206,8 @@ export declare const getDefaultChains: () => ({
|
|
|
1068
1206
|
readonly http: readonly ["https://rpc.mantle.xyz"];
|
|
1069
1207
|
};
|
|
1070
1208
|
};
|
|
1071
|
-
sourceId?: number | undefined;
|
|
1072
|
-
testnet?: boolean | undefined;
|
|
1209
|
+
sourceId?: number | undefined | undefined;
|
|
1210
|
+
testnet?: boolean | undefined | undefined;
|
|
1073
1211
|
custom?: Record<string, unknown> | undefined;
|
|
1074
1212
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1075
1213
|
formatters?: undefined;
|
|
@@ -1088,6 +1226,7 @@ export declare const getDefaultChains: () => ({
|
|
|
1088
1226
|
readonly blockCreated: 14;
|
|
1089
1227
|
};
|
|
1090
1228
|
};
|
|
1229
|
+
ensTlds?: readonly string[] | undefined;
|
|
1091
1230
|
id: 534352;
|
|
1092
1231
|
name: "Scroll";
|
|
1093
1232
|
nativeCurrency: {
|
|
@@ -1101,7 +1240,7 @@ export declare const getDefaultChains: () => ({
|
|
|
1101
1240
|
readonly webSocket: readonly ["wss://wss-rpc.scroll.io/ws"];
|
|
1102
1241
|
};
|
|
1103
1242
|
};
|
|
1104
|
-
sourceId?: number | undefined;
|
|
1243
|
+
sourceId?: number | undefined | undefined;
|
|
1105
1244
|
testnet: false;
|
|
1106
1245
|
custom?: Record<string, unknown> | undefined;
|
|
1107
1246
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
@@ -1128,6 +1267,7 @@ export declare const getDefaultChains: () => ({
|
|
|
1128
1267
|
readonly blockCreated: 6507670;
|
|
1129
1268
|
};
|
|
1130
1269
|
};
|
|
1270
|
+
ensTlds?: readonly string[] | undefined;
|
|
1131
1271
|
id: 5;
|
|
1132
1272
|
name: "Goerli";
|
|
1133
1273
|
nativeCurrency: {
|
|
@@ -1137,10 +1277,10 @@ export declare const getDefaultChains: () => ({
|
|
|
1137
1277
|
};
|
|
1138
1278
|
rpcUrls: {
|
|
1139
1279
|
readonly default: {
|
|
1140
|
-
readonly http: readonly ["https://rpc.
|
|
1280
|
+
readonly http: readonly ["https://5.rpc.thirdweb.com"];
|
|
1141
1281
|
};
|
|
1142
1282
|
};
|
|
1143
|
-
sourceId?: number | undefined;
|
|
1283
|
+
sourceId?: number | undefined | undefined;
|
|
1144
1284
|
testnet: true;
|
|
1145
1285
|
custom?: Record<string, unknown> | undefined;
|
|
1146
1286
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
@@ -1160,6 +1300,7 @@ export declare const getDefaultChains: () => ({
|
|
|
1160
1300
|
readonly blockCreated: 81930;
|
|
1161
1301
|
};
|
|
1162
1302
|
};
|
|
1303
|
+
ensTlds?: readonly string[] | undefined;
|
|
1163
1304
|
id: 421614;
|
|
1164
1305
|
name: "Arbitrum Sepolia";
|
|
1165
1306
|
nativeCurrency: {
|
|
@@ -1172,7 +1313,7 @@ export declare const getDefaultChains: () => ({
|
|
|
1172
1313
|
readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
|
|
1173
1314
|
};
|
|
1174
1315
|
};
|
|
1175
|
-
sourceId?: number | undefined;
|
|
1316
|
+
sourceId?: number | undefined | undefined;
|
|
1176
1317
|
testnet: true;
|
|
1177
1318
|
custom?: Record<string, unknown> | undefined;
|
|
1178
1319
|
fees?: import("viem").ChainFees<undefined> | undefined;
|