@reown/appkit-testing 2.0.0 → 2.0.1-viem-network-types.0
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.
|
@@ -1,265 +1,92 @@
|
|
|
1
1
|
export declare function getBalanceSymbolByLibrary(library: string): "BTC" | "SOL" | "XLM" | "TON" | "TRX" | "ETH";
|
|
2
|
-
export declare function getNetworksByLibrary(library: string): ({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
default: {
|
|
10
|
-
name: string;
|
|
11
|
-
url: string;
|
|
12
|
-
apiUrl?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
} | undefined | undefined;
|
|
15
|
-
blockTime?: number | undefined | undefined;
|
|
16
|
-
contracts?: {
|
|
17
|
-
[x: string]: import("viem").ChainContract | {
|
|
18
|
-
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
ensRegistry?: import("viem").ChainContract | undefined;
|
|
21
|
-
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
22
|
-
multicall3?: import("viem").ChainContract | undefined;
|
|
23
|
-
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
24
|
-
} | undefined;
|
|
25
|
-
ensTlds?: readonly string[] | undefined;
|
|
26
|
-
name: "Bitcoin";
|
|
27
|
-
nativeCurrency: {
|
|
2
|
+
export declare function getNetworksByLibrary(library: string): (import("@reown/appkit/networks").DefinedCaipNetwork<{
|
|
3
|
+
readonly id: "000000000019d6689c085ae165831e93";
|
|
4
|
+
readonly caipNetworkId: "bip122:000000000019d6689c085ae165831e93";
|
|
5
|
+
readonly chainNamespace: "bip122";
|
|
6
|
+
readonly name: "Bitcoin";
|
|
7
|
+
readonly nativeCurrency: {
|
|
28
8
|
readonly name: "Bitcoin";
|
|
29
9
|
readonly symbol: "BTC";
|
|
30
10
|
readonly decimals: 8;
|
|
31
11
|
};
|
|
32
|
-
|
|
33
|
-
rpcUrls: {
|
|
12
|
+
readonly rpcUrls: {
|
|
34
13
|
readonly default: {
|
|
35
14
|
readonly http: readonly ["https://rpc.walletconnect.org/v1"];
|
|
36
15
|
};
|
|
37
16
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
formatters?: undefined;
|
|
45
|
-
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
46
|
-
client: import("viem").Client;
|
|
47
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
48
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
49
|
-
client: import("viem").Client;
|
|
50
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
51
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
52
|
-
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
53
|
-
}] | undefined;
|
|
54
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
55
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
56
|
-
id: "000000000019d6689c085ae165831e93";
|
|
57
|
-
chainNamespace: "bip122";
|
|
58
|
-
caipNetworkId: "bip122:000000000019d6689c085ae165831e93";
|
|
59
|
-
assets?: {
|
|
60
|
-
imageId: string | undefined;
|
|
61
|
-
imageUrl: string | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
} | {
|
|
64
|
-
blockExplorers?: {
|
|
65
|
-
[key: string]: {
|
|
66
|
-
name: string;
|
|
67
|
-
url: string;
|
|
68
|
-
apiUrl?: string | undefined;
|
|
69
|
-
};
|
|
70
|
-
default: {
|
|
71
|
-
name: string;
|
|
72
|
-
url: string;
|
|
73
|
-
apiUrl?: string | undefined;
|
|
74
|
-
};
|
|
75
|
-
} | undefined | undefined;
|
|
76
|
-
blockTime?: number | undefined | undefined;
|
|
77
|
-
contracts?: {
|
|
78
|
-
[x: string]: import("viem").ChainContract | {
|
|
79
|
-
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
80
|
-
} | undefined;
|
|
81
|
-
ensRegistry?: import("viem").ChainContract | undefined;
|
|
82
|
-
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
83
|
-
multicall3?: import("viem").ChainContract | undefined;
|
|
84
|
-
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
85
|
-
} | undefined;
|
|
86
|
-
ensTlds?: readonly string[] | undefined;
|
|
87
|
-
name: "Bitcoin Testnet";
|
|
88
|
-
nativeCurrency: {
|
|
17
|
+
}> | import("@reown/appkit/networks").DefinedCaipNetwork<{
|
|
18
|
+
readonly id: "000000000933ea01ad0ee984209779ba";
|
|
19
|
+
readonly caipNetworkId: "bip122:000000000933ea01ad0ee984209779ba";
|
|
20
|
+
readonly chainNamespace: "bip122";
|
|
21
|
+
readonly name: "Bitcoin Testnet";
|
|
22
|
+
readonly nativeCurrency: {
|
|
89
23
|
readonly name: "Bitcoin";
|
|
90
24
|
readonly symbol: "BTC";
|
|
91
25
|
readonly decimals: 8;
|
|
92
26
|
};
|
|
93
|
-
|
|
94
|
-
rpcUrls: {
|
|
27
|
+
readonly rpcUrls: {
|
|
95
28
|
readonly default: {
|
|
96
29
|
readonly http: readonly ["https://rpc.walletconnect.org/v1"];
|
|
97
30
|
};
|
|
98
31
|
};
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
formatters?: undefined;
|
|
106
|
-
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
107
|
-
client: import("viem").Client;
|
|
108
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
109
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
110
|
-
client: import("viem").Client;
|
|
111
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
112
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
113
|
-
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
114
|
-
}] | undefined;
|
|
115
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
116
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
117
|
-
id: "000000000933ea01ad0ee984209779ba";
|
|
118
|
-
chainNamespace: "bip122";
|
|
119
|
-
caipNetworkId: "bip122:000000000933ea01ad0ee984209779ba";
|
|
120
|
-
assets?: {
|
|
121
|
-
imageId: string | undefined;
|
|
122
|
-
imageUrl: string | undefined;
|
|
123
|
-
} | undefined;
|
|
124
|
-
})[] | ({
|
|
125
|
-
blockExplorers: {
|
|
126
|
-
readonly default: {
|
|
127
|
-
readonly name: "Solscan";
|
|
128
|
-
readonly url: "https://solscan.io";
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
blockTime?: number | undefined | undefined;
|
|
132
|
-
contracts?: {
|
|
133
|
-
[x: string]: import("viem").ChainContract | {
|
|
134
|
-
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
135
|
-
} | undefined;
|
|
136
|
-
ensRegistry?: import("viem").ChainContract | undefined;
|
|
137
|
-
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
138
|
-
multicall3?: import("viem").ChainContract | undefined;
|
|
139
|
-
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
140
|
-
} | undefined;
|
|
141
|
-
ensTlds?: readonly string[] | undefined;
|
|
142
|
-
name: "Solana";
|
|
143
|
-
nativeCurrency: {
|
|
32
|
+
readonly testnet: true;
|
|
33
|
+
}>)[] | (import("@reown/appkit/networks").DefinedCaipNetwork<{
|
|
34
|
+
readonly id: "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp";
|
|
35
|
+
readonly name: "Solana";
|
|
36
|
+
readonly network: "solana-mainnet";
|
|
37
|
+
readonly nativeCurrency: {
|
|
144
38
|
readonly name: "Solana";
|
|
145
39
|
readonly symbol: "SOL";
|
|
146
40
|
readonly decimals: 9;
|
|
147
41
|
};
|
|
148
|
-
|
|
149
|
-
rpcUrls: {
|
|
42
|
+
readonly rpcUrls: {
|
|
150
43
|
readonly default: {
|
|
151
44
|
readonly http: readonly ["https://rpc.walletconnect.org/v1"];
|
|
152
45
|
};
|
|
153
46
|
};
|
|
154
|
-
|
|
155
|
-
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
156
|
-
testnet: false;
|
|
157
|
-
custom?: Record<string, unknown> | undefined;
|
|
158
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
159
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
160
|
-
formatters?: undefined;
|
|
161
|
-
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
162
|
-
client: import("viem").Client;
|
|
163
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
164
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
165
|
-
client: import("viem").Client;
|
|
166
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
167
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
168
|
-
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
169
|
-
}] | undefined;
|
|
170
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
171
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
172
|
-
id: "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp";
|
|
173
|
-
chainNamespace: "solana";
|
|
174
|
-
caipNetworkId: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp";
|
|
175
|
-
assets?: {
|
|
176
|
-
imageId: string | undefined;
|
|
177
|
-
imageUrl: string | undefined;
|
|
178
|
-
} | undefined;
|
|
179
|
-
readonly network: "solana-mainnet";
|
|
180
|
-
readonly deprecatedCaipNetworkId: "solana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ";
|
|
181
|
-
} | {
|
|
182
|
-
blockExplorers: {
|
|
47
|
+
readonly blockExplorers: {
|
|
183
48
|
readonly default: {
|
|
184
49
|
readonly name: "Solscan";
|
|
185
50
|
readonly url: "https://solscan.io";
|
|
186
51
|
};
|
|
187
52
|
};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
} | undefined;
|
|
198
|
-
ensTlds?: readonly string[] | undefined;
|
|
199
|
-
name: "Solana Testnet";
|
|
200
|
-
nativeCurrency: {
|
|
53
|
+
readonly testnet: false;
|
|
54
|
+
readonly chainNamespace: "solana";
|
|
55
|
+
readonly caipNetworkId: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp";
|
|
56
|
+
readonly deprecatedCaipNetworkId: "solana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ";
|
|
57
|
+
}> | import("@reown/appkit/networks").DefinedCaipNetwork<{
|
|
58
|
+
readonly id: "4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z";
|
|
59
|
+
readonly name: "Solana Testnet";
|
|
60
|
+
readonly network: "solana-testnet";
|
|
61
|
+
readonly nativeCurrency: {
|
|
201
62
|
readonly name: "Solana";
|
|
202
63
|
readonly symbol: "SOL";
|
|
203
64
|
readonly decimals: 9;
|
|
204
65
|
};
|
|
205
|
-
|
|
206
|
-
rpcUrls: {
|
|
66
|
+
readonly rpcUrls: {
|
|
207
67
|
readonly default: {
|
|
208
68
|
readonly http: readonly ["https://rpc.walletconnect.org/v1"];
|
|
209
69
|
};
|
|
210
70
|
};
|
|
211
|
-
|
|
212
|
-
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
213
|
-
testnet: true;
|
|
214
|
-
custom?: Record<string, unknown> | undefined;
|
|
215
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
216
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
217
|
-
formatters?: undefined;
|
|
218
|
-
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
219
|
-
client: import("viem").Client;
|
|
220
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
221
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
222
|
-
client: import("viem").Client;
|
|
223
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
224
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
225
|
-
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
226
|
-
}] | undefined;
|
|
227
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
228
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
229
|
-
id: "4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z";
|
|
230
|
-
chainNamespace: "solana";
|
|
231
|
-
caipNetworkId: "solana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z";
|
|
232
|
-
assets?: {
|
|
233
|
-
imageId: string | undefined;
|
|
234
|
-
imageUrl: string | undefined;
|
|
235
|
-
} | undefined;
|
|
236
|
-
readonly network: "solana-testnet";
|
|
237
|
-
})[] | ({
|
|
238
|
-
blockExplorers: {
|
|
71
|
+
readonly blockExplorers: {
|
|
239
72
|
readonly default: {
|
|
240
|
-
readonly name: "
|
|
241
|
-
readonly url: "https://
|
|
73
|
+
readonly name: "Solscan";
|
|
74
|
+
readonly url: "https://solscan.io";
|
|
242
75
|
};
|
|
243
76
|
};
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
253
|
-
} | undefined;
|
|
254
|
-
ensTlds?: readonly string[] | undefined;
|
|
255
|
-
name: "Stellar";
|
|
256
|
-
nativeCurrency: {
|
|
77
|
+
readonly testnet: true;
|
|
78
|
+
readonly chainNamespace: "solana";
|
|
79
|
+
readonly caipNetworkId: "solana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z";
|
|
80
|
+
}>)[] | (import("@reown/appkit/networks").DefinedCaipNetwork<{
|
|
81
|
+
readonly id: "pubnet";
|
|
82
|
+
readonly name: "Stellar";
|
|
83
|
+
readonly network: "stellar-pubnet";
|
|
84
|
+
readonly nativeCurrency: {
|
|
257
85
|
readonly name: "Lumens";
|
|
258
86
|
readonly symbol: "XLM";
|
|
259
87
|
readonly decimals: 7;
|
|
260
88
|
};
|
|
261
|
-
|
|
262
|
-
rpcUrls: {
|
|
89
|
+
readonly rpcUrls: {
|
|
263
90
|
readonly default: {
|
|
264
91
|
readonly http: readonly ["https://horizon.stellar.org"];
|
|
265
92
|
};
|
|
@@ -267,58 +94,25 @@ export declare function getNetworksByLibrary(library: string): ({
|
|
|
267
94
|
readonly http: readonly ["https://horizon.stellar.org"];
|
|
268
95
|
};
|
|
269
96
|
};
|
|
270
|
-
|
|
271
|
-
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
272
|
-
testnet: false;
|
|
273
|
-
custom?: Record<string, unknown> | undefined;
|
|
274
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
275
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
276
|
-
formatters?: undefined;
|
|
277
|
-
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
278
|
-
client: import("viem").Client;
|
|
279
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
280
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
281
|
-
client: import("viem").Client;
|
|
282
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
283
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
284
|
-
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
285
|
-
}] | undefined;
|
|
286
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
287
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
288
|
-
id: "pubnet";
|
|
289
|
-
chainNamespace: "stellar";
|
|
290
|
-
caipNetworkId: "stellar:pubnet";
|
|
291
|
-
assets?: {
|
|
292
|
-
imageId: string | undefined;
|
|
293
|
-
imageUrl: string | undefined;
|
|
294
|
-
} | undefined;
|
|
295
|
-
readonly network: "stellar-pubnet";
|
|
296
|
-
} | {
|
|
297
|
-
blockExplorers: {
|
|
97
|
+
readonly blockExplorers: {
|
|
298
98
|
readonly default: {
|
|
299
99
|
readonly name: "Stellar Expert";
|
|
300
|
-
readonly url: "https://stellar.expert/explorer/
|
|
100
|
+
readonly url: "https://stellar.expert/explorer/public";
|
|
301
101
|
};
|
|
302
102
|
};
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
312
|
-
} | undefined;
|
|
313
|
-
ensTlds?: readonly string[] | undefined;
|
|
314
|
-
name: "Stellar Testnet";
|
|
315
|
-
nativeCurrency: {
|
|
103
|
+
readonly testnet: false;
|
|
104
|
+
readonly chainNamespace: "stellar";
|
|
105
|
+
readonly caipNetworkId: "stellar:pubnet";
|
|
106
|
+
}> | import("@reown/appkit/networks").DefinedCaipNetwork<{
|
|
107
|
+
readonly id: "testnet";
|
|
108
|
+
readonly name: "Stellar Testnet";
|
|
109
|
+
readonly network: "stellar-testnet";
|
|
110
|
+
readonly nativeCurrency: {
|
|
316
111
|
readonly name: "Lumens";
|
|
317
112
|
readonly symbol: "XLM";
|
|
318
113
|
readonly decimals: 7;
|
|
319
114
|
};
|
|
320
|
-
|
|
321
|
-
rpcUrls: {
|
|
115
|
+
readonly rpcUrls: {
|
|
322
116
|
readonly default: {
|
|
323
117
|
readonly http: readonly ["https://horizon-testnet.stellar.org"];
|
|
324
118
|
};
|
|
@@ -326,170 +120,71 @@ export declare function getNetworksByLibrary(library: string): ({
|
|
|
326
120
|
readonly http: readonly ["https://horizon-testnet.stellar.org"];
|
|
327
121
|
};
|
|
328
122
|
};
|
|
329
|
-
|
|
330
|
-
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
331
|
-
testnet: true;
|
|
332
|
-
custom?: Record<string, unknown> | undefined;
|
|
333
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
334
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
335
|
-
formatters?: undefined;
|
|
336
|
-
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
337
|
-
client: import("viem").Client;
|
|
338
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
339
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
340
|
-
client: import("viem").Client;
|
|
341
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
342
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
343
|
-
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
344
|
-
}] | undefined;
|
|
345
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
346
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
347
|
-
id: "testnet";
|
|
348
|
-
chainNamespace: "stellar";
|
|
349
|
-
caipNetworkId: "stellar:testnet";
|
|
350
|
-
assets?: {
|
|
351
|
-
imageId: string | undefined;
|
|
352
|
-
imageUrl: string | undefined;
|
|
353
|
-
} | undefined;
|
|
354
|
-
readonly network: "stellar-testnet";
|
|
355
|
-
})[] | ({
|
|
356
|
-
blockExplorers: {
|
|
123
|
+
readonly blockExplorers: {
|
|
357
124
|
readonly default: {
|
|
358
|
-
readonly name: "
|
|
359
|
-
readonly url: "https://
|
|
125
|
+
readonly name: "Stellar Expert";
|
|
126
|
+
readonly url: "https://stellar.expert/explorer/testnet";
|
|
360
127
|
};
|
|
361
128
|
};
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
371
|
-
} | undefined;
|
|
372
|
-
ensTlds?: readonly string[] | undefined;
|
|
373
|
-
name: "TON";
|
|
374
|
-
nativeCurrency: {
|
|
129
|
+
readonly testnet: true;
|
|
130
|
+
readonly chainNamespace: "stellar";
|
|
131
|
+
readonly caipNetworkId: "stellar:testnet";
|
|
132
|
+
}>)[] | (import("@reown/appkit/networks").DefinedCaipNetwork<{
|
|
133
|
+
readonly id: "-239";
|
|
134
|
+
readonly name: "TON";
|
|
135
|
+
readonly network: "ton-mainnet";
|
|
136
|
+
readonly nativeCurrency: {
|
|
375
137
|
readonly name: "TON";
|
|
376
138
|
readonly symbol: "TON";
|
|
377
139
|
readonly decimals: 9;
|
|
378
140
|
};
|
|
379
|
-
|
|
380
|
-
rpcUrls: {
|
|
141
|
+
readonly rpcUrls: {
|
|
381
142
|
readonly default: {
|
|
382
143
|
readonly http: readonly ["https://rpc.walletconnect.org/v1"];
|
|
383
144
|
};
|
|
384
145
|
};
|
|
385
|
-
|
|
386
|
-
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
387
|
-
testnet: false;
|
|
388
|
-
custom?: Record<string, unknown> | undefined;
|
|
389
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
390
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
391
|
-
formatters?: undefined;
|
|
392
|
-
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
393
|
-
client: import("viem").Client;
|
|
394
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
395
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
396
|
-
client: import("viem").Client;
|
|
397
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
398
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
399
|
-
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
400
|
-
}] | undefined;
|
|
401
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
402
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
403
|
-
id: "-239";
|
|
404
|
-
chainNamespace: "ton";
|
|
405
|
-
caipNetworkId: "ton:-239";
|
|
406
|
-
assets?: {
|
|
407
|
-
imageId: string | undefined;
|
|
408
|
-
imageUrl: string | undefined;
|
|
409
|
-
} | undefined;
|
|
410
|
-
readonly network: "ton-mainnet";
|
|
411
|
-
} | {
|
|
412
|
-
blockExplorers: {
|
|
146
|
+
readonly blockExplorers: {
|
|
413
147
|
readonly default: {
|
|
414
148
|
readonly name: "Tonscan";
|
|
415
|
-
readonly url: "https://
|
|
149
|
+
readonly url: "https://tonscan.org";
|
|
416
150
|
};
|
|
417
151
|
};
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
427
|
-
} | undefined;
|
|
428
|
-
ensTlds?: readonly string[] | undefined;
|
|
429
|
-
name: "TON Testnet";
|
|
430
|
-
nativeCurrency: {
|
|
152
|
+
readonly testnet: false;
|
|
153
|
+
readonly chainNamespace: "ton";
|
|
154
|
+
readonly caipNetworkId: "ton:-239";
|
|
155
|
+
}> | import("@reown/appkit/networks").DefinedCaipNetwork<{
|
|
156
|
+
readonly id: "-3";
|
|
157
|
+
readonly name: "TON Testnet";
|
|
158
|
+
readonly network: "ton-testnet";
|
|
159
|
+
readonly nativeCurrency: {
|
|
431
160
|
readonly name: "TON";
|
|
432
161
|
readonly symbol: "TON";
|
|
433
162
|
readonly decimals: 9;
|
|
434
163
|
};
|
|
435
|
-
|
|
436
|
-
rpcUrls: {
|
|
164
|
+
readonly rpcUrls: {
|
|
437
165
|
readonly default: {
|
|
438
166
|
readonly http: readonly ["https://rpc.walletconnect.org/v1"];
|
|
439
167
|
};
|
|
440
168
|
};
|
|
441
|
-
|
|
442
|
-
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
443
|
-
testnet: true;
|
|
444
|
-
custom?: Record<string, unknown> | undefined;
|
|
445
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
446
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
447
|
-
formatters?: undefined;
|
|
448
|
-
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
449
|
-
client: import("viem").Client;
|
|
450
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
451
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
452
|
-
client: import("viem").Client;
|
|
453
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
454
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
455
|
-
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
456
|
-
}] | undefined;
|
|
457
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
458
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
459
|
-
id: "-3";
|
|
460
|
-
chainNamespace: "ton";
|
|
461
|
-
caipNetworkId: "ton:-3";
|
|
462
|
-
assets?: {
|
|
463
|
-
imageId: string | undefined;
|
|
464
|
-
imageUrl: string | undefined;
|
|
465
|
-
} | undefined;
|
|
466
|
-
readonly network: "ton-testnet";
|
|
467
|
-
})[] | ({
|
|
468
|
-
blockExplorers: {
|
|
169
|
+
readonly blockExplorers: {
|
|
469
170
|
readonly default: {
|
|
470
|
-
readonly name: "
|
|
471
|
-
readonly url: "https://
|
|
171
|
+
readonly name: "Tonscan";
|
|
172
|
+
readonly url: "https://testnet.tonscan.org";
|
|
472
173
|
};
|
|
473
174
|
};
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
483
|
-
} | undefined;
|
|
484
|
-
ensTlds?: readonly string[] | undefined;
|
|
485
|
-
name: "TRON";
|
|
486
|
-
nativeCurrency: {
|
|
175
|
+
readonly testnet: true;
|
|
176
|
+
readonly chainNamespace: "ton";
|
|
177
|
+
readonly caipNetworkId: "ton:-3";
|
|
178
|
+
}>)[] | (import("@reown/appkit/networks").DefinedCaipNetwork<{
|
|
179
|
+
readonly id: "0x2b6653dc";
|
|
180
|
+
readonly name: "TRON";
|
|
181
|
+
readonly network: "tron-mainnet";
|
|
182
|
+
readonly nativeCurrency: {
|
|
487
183
|
readonly name: "TRX";
|
|
488
184
|
readonly symbol: "TRX";
|
|
489
185
|
readonly decimals: 6;
|
|
490
186
|
};
|
|
491
|
-
|
|
492
|
-
rpcUrls: {
|
|
187
|
+
readonly rpcUrls: {
|
|
493
188
|
readonly default: {
|
|
494
189
|
readonly http: readonly ["https://rpc.walletconnect.org/v1"];
|
|
495
190
|
};
|
|
@@ -497,58 +192,25 @@ export declare function getNetworksByLibrary(library: string): ({
|
|
|
497
192
|
readonly http: readonly ["https://api.trongrid.io"];
|
|
498
193
|
};
|
|
499
194
|
};
|
|
500
|
-
|
|
501
|
-
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
502
|
-
testnet: false;
|
|
503
|
-
custom?: Record<string, unknown> | undefined;
|
|
504
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
505
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
506
|
-
formatters?: undefined;
|
|
507
|
-
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
508
|
-
client: import("viem").Client;
|
|
509
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
510
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
511
|
-
client: import("viem").Client;
|
|
512
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
513
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
514
|
-
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
515
|
-
}] | undefined;
|
|
516
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
517
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
518
|
-
id: "0x2b6653dc";
|
|
519
|
-
chainNamespace: "tron";
|
|
520
|
-
caipNetworkId: "tron:0x2b6653dc";
|
|
521
|
-
assets?: {
|
|
522
|
-
imageId: string | undefined;
|
|
523
|
-
imageUrl: string | undefined;
|
|
524
|
-
} | undefined;
|
|
525
|
-
readonly network: "tron-mainnet";
|
|
526
|
-
} | {
|
|
527
|
-
blockExplorers: {
|
|
195
|
+
readonly blockExplorers: {
|
|
528
196
|
readonly default: {
|
|
529
197
|
readonly name: "Tronscan";
|
|
530
|
-
readonly url: "https://
|
|
198
|
+
readonly url: "https://tronscan.org";
|
|
531
199
|
};
|
|
532
200
|
};
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
542
|
-
} | undefined;
|
|
543
|
-
ensTlds?: readonly string[] | undefined;
|
|
544
|
-
name: "TRON Shasta";
|
|
545
|
-
nativeCurrency: {
|
|
201
|
+
readonly testnet: false;
|
|
202
|
+
readonly chainNamespace: "tron";
|
|
203
|
+
readonly caipNetworkId: "tron:0x2b6653dc";
|
|
204
|
+
}> | import("@reown/appkit/networks").DefinedCaipNetwork<{
|
|
205
|
+
readonly id: "0x94a9059e";
|
|
206
|
+
readonly name: "TRON Shasta";
|
|
207
|
+
readonly network: "tron-shasta";
|
|
208
|
+
readonly nativeCurrency: {
|
|
546
209
|
readonly name: "TRX";
|
|
547
210
|
readonly symbol: "TRX";
|
|
548
211
|
readonly decimals: 6;
|
|
549
212
|
};
|
|
550
|
-
|
|
551
|
-
rpcUrls: {
|
|
213
|
+
readonly rpcUrls: {
|
|
552
214
|
readonly default: {
|
|
553
215
|
readonly http: readonly ["https://rpc.walletconnect.org/v1"];
|
|
554
216
|
};
|
|
@@ -556,33 +218,16 @@ export declare function getNetworksByLibrary(library: string): ({
|
|
|
556
218
|
readonly http: readonly ["https://api.shasta.trongrid.io"];
|
|
557
219
|
};
|
|
558
220
|
};
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
570
|
-
client: import("viem").Client;
|
|
571
|
-
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
572
|
-
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
573
|
-
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
574
|
-
}] | undefined;
|
|
575
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
576
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
577
|
-
id: "0x94a9059e";
|
|
578
|
-
chainNamespace: "tron";
|
|
579
|
-
caipNetworkId: "tron:0x94a9059e";
|
|
580
|
-
assets?: {
|
|
581
|
-
imageId: string | undefined;
|
|
582
|
-
imageUrl: string | undefined;
|
|
583
|
-
} | undefined;
|
|
584
|
-
readonly network: "tron-shasta";
|
|
585
|
-
})[] | ({
|
|
221
|
+
readonly blockExplorers: {
|
|
222
|
+
readonly default: {
|
|
223
|
+
readonly name: "Tronscan";
|
|
224
|
+
readonly url: "https://shasta.tronscan.org";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
readonly testnet: true;
|
|
228
|
+
readonly chainNamespace: "tron";
|
|
229
|
+
readonly caipNetworkId: "tron:0x94a9059e";
|
|
230
|
+
}>)[] | ({
|
|
586
231
|
blockExplorers: {
|
|
587
232
|
readonly default: {
|
|
588
233
|
readonly name: "Etherscan";
|