@1delta/providers 0.0.26 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/evm.d.ts +187 -62
- package/dist/evm.d.ts.map +1 -1
- package/dist/evm.js +27 -8
- package/package.json +2 -2
- package/src/evm.ts +34 -12
package/dist/evm.d.ts
CHANGED
|
@@ -671,7 +671,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
671
671
|
formatters: {
|
|
672
672
|
readonly block: {
|
|
673
673
|
exclude: [] | undefined;
|
|
674
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
674
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
675
675
|
baseFeePerGas: bigint | null;
|
|
676
676
|
blobGasUsed: bigint;
|
|
677
677
|
difficulty: bigint;
|
|
@@ -704,7 +704,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
704
704
|
};
|
|
705
705
|
readonly transaction: {
|
|
706
706
|
exclude: [] | undefined;
|
|
707
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
707
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
708
708
|
blockHash: `0x${string}` | null;
|
|
709
709
|
blockNumber: bigint | null;
|
|
710
710
|
from: import("viem").Address;
|
|
@@ -873,7 +873,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
873
873
|
};
|
|
874
874
|
readonly transactionReceipt: {
|
|
875
875
|
exclude: [] | undefined;
|
|
876
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
876
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
877
877
|
blobGasPrice?: bigint | undefined;
|
|
878
878
|
blobGasUsed?: bigint | undefined;
|
|
879
879
|
blockHash: import("viem").Hash;
|
|
@@ -946,7 +946,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
946
946
|
readonly apiUrl: "https://api.polygonscan.com/api";
|
|
947
947
|
};
|
|
948
948
|
};
|
|
949
|
-
blockTime
|
|
949
|
+
blockTime: 2000;
|
|
950
950
|
contracts: {
|
|
951
951
|
readonly multicall3: {
|
|
952
952
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
@@ -986,7 +986,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
986
986
|
readonly apiUrl: "https://block-explorer-api.mainnet.zksync.io/api";
|
|
987
987
|
};
|
|
988
988
|
};
|
|
989
|
-
blockTime:
|
|
989
|
+
blockTime: 200;
|
|
990
990
|
contracts: {
|
|
991
991
|
readonly multicall3: {
|
|
992
992
|
readonly address: "0xF9cda624FBC7e059355ce98a31693d299FACd963";
|
|
@@ -1020,7 +1020,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
1020
1020
|
formatters: {
|
|
1021
1021
|
readonly block: {
|
|
1022
1022
|
exclude: [] | undefined;
|
|
1023
|
-
format: (args: import("viem/chains").ZkSyncRpcBlock) => {
|
|
1023
|
+
format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => {
|
|
1024
1024
|
baseFeePerGas: bigint | null;
|
|
1025
1025
|
blobGasUsed: bigint;
|
|
1026
1026
|
difficulty: bigint;
|
|
@@ -1055,7 +1055,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
1055
1055
|
};
|
|
1056
1056
|
readonly transaction: {
|
|
1057
1057
|
exclude: [] | undefined;
|
|
1058
|
-
format: (args: import("viem/chains").ZkSyncRpcTransaction) => ({
|
|
1058
|
+
format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => ({
|
|
1059
1059
|
r: import("viem").Hex;
|
|
1060
1060
|
s: import("viem").Hex;
|
|
1061
1061
|
v: bigint;
|
|
@@ -1241,7 +1241,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
1241
1241
|
};
|
|
1242
1242
|
readonly transactionReceipt: {
|
|
1243
1243
|
exclude: [] | undefined;
|
|
1244
|
-
format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt) => {
|
|
1244
|
+
format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
|
|
1245
1245
|
contractAddress: import("viem").Address | null | undefined;
|
|
1246
1246
|
type: import("viem/chains").ZkSyncTransactionType;
|
|
1247
1247
|
status: "success" | "reverted";
|
|
@@ -1267,7 +1267,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
1267
1267
|
};
|
|
1268
1268
|
readonly transactionRequest: {
|
|
1269
1269
|
exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
|
|
1270
|
-
format: (args: import("viem/chains").ZkSyncTransactionRequest) => ({
|
|
1270
|
+
format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => ({
|
|
1271
1271
|
data?: `0x${string}` | undefined;
|
|
1272
1272
|
from?: `0x${string}` | undefined;
|
|
1273
1273
|
gas?: `0x${string}` | undefined;
|
|
@@ -1279,10 +1279,10 @@ export declare function getEvmChain(chain: string): {
|
|
|
1279
1279
|
maxFeePerBlobGas?: undefined | undefined;
|
|
1280
1280
|
maxFeePerGas?: undefined | undefined;
|
|
1281
1281
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
1282
|
-
accessList?: undefined;
|
|
1283
1282
|
blobs?: undefined;
|
|
1284
1283
|
blobVersionedHashes?: undefined;
|
|
1285
1284
|
kzg?: undefined;
|
|
1285
|
+
accessList?: undefined;
|
|
1286
1286
|
sidecars?: undefined;
|
|
1287
1287
|
authorizationList?: undefined;
|
|
1288
1288
|
eip712Meta?: undefined | undefined;
|
|
@@ -1333,14 +1333,33 @@ export declare function getEvmChain(chain: string): {
|
|
|
1333
1333
|
nonce?: `0x${string}` | undefined;
|
|
1334
1334
|
to: `0x${string}` | null;
|
|
1335
1335
|
gasPrice?: undefined | undefined;
|
|
1336
|
+
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
1336
1337
|
maxFeePerGas?: `0x${string}` | undefined;
|
|
1337
1338
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
1338
|
-
maxFeePerBlobGas: `0x${string}`;
|
|
1339
1339
|
accessList?: import("viem").AccessList | undefined;
|
|
1340
|
+
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
1341
|
+
blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
|
|
1342
|
+
blobVersionedHashes: readonly import("viem").Hex[];
|
|
1343
|
+
kzg?: undefined;
|
|
1344
|
+
authorizationList?: undefined;
|
|
1345
|
+
eip712Meta?: undefined | undefined;
|
|
1346
|
+
} | {
|
|
1347
|
+
type?: "0x3" | undefined;
|
|
1348
|
+
data?: `0x${string}` | undefined;
|
|
1349
|
+
value?: `0x${string}` | undefined;
|
|
1350
|
+
gas?: `0x${string}` | undefined;
|
|
1351
|
+
from?: `0x${string}` | undefined;
|
|
1352
|
+
nonce?: `0x${string}` | undefined;
|
|
1353
|
+
to: `0x${string}` | null;
|
|
1354
|
+
gasPrice?: undefined | undefined;
|
|
1355
|
+
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
1356
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
1357
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
1358
|
+
accessList?: import("viem").AccessList | undefined;
|
|
1359
|
+
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
1340
1360
|
blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
|
|
1341
1361
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
1342
1362
|
kzg?: import("viem").Kzg | undefined;
|
|
1343
|
-
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
1344
1363
|
authorizationList?: undefined;
|
|
1345
1364
|
eip712Meta?: undefined | undefined;
|
|
1346
1365
|
} | {
|
|
@@ -1397,7 +1416,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
1397
1416
|
readonly apiUrl: "https://api.scrollscan.com/api";
|
|
1398
1417
|
};
|
|
1399
1418
|
};
|
|
1400
|
-
blockTime
|
|
1419
|
+
blockTime: 3000;
|
|
1401
1420
|
contracts: {
|
|
1402
1421
|
readonly multicall3: {
|
|
1403
1422
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
@@ -1433,7 +1452,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
1433
1452
|
readonly apiUrl: "https://api.gnosisscan.io/api";
|
|
1434
1453
|
};
|
|
1435
1454
|
};
|
|
1436
|
-
blockTime
|
|
1455
|
+
blockTime: 5000;
|
|
1437
1456
|
contracts: {
|
|
1438
1457
|
readonly multicall3: {
|
|
1439
1458
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
@@ -1537,7 +1556,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
1537
1556
|
formatters: {
|
|
1538
1557
|
readonly block: {
|
|
1539
1558
|
exclude: [] | undefined;
|
|
1540
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
1559
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
1541
1560
|
baseFeePerGas: bigint | null;
|
|
1542
1561
|
blobGasUsed: bigint;
|
|
1543
1562
|
difficulty: bigint;
|
|
@@ -1570,7 +1589,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
1570
1589
|
};
|
|
1571
1590
|
readonly transaction: {
|
|
1572
1591
|
exclude: [] | undefined;
|
|
1573
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
1592
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
1574
1593
|
blockHash: `0x${string}` | null;
|
|
1575
1594
|
blockNumber: bigint | null;
|
|
1576
1595
|
from: import("viem").Address;
|
|
@@ -1699,7 +1718,11 @@ export declare function getEvmChain(chain: string): {
|
|
|
1699
1718
|
blobVersionedHashes: readonly import("viem").Hex[];
|
|
1700
1719
|
chainId: number;
|
|
1701
1720
|
type: "eip4844";
|
|
1702
|
-
gasPrice
|
|
1721
|
+
gasPrice
|
|
1722
|
+
/**
|
|
1723
|
+
* Get correct transport according to the input url
|
|
1724
|
+
*/
|
|
1725
|
+
?: undefined | undefined;
|
|
1703
1726
|
maxFeePerBlobGas: bigint;
|
|
1704
1727
|
maxFeePerGas: bigint;
|
|
1705
1728
|
maxPriorityFeePerGas: bigint;
|
|
@@ -1739,7 +1762,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
1739
1762
|
};
|
|
1740
1763
|
readonly transactionReceipt: {
|
|
1741
1764
|
exclude: [] | undefined;
|
|
1742
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
1765
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
1743
1766
|
blobGasPrice?: bigint | undefined;
|
|
1744
1767
|
blobGasUsed?: bigint | undefined;
|
|
1745
1768
|
blockHash: import("viem").Hash;
|
|
@@ -1840,7 +1863,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
1840
1863
|
formatters: {
|
|
1841
1864
|
readonly block: {
|
|
1842
1865
|
exclude: [] | undefined;
|
|
1843
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
1866
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
1844
1867
|
baseFeePerGas: bigint | null;
|
|
1845
1868
|
blobGasUsed: bigint;
|
|
1846
1869
|
difficulty: bigint;
|
|
@@ -1873,7 +1896,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
1873
1896
|
};
|
|
1874
1897
|
readonly transaction: {
|
|
1875
1898
|
exclude: [] | undefined;
|
|
1876
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
1899
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
1877
1900
|
blockHash: `0x${string}` | null;
|
|
1878
1901
|
blockNumber: bigint | null;
|
|
1879
1902
|
from: import("viem").Address;
|
|
@@ -2042,7 +2065,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
2042
2065
|
};
|
|
2043
2066
|
readonly transactionReceipt: {
|
|
2044
2067
|
exclude: [] | undefined;
|
|
2045
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
2068
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
2046
2069
|
blobGasPrice?: bigint | undefined;
|
|
2047
2070
|
blobGasUsed?: bigint | undefined;
|
|
2048
2071
|
blockHash: import("viem").Hash;
|
|
@@ -2183,7 +2206,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
2183
2206
|
readonly apiUrl: "https://api.lineascan.build/api";
|
|
2184
2207
|
};
|
|
2185
2208
|
};
|
|
2186
|
-
blockTime
|
|
2209
|
+
blockTime: 2000;
|
|
2187
2210
|
contracts: {
|
|
2188
2211
|
readonly multicall3: {
|
|
2189
2212
|
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
@@ -2374,7 +2397,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
2374
2397
|
readonly url: "https://explorer.mainnet.abs.xyz";
|
|
2375
2398
|
};
|
|
2376
2399
|
};
|
|
2377
|
-
blockTime:
|
|
2400
|
+
blockTime: 200;
|
|
2378
2401
|
contracts: {
|
|
2379
2402
|
readonly multicall3: {
|
|
2380
2403
|
readonly address: "0xAa4De41dba0Ca5dCBb288b7cC6b708F3aaC759E7";
|
|
@@ -2409,7 +2432,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
2409
2432
|
formatters: {
|
|
2410
2433
|
readonly block: {
|
|
2411
2434
|
exclude: [] | undefined;
|
|
2412
|
-
format: (args: import("viem/chains").ZkSyncRpcBlock) => {
|
|
2435
|
+
format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => {
|
|
2413
2436
|
baseFeePerGas: bigint | null;
|
|
2414
2437
|
blobGasUsed: bigint;
|
|
2415
2438
|
difficulty: bigint;
|
|
@@ -2444,7 +2467,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
2444
2467
|
};
|
|
2445
2468
|
readonly transaction: {
|
|
2446
2469
|
exclude: [] | undefined;
|
|
2447
|
-
format: (args: import("viem/chains").ZkSyncRpcTransaction) => ({
|
|
2470
|
+
format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => ({
|
|
2448
2471
|
r: import("viem").Hex;
|
|
2449
2472
|
s: import("viem").Hex;
|
|
2450
2473
|
v: bigint;
|
|
@@ -2630,7 +2653,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
2630
2653
|
};
|
|
2631
2654
|
readonly transactionReceipt: {
|
|
2632
2655
|
exclude: [] | undefined;
|
|
2633
|
-
format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt) => {
|
|
2656
|
+
format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
|
|
2634
2657
|
contractAddress: import("viem").Address | null | undefined;
|
|
2635
2658
|
type: import("viem/chains").ZkSyncTransactionType;
|
|
2636
2659
|
status: "success" | "reverted";
|
|
@@ -2656,7 +2679,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
2656
2679
|
};
|
|
2657
2680
|
readonly transactionRequest: {
|
|
2658
2681
|
exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
|
|
2659
|
-
format: (args: import("viem/chains").ZkSyncTransactionRequest) => ({
|
|
2682
|
+
format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => ({
|
|
2660
2683
|
data?: `0x${string}` | undefined;
|
|
2661
2684
|
from?: `0x${string}` | undefined;
|
|
2662
2685
|
gas?: `0x${string}` | undefined;
|
|
@@ -2668,10 +2691,10 @@ export declare function getEvmChain(chain: string): {
|
|
|
2668
2691
|
maxFeePerBlobGas?: undefined | undefined;
|
|
2669
2692
|
maxFeePerGas?: undefined | undefined;
|
|
2670
2693
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
2671
|
-
accessList?: undefined;
|
|
2672
2694
|
blobs?: undefined;
|
|
2673
2695
|
blobVersionedHashes?: undefined;
|
|
2674
2696
|
kzg?: undefined;
|
|
2697
|
+
accessList?: undefined;
|
|
2675
2698
|
sidecars?: undefined;
|
|
2676
2699
|
authorizationList?: undefined;
|
|
2677
2700
|
eip712Meta?: undefined | undefined;
|
|
@@ -2722,14 +2745,33 @@ export declare function getEvmChain(chain: string): {
|
|
|
2722
2745
|
nonce?: `0x${string}` | undefined;
|
|
2723
2746
|
to: `0x${string}` | null;
|
|
2724
2747
|
gasPrice?: undefined | undefined;
|
|
2748
|
+
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
2725
2749
|
maxFeePerGas?: `0x${string}` | undefined;
|
|
2726
2750
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
2727
|
-
maxFeePerBlobGas: `0x${string}`;
|
|
2728
2751
|
accessList?: import("viem").AccessList | undefined;
|
|
2752
|
+
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
2753
|
+
blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
|
|
2754
|
+
blobVersionedHashes: readonly import("viem").Hex[];
|
|
2755
|
+
kzg?: undefined;
|
|
2756
|
+
authorizationList?: undefined;
|
|
2757
|
+
eip712Meta?: undefined | undefined;
|
|
2758
|
+
} | {
|
|
2759
|
+
type?: "0x3" | undefined;
|
|
2760
|
+
data?: `0x${string}` | undefined;
|
|
2761
|
+
value?: `0x${string}` | undefined;
|
|
2762
|
+
gas?: `0x${string}` | undefined;
|
|
2763
|
+
from?: `0x${string}` | undefined;
|
|
2764
|
+
nonce?: `0x${string}` | undefined;
|
|
2765
|
+
to: `0x${string}` | null;
|
|
2766
|
+
gasPrice?: undefined | undefined;
|
|
2767
|
+
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
2768
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
2769
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
2770
|
+
accessList?: import("viem").AccessList | undefined;
|
|
2771
|
+
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
2729
2772
|
blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
|
|
2730
2773
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
2731
2774
|
kzg?: import("viem").Kzg | undefined;
|
|
2732
|
-
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
2733
2775
|
authorizationList?: undefined;
|
|
2734
2776
|
eip712Meta?: undefined | undefined;
|
|
2735
2777
|
} | {
|
|
@@ -2922,7 +2964,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
2922
2964
|
formatters: {
|
|
2923
2965
|
readonly block: {
|
|
2924
2966
|
exclude: [] | undefined;
|
|
2925
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
2967
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
2926
2968
|
baseFeePerGas: bigint | null;
|
|
2927
2969
|
blobGasUsed: bigint;
|
|
2928
2970
|
difficulty: bigint;
|
|
@@ -2955,7 +2997,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
2955
2997
|
};
|
|
2956
2998
|
readonly transaction: {
|
|
2957
2999
|
exclude: [] | undefined;
|
|
2958
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
3000
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
2959
3001
|
blockHash: `0x${string}` | null;
|
|
2960
3002
|
blockNumber: bigint | null;
|
|
2961
3003
|
from: import("viem").Address;
|
|
@@ -3124,7 +3166,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
3124
3166
|
};
|
|
3125
3167
|
readonly transactionReceipt: {
|
|
3126
3168
|
exclude: [] | undefined;
|
|
3127
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
3169
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
3128
3170
|
blobGasPrice?: bigint | undefined;
|
|
3129
3171
|
blobGasUsed?: bigint | undefined;
|
|
3130
3172
|
blockHash: import("viem").Hash;
|
|
@@ -3687,7 +3729,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
3687
3729
|
formatters: {
|
|
3688
3730
|
readonly block: {
|
|
3689
3731
|
exclude: [] | undefined;
|
|
3690
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
3732
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
3691
3733
|
baseFeePerGas: bigint | null;
|
|
3692
3734
|
blobGasUsed: bigint;
|
|
3693
3735
|
difficulty: bigint;
|
|
@@ -3720,7 +3762,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
3720
3762
|
};
|
|
3721
3763
|
readonly transaction: {
|
|
3722
3764
|
exclude: [] | undefined;
|
|
3723
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
3765
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
3724
3766
|
blockHash: `0x${string}` | null;
|
|
3725
3767
|
blockNumber: bigint | null;
|
|
3726
3768
|
from: import("viem").Address;
|
|
@@ -3889,7 +3931,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
3889
3931
|
};
|
|
3890
3932
|
readonly transactionReceipt: {
|
|
3891
3933
|
exclude: [] | undefined;
|
|
3892
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
3934
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
3893
3935
|
blobGasPrice?: bigint | undefined;
|
|
3894
3936
|
blobGasUsed?: bigint | undefined;
|
|
3895
3937
|
blockHash: import("viem").Hash;
|
|
@@ -4020,7 +4062,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
4020
4062
|
formatters: {
|
|
4021
4063
|
readonly block: {
|
|
4022
4064
|
exclude: [] | undefined;
|
|
4023
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
4065
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
4024
4066
|
baseFeePerGas: bigint | null;
|
|
4025
4067
|
blobGasUsed: bigint;
|
|
4026
4068
|
difficulty: bigint;
|
|
@@ -4053,7 +4095,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
4053
4095
|
};
|
|
4054
4096
|
readonly transaction: {
|
|
4055
4097
|
exclude: [] | undefined;
|
|
4056
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
4098
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
4057
4099
|
blockHash: `0x${string}` | null;
|
|
4058
4100
|
blockNumber: bigint | null;
|
|
4059
4101
|
from: import("viem").Address;
|
|
@@ -4222,7 +4264,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
4222
4264
|
};
|
|
4223
4265
|
readonly transactionReceipt: {
|
|
4224
4266
|
exclude: [] | undefined;
|
|
4225
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
4267
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
4226
4268
|
blobGasPrice?: bigint | undefined;
|
|
4227
4269
|
blobGasUsed?: bigint | undefined;
|
|
4228
4270
|
blockHash: import("viem").Hash;
|
|
@@ -4352,7 +4394,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
4352
4394
|
formatters: {
|
|
4353
4395
|
readonly block: {
|
|
4354
4396
|
exclude: [] | undefined;
|
|
4355
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
4397
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
4356
4398
|
baseFeePerGas: bigint | null;
|
|
4357
4399
|
blobGasUsed: bigint;
|
|
4358
4400
|
difficulty: bigint;
|
|
@@ -4385,7 +4427,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
4385
4427
|
};
|
|
4386
4428
|
readonly transaction: {
|
|
4387
4429
|
exclude: [] | undefined;
|
|
4388
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
4430
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
4389
4431
|
blockHash: `0x${string}` | null;
|
|
4390
4432
|
blockNumber: bigint | null;
|
|
4391
4433
|
from: import("viem").Address;
|
|
@@ -4554,7 +4596,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
4554
4596
|
};
|
|
4555
4597
|
readonly transactionReceipt: {
|
|
4556
4598
|
exclude: [] | undefined;
|
|
4557
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
4599
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
4558
4600
|
blobGasPrice?: bigint | undefined;
|
|
4559
4601
|
blobGasUsed?: bigint | undefined;
|
|
4560
4602
|
blockHash: import("viem").Hash;
|
|
@@ -4702,7 +4744,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
4702
4744
|
formatters: {
|
|
4703
4745
|
readonly block: {
|
|
4704
4746
|
exclude: [] | undefined;
|
|
4705
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
4747
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
4706
4748
|
baseFeePerGas: bigint | null;
|
|
4707
4749
|
blobGasUsed: bigint;
|
|
4708
4750
|
difficulty: bigint;
|
|
@@ -4735,7 +4777,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
4735
4777
|
};
|
|
4736
4778
|
readonly transaction: {
|
|
4737
4779
|
exclude: [] | undefined;
|
|
4738
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
4780
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
4739
4781
|
blockHash: `0x${string}` | null;
|
|
4740
4782
|
blockNumber: bigint | null;
|
|
4741
4783
|
from: import("viem").Address;
|
|
@@ -4904,7 +4946,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
4904
4946
|
};
|
|
4905
4947
|
readonly transactionReceipt: {
|
|
4906
4948
|
exclude: [] | undefined;
|
|
4907
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
4949
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
4908
4950
|
blobGasPrice?: bigint | undefined;
|
|
4909
4951
|
blobGasUsed?: bigint | undefined;
|
|
4910
4952
|
blockHash: import("viem").Hash;
|
|
@@ -5245,7 +5287,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
5245
5287
|
fees: import("viem").ChainFees<{
|
|
5246
5288
|
readonly block: {
|
|
5247
5289
|
exclude: [] | undefined;
|
|
5248
|
-
format: (args: import("viem/chains").CeloRpcBlock) => {
|
|
5290
|
+
format: (args: import("viem/chains").CeloRpcBlock, action?: string | undefined) => {
|
|
5249
5291
|
baseFeePerGas: bigint | null;
|
|
5250
5292
|
blobGasUsed: bigint;
|
|
5251
5293
|
difficulty: bigint;
|
|
@@ -5278,7 +5320,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
5278
5320
|
};
|
|
5279
5321
|
readonly transaction: {
|
|
5280
5322
|
exclude: [] | undefined;
|
|
5281
|
-
format: (args: import("viem/chains").CeloRpcTransaction) => ({
|
|
5323
|
+
format: (args: import("viem/chains").CeloRpcTransaction, action?: string | undefined) => ({
|
|
5282
5324
|
r: import("viem").Hex;
|
|
5283
5325
|
s: import("viem").Hex;
|
|
5284
5326
|
v: bigint;
|
|
@@ -5519,8 +5561,8 @@ export declare function getEvmChain(chain: string): {
|
|
|
5519
5561
|
mint?: bigint | undefined | undefined;
|
|
5520
5562
|
sourceHash: import("viem").Hex;
|
|
5521
5563
|
type: "deposit";
|
|
5522
|
-
accessList?: undefined;
|
|
5523
5564
|
blobVersionedHashes?: undefined;
|
|
5565
|
+
accessList?: undefined;
|
|
5524
5566
|
authorizationList?: undefined;
|
|
5525
5567
|
chainId?: undefined;
|
|
5526
5568
|
feeCurrency?: undefined;
|
|
@@ -5531,7 +5573,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
5531
5573
|
};
|
|
5532
5574
|
readonly transactionRequest: {
|
|
5533
5575
|
exclude: [] | undefined;
|
|
5534
|
-
format: (args: import("viem/chains").CeloTransactionRequest) => ({
|
|
5576
|
+
format: (args: import("viem/chains").CeloTransactionRequest, action?: string | undefined) => ({
|
|
5535
5577
|
data?: `0x${string}` | undefined;
|
|
5536
5578
|
from?: `0x${string}` | undefined;
|
|
5537
5579
|
gas?: `0x${string}` | undefined;
|
|
@@ -5543,10 +5585,10 @@ export declare function getEvmChain(chain: string): {
|
|
|
5543
5585
|
maxFeePerBlobGas?: undefined | undefined;
|
|
5544
5586
|
maxFeePerGas?: undefined | undefined;
|
|
5545
5587
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
5546
|
-
accessList?: undefined;
|
|
5547
5588
|
blobs?: undefined;
|
|
5548
5589
|
blobVersionedHashes?: undefined;
|
|
5549
5590
|
kzg?: undefined;
|
|
5591
|
+
accessList?: undefined;
|
|
5550
5592
|
sidecars?: undefined;
|
|
5551
5593
|
authorizationList?: undefined;
|
|
5552
5594
|
feeCurrency?: `0x${string}` | undefined;
|
|
@@ -5597,14 +5639,33 @@ export declare function getEvmChain(chain: string): {
|
|
|
5597
5639
|
nonce?: `0x${string}` | undefined;
|
|
5598
5640
|
to: `0x${string}` | null;
|
|
5599
5641
|
gasPrice?: undefined | undefined;
|
|
5642
|
+
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
5600
5643
|
maxFeePerGas?: `0x${string}` | undefined;
|
|
5601
5644
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
5602
|
-
maxFeePerBlobGas: `0x${string}`;
|
|
5603
5645
|
accessList?: import("viem").AccessList | undefined;
|
|
5646
|
+
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
5647
|
+
blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
|
|
5648
|
+
blobVersionedHashes: readonly import("viem").Hex[];
|
|
5649
|
+
kzg?: undefined;
|
|
5650
|
+
authorizationList?: undefined;
|
|
5651
|
+
feeCurrency?: `0x${string}` | undefined;
|
|
5652
|
+
} | {
|
|
5653
|
+
type?: "0x3" | undefined;
|
|
5654
|
+
data?: `0x${string}` | undefined;
|
|
5655
|
+
value?: `0x${string}` | undefined;
|
|
5656
|
+
gas?: `0x${string}` | undefined;
|
|
5657
|
+
from?: `0x${string}` | undefined;
|
|
5658
|
+
nonce?: `0x${string}` | undefined;
|
|
5659
|
+
to: `0x${string}` | null;
|
|
5660
|
+
gasPrice?: undefined | undefined;
|
|
5661
|
+
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
5662
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
5663
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
5664
|
+
accessList?: import("viem").AccessList | undefined;
|
|
5665
|
+
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
5604
5666
|
blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
|
|
5605
5667
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
5606
5668
|
kzg?: import("viem").Kzg | undefined;
|
|
5607
|
-
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
5608
5669
|
authorizationList?: undefined;
|
|
5609
5670
|
feeCurrency?: `0x${string}` | undefined;
|
|
5610
5671
|
} | {
|
|
@@ -5652,7 +5713,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
5652
5713
|
formatters: {
|
|
5653
5714
|
readonly block: {
|
|
5654
5715
|
exclude: [] | undefined;
|
|
5655
|
-
format: (args: import("viem/chains").CeloRpcBlock) => {
|
|
5716
|
+
format: (args: import("viem/chains").CeloRpcBlock, action?: string | undefined) => {
|
|
5656
5717
|
baseFeePerGas: bigint | null;
|
|
5657
5718
|
blobGasUsed: bigint;
|
|
5658
5719
|
difficulty: bigint;
|
|
@@ -5685,7 +5746,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
5685
5746
|
};
|
|
5686
5747
|
readonly transaction: {
|
|
5687
5748
|
exclude: [] | undefined;
|
|
5688
|
-
format: (args: import("viem/chains").CeloRpcTransaction) => ({
|
|
5749
|
+
format: (args: import("viem/chains").CeloRpcTransaction, action?: string | undefined) => ({
|
|
5689
5750
|
r: import("viem").Hex;
|
|
5690
5751
|
s: import("viem").Hex;
|
|
5691
5752
|
v: bigint;
|
|
@@ -5926,8 +5987,8 @@ export declare function getEvmChain(chain: string): {
|
|
|
5926
5987
|
mint?: bigint | undefined | undefined;
|
|
5927
5988
|
sourceHash: import("viem").Hex;
|
|
5928
5989
|
type: "deposit";
|
|
5929
|
-
accessList?: undefined;
|
|
5930
5990
|
blobVersionedHashes?: undefined;
|
|
5991
|
+
accessList?: undefined;
|
|
5931
5992
|
authorizationList?: undefined;
|
|
5932
5993
|
chainId?: undefined;
|
|
5933
5994
|
feeCurrency?: undefined;
|
|
@@ -5938,7 +5999,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
5938
5999
|
};
|
|
5939
6000
|
readonly transactionRequest: {
|
|
5940
6001
|
exclude: [] | undefined;
|
|
5941
|
-
format: (args: import("viem/chains").CeloTransactionRequest) => ({
|
|
6002
|
+
format: (args: import("viem/chains").CeloTransactionRequest, action?: string | undefined) => ({
|
|
5942
6003
|
data?: `0x${string}` | undefined;
|
|
5943
6004
|
from?: `0x${string}` | undefined;
|
|
5944
6005
|
gas?: `0x${string}` | undefined;
|
|
@@ -5950,10 +6011,10 @@ export declare function getEvmChain(chain: string): {
|
|
|
5950
6011
|
maxFeePerBlobGas?: undefined | undefined;
|
|
5951
6012
|
maxFeePerGas?: undefined | undefined;
|
|
5952
6013
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
5953
|
-
accessList?: undefined;
|
|
5954
6014
|
blobs?: undefined;
|
|
5955
6015
|
blobVersionedHashes?: undefined;
|
|
5956
6016
|
kzg?: undefined;
|
|
6017
|
+
accessList?: undefined;
|
|
5957
6018
|
sidecars?: undefined;
|
|
5958
6019
|
authorizationList?: undefined;
|
|
5959
6020
|
feeCurrency?: `0x${string}` | undefined;
|
|
@@ -6004,14 +6065,33 @@ export declare function getEvmChain(chain: string): {
|
|
|
6004
6065
|
nonce?: `0x${string}` | undefined;
|
|
6005
6066
|
to: `0x${string}` | null;
|
|
6006
6067
|
gasPrice?: undefined | undefined;
|
|
6068
|
+
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
6069
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
6070
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
6071
|
+
accessList?: import("viem").AccessList | undefined;
|
|
6072
|
+
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
6073
|
+
blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
|
|
6074
|
+
blobVersionedHashes: readonly import("viem").Hex[];
|
|
6075
|
+
kzg?: undefined;
|
|
6076
|
+
authorizationList?: undefined;
|
|
6077
|
+
feeCurrency?: `0x${string}` | undefined;
|
|
6078
|
+
} | {
|
|
6079
|
+
type?: "0x3" | undefined;
|
|
6080
|
+
data?: `0x${string}` | undefined;
|
|
6081
|
+
value?: `0x${string}` | undefined;
|
|
6082
|
+
gas?: `0x${string}` | undefined;
|
|
6083
|
+
from?: `0x${string}` | undefined;
|
|
6084
|
+
nonce?: `0x${string}` | undefined;
|
|
6085
|
+
to: `0x${string}` | null;
|
|
6086
|
+
gasPrice?: undefined | undefined;
|
|
6087
|
+
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
6007
6088
|
maxFeePerGas?: `0x${string}` | undefined;
|
|
6008
6089
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
6009
|
-
maxFeePerBlobGas: `0x${string}`;
|
|
6010
6090
|
accessList?: import("viem").AccessList | undefined;
|
|
6091
|
+
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
6011
6092
|
blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
|
|
6012
6093
|
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
6013
6094
|
kzg?: import("viem").Kzg | undefined;
|
|
6014
|
-
sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
|
|
6015
6095
|
authorizationList?: undefined;
|
|
6016
6096
|
feeCurrency?: `0x${string}` | undefined;
|
|
6017
6097
|
} | {
|
|
@@ -6240,6 +6320,43 @@ export declare function getEvmChain(chain: string): {
|
|
|
6240
6320
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
6241
6321
|
formatters?: undefined;
|
|
6242
6322
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
6323
|
+
} | {
|
|
6324
|
+
blockExplorers: {
|
|
6325
|
+
readonly default: {
|
|
6326
|
+
readonly name: "zkLink Nova Block Explorer";
|
|
6327
|
+
readonly url: "https://explorer.zklink.io";
|
|
6328
|
+
};
|
|
6329
|
+
};
|
|
6330
|
+
blockTime?: number | undefined | undefined;
|
|
6331
|
+
contracts?: {
|
|
6332
|
+
[x: string]: import("viem").ChainContract | {
|
|
6333
|
+
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
6334
|
+
} | undefined;
|
|
6335
|
+
ensRegistry?: import("viem").ChainContract | undefined;
|
|
6336
|
+
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
6337
|
+
multicall3?: import("viem").ChainContract | undefined;
|
|
6338
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
6339
|
+
} | undefined;
|
|
6340
|
+
ensTlds?: readonly string[] | undefined;
|
|
6341
|
+
id: 810180;
|
|
6342
|
+
name: "zkLink Nova";
|
|
6343
|
+
nativeCurrency: {
|
|
6344
|
+
readonly decimals: 18;
|
|
6345
|
+
readonly name: "ETH";
|
|
6346
|
+
readonly symbol: "ETH";
|
|
6347
|
+
};
|
|
6348
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
6349
|
+
rpcUrls: {
|
|
6350
|
+
readonly default: {
|
|
6351
|
+
readonly http: readonly ["https://rpc.zklink.io"];
|
|
6352
|
+
};
|
|
6353
|
+
};
|
|
6354
|
+
sourceId?: number | undefined | undefined;
|
|
6355
|
+
testnet?: boolean | undefined | undefined;
|
|
6356
|
+
custom?: Record<string, unknown> | undefined;
|
|
6357
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
6358
|
+
formatters?: undefined;
|
|
6359
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
6243
6360
|
} | {
|
|
6244
6361
|
contracts: {
|
|
6245
6362
|
multicall3: {
|
|
@@ -6348,7 +6465,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
6348
6465
|
formatters: {
|
|
6349
6466
|
readonly block: {
|
|
6350
6467
|
exclude: [] | undefined;
|
|
6351
|
-
format: (args: import("viem/chains").OpStackRpcBlock) => {
|
|
6468
|
+
format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
|
|
6352
6469
|
baseFeePerGas: bigint | null;
|
|
6353
6470
|
blobGasUsed: bigint;
|
|
6354
6471
|
difficulty: bigint;
|
|
@@ -6381,7 +6498,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
6381
6498
|
};
|
|
6382
6499
|
readonly transaction: {
|
|
6383
6500
|
exclude: [] | undefined;
|
|
6384
|
-
format: (args: import("viem/chains").OpStackRpcTransaction) => ({
|
|
6501
|
+
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
6385
6502
|
blockHash: `0x${string}` | null;
|
|
6386
6503
|
blockNumber: bigint | null;
|
|
6387
6504
|
from: import("viem").Address;
|
|
@@ -6550,7 +6667,7 @@ export declare function getEvmChain(chain: string): {
|
|
|
6550
6667
|
};
|
|
6551
6668
|
readonly transactionReceipt: {
|
|
6552
6669
|
exclude: [] | undefined;
|
|
6553
|
-
format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
|
|
6670
|
+
format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
6554
6671
|
blobGasPrice?: bigint | undefined;
|
|
6555
6672
|
blobGasUsed?: bigint | undefined;
|
|
6556
6673
|
blockHash: import("viem").Hash;
|
|
@@ -6718,6 +6835,14 @@ export declare function getEvmChain(chain: string): {
|
|
|
6718
6835
|
formatters?: undefined;
|
|
6719
6836
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
6720
6837
|
};
|
|
6838
|
+
/**
|
|
6839
|
+
* Get correct transport according to the input url with optional config
|
|
6840
|
+
*/
|
|
6841
|
+
export declare function createTransport(url: string, config?: any): import("viem").WebSocketTransport | import("viem").HttpTransport<undefined, false>;
|
|
6842
|
+
/**
|
|
6843
|
+
* Get correct transport according to the input url
|
|
6844
|
+
*/
|
|
6845
|
+
export declare function getTransport(url: string): import("viem").WebSocketTransport | import("viem").HttpTransport<undefined, false>;
|
|
6721
6846
|
export declare function getEvmClient(chain: string, rpcId?: number): PublicClient;
|
|
6722
6847
|
export declare function createMulticallRetry(customRpcs?: {
|
|
6723
6848
|
[chainId: string]: string[];
|
package/dist/evm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../src/evm.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyC,YAAY,EAAE,MAAM,MAAM,CAAA;AAwJ1E,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBjB,CAAA;AAkDF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBjB,CAAA;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;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MAAM,EAAE,CAAA;CACX,IAGhB,OAAO,MAAM,EACb,OAAO,GAAG,EAAE,EACZ,KAAK,GAAG,EACR,kBAA8B,EAC9B,mBAAc,EACd,mBAAc,EACd,sBAAmB,EACnB,mBAAiB,oBAwCpB;AAED,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,MAAM,EACb,KAAK,SAAI,EACT,UAAU,GAAE;IAAE,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAmB,GAC3D,YAAY,CAmCd;AAED,wBAAsB,cAAc,CAClC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,GAAG,EAAE,EACZ,GAAG,EAAE,GAAG,EACR,SAAS,SAAqB,EAC9B,UAAU,SAAI,EACd,UAAU,SAAI,EACd,YAAY,UAAQ,EACpB,SAAS,GAAE,GAAoB,EAC/B,SAAS,UAAQ,kBAalB"}
|
package/dist/evm.js
CHANGED
|
@@ -5,6 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.plasma = exports.katana = void 0;
|
|
7
7
|
exports.getEvmChain = getEvmChain;
|
|
8
|
+
exports.createTransport = createTransport;
|
|
9
|
+
exports.getTransport = getTransport;
|
|
8
10
|
exports.getEvmClient = getEvmClient;
|
|
9
11
|
exports.createMulticallRetry = createMulticallRetry;
|
|
10
12
|
exports.getEvmClientWithCustomRpcs = getEvmClientWithCustomRpcs;
|
|
@@ -399,12 +401,31 @@ function getEvmChain(chain) {
|
|
|
399
401
|
return exports.plasma;
|
|
400
402
|
case chain_registry_1.Chain.MOONBEAM:
|
|
401
403
|
return chains_1.moonbeam;
|
|
402
|
-
|
|
404
|
+
case chain_registry_1.Chain.ZKLINK_NOVA_MAINNET:
|
|
405
|
+
return chains_1.zkLinkNova;
|
|
406
|
+
// case Chain.AILAYER_MAINNET:
|
|
403
407
|
// return ailayer
|
|
404
408
|
default:
|
|
405
409
|
throw new Error('Not in VIEM: ' + chain);
|
|
406
410
|
}
|
|
407
411
|
}
|
|
412
|
+
/**
|
|
413
|
+
* Get correct transport according to the input url with optional config
|
|
414
|
+
*/
|
|
415
|
+
function createTransport(url, config) {
|
|
416
|
+
if (!url)
|
|
417
|
+
throw new Error('URL is required for transport');
|
|
418
|
+
if (url.startsWith('wss://')) {
|
|
419
|
+
return (0, viem_1.webSocket)(url, config);
|
|
420
|
+
}
|
|
421
|
+
return (0, viem_1.http)(url, config);
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Get correct transport according to the input url
|
|
425
|
+
*/
|
|
426
|
+
function getTransport(url) {
|
|
427
|
+
return createTransport(url);
|
|
428
|
+
}
|
|
408
429
|
const LIST_OVERRIDES = {
|
|
409
430
|
[chain_registry_1.Chain.BASE]: [
|
|
410
431
|
'https://base.drpc.org',
|
|
@@ -499,8 +520,7 @@ function getEvmClient(chain, rpcId = 0) {
|
|
|
499
520
|
if (rpcId === 0)
|
|
500
521
|
rpc = chainInfo.rpcUrls.default.http[0];
|
|
501
522
|
else {
|
|
502
|
-
const rpcsChain = LIST_OVERRIDES[chain] ??
|
|
503
|
-
(0, data_sdk_1.chains)()?.[chain]?.rpc?.filter((a) => !a.includes('wss://'));
|
|
523
|
+
const rpcsChain = LIST_OVERRIDES[chain] ?? (0, data_sdk_1.chains)()?.[chain]?.rpc;
|
|
504
524
|
const rpcs = chainInfo.rpcUrls.default.http.map((a) => trimTrailingSlash(a));
|
|
505
525
|
const rpcsAdded = rpcsChain.map((a) => trimTrailingSlash(a));
|
|
506
526
|
const allRpcs = uniq([...rpcsAdded, ...rpcs]);
|
|
@@ -508,7 +528,7 @@ function getEvmClient(chain, rpcId = 0) {
|
|
|
508
528
|
}
|
|
509
529
|
return (0, viem_1.createPublicClient)({
|
|
510
530
|
chain: chainInfo,
|
|
511
|
-
transport: (
|
|
531
|
+
transport: createTransport(rpc),
|
|
512
532
|
});
|
|
513
533
|
}
|
|
514
534
|
const DEFAULT_BATCH_SIZE = 4096;
|
|
@@ -550,7 +570,6 @@ function getEvmClientWithCustomRpcs(chain, rpcId = 0, customRpcs = LIST_OVERRIDE
|
|
|
550
570
|
// Use custom RPC list if any (make sure that they are unique and valid)
|
|
551
571
|
const customRpcList = uniq(customRpcs[chain]
|
|
552
572
|
.filter(Boolean) // Remove empty ones
|
|
553
|
-
.filter((a) => !a.includes('wss://')) // filter websocket ones (like the default impl)
|
|
554
573
|
.map((url) => trimTrailingSlash(url))
|
|
555
574
|
.filter((url) => Boolean(url)));
|
|
556
575
|
if (customRpcList.length === 0) {
|
|
@@ -563,16 +582,16 @@ function getEvmClientWithCustomRpcs(chain, rpcId = 0, customRpcs = LIST_OVERRIDE
|
|
|
563
582
|
if (rpcId === 0)
|
|
564
583
|
rpc = chainInfo.rpcUrls.default.http[0];
|
|
565
584
|
else {
|
|
566
|
-
const rpcsChain = (0, data_sdk_1.chains)()?.[chain]?.rpc
|
|
585
|
+
const rpcsChain = (0, data_sdk_1.chains)()?.[chain]?.rpc;
|
|
567
586
|
const rpcs = chainInfo.rpcUrls.default.http.map((a) => trimTrailingSlash(a));
|
|
568
|
-
const rpcsAdded = rpcsChain
|
|
587
|
+
const rpcsAdded = rpcsChain?.map((a) => trimTrailingSlash(a));
|
|
569
588
|
const allRpcs = uniq([...rpcs, ...rpcsAdded]);
|
|
570
589
|
rpc = allRpcs[rpcId];
|
|
571
590
|
}
|
|
572
591
|
}
|
|
573
592
|
return (0, viem_1.createPublicClient)({
|
|
574
593
|
chain: chainInfo,
|
|
575
|
-
transport: (
|
|
594
|
+
transport: createTransport(rpc),
|
|
576
595
|
});
|
|
577
596
|
}
|
|
578
597
|
async function multicallRetry(chain, calls, abi, batchSize = DEFAULT_BATCH_SIZE, maxRetries = 5, providerId = 0, allowFailure = false, overrdies = LIST_OVERRIDES, logErrors = false) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1delta/providers",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/lodash": "^4.17.20",
|
|
22
|
-
"typescript": "^5.9.
|
|
22
|
+
"typescript": "^5.9.3"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "tsc",
|
package/src/evm.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { chains } from '@1delta/data-sdk'
|
|
2
2
|
import { Chain } from '@1delta/chain-registry'
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
createPublicClient,
|
|
5
|
+
defineChain,
|
|
6
|
+
http,
|
|
7
|
+
PublicClient,
|
|
8
|
+
webSocket,
|
|
9
|
+
} from 'viem'
|
|
4
10
|
import {
|
|
5
11
|
mantle,
|
|
6
12
|
mainnet,
|
|
@@ -71,6 +77,7 @@ import {
|
|
|
71
77
|
meter,
|
|
72
78
|
morph,
|
|
73
79
|
moonbeam,
|
|
80
|
+
zkLinkNova,
|
|
74
81
|
} from 'viem/chains'
|
|
75
82
|
import lodash from 'lodash'
|
|
76
83
|
|
|
@@ -467,13 +474,33 @@ export function getEvmChain(chain: string) {
|
|
|
467
474
|
return plasma
|
|
468
475
|
case Chain.MOONBEAM:
|
|
469
476
|
return moonbeam
|
|
470
|
-
|
|
477
|
+
case Chain.ZKLINK_NOVA_MAINNET:
|
|
478
|
+
return zkLinkNova
|
|
479
|
+
// case Chain.AILAYER_MAINNET:
|
|
471
480
|
// return ailayer
|
|
472
481
|
default:
|
|
473
482
|
throw new Error('Not in VIEM: ' + chain)
|
|
474
483
|
}
|
|
475
484
|
}
|
|
476
485
|
|
|
486
|
+
/**
|
|
487
|
+
* Get correct transport according to the input url with optional config
|
|
488
|
+
*/
|
|
489
|
+
export function createTransport(url: string, config?: any) {
|
|
490
|
+
if (!url) throw new Error('URL is required for transport')
|
|
491
|
+
if (url.startsWith('wss://')) {
|
|
492
|
+
return webSocket(url, config)
|
|
493
|
+
}
|
|
494
|
+
return http(url, config)
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Get correct transport according to the input url
|
|
499
|
+
*/
|
|
500
|
+
export function getTransport(url: string) {
|
|
501
|
+
return createTransport(url)
|
|
502
|
+
}
|
|
503
|
+
|
|
477
504
|
const LIST_OVERRIDES: { [c: string]: any[] } = {
|
|
478
505
|
[Chain.BASE]: [
|
|
479
506
|
'https://base.drpc.org',
|
|
@@ -568,9 +595,7 @@ export function getEvmClient(chain: string, rpcId = 0): PublicClient {
|
|
|
568
595
|
let rpc: string
|
|
569
596
|
if (rpcId === 0) rpc = chainInfo.rpcUrls.default.http[0]
|
|
570
597
|
else {
|
|
571
|
-
const rpcsChain =
|
|
572
|
-
LIST_OVERRIDES[chain] ??
|
|
573
|
-
chains()?.[chain]?.rpc?.filter((a) => !a.includes('wss://'))
|
|
598
|
+
const rpcsChain = LIST_OVERRIDES[chain] ?? chains()?.[chain]?.rpc
|
|
574
599
|
const rpcs = chainInfo.rpcUrls.default.http.map((a) => trimTrailingSlash(a))
|
|
575
600
|
const rpcsAdded = rpcsChain.map((a) => trimTrailingSlash(a))
|
|
576
601
|
const allRpcs = uniq([...rpcsAdded, ...rpcs])
|
|
@@ -578,7 +603,7 @@ export function getEvmClient(chain: string, rpcId = 0): PublicClient {
|
|
|
578
603
|
}
|
|
579
604
|
return createPublicClient({
|
|
580
605
|
chain: chainInfo as any,
|
|
581
|
-
transport:
|
|
606
|
+
transport: createTransport(rpc),
|
|
582
607
|
}) as any
|
|
583
608
|
}
|
|
584
609
|
|
|
@@ -652,7 +677,6 @@ export function getEvmClientWithCustomRpcs(
|
|
|
652
677
|
const customRpcList = uniq(
|
|
653
678
|
customRpcs[chain]
|
|
654
679
|
.filter(Boolean) // Remove empty ones
|
|
655
|
-
.filter((a) => !a.includes('wss://')) // filter websocket ones (like the default impl)
|
|
656
680
|
.map((url) => trimTrailingSlash(url))
|
|
657
681
|
.filter((url): url is string => Boolean(url)), // Type-safe filter for defined URLs
|
|
658
682
|
)
|
|
@@ -666,20 +690,18 @@ export function getEvmClientWithCustomRpcs(
|
|
|
666
690
|
// Fallback to existing logic
|
|
667
691
|
if (rpcId === 0) rpc = chainInfo.rpcUrls.default.http[0]
|
|
668
692
|
else {
|
|
669
|
-
const rpcsChain = chains()?.[chain]?.rpc
|
|
670
|
-
(a) => !a.includes('wss://'),
|
|
671
|
-
)
|
|
693
|
+
const rpcsChain = chains()?.[chain]?.rpc
|
|
672
694
|
const rpcs = chainInfo.rpcUrls.default.http.map((a) =>
|
|
673
695
|
trimTrailingSlash(a),
|
|
674
696
|
)
|
|
675
|
-
const rpcsAdded = rpcsChain
|
|
697
|
+
const rpcsAdded = rpcsChain?.map((a) => trimTrailingSlash(a))
|
|
676
698
|
const allRpcs = uniq([...rpcs, ...rpcsAdded])
|
|
677
699
|
rpc = allRpcs[rpcId] as any
|
|
678
700
|
}
|
|
679
701
|
}
|
|
680
702
|
return createPublicClient({
|
|
681
703
|
chain: chainInfo as any,
|
|
682
|
-
transport:
|
|
704
|
+
transport: createTransport(rpc),
|
|
683
705
|
}) as any
|
|
684
706
|
}
|
|
685
707
|
|