@tcswap/sdk 4.2.16

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.
@@ -0,0 +1,2501 @@
1
+ /**
2
+ * Modifications © 2025 Horizontal Systems.
3
+ */
4
+ import { type USwapConfigState } from "@tcswap/core";
5
+ import type { createPlugin } from "@tcswap/plugins";
6
+ import type { createWallet } from "@tcswap/wallets";
7
+ import { bitgetWallet } from "@tcswap/wallets/bitget";
8
+ import { coinbaseWallet } from "@tcswap/wallets/coinbase";
9
+ import { ctrlWallet } from "@tcswap/wallets/ctrl";
10
+ import { evmWallet } from "@tcswap/wallets/evm-extensions";
11
+ import { keepkeyWallet } from "@tcswap/wallets/keepkey";
12
+ import { keepkeyBexWallet } from "@tcswap/wallets/keepkey-bex";
13
+ import { keplrWallet } from "@tcswap/wallets/keplr";
14
+ import { keystoreWallet } from "@tcswap/wallets/keystore";
15
+ import { ledgerWallet } from "@tcswap/wallets/ledger";
16
+ import { walletSelectorWallet } from "@tcswap/wallets/near-wallet-selector";
17
+ import { okxWallet } from "@tcswap/wallets/okx";
18
+ import { onekeyWallet } from "@tcswap/wallets/onekey";
19
+ import { passkeysWallet } from "@tcswap/wallets/passkeys";
20
+ import { phantomWallet } from "@tcswap/wallets/phantom";
21
+ import { polkadotWallet } from "@tcswap/wallets/polkadotjs";
22
+ import { radixWallet } from "@tcswap/wallets/radix";
23
+ import { talismanWallet } from "@tcswap/wallets/talisman";
24
+ import { trezorWallet } from "@tcswap/wallets/trezor";
25
+ import { tronlinkWallet } from "@tcswap/wallets/tronlink";
26
+ import { vultisigWallet } from "@tcswap/wallets/vultisig";
27
+ import { walletconnectWallet } from "@tcswap/wallets/walletconnect";
28
+ import { xamanWallet } from "@tcswap/wallets/xaman";
29
+ export * from "@tcswap/core";
30
+ export * from "@tcswap/helpers";
31
+ export * from "@tcswap/helpers/api";
32
+ export * from "@tcswap/plugins";
33
+ export * from "@tcswap/plugins/chainflip";
34
+ export * from "@tcswap/plugins/evm";
35
+ export * from "@tcswap/plugins/near";
36
+ export * from "@tcswap/plugins/radix";
37
+ export * from "@tcswap/plugins/solana";
38
+ export * from "@tcswap/plugins/thorchain";
39
+ export * from "@tcswap/toolboxes";
40
+ export * from "@tcswap/toolboxes/cosmos";
41
+ export * from "@tcswap/toolboxes/evm";
42
+ export * from "@tcswap/toolboxes/radix";
43
+ export * from "@tcswap/toolboxes/solana";
44
+ export * from "@tcswap/toolboxes/substrate";
45
+ export * from "@tcswap/toolboxes/utxo";
46
+ export * from "@tcswap/wallets";
47
+ declare const exodusWallet: {
48
+ connectExodusWallet: {
49
+ connectWallet: (connectParams: {
50
+ addChain: import("@tcswap/helpers").AddChainType;
51
+ }) => (chains: import("@tcswap/types").Chain[], paramWallet?: import("@passkeys/core").Wallet | undefined) => Promise<boolean>;
52
+ supportedChains: (import("@tcswap/types").Chain.Arbitrum | import("@tcswap/types").Chain.Aurora | import("@tcswap/types").Chain.Avalanche | import("@tcswap/types").Chain.Base | import("@tcswap/types").Chain.Berachain | import("@tcswap/types").Chain.BinanceSmartChain | import("@tcswap/types").Chain.Bitcoin | import("@tcswap/types").Chain.Botanix | import("@tcswap/types").Chain.Core | import("@tcswap/types").Chain.Corn | import("@tcswap/types").Chain.Cronos | import("@tcswap/types").Chain.Ethereum | import("@tcswap/types").Chain.Gnosis | import("@tcswap/types").Chain.Hyperevm | import("@tcswap/types").Chain.Monad | import("@tcswap/types").Chain.Optimism | import("@tcswap/types").Chain.Polygon | import("@tcswap/types").Chain.Solana | import("@tcswap/types").Chain.Sonic | import("@tcswap/types").Chain.Unichain | import("@tcswap/types").Chain.XLayer)[];
53
+ };
54
+ connectPasskeys: {
55
+ connectWallet: (connectParams: {
56
+ addChain: import("@tcswap/helpers").AddChainType;
57
+ }) => (chains: import("@tcswap/types").Chain[], paramWallet?: import("@passkeys/core").Wallet | undefined) => Promise<boolean>;
58
+ supportedChains: (import("@tcswap/types").Chain.Arbitrum | import("@tcswap/types").Chain.Aurora | import("@tcswap/types").Chain.Avalanche | import("@tcswap/types").Chain.Base | import("@tcswap/types").Chain.Berachain | import("@tcswap/types").Chain.BinanceSmartChain | import("@tcswap/types").Chain.Bitcoin | import("@tcswap/types").Chain.Botanix | import("@tcswap/types").Chain.Core | import("@tcswap/types").Chain.Corn | import("@tcswap/types").Chain.Cronos | import("@tcswap/types").Chain.Ethereum | import("@tcswap/types").Chain.Gnosis | import("@tcswap/types").Chain.Hyperevm | import("@tcswap/types").Chain.Monad | import("@tcswap/types").Chain.Optimism | import("@tcswap/types").Chain.Polygon | import("@tcswap/types").Chain.Solana | import("@tcswap/types").Chain.Sonic | import("@tcswap/types").Chain.Unichain | import("@tcswap/types").Chain.XLayer)[];
59
+ };
60
+ };
61
+ export { bitgetWallet, coinbaseWallet, ctrlWallet, evmWallet, exodusWallet, keepkeyBexWallet, keepkeyWallet, keplrWallet, keystoreWallet, ledgerWallet, okxWallet, onekeyWallet, passkeysWallet, phantomWallet, polkadotWallet, radixWallet, talismanWallet, trezorWallet, tronlinkWallet, vultisigWallet, walletSelectorWallet, walletconnectWallet, xamanWallet, };
62
+ export declare const defaultPlugins: {
63
+ garden: (pluginParams: import("@tcswap/plugins").SwapKitPluginParams) => {
64
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.GARDEN];
65
+ } & {
66
+ approveAssetValue: ({ assetValue, spenderAddress }: {
67
+ spenderAddress: string;
68
+ assetValue: import("@tcswap/helpers").AssetValue;
69
+ }) => Promise<string> | Promise<boolean>;
70
+ isAssetValueApproved: ({ assetValue, spenderAddress }: {
71
+ spenderAddress: string;
72
+ assetValue: import("@tcswap/helpers").AssetValue;
73
+ }) => Promise<string> | Promise<boolean>;
74
+ swap: ({ route }: import("@tcswap/helpers").SwapParams<"garden", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
75
+ };
76
+ near: (pluginParams: import("@tcswap/plugins").SwapKitPluginParams) => {
77
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.NEAR];
78
+ } & {
79
+ nearNames: {
80
+ getInfo(name: string): Promise<import("@tcswap/plugins/near").NearAccountInfo | null>;
81
+ isAvailable(name: string): Promise<boolean>;
82
+ lookupNames(accountId: string): Promise<string[]>;
83
+ register(params: import("@tcswap/plugins/near").NearNameRegistrationParams): Promise<string>;
84
+ resolve(name: string): Promise<string | null>;
85
+ transfer(name: string, newOwner: string): Promise<string>;
86
+ };
87
+ swap(swapParams: import("@tcswap/helpers").SwapParams<"near", import("@tcswap/server").QuoteResponseRoute>): Promise<any>;
88
+ };
89
+ solana: (pluginParams: import("@tcswap/plugins").SwapKitPluginParams) => {
90
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.JUPITER];
91
+ } & {
92
+ swap: ({ route }: import("@tcswap/helpers").SwapParams<"solana", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
93
+ };
94
+ radix: (pluginParams: import("@tcswap/plugins").SwapKitPluginParams) => {
95
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.CAVIAR_V1];
96
+ } & {
97
+ swap: ({ route: { tx, sellAmount, sellAsset } }: import("@tcswap/helpers").SwapParams<"radix", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
98
+ };
99
+ thorchain: (pluginParams: import("@tcswap/plugins").SwapKitPluginParams) => {
100
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.THORCHAIN, import("@tcswap/helpers").ProviderName.THORCHAIN_STREAMING];
101
+ } & {
102
+ addLiquidity: ({ baseAssetValue, assetValue, baseAssetAddr, assetAddr, isPendingSymmAsset, mode, }: import("@tcswap/plugins").AddLiquidityParams) => Promise<{
103
+ assetTx: string | undefined;
104
+ baseAssetTx: string | undefined;
105
+ }>;
106
+ addLiquidityPart: ({ assetValue, poolAddress, address, symmetric }: import("@tcswap/plugins").AddLiquidityPartParams) => Promise<string>;
107
+ approveAssetValue: ({ assetValue }: {
108
+ assetValue: import("@tcswap/helpers").AssetValue;
109
+ }) => Promise<string | boolean | Promise<string>>;
110
+ claimTcy: ({ chain, thorAddress }: {
111
+ chain: import("@tcswap/types").Chain;
112
+ thorAddress: string;
113
+ }) => Promise<string>;
114
+ createLiquidity: ({ baseAssetValue, assetValue }: import("@tcswap/plugins").CreateLiquidityParams) => Promise<{
115
+ assetTx: string | undefined;
116
+ baseAssetTx: string | undefined;
117
+ }>;
118
+ deposit: ({ assetValue, recipient, router, ...rest }: import("@tcswap/plugins").CoreTxParams & {
119
+ router?: string;
120
+ }) => Promise<string>;
121
+ depositToPool: ({ assetValue, memo, feeOptionKey, }: {
122
+ assetValue: import("@tcswap/helpers").AssetValue;
123
+ memo: string;
124
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
125
+ }) => Promise<string>;
126
+ getInboundDataByChain: <T extends import("@tcswap/types").Chain>(chain: T) => Promise<import("@tcswap/server").InboundAddressesItem>;
127
+ isAssetValueApproved: ({ assetValue }: {
128
+ assetValue: import("@tcswap/helpers").AssetValue;
129
+ }) => Promise<string | boolean | Promise<boolean>>;
130
+ nodeAction: ({ type, assetValue, address }: import("@tcswap/plugins").NodeActionParams) => Promise<string>;
131
+ registerName: ({ assetValue, ...params }: import("@tcswap/plugins").RegisterThornameParams) => Promise<string>;
132
+ registerPreferredAsset: ({ assetValue, payoutAddress, name, ownerAddress, }: {
133
+ assetValue: import("@tcswap/helpers").AssetValue;
134
+ payoutAddress?: string;
135
+ name: string;
136
+ ownerAddress: string;
137
+ }) => Promise<string>;
138
+ stakeTcyAction: (params: {
139
+ type: "unstake";
140
+ unstakeBps: number;
141
+ } | {
142
+ type: "stake";
143
+ assetValue: import("@tcswap/helpers").AssetValue;
144
+ }) => Promise<string>;
145
+ swap: ({ feeOptionKey, route }: import("@tcswap/helpers").SwapParams<"thorchain" | "mayachain", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
146
+ withdraw: ({ memo, assetValue, percent, from, to }: import("@tcswap/plugins").WithdrawParams) => Promise<string>;
147
+ };
148
+ mayachain: (pluginParams: import("@tcswap/plugins").SwapKitPluginParams) => {
149
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.MAYACHAIN, import("@tcswap/helpers").ProviderName.MAYACHAIN_STREAMING];
150
+ } & {
151
+ addLiquidity: ({ baseAssetValue, assetValue, baseAssetAddr, assetAddr, isPendingSymmAsset, mode, }: import("@tcswap/plugins").AddLiquidityParams) => Promise<{
152
+ assetTx: string | undefined;
153
+ baseAssetTx: string | undefined;
154
+ }>;
155
+ addLiquidityPart: ({ assetValue, poolAddress, address, symmetric }: import("@tcswap/plugins").AddLiquidityPartParams) => Promise<string>;
156
+ approveAssetValue: ({ assetValue }: {
157
+ assetValue: import("@tcswap/helpers").AssetValue;
158
+ }) => Promise<string | boolean | Promise<string>>;
159
+ claimTcy: ({ chain, thorAddress }: {
160
+ chain: import("@tcswap/types").Chain;
161
+ thorAddress: string;
162
+ }) => Promise<string>;
163
+ createLiquidity: ({ baseAssetValue, assetValue }: import("@tcswap/plugins").CreateLiquidityParams) => Promise<{
164
+ assetTx: string | undefined;
165
+ baseAssetTx: string | undefined;
166
+ }>;
167
+ deposit: ({ assetValue, recipient, router, ...rest }: import("@tcswap/plugins").CoreTxParams & {
168
+ router?: string;
169
+ }) => Promise<string>;
170
+ depositToPool: ({ assetValue, memo, feeOptionKey, }: {
171
+ assetValue: import("@tcswap/helpers").AssetValue;
172
+ memo: string;
173
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
174
+ }) => Promise<string>;
175
+ getInboundDataByChain: <T extends import("@tcswap/types").Chain>(chain: T) => Promise<import("@tcswap/server").InboundAddressesItem>;
176
+ isAssetValueApproved: ({ assetValue }: {
177
+ assetValue: import("@tcswap/helpers").AssetValue;
178
+ }) => Promise<string | boolean | Promise<boolean>>;
179
+ nodeAction: ({ type, assetValue, address }: import("@tcswap/plugins").NodeActionParams) => Promise<string>;
180
+ registerName: ({ assetValue, ...params }: import("@tcswap/plugins").RegisterThornameParams) => Promise<string>;
181
+ registerPreferredAsset: ({ assetValue, payoutAddress, name, ownerAddress, }: {
182
+ assetValue: import("@tcswap/helpers").AssetValue;
183
+ payoutAddress?: string;
184
+ name: string;
185
+ ownerAddress: string;
186
+ }) => Promise<string>;
187
+ stakeTcyAction: (params: {
188
+ type: "unstake";
189
+ unstakeBps: number;
190
+ } | {
191
+ type: "stake";
192
+ assetValue: import("@tcswap/helpers").AssetValue;
193
+ }) => Promise<string>;
194
+ swap: ({ feeOptionKey, route }: import("@tcswap/helpers").SwapParams<"thorchain" | "mayachain", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
195
+ withdraw: ({ memo, assetValue, percent, from, to }: import("@tcswap/plugins").WithdrawParams) => Promise<string>;
196
+ };
197
+ evm: (pluginParams: import("@tcswap/plugins").SwapKitPluginParams) => {
198
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.CAMELOT_V3, import("@tcswap/helpers").ProviderName.OPENOCEAN_V2, import("@tcswap/helpers").ProviderName.OKX, import("@tcswap/helpers").ProviderName.ONEINCH, import("@tcswap/helpers").ProviderName.PANCAKESWAP, import("@tcswap/helpers").ProviderName.PANGOLIN_V1, import("@tcswap/helpers").ProviderName.SUSHISWAP_V2, import("@tcswap/helpers").ProviderName.TRADERJOE_V2, import("@tcswap/helpers").ProviderName.UNISWAP_V2, import("@tcswap/helpers").ProviderName.UNISWAP_V3];
199
+ } & {
200
+ approveAssetValue: ({ assetValue, spenderAddress }: {
201
+ spenderAddress: string;
202
+ assetValue: import("@tcswap/helpers").AssetValue;
203
+ }) => Promise<string> | Promise<boolean>;
204
+ isAssetValueApproved: ({ assetValue, spenderAddress }: {
205
+ spenderAddress: string;
206
+ assetValue: import("@tcswap/helpers").AssetValue;
207
+ }) => Promise<string> | Promise<boolean>;
208
+ swap: ({ route: { tx, sellAsset }, feeOptionKey }: import("@tcswap/helpers").SwapParams<"evm", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
209
+ };
210
+ chainflip: (pluginParams: import("@tcswap/plugins").SwapKitPluginParams) => {
211
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.CHAINFLIP, import("@tcswap/helpers").ProviderName.CHAINFLIP_STREAMING];
212
+ } & {
213
+ swap: (swapParams: import("@tcswap/plugins").RequestSwapDepositAddressParams) => Promise<any>;
214
+ };
215
+ };
216
+ export declare const defaultWallets: ReturnType<typeof createWallet>;
217
+ export declare function createUSwap<Plugins extends ReturnType<typeof createPlugin>, Wallets extends ReturnType<typeof createWallet>>({ config, plugins, wallets }?: {
218
+ config?: USwapConfigState;
219
+ plugins?: Plugins;
220
+ wallets?: Wallets;
221
+ }): {
222
+ garden: {
223
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.GARDEN];
224
+ } & {
225
+ approveAssetValue: ({ assetValue, spenderAddress }: {
226
+ spenderAddress: string;
227
+ assetValue: import("@tcswap/helpers").AssetValue;
228
+ }) => Promise<string> | Promise<boolean>;
229
+ isAssetValueApproved: ({ assetValue, spenderAddress }: {
230
+ spenderAddress: string;
231
+ assetValue: import("@tcswap/helpers").AssetValue;
232
+ }) => Promise<string> | Promise<boolean>;
233
+ swap: ({ route }: import("@tcswap/helpers").SwapParams<"garden", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
234
+ };
235
+ near: {
236
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.NEAR];
237
+ } & {
238
+ nearNames: {
239
+ getInfo(name: string): Promise<import("@tcswap/plugins/near").NearAccountInfo | null>;
240
+ isAvailable(name: string): Promise<boolean>;
241
+ lookupNames(accountId: string): Promise<string[]>;
242
+ register(params: import("@tcswap/plugins/near").NearNameRegistrationParams): Promise<string>;
243
+ resolve(name: string): Promise<string | null>;
244
+ transfer(name: string, newOwner: string): Promise<string>;
245
+ };
246
+ swap(swapParams: import("@tcswap/helpers").SwapParams<"near", import("@tcswap/server").QuoteResponseRoute>): Promise<any>;
247
+ };
248
+ solana: {
249
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.JUPITER];
250
+ } & {
251
+ swap: ({ route }: import("@tcswap/helpers").SwapParams<"solana", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
252
+ };
253
+ radix: {
254
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.CAVIAR_V1];
255
+ } & {
256
+ swap: ({ route: { tx, sellAmount, sellAsset } }: import("@tcswap/helpers").SwapParams<"radix", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
257
+ };
258
+ thorchain: {
259
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.THORCHAIN, import("@tcswap/helpers").ProviderName.THORCHAIN_STREAMING];
260
+ } & {
261
+ addLiquidity: ({ baseAssetValue, assetValue, baseAssetAddr, assetAddr, isPendingSymmAsset, mode, }: import("@tcswap/plugins").AddLiquidityParams) => Promise<{
262
+ assetTx: string | undefined;
263
+ baseAssetTx: string | undefined;
264
+ }>;
265
+ addLiquidityPart: ({ assetValue, poolAddress, address, symmetric }: import("@tcswap/plugins").AddLiquidityPartParams) => Promise<string>;
266
+ approveAssetValue: ({ assetValue }: {
267
+ assetValue: import("@tcswap/helpers").AssetValue;
268
+ }) => Promise<string | boolean | Promise<string>>;
269
+ claimTcy: ({ chain, thorAddress }: {
270
+ chain: import("@tcswap/types").Chain;
271
+ thorAddress: string;
272
+ }) => Promise<string>;
273
+ createLiquidity: ({ baseAssetValue, assetValue }: import("@tcswap/plugins").CreateLiquidityParams) => Promise<{
274
+ assetTx: string | undefined;
275
+ baseAssetTx: string | undefined;
276
+ }>;
277
+ deposit: ({ assetValue, recipient, router, ...rest }: import("@tcswap/plugins").CoreTxParams & {
278
+ router?: string;
279
+ }) => Promise<string>;
280
+ depositToPool: ({ assetValue, memo, feeOptionKey, }: {
281
+ assetValue: import("@tcswap/helpers").AssetValue;
282
+ memo: string;
283
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
284
+ }) => Promise<string>;
285
+ getInboundDataByChain: <T extends import("@tcswap/types").Chain>(chain: T) => Promise<import("@tcswap/server").InboundAddressesItem>;
286
+ isAssetValueApproved: ({ assetValue }: {
287
+ assetValue: import("@tcswap/helpers").AssetValue;
288
+ }) => Promise<string | boolean | Promise<boolean>>;
289
+ nodeAction: ({ type, assetValue, address }: import("@tcswap/plugins").NodeActionParams) => Promise<string>;
290
+ registerName: ({ assetValue, ...params }: import("@tcswap/plugins").RegisterThornameParams) => Promise<string>;
291
+ registerPreferredAsset: ({ assetValue, payoutAddress, name, ownerAddress, }: {
292
+ assetValue: import("@tcswap/helpers").AssetValue;
293
+ payoutAddress?: string;
294
+ name: string;
295
+ ownerAddress: string;
296
+ }) => Promise<string>;
297
+ stakeTcyAction: (params: {
298
+ type: "unstake";
299
+ unstakeBps: number;
300
+ } | {
301
+ type: "stake";
302
+ assetValue: import("@tcswap/helpers").AssetValue;
303
+ }) => Promise<string>;
304
+ swap: ({ feeOptionKey, route }: import("@tcswap/helpers").SwapParams<"thorchain" | "mayachain", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
305
+ withdraw: ({ memo, assetValue, percent, from, to }: import("@tcswap/plugins").WithdrawParams) => Promise<string>;
306
+ };
307
+ mayachain: {
308
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.MAYACHAIN, import("@tcswap/helpers").ProviderName.MAYACHAIN_STREAMING];
309
+ } & {
310
+ addLiquidity: ({ baseAssetValue, assetValue, baseAssetAddr, assetAddr, isPendingSymmAsset, mode, }: import("@tcswap/plugins").AddLiquidityParams) => Promise<{
311
+ assetTx: string | undefined;
312
+ baseAssetTx: string | undefined;
313
+ }>;
314
+ addLiquidityPart: ({ assetValue, poolAddress, address, symmetric }: import("@tcswap/plugins").AddLiquidityPartParams) => Promise<string>;
315
+ approveAssetValue: ({ assetValue }: {
316
+ assetValue: import("@tcswap/helpers").AssetValue;
317
+ }) => Promise<string | boolean | Promise<string>>;
318
+ claimTcy: ({ chain, thorAddress }: {
319
+ chain: import("@tcswap/types").Chain;
320
+ thorAddress: string;
321
+ }) => Promise<string>;
322
+ createLiquidity: ({ baseAssetValue, assetValue }: import("@tcswap/plugins").CreateLiquidityParams) => Promise<{
323
+ assetTx: string | undefined;
324
+ baseAssetTx: string | undefined;
325
+ }>;
326
+ deposit: ({ assetValue, recipient, router, ...rest }: import("@tcswap/plugins").CoreTxParams & {
327
+ router?: string;
328
+ }) => Promise<string>;
329
+ depositToPool: ({ assetValue, memo, feeOptionKey, }: {
330
+ assetValue: import("@tcswap/helpers").AssetValue;
331
+ memo: string;
332
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
333
+ }) => Promise<string>;
334
+ getInboundDataByChain: <T extends import("@tcswap/types").Chain>(chain: T) => Promise<import("@tcswap/server").InboundAddressesItem>;
335
+ isAssetValueApproved: ({ assetValue }: {
336
+ assetValue: import("@tcswap/helpers").AssetValue;
337
+ }) => Promise<string | boolean | Promise<boolean>>;
338
+ nodeAction: ({ type, assetValue, address }: import("@tcswap/plugins").NodeActionParams) => Promise<string>;
339
+ registerName: ({ assetValue, ...params }: import("@tcswap/plugins").RegisterThornameParams) => Promise<string>;
340
+ registerPreferredAsset: ({ assetValue, payoutAddress, name, ownerAddress, }: {
341
+ assetValue: import("@tcswap/helpers").AssetValue;
342
+ payoutAddress?: string;
343
+ name: string;
344
+ ownerAddress: string;
345
+ }) => Promise<string>;
346
+ stakeTcyAction: (params: {
347
+ type: "unstake";
348
+ unstakeBps: number;
349
+ } | {
350
+ type: "stake";
351
+ assetValue: import("@tcswap/helpers").AssetValue;
352
+ }) => Promise<string>;
353
+ swap: ({ feeOptionKey, route }: import("@tcswap/helpers").SwapParams<"thorchain" | "mayachain", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
354
+ withdraw: ({ memo, assetValue, percent, from, to }: import("@tcswap/plugins").WithdrawParams) => Promise<string>;
355
+ };
356
+ evm: {
357
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.CAMELOT_V3, import("@tcswap/helpers").ProviderName.OPENOCEAN_V2, import("@tcswap/helpers").ProviderName.OKX, import("@tcswap/helpers").ProviderName.ONEINCH, import("@tcswap/helpers").ProviderName.PANCAKESWAP, import("@tcswap/helpers").ProviderName.PANGOLIN_V1, import("@tcswap/helpers").ProviderName.SUSHISWAP_V2, import("@tcswap/helpers").ProviderName.TRADERJOE_V2, import("@tcswap/helpers").ProviderName.UNISWAP_V2, import("@tcswap/helpers").ProviderName.UNISWAP_V3];
358
+ } & {
359
+ approveAssetValue: ({ assetValue, spenderAddress }: {
360
+ spenderAddress: string;
361
+ assetValue: import("@tcswap/helpers").AssetValue;
362
+ }) => Promise<string> | Promise<boolean>;
363
+ isAssetValueApproved: ({ assetValue, spenderAddress }: {
364
+ spenderAddress: string;
365
+ assetValue: import("@tcswap/helpers").AssetValue;
366
+ }) => Promise<string> | Promise<boolean>;
367
+ swap: ({ route: { tx, sellAsset }, feeOptionKey }: import("@tcswap/helpers").SwapParams<"evm", import("@tcswap/server").QuoteResponseRoute>) => Promise<string>;
368
+ };
369
+ chainflip: {
370
+ supportedUSwapProviders: readonly [import("@tcswap/helpers").ProviderName.CHAINFLIP, import("@tcswap/helpers").ProviderName.CHAINFLIP_STREAMING];
371
+ } & {
372
+ swap: (swapParams: import("@tcswap/plugins").RequestSwapDepositAddressParams) => Promise<any>;
373
+ };
374
+ } & {
375
+ [x: string]: (...params: any[]) => Promise<boolean>;
376
+ } & {
377
+ approveAssetValue: (assetValue: import("@tcswap/helpers").AssetValue, contractAddress: string) => Promise<string>;
378
+ disconnectAll: () => void;
379
+ disconnectChain: <T_1 extends import("@tcswap/types").Chain>(chain: T_1) => void;
380
+ estimateTransactionFee: <P extends "garden" | "near" | "solana" | "radix" | "thorchain" | "mayachain" | "evm" | "chainflip", T_1 extends "transfer" | "approve" | "swap">({ type, feeOptionKey, params, }: {
381
+ type: T_1;
382
+ params: {
383
+ transfer: import("@tcswap/server").EVMTransferParams | (import("@tcswap/helpers").GenericTransferParams & {
384
+ sender?: string;
385
+ });
386
+ approve: {
387
+ assetValue: import("@tcswap/helpers").AssetValue;
388
+ contractAddress: string;
389
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
390
+ };
391
+ swap: import("@tcswap/helpers").GenericSwapParams<{
392
+ buyAsset: string;
393
+ expectedBuyAmount: string;
394
+ fees: {
395
+ amount: string;
396
+ asset: string;
397
+ chain: string;
398
+ protocol: import("@tcswap/helpers").ProviderName;
399
+ type: import("@tcswap/helpers").FeeTypeEnum;
400
+ }[];
401
+ providers: import("@tcswap/helpers").ProviderName[];
402
+ sellAmount: string;
403
+ sellAsset: string;
404
+ destinationAddress?: string | undefined;
405
+ estimatedTime?: {
406
+ total: number;
407
+ inbound?: number | undefined;
408
+ outbound?: number | undefined;
409
+ swap?: number | undefined;
410
+ } | undefined;
411
+ expectedBuyAmountMaxSlippage?: string | undefined;
412
+ expiration?: string | undefined;
413
+ inboundAddress?: string | undefined;
414
+ legs?: {
415
+ buyAmount: string;
416
+ buyAmountMaxSlippage: string;
417
+ buyAsset: string;
418
+ provider: import("@tcswap/helpers").ProviderName;
419
+ sellAmount: string;
420
+ sellAsset: string;
421
+ fees?: {
422
+ amount: string;
423
+ asset: string;
424
+ chain: string;
425
+ protocol: import("@tcswap/helpers").ProviderName;
426
+ type: import("@tcswap/helpers").FeeTypeEnum;
427
+ }[] | undefined;
428
+ }[] | undefined;
429
+ memo?: string | undefined;
430
+ meta?: {
431
+ assets?: {
432
+ asset: string;
433
+ image: string;
434
+ price: number;
435
+ }[] | undefined;
436
+ maxStreamingQuantity?: number | undefined;
437
+ streamingInterval?: number | undefined;
438
+ tags?: import("@tcswap/server").PriorityLabel[] | undefined;
439
+ affiliate?: string | undefined;
440
+ affiliateFee?: string | undefined;
441
+ approvalAddress?: string | undefined;
442
+ chainflip?: {
443
+ destinationAddress: string;
444
+ buyAsset: {
445
+ asset: string;
446
+ chain: string;
447
+ };
448
+ sellAsset: {
449
+ asset: string;
450
+ chain: string;
451
+ };
452
+ affiliateFees?: {
453
+ brokerAddress: string;
454
+ feeBps: number;
455
+ }[] | undefined;
456
+ brokerCommissionBps?: number | undefined;
457
+ channelMetadata?: {
458
+ cfParameters?: string | undefined;
459
+ gasBudget?: string | undefined;
460
+ message?: string | undefined;
461
+ } | undefined;
462
+ dcaParameters?: {
463
+ chunkInterval?: number | undefined;
464
+ numberOfChunks?: number | undefined;
465
+ } | undefined;
466
+ maxBoostFeeBps?: number | undefined;
467
+ refundParameters?: {
468
+ minPrice?: string | undefined;
469
+ refundAddress?: string | undefined;
470
+ retryDuration?: number | undefined;
471
+ } | undefined;
472
+ } | undefined;
473
+ garden?: {
474
+ destinationAddress: string;
475
+ buyAsset: string;
476
+ sellAmount: string;
477
+ sellAsset: string;
478
+ slippage: number;
479
+ sourceAddress: string;
480
+ affiliateFees?: {
481
+ feeBps: number;
482
+ nearId: string;
483
+ } | undefined;
484
+ } | undefined;
485
+ near?: {
486
+ destinationAddress: string;
487
+ buyAsset: string;
488
+ sellAmount: string;
489
+ sellAsset: string;
490
+ slippage: number;
491
+ sourceAddress: string;
492
+ affiliateFees?: {
493
+ feeBps: number;
494
+ nearId: string;
495
+ } | undefined;
496
+ } | undefined;
497
+ priceImpact?: number | undefined;
498
+ referrer?: string | undefined;
499
+ txType?: import("@tcswap/server").RouteQuoteTxType | undefined;
500
+ } | undefined;
501
+ refundAddress?: string | undefined;
502
+ sourceAddress?: string | undefined;
503
+ targetAddress?: string | undefined;
504
+ tx?: string | {
505
+ data: string;
506
+ from: string;
507
+ to: string;
508
+ value: string;
509
+ } | {
510
+ accountNumber: number;
511
+ chainId: import("@tcswap/types").ChainId;
512
+ fee: {
513
+ amount: {
514
+ amount: string;
515
+ denom: string;
516
+ }[];
517
+ gas: string;
518
+ };
519
+ memo: string;
520
+ msgs: {
521
+ typeUrl: string;
522
+ value: unknown;
523
+ }[];
524
+ sequence: number;
525
+ } | undefined;
526
+ txType?: import("@tcswap/server").RouteQuoteTxType | undefined;
527
+ warnings?: {
528
+ code: import("@tcswap/helpers").WarningCodeEnum;
529
+ display: string;
530
+ tooltip?: string | undefined;
531
+ }[] | undefined;
532
+ }> & {
533
+ pluginName?: P | undefined;
534
+ } & {
535
+ assetValue: import("@tcswap/helpers").AssetValue;
536
+ };
537
+ }[T_1];
538
+ feeOptionKey: import("@tcswap/helpers").FeeOption;
539
+ }) => Promise<import("@tcswap/helpers").AssetValue | undefined>;
540
+ getAddress: <T_1 extends import("@tcswap/types").Chain>(chain: T_1) => string;
541
+ getAllWallets: () => {
542
+ ARB: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Arbitrum> & {
543
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
544
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
545
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
546
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
547
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
548
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
549
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
550
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
551
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
552
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
553
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
554
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
555
+ assetValue: import("@tcswap/helpers").AssetValue;
556
+ funcName?: string;
557
+ funcParams?: unknown[];
558
+ txOverrides?: import("@tcswap/server").EVMTxParams;
559
+ data?: string;
560
+ }) => Promise<bigint>;
561
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
562
+ l1GasPrice?: bigint;
563
+ gasPrice?: bigint;
564
+ maxFeePerGas?: bigint;
565
+ maxPriorityFeePerGas?: bigint;
566
+ }; }>;
567
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
568
+ feeOption: import("@tcswap/helpers").FeeOption;
569
+ chain: import("@tcswap/types").EVMChain;
570
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
571
+ getAddress: () => string | Promise<string> | undefined;
572
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
573
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
574
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
575
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
576
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
577
+ }) => Promise<string>;
578
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
579
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
580
+ validateAddress: (address: string) => boolean;
581
+ };
582
+ AURORA: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Aurora> & {
583
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
584
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
585
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
586
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
587
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
588
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
589
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
590
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
591
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
592
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
593
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
594
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
595
+ assetValue: import("@tcswap/helpers").AssetValue;
596
+ funcName?: string;
597
+ funcParams?: unknown[];
598
+ txOverrides?: import("@tcswap/server").EVMTxParams;
599
+ data?: string;
600
+ }) => Promise<bigint>;
601
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
602
+ l1GasPrice?: bigint;
603
+ gasPrice?: bigint;
604
+ maxFeePerGas?: bigint;
605
+ maxPriorityFeePerGas?: bigint;
606
+ }; }>;
607
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
608
+ feeOption: import("@tcswap/helpers").FeeOption;
609
+ chain: import("@tcswap/types").EVMChain;
610
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
611
+ getAddress: () => string | Promise<string> | undefined;
612
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
613
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
614
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
615
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
616
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
617
+ }) => Promise<string>;
618
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
619
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
620
+ validateAddress: (address: string) => boolean;
621
+ };
622
+ AVAX: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Avalanche> & {
623
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
624
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
625
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
626
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
627
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
628
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
629
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
630
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
631
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
632
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
633
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
634
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
635
+ assetValue: import("@tcswap/helpers").AssetValue;
636
+ funcName?: string;
637
+ funcParams?: unknown[];
638
+ txOverrides?: import("@tcswap/server").EVMTxParams;
639
+ data?: string;
640
+ }) => Promise<bigint>;
641
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
642
+ l1GasPrice?: bigint;
643
+ gasPrice?: bigint;
644
+ maxFeePerGas?: bigint;
645
+ maxPriorityFeePerGas?: bigint;
646
+ }; }>;
647
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
648
+ feeOption: import("@tcswap/helpers").FeeOption;
649
+ chain: import("@tcswap/types").EVMChain;
650
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
651
+ getAddress: () => string | Promise<string> | undefined;
652
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
653
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
654
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
655
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
656
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
657
+ }) => Promise<string>;
658
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
659
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
660
+ validateAddress: (address: string) => boolean;
661
+ };
662
+ BASE: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Base> & {
663
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
664
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
665
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
666
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
667
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
668
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
669
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
670
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
671
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
672
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
673
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
674
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
675
+ assetValue: import("@tcswap/helpers").AssetValue;
676
+ funcName?: string;
677
+ funcParams?: unknown[];
678
+ txOverrides?: import("@tcswap/server").EVMTxParams;
679
+ data?: string;
680
+ }) => Promise<bigint>;
681
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
682
+ l1GasPrice?: bigint;
683
+ gasPrice?: bigint;
684
+ maxFeePerGas?: bigint;
685
+ maxPriorityFeePerGas?: bigint;
686
+ }; }>;
687
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
688
+ feeOption: import("@tcswap/helpers").FeeOption;
689
+ chain: import("@tcswap/types").EVMChain;
690
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
691
+ getAddress: () => string | Promise<string> | undefined;
692
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
693
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
694
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
695
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
696
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
697
+ }) => Promise<string>;
698
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
699
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
700
+ validateAddress: (address: string) => boolean;
701
+ };
702
+ BERA: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Berachain> & {
703
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
704
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
705
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
706
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
707
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
708
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
709
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
710
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
711
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
712
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
713
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
714
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
715
+ assetValue: import("@tcswap/helpers").AssetValue;
716
+ funcName?: string;
717
+ funcParams?: unknown[];
718
+ txOverrides?: import("@tcswap/server").EVMTxParams;
719
+ data?: string;
720
+ }) => Promise<bigint>;
721
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
722
+ l1GasPrice?: bigint;
723
+ gasPrice?: bigint;
724
+ maxFeePerGas?: bigint;
725
+ maxPriorityFeePerGas?: bigint;
726
+ }; }>;
727
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
728
+ feeOption: import("@tcswap/helpers").FeeOption;
729
+ chain: import("@tcswap/types").EVMChain;
730
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
731
+ getAddress: () => string | Promise<string> | undefined;
732
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
733
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
734
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
735
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
736
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
737
+ }) => Promise<string>;
738
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
739
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
740
+ validateAddress: (address: string) => boolean;
741
+ };
742
+ BSC: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.BinanceSmartChain> & {
743
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
744
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
745
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
746
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
747
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
748
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
749
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
750
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
751
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
752
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
753
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
754
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
755
+ assetValue: import("@tcswap/helpers").AssetValue;
756
+ funcName?: string;
757
+ funcParams?: unknown[];
758
+ txOverrides?: import("@tcswap/server").EVMTxParams;
759
+ data?: string;
760
+ }) => Promise<bigint>;
761
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
762
+ l1GasPrice?: bigint;
763
+ gasPrice?: bigint;
764
+ maxFeePerGas?: bigint;
765
+ maxPriorityFeePerGas?: bigint;
766
+ }; }>;
767
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
768
+ feeOption: import("@tcswap/helpers").FeeOption;
769
+ chain: import("@tcswap/types").EVMChain;
770
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
771
+ getAddress: () => string | Promise<string> | undefined;
772
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
773
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
774
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
775
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
776
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
777
+ }) => Promise<string>;
778
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
779
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
780
+ validateAddress: (address: string) => boolean;
781
+ };
782
+ BTC: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Bitcoin> & {
783
+ accumulative: typeof import("@tcswap/server").accumulative;
784
+ broadcastTx: (txHash: string) => Promise<string>;
785
+ calculateTxSize: ({ inputs, outputs, feeRate }: import("@tcswap/server").UTXOCalculateTxSizeParams) => number;
786
+ createKeysForPath: (params: {
787
+ wif?: string;
788
+ phrase?: string;
789
+ derivationPath?: string;
790
+ }) => import("ecpair").ECPairInterface;
791
+ createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, }: import("@tcswap/server").UTXOBuildTxParams) => Promise<{
792
+ psbt: import("bitcoinjs-lib").Psbt;
793
+ utxos: import("@tcswap/server").UTXOType[];
794
+ inputs: import("@tcswap/server").UTXOType[];
795
+ }>;
796
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
797
+ from: string;
798
+ memo?: string;
799
+ feeRate?: number;
800
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
801
+ recipients?: number | import("@tcswap/server").TargetOutput[];
802
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
803
+ estimateTransactionFee: (params: {
804
+ assetValue: import("@tcswap/helpers").AssetValue;
805
+ recipient: string;
806
+ sender: string;
807
+ memo?: string;
808
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
809
+ feeRate?: number;
810
+ fetchTxHex?: boolean;
811
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
812
+ getAddress: () => Promise<string | undefined>;
813
+ getAddressFromKeys: (keys: import("ecpair").ECPairInterface | import("@tcswap/server").BchECPair) => string;
814
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
815
+ getFeeRates: () => Promise<{
816
+ average: number;
817
+ fast: number;
818
+ fastest: number;
819
+ }>;
820
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@tcswap/server").UTXOBuildTxParams, "feeRate"> & {
821
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
822
+ feeRate?: number;
823
+ }) => Promise<{
824
+ fee: number;
825
+ inputs: (import("@tcswap/server").UTXOType | import("@tcswap/server").UTXOInputWithScriptType)[];
826
+ outputs: import("@tcswap/server").TargetOutput[];
827
+ } | {
828
+ fee: number;
829
+ inputs?: undefined;
830
+ outputs?: undefined;
831
+ }>;
832
+ getPrivateKeyFromMnemonic: (params: {
833
+ phrase: string;
834
+ derivationPath: string;
835
+ }) => string;
836
+ transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue }: import("@tcswap/server").UTXOTransferParams) => Promise<string>;
837
+ validateAddress: (address: string) => boolean;
838
+ };
839
+ BCH: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.BitcoinCash> & {
840
+ broadcastTx: (txHash: string) => Promise<string>;
841
+ buildTx: ({ assetValue, recipient, memo, feeRate, sender, setSigHashType, }: import("@tcswap/server").UTXOBuildTxParams & {
842
+ setSigHashType?: boolean;
843
+ }) => Promise<{
844
+ inputs: import("@tcswap/server").UTXOType[];
845
+ psbt: import("bitcoinjs-lib").Psbt;
846
+ utxos: {
847
+ address: string;
848
+ hash: string;
849
+ index: number;
850
+ txHex: string | undefined;
851
+ value: number;
852
+ witnessUtxo: {
853
+ script: Buffer<ArrayBuffer>;
854
+ value: number;
855
+ };
856
+ }[];
857
+ }>;
858
+ createTransaction: ({ assetValue, recipient, memo, feeRate, sender }: import("@tcswap/server").UTXOBuildTxParams) => Promise<{
859
+ builder: import("@tcswap/server").TransactionBuilderType;
860
+ utxos: (import("@tcswap/server").UTXOType | import("@tcswap/server").UTXOInputWithScriptType)[];
861
+ }>;
862
+ getAddress: () => Promise<string | undefined>;
863
+ getAddressFromKeys: (keys: {
864
+ getAddress: (index?: number) => string;
865
+ }) => string;
866
+ getBalance: (address: string, _scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
867
+ getFeeRates: () => Promise<{
868
+ average: number;
869
+ fast: number;
870
+ fastest: number;
871
+ }>;
872
+ stripPrefix: typeof import("@tcswap/server").stripPrefix;
873
+ stripToCashAddress: typeof import("@tcswap/server").stripToCashAddress;
874
+ transfer: ({ recipient, assetValue, feeOptionKey, ...rest }: import("@tcswap/server").UTXOTransferParams) => Promise<string>;
875
+ validateAddress: typeof import("@tcswap/server").bchValidateAddress;
876
+ accumulative: typeof import("@tcswap/server").accumulative;
877
+ calculateTxSize: ({ inputs, outputs, feeRate }: import("@tcswap/server").UTXOCalculateTxSizeParams) => number;
878
+ createKeysForPath: (params: {
879
+ wif?: string;
880
+ phrase?: string;
881
+ derivationPath?: string;
882
+ }) => import("@tcswap/server").BchECPair;
883
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
884
+ from: string;
885
+ memo?: string;
886
+ feeRate?: number;
887
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
888
+ recipients?: number | import("@tcswap/server").TargetOutput[];
889
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
890
+ estimateTransactionFee: (params: {
891
+ assetValue: import("@tcswap/helpers").AssetValue;
892
+ recipient: string;
893
+ sender: string;
894
+ memo?: string;
895
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
896
+ feeRate?: number;
897
+ fetchTxHex?: boolean;
898
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
899
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@tcswap/server").UTXOBuildTxParams, "feeRate"> & {
900
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
901
+ feeRate?: number;
902
+ }) => Promise<{
903
+ fee: number;
904
+ inputs: (import("@tcswap/server").UTXOType | import("@tcswap/server").UTXOInputWithScriptType)[];
905
+ outputs: import("@tcswap/server").TargetOutput[];
906
+ } | {
907
+ fee: number;
908
+ inputs?: undefined;
909
+ outputs?: undefined;
910
+ }>;
911
+ getPrivateKeyFromMnemonic: (params: {
912
+ phrase: string;
913
+ derivationPath: string;
914
+ }) => string;
915
+ };
916
+ BOTANIX: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Botanix> & {
917
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
918
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
919
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
920
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
921
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
922
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
923
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
924
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
925
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
926
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
927
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
928
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
929
+ assetValue: import("@tcswap/helpers").AssetValue;
930
+ funcName?: string;
931
+ funcParams?: unknown[];
932
+ txOverrides?: import("@tcswap/server").EVMTxParams;
933
+ data?: string;
934
+ }) => Promise<bigint>;
935
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
936
+ l1GasPrice?: bigint;
937
+ gasPrice?: bigint;
938
+ maxFeePerGas?: bigint;
939
+ maxPriorityFeePerGas?: bigint;
940
+ }; }>;
941
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
942
+ feeOption: import("@tcswap/helpers").FeeOption;
943
+ chain: import("@tcswap/types").EVMChain;
944
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
945
+ getAddress: () => string | Promise<string> | undefined;
946
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
947
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
948
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
949
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
950
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
951
+ }) => Promise<string>;
952
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
953
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
954
+ validateAddress: (address: string) => boolean;
955
+ };
956
+ ADA: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Cardano> & {
957
+ createTransaction: ({ recipient, assetValue, memo, }: {
958
+ recipient: string;
959
+ assetValue: import("@tcswap/helpers").AssetValue;
960
+ memo?: string;
961
+ }) => Promise<{
962
+ tx: import("@meshsdk/core").Transaction;
963
+ unsignedTx: string;
964
+ }>;
965
+ estimateTransactionFee: () => Promise<import("@tcswap/helpers").AssetValue>;
966
+ getAddress: () => string;
967
+ getBalance: (addressParam?: string) => Promise<import("@tcswap/helpers").AssetValue[]>;
968
+ signTransaction: (txParams: string) => Promise<string>;
969
+ transfer: ({ recipient, assetValue, memo, }: {
970
+ recipient: string;
971
+ assetValue: import("@tcswap/helpers").AssetValue;
972
+ memo?: string;
973
+ }) => Promise<string>;
974
+ validateAddress: (address: string) => boolean;
975
+ };
976
+ FLIP: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Chainflip> & {
977
+ api: import("@polkadot/api").ApiPromise;
978
+ broadcast: (tx: import("@polkadot/api/types").SubmittableExtrinsic<"promise">, callback?: import("@polkadot/types/types").Callback<import("@polkadot/types/types").ISubmittableResult>) => Promise<string | (() => void)>;
979
+ convertAddress: (address: string, newPrefix: number) => string;
980
+ createKeyring: (phrase: string) => Promise<import("@polkadot/keyring/types").KeyringPair>;
981
+ createTransaction: (params: import("@tcswap/helpers").GenericCreateTransactionParams) => import("@polkadot/api/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult> | undefined;
982
+ decodeAddress: (address: string, networkPrefix?: number) => Uint8Array<ArrayBufferLike>;
983
+ encodeAddress: (address: Uint8Array, encoding?: "ss58" | "hex", networkPrefix?: number) => string;
984
+ estimateTransactionFee: (params: import("@tcswap/server").SubstrateTransferParams) => Promise<import("@tcswap/helpers").AssetValue | undefined>;
985
+ gasAsset: import("@tcswap/helpers").AssetValue;
986
+ getAddress: (keyring?: import("@polkadot/types/types").IKeyringPair | import("@polkadot/types/types").Signer) => string | undefined;
987
+ getBalance: (address: string) => Promise<import("@tcswap/helpers").AssetValue[]>;
988
+ network: import("@tcswap/server").SubstrateNetwork;
989
+ sign: (tx: import("@polkadot/api/types").SubmittableExtrinsic<"promise">) => Promise<import("@polkadot/api/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>>;
990
+ signAndBroadcast: ({ tx, callback, address, }: {
991
+ tx: import("@polkadot/api/types").SubmittableExtrinsic<"promise">;
992
+ callback?: import("@polkadot/types/types").Callback<import("@polkadot/types/types").ISubmittableResult>;
993
+ address?: string;
994
+ }) => string | Promise<string> | Promise<() => void>;
995
+ transfer: (params: import("@tcswap/server").SubstrateTransferParams) => Promise<string>;
996
+ validateAddress: (address: string) => boolean;
997
+ };
998
+ CORE: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Core> & {
999
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
1000
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
1001
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
1002
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
1003
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
1004
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
1005
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
1006
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1007
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1008
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
1009
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
1010
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
1011
+ assetValue: import("@tcswap/helpers").AssetValue;
1012
+ funcName?: string;
1013
+ funcParams?: unknown[];
1014
+ txOverrides?: import("@tcswap/server").EVMTxParams;
1015
+ data?: string;
1016
+ }) => Promise<bigint>;
1017
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
1018
+ l1GasPrice?: bigint;
1019
+ gasPrice?: bigint;
1020
+ maxFeePerGas?: bigint;
1021
+ maxPriorityFeePerGas?: bigint;
1022
+ }; }>;
1023
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
1024
+ feeOption: import("@tcswap/helpers").FeeOption;
1025
+ chain: import("@tcswap/types").EVMChain;
1026
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1027
+ getAddress: () => string | Promise<string> | undefined;
1028
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1029
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
1030
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
1031
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
1032
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1033
+ }) => Promise<string>;
1034
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1035
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
1036
+ validateAddress: (address: string) => boolean;
1037
+ };
1038
+ CORN: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Corn> & {
1039
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
1040
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
1041
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
1042
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
1043
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
1044
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
1045
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
1046
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1047
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1048
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
1049
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
1050
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
1051
+ assetValue: import("@tcswap/helpers").AssetValue;
1052
+ funcName?: string;
1053
+ funcParams?: unknown[];
1054
+ txOverrides?: import("@tcswap/server").EVMTxParams;
1055
+ data?: string;
1056
+ }) => Promise<bigint>;
1057
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
1058
+ l1GasPrice?: bigint;
1059
+ gasPrice?: bigint;
1060
+ maxFeePerGas?: bigint;
1061
+ maxPriorityFeePerGas?: bigint;
1062
+ }; }>;
1063
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
1064
+ feeOption: import("@tcswap/helpers").FeeOption;
1065
+ chain: import("@tcswap/types").EVMChain;
1066
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1067
+ getAddress: () => string | Promise<string> | undefined;
1068
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1069
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
1070
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
1071
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
1072
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1073
+ }) => Promise<string>;
1074
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1075
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
1076
+ validateAddress: (address: string) => boolean;
1077
+ };
1078
+ GAIA: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Cosmos> & {
1079
+ createPrivateKeyFromPhrase: (phrase: string) => Promise<Uint8Array<ArrayBufferLike>>;
1080
+ createTransaction: typeof import("@tcswap/server").cosmosCreateTransaction;
1081
+ fetchFeeRateFromSwapKit: typeof import("@tcswap/server").fetchFeeRateFromSwapKit;
1082
+ getAccount: (address: string) => Promise<import("@cosmjs/stargate/build").Account | null>;
1083
+ getAddress: () => Promise<string | undefined>;
1084
+ getBalance: (address: string, _potentialScamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1085
+ getBalanceAsDenoms: (address: string) => Promise<{
1086
+ denom: string;
1087
+ amount: string;
1088
+ }[]>;
1089
+ getFees: () => Promise<{
1090
+ average: import("@tcswap/helpers").USwapNumber;
1091
+ fast: import("@tcswap/helpers").USwapNumber;
1092
+ fastest: import("@tcswap/helpers").USwapNumber;
1093
+ }>;
1094
+ getPubKey: () => Promise<string>;
1095
+ getSignerFromPhrase: ({ phrase, derivationPath }: {
1096
+ phrase: string;
1097
+ derivationPath: import("@tcswap/helpers").DerivationPathArray;
1098
+ }) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1HdWallet>;
1099
+ getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
1100
+ signTransaction: ({ recipient, assetValue, memo, feeRate, feeOptionKey, }: import("@tcswap/helpers").GenericTransferParams) => Promise<string>;
1101
+ transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, dryRun, }: import("@tcswap/helpers").GenericTransferParams & {
1102
+ dryRun?: boolean;
1103
+ }) => Promise<string>;
1104
+ validateAddress: (address: string) => boolean;
1105
+ verifySignature: ({ signature, message, address, }: {
1106
+ signature: string;
1107
+ message: string;
1108
+ address: string;
1109
+ }) => Promise<boolean>;
1110
+ };
1111
+ CRO: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Cronos> & {
1112
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
1113
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
1114
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
1115
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
1116
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
1117
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
1118
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
1119
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1120
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1121
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
1122
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
1123
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
1124
+ assetValue: import("@tcswap/helpers").AssetValue;
1125
+ funcName?: string;
1126
+ funcParams?: unknown[];
1127
+ txOverrides?: import("@tcswap/server").EVMTxParams;
1128
+ data?: string;
1129
+ }) => Promise<bigint>;
1130
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
1131
+ l1GasPrice?: bigint;
1132
+ gasPrice?: bigint;
1133
+ maxFeePerGas?: bigint;
1134
+ maxPriorityFeePerGas?: bigint;
1135
+ }; }>;
1136
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
1137
+ feeOption: import("@tcswap/helpers").FeeOption;
1138
+ chain: import("@tcswap/types").EVMChain;
1139
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1140
+ getAddress: () => string | Promise<string> | undefined;
1141
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1142
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
1143
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
1144
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
1145
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1146
+ }) => Promise<string>;
1147
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1148
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
1149
+ validateAddress: (address: string) => boolean;
1150
+ };
1151
+ DASH: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Dash> & {
1152
+ accumulative: typeof import("@tcswap/server").accumulative;
1153
+ broadcastTx: (txHash: string) => Promise<string>;
1154
+ calculateTxSize: ({ inputs, outputs, feeRate }: import("@tcswap/server").UTXOCalculateTxSizeParams) => number;
1155
+ createKeysForPath: (params: {
1156
+ wif?: string;
1157
+ phrase?: string;
1158
+ derivationPath?: string;
1159
+ }) => import("ecpair").ECPairInterface;
1160
+ createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, }: import("@tcswap/server").UTXOBuildTxParams) => Promise<{
1161
+ psbt: import("bitcoinjs-lib").Psbt;
1162
+ utxos: import("@tcswap/server").UTXOType[];
1163
+ inputs: import("@tcswap/server").UTXOType[];
1164
+ }>;
1165
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
1166
+ from: string;
1167
+ memo?: string;
1168
+ feeRate?: number;
1169
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1170
+ recipients?: number | import("@tcswap/server").TargetOutput[];
1171
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1172
+ estimateTransactionFee: (params: {
1173
+ assetValue: import("@tcswap/helpers").AssetValue;
1174
+ recipient: string;
1175
+ sender: string;
1176
+ memo?: string;
1177
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1178
+ feeRate?: number;
1179
+ fetchTxHex?: boolean;
1180
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1181
+ getAddress: () => Promise<string | undefined>;
1182
+ getAddressFromKeys: (keys: import("ecpair").ECPairInterface | import("@tcswap/server").BchECPair) => string;
1183
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1184
+ getFeeRates: () => Promise<{
1185
+ average: number;
1186
+ fast: number;
1187
+ fastest: number;
1188
+ }>;
1189
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@tcswap/server").UTXOBuildTxParams, "feeRate"> & {
1190
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1191
+ feeRate?: number;
1192
+ }) => Promise<{
1193
+ fee: number;
1194
+ inputs: (import("@tcswap/server").UTXOType | import("@tcswap/server").UTXOInputWithScriptType)[];
1195
+ outputs: import("@tcswap/server").TargetOutput[];
1196
+ } | {
1197
+ fee: number;
1198
+ inputs?: undefined;
1199
+ outputs?: undefined;
1200
+ }>;
1201
+ getPrivateKeyFromMnemonic: (params: {
1202
+ phrase: string;
1203
+ derivationPath: string;
1204
+ }) => string;
1205
+ transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue }: import("@tcswap/server").UTXOTransferParams) => Promise<string>;
1206
+ validateAddress: (address: string) => boolean;
1207
+ };
1208
+ DOGE: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Dogecoin> & {
1209
+ accumulative: typeof import("@tcswap/server").accumulative;
1210
+ broadcastTx: (txHash: string) => Promise<string>;
1211
+ calculateTxSize: ({ inputs, outputs, feeRate }: import("@tcswap/server").UTXOCalculateTxSizeParams) => number;
1212
+ createKeysForPath: (params: {
1213
+ wif?: string;
1214
+ phrase?: string;
1215
+ derivationPath?: string;
1216
+ }) => import("ecpair").ECPairInterface;
1217
+ createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, }: import("@tcswap/server").UTXOBuildTxParams) => Promise<{
1218
+ psbt: import("bitcoinjs-lib").Psbt;
1219
+ utxos: import("@tcswap/server").UTXOType[];
1220
+ inputs: import("@tcswap/server").UTXOType[];
1221
+ }>;
1222
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
1223
+ from: string;
1224
+ memo?: string;
1225
+ feeRate?: number;
1226
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1227
+ recipients?: number | import("@tcswap/server").TargetOutput[];
1228
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1229
+ estimateTransactionFee: (params: {
1230
+ assetValue: import("@tcswap/helpers").AssetValue;
1231
+ recipient: string;
1232
+ sender: string;
1233
+ memo?: string;
1234
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1235
+ feeRate?: number;
1236
+ fetchTxHex?: boolean;
1237
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1238
+ getAddress: () => Promise<string | undefined>;
1239
+ getAddressFromKeys: (keys: import("ecpair").ECPairInterface | import("@tcswap/server").BchECPair) => string;
1240
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1241
+ getFeeRates: () => Promise<{
1242
+ average: number;
1243
+ fast: number;
1244
+ fastest: number;
1245
+ }>;
1246
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@tcswap/server").UTXOBuildTxParams, "feeRate"> & {
1247
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1248
+ feeRate?: number;
1249
+ }) => Promise<{
1250
+ fee: number;
1251
+ inputs: (import("@tcswap/server").UTXOType | import("@tcswap/server").UTXOInputWithScriptType)[];
1252
+ outputs: import("@tcswap/server").TargetOutput[];
1253
+ } | {
1254
+ fee: number;
1255
+ inputs?: undefined;
1256
+ outputs?: undefined;
1257
+ }>;
1258
+ getPrivateKeyFromMnemonic: (params: {
1259
+ phrase: string;
1260
+ derivationPath: string;
1261
+ }) => string;
1262
+ transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue }: import("@tcswap/server").UTXOTransferParams) => Promise<string>;
1263
+ validateAddress: (address: string) => boolean;
1264
+ };
1265
+ ETH: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Ethereum> & {
1266
+ multicall: (callTuples: {
1267
+ address: string;
1268
+ data: string;
1269
+ }[], multicallAddress?: string, funcName?: string, feeOptionKey?: import("@tcswap/helpers").FeeOption) => Promise<string>;
1270
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
1271
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
1272
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
1273
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
1274
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
1275
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
1276
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
1277
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1278
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1279
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
1280
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
1281
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
1282
+ assetValue: import("@tcswap/helpers").AssetValue;
1283
+ funcName?: string;
1284
+ funcParams?: unknown[];
1285
+ txOverrides?: import("@tcswap/server").EVMTxParams;
1286
+ data?: string;
1287
+ }) => Promise<bigint>;
1288
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
1289
+ l1GasPrice?: bigint;
1290
+ gasPrice?: bigint;
1291
+ maxFeePerGas?: bigint;
1292
+ maxPriorityFeePerGas?: bigint;
1293
+ }; }>;
1294
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
1295
+ feeOption: import("@tcswap/helpers").FeeOption;
1296
+ chain: import("@tcswap/types").EVMChain;
1297
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1298
+ getAddress: () => string | Promise<string> | undefined;
1299
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1300
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
1301
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
1302
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
1303
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1304
+ }) => Promise<string>;
1305
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1306
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
1307
+ validateAddress: (address: string) => boolean;
1308
+ };
1309
+ GNO: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Gnosis> & {
1310
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
1311
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
1312
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
1313
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
1314
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
1315
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
1316
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
1317
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1318
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1319
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
1320
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
1321
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
1322
+ assetValue: import("@tcswap/helpers").AssetValue;
1323
+ funcName?: string;
1324
+ funcParams?: unknown[];
1325
+ txOverrides?: import("@tcswap/server").EVMTxParams;
1326
+ data?: string;
1327
+ }) => Promise<bigint>;
1328
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
1329
+ l1GasPrice?: bigint;
1330
+ gasPrice?: bigint;
1331
+ maxFeePerGas?: bigint;
1332
+ maxPriorityFeePerGas?: bigint;
1333
+ }; }>;
1334
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
1335
+ feeOption: import("@tcswap/helpers").FeeOption;
1336
+ chain: import("@tcswap/types").EVMChain;
1337
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1338
+ getAddress: () => string | Promise<string> | undefined;
1339
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1340
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
1341
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
1342
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
1343
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1344
+ }) => Promise<string>;
1345
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1346
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
1347
+ validateAddress: (address: string) => boolean;
1348
+ };
1349
+ HARBOR: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Harbor> & {
1350
+ createPrivateKeyFromPhrase: (phrase: string) => Promise<Uint8Array<ArrayBufferLike>>;
1351
+ createTransaction: typeof import("@tcswap/server").cosmosCreateTransaction;
1352
+ fetchFeeRateFromSwapKit: typeof import("@tcswap/server").fetchFeeRateFromSwapKit;
1353
+ getAccount: (address: string) => Promise<import("@cosmjs/stargate/build").Account | null>;
1354
+ getAddress: () => Promise<string | undefined>;
1355
+ getBalance: (address: string, _potentialScamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1356
+ getBalanceAsDenoms: (address: string) => Promise<{
1357
+ denom: string;
1358
+ amount: string;
1359
+ }[]>;
1360
+ getFees: () => Promise<{
1361
+ average: import("@tcswap/helpers").USwapNumber;
1362
+ fast: import("@tcswap/helpers").USwapNumber;
1363
+ fastest: import("@tcswap/helpers").USwapNumber;
1364
+ }>;
1365
+ getPubKey: () => Promise<string>;
1366
+ getSignerFromPhrase: ({ phrase, derivationPath }: {
1367
+ phrase: string;
1368
+ derivationPath: import("@tcswap/helpers").DerivationPathArray;
1369
+ }) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1HdWallet>;
1370
+ getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
1371
+ signTransaction: ({ recipient, assetValue, memo, feeRate, feeOptionKey, }: import("@tcswap/helpers").GenericTransferParams) => Promise<string>;
1372
+ transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, dryRun, }: import("@tcswap/helpers").GenericTransferParams & {
1373
+ dryRun?: boolean;
1374
+ }) => Promise<string>;
1375
+ validateAddress: (address: string) => boolean;
1376
+ verifySignature: ({ signature, message, address, }: {
1377
+ signature: string;
1378
+ message: string;
1379
+ address: string;
1380
+ }) => Promise<boolean>;
1381
+ };
1382
+ HYPEREVM: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Hyperevm> & {
1383
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
1384
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
1385
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
1386
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
1387
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
1388
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
1389
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
1390
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1391
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1392
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
1393
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
1394
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
1395
+ assetValue: import("@tcswap/helpers").AssetValue;
1396
+ funcName?: string;
1397
+ funcParams?: unknown[];
1398
+ txOverrides?: import("@tcswap/server").EVMTxParams;
1399
+ data?: string;
1400
+ }) => Promise<bigint>;
1401
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
1402
+ l1GasPrice?: bigint;
1403
+ gasPrice?: bigint;
1404
+ maxFeePerGas?: bigint;
1405
+ maxPriorityFeePerGas?: bigint;
1406
+ }; }>;
1407
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
1408
+ feeOption: import("@tcswap/helpers").FeeOption;
1409
+ chain: import("@tcswap/types").EVMChain;
1410
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1411
+ getAddress: () => string | Promise<string> | undefined;
1412
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1413
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
1414
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
1415
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
1416
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1417
+ }) => Promise<string>;
1418
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1419
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
1420
+ validateAddress: (address: string) => boolean;
1421
+ };
1422
+ KUJI: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Kujira> & {
1423
+ createPrivateKeyFromPhrase: (phrase: string) => Promise<Uint8Array<ArrayBufferLike>>;
1424
+ createTransaction: typeof import("@tcswap/server").cosmosCreateTransaction;
1425
+ fetchFeeRateFromSwapKit: typeof import("@tcswap/server").fetchFeeRateFromSwapKit;
1426
+ getAccount: (address: string) => Promise<import("@cosmjs/stargate/build").Account | null>;
1427
+ getAddress: () => Promise<string | undefined>;
1428
+ getBalance: (address: string, _potentialScamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1429
+ getBalanceAsDenoms: (address: string) => Promise<{
1430
+ denom: string;
1431
+ amount: string;
1432
+ }[]>;
1433
+ getFees: () => Promise<{
1434
+ average: import("@tcswap/helpers").USwapNumber;
1435
+ fast: import("@tcswap/helpers").USwapNumber;
1436
+ fastest: import("@tcswap/helpers").USwapNumber;
1437
+ }>;
1438
+ getPubKey: () => Promise<string>;
1439
+ getSignerFromPhrase: ({ phrase, derivationPath }: {
1440
+ phrase: string;
1441
+ derivationPath: import("@tcswap/helpers").DerivationPathArray;
1442
+ }) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1HdWallet>;
1443
+ getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
1444
+ signTransaction: ({ recipient, assetValue, memo, feeRate, feeOptionKey, }: import("@tcswap/helpers").GenericTransferParams) => Promise<string>;
1445
+ transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, dryRun, }: import("@tcswap/helpers").GenericTransferParams & {
1446
+ dryRun?: boolean;
1447
+ }) => Promise<string>;
1448
+ validateAddress: (address: string) => boolean;
1449
+ verifySignature: ({ signature, message, address, }: {
1450
+ signature: string;
1451
+ message: string;
1452
+ address: string;
1453
+ }) => Promise<boolean>;
1454
+ };
1455
+ LTC: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Litecoin> & {
1456
+ accumulative: typeof import("@tcswap/server").accumulative;
1457
+ broadcastTx: (txHash: string) => Promise<string>;
1458
+ calculateTxSize: ({ inputs, outputs, feeRate }: import("@tcswap/server").UTXOCalculateTxSizeParams) => number;
1459
+ createKeysForPath: (params: {
1460
+ wif?: string;
1461
+ phrase?: string;
1462
+ derivationPath?: string;
1463
+ }) => import("ecpair").ECPairInterface;
1464
+ createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, }: import("@tcswap/server").UTXOBuildTxParams) => Promise<{
1465
+ psbt: import("bitcoinjs-lib").Psbt;
1466
+ utxos: import("@tcswap/server").UTXOType[];
1467
+ inputs: import("@tcswap/server").UTXOType[];
1468
+ }>;
1469
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
1470
+ from: string;
1471
+ memo?: string;
1472
+ feeRate?: number;
1473
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1474
+ recipients?: number | import("@tcswap/server").TargetOutput[];
1475
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1476
+ estimateTransactionFee: (params: {
1477
+ assetValue: import("@tcswap/helpers").AssetValue;
1478
+ recipient: string;
1479
+ sender: string;
1480
+ memo?: string;
1481
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1482
+ feeRate?: number;
1483
+ fetchTxHex?: boolean;
1484
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1485
+ getAddress: () => Promise<string | undefined>;
1486
+ getAddressFromKeys: (keys: import("ecpair").ECPairInterface | import("@tcswap/server").BchECPair) => string;
1487
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1488
+ getFeeRates: () => Promise<{
1489
+ average: number;
1490
+ fast: number;
1491
+ fastest: number;
1492
+ }>;
1493
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@tcswap/server").UTXOBuildTxParams, "feeRate"> & {
1494
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1495
+ feeRate?: number;
1496
+ }) => Promise<{
1497
+ fee: number;
1498
+ inputs: (import("@tcswap/server").UTXOType | import("@tcswap/server").UTXOInputWithScriptType)[];
1499
+ outputs: import("@tcswap/server").TargetOutput[];
1500
+ } | {
1501
+ fee: number;
1502
+ inputs?: undefined;
1503
+ outputs?: undefined;
1504
+ }>;
1505
+ getPrivateKeyFromMnemonic: (params: {
1506
+ phrase: string;
1507
+ derivationPath: string;
1508
+ }) => string;
1509
+ transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue }: import("@tcswap/server").UTXOTransferParams) => Promise<string>;
1510
+ validateAddress: (address: string) => boolean;
1511
+ };
1512
+ MAYA: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Maya> & {
1513
+ broadcastMultisigTx: (tx: string, signers: import("@tcswap/server").MultiSigSigner[], membersPubKeys: string[], threshold: number, bodyBytes: Uint8Array) => Promise<string>;
1514
+ buildAminoMsg: ({ sender, recipient, assetValue, memo, }: {
1515
+ sender: string;
1516
+ recipient?: string;
1517
+ assetValue: import("@tcswap/helpers").AssetValue;
1518
+ memo?: string;
1519
+ }) => {
1520
+ type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
1521
+ value: {
1522
+ coins: {
1523
+ amount: string;
1524
+ asset: string;
1525
+ }[];
1526
+ memo: string;
1527
+ signer: string;
1528
+ };
1529
+ } | {
1530
+ type: "thorchain/MsgSend" | "mayachain/MsgSend";
1531
+ value: {
1532
+ amount: {
1533
+ amount: string;
1534
+ denom: string;
1535
+ }[];
1536
+ from_address: string;
1537
+ to_address: string | undefined;
1538
+ };
1539
+ };
1540
+ buildEncodedTxBody: typeof import("@tcswap/server").buildEncodedTxBody;
1541
+ convertToSignable: (msg: {
1542
+ type: "thorchain/MsgSend" | "mayachain/MsgSend";
1543
+ value: {
1544
+ amount: {
1545
+ amount: string;
1546
+ denom: string;
1547
+ }[];
1548
+ from_address: string;
1549
+ to_address: string | undefined;
1550
+ };
1551
+ } | {
1552
+ type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
1553
+ value: {
1554
+ coins: {
1555
+ amount: string;
1556
+ asset: string;
1557
+ }[];
1558
+ memo: string;
1559
+ signer: string;
1560
+ };
1561
+ }, chain: import("@tcswap/types").TCLikeChain) => Promise<import("@cosmjs/proto-signing/build").EncodeObject>;
1562
+ createDefaultAminoTypes: () => Promise<import("@cosmjs/stargate/build").AminoTypes>;
1563
+ createDefaultRegistry: typeof import("@tcswap/server").createDefaultRegistry;
1564
+ createMultisig: (pubKeys: string[], threshold: number, noSortPubKeys?: boolean) => Promise<import("@cosmjs/amino/build").MultisigThresholdPubkey>;
1565
+ createTransaction: (params: import("@tcswap/server").ThorchainCreateTransactionParams) => Promise<{
1566
+ accountNumber: number;
1567
+ chainId: import("@tcswap/types").ChainId.Maya | import("@tcswap/types").ChainId.THORChain;
1568
+ fee: {
1569
+ amount: {
1570
+ amount: string;
1571
+ denom: string;
1572
+ }[];
1573
+ gas: string;
1574
+ };
1575
+ memo: string;
1576
+ msgs: (import("@cosmjs/proto-signing/build").EncodeObject | {
1577
+ type: "thorchain/MsgSend" | "mayachain/MsgSend";
1578
+ value: {
1579
+ amount: {
1580
+ amount: string;
1581
+ denom: string;
1582
+ }[];
1583
+ from_address: string;
1584
+ to_address: string | undefined;
1585
+ };
1586
+ })[];
1587
+ sequence: number;
1588
+ }> | Promise<{
1589
+ accountNumber: number;
1590
+ chainId: import("@tcswap/types").ChainId.Maya | import("@tcswap/types").ChainId.THORChain;
1591
+ fee: {
1592
+ amount: {
1593
+ amount: string;
1594
+ denom: string;
1595
+ }[];
1596
+ gas: string;
1597
+ };
1598
+ memo: string;
1599
+ msgs: (import("@cosmjs/proto-signing/build").EncodeObject | {
1600
+ type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
1601
+ value: {
1602
+ coins: {
1603
+ amount: string;
1604
+ asset: string;
1605
+ }[];
1606
+ memo: string;
1607
+ signer: string;
1608
+ };
1609
+ })[];
1610
+ sequence: number;
1611
+ }>;
1612
+ deposit: ({ assetValue, memo, recipient, }: Omit<import("@tcswap/helpers").GenericTransferParams, "recipient"> & {
1613
+ recipient?: string;
1614
+ }) => Promise<string>;
1615
+ getFees: () => Promise<{
1616
+ average: import("@tcswap/helpers").USwapNumber;
1617
+ fast: import("@tcswap/helpers").USwapNumber;
1618
+ fastest: import("@tcswap/helpers").USwapNumber;
1619
+ }>;
1620
+ importSignature: (signature: string) => Uint8Array<ArrayBufferLike>;
1621
+ parseAminoMessageForDirectSigning: typeof import("@tcswap/server").parseAminoMessageForDirectSigning;
1622
+ pubkeyToAddress: (pubkey: import("@cosmjs/amino/build").Pubkey) => Promise<string>;
1623
+ secp256k1HdWalletFromMnemonic: (mnemonic: string, index?: number) => Promise<import("@cosmjs/amino/build").Secp256k1HdWallet>;
1624
+ signMultisigTx: ({ wallet, tx }: {
1625
+ wallet: import("@cosmjs/amino/build").Secp256k1HdWallet;
1626
+ tx: string | import("@tcswap/server").MultisigTx;
1627
+ }) => Promise<{
1628
+ bodyBytes: Uint8Array<ArrayBufferLike>;
1629
+ signature: string;
1630
+ }>;
1631
+ signWithPrivateKey: ({ privateKey, message }: {
1632
+ privateKey: Uint8Array;
1633
+ message: string;
1634
+ }) => Promise<string>;
1635
+ transfer: ({ assetValue, memo, recipient, }: Omit<import("@tcswap/helpers").GenericTransferParams, "recipient"> & {
1636
+ recipient?: string;
1637
+ }) => Promise<string>;
1638
+ createPrivateKeyFromPhrase: (phrase: string) => Promise<Uint8Array<ArrayBufferLike>>;
1639
+ fetchFeeRateFromSwapKit: typeof import("@tcswap/server").fetchFeeRateFromSwapKit;
1640
+ getAccount: (address: string) => Promise<import("@cosmjs/stargate/build").Account | null>;
1641
+ getAddress: () => Promise<string | undefined>;
1642
+ getBalance: (address: string, _potentialScamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1643
+ getBalanceAsDenoms: (address: string) => Promise<{
1644
+ denom: string;
1645
+ amount: string;
1646
+ }[]>;
1647
+ getPubKey: () => Promise<string>;
1648
+ getSignerFromPhrase: ({ phrase, derivationPath }: {
1649
+ phrase: string;
1650
+ derivationPath: import("@tcswap/helpers").DerivationPathArray;
1651
+ }) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1HdWallet>;
1652
+ getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
1653
+ signTransaction: ({ recipient, assetValue, memo, feeRate, feeOptionKey, }: import("@tcswap/helpers").GenericTransferParams) => Promise<string>;
1654
+ validateAddress: (address: string) => boolean;
1655
+ verifySignature: ({ signature, message, address, }: {
1656
+ signature: string;
1657
+ message: string;
1658
+ address: string;
1659
+ }) => Promise<boolean>;
1660
+ };
1661
+ MEGAETH: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.MegaETH> & {
1662
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
1663
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
1664
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
1665
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
1666
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
1667
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
1668
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
1669
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1670
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1671
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
1672
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
1673
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
1674
+ assetValue: import("@tcswap/helpers").AssetValue;
1675
+ funcName?: string;
1676
+ funcParams?: unknown[];
1677
+ txOverrides?: import("@tcswap/server").EVMTxParams;
1678
+ data?: string;
1679
+ }) => Promise<bigint>;
1680
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
1681
+ l1GasPrice?: bigint;
1682
+ gasPrice?: bigint;
1683
+ maxFeePerGas?: bigint;
1684
+ maxPriorityFeePerGas?: bigint;
1685
+ }; }>;
1686
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
1687
+ feeOption: import("@tcswap/helpers").FeeOption;
1688
+ chain: import("@tcswap/types").EVMChain;
1689
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1690
+ getAddress: () => string | Promise<string> | undefined;
1691
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1692
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
1693
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
1694
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
1695
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1696
+ }) => Promise<string>;
1697
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1698
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
1699
+ validateAddress: (address: string) => boolean;
1700
+ };
1701
+ MONAD: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Monad> & {
1702
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
1703
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
1704
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
1705
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
1706
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
1707
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
1708
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
1709
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1710
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1711
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
1712
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
1713
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
1714
+ assetValue: import("@tcswap/helpers").AssetValue;
1715
+ funcName?: string;
1716
+ funcParams?: unknown[];
1717
+ txOverrides?: import("@tcswap/server").EVMTxParams;
1718
+ data?: string;
1719
+ }) => Promise<bigint>;
1720
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
1721
+ l1GasPrice?: bigint;
1722
+ gasPrice?: bigint;
1723
+ maxFeePerGas?: bigint;
1724
+ maxPriorityFeePerGas?: bigint;
1725
+ }; }>;
1726
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
1727
+ feeOption: import("@tcswap/helpers").FeeOption;
1728
+ chain: import("@tcswap/types").EVMChain;
1729
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1730
+ getAddress: () => string | Promise<string> | undefined;
1731
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1732
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
1733
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
1734
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
1735
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1736
+ }) => Promise<string>;
1737
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1738
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
1739
+ validateAddress: (address: string) => boolean;
1740
+ };
1741
+ NEAR: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Near> & {
1742
+ broadcastTransaction: (signedTransaction: import("@near-js/transactions").SignedTransaction) => Promise<any>;
1743
+ callFunction: (params: import("@tcswap/toolboxes/near").NearFunctionCallParams) => Promise<string>;
1744
+ createAction: (params: import("@tcswap/toolboxes/near").CreateActionParams) => Promise<import("@near-js/transactions").Action>;
1745
+ createContract: <T_1 extends import("@near-js/accounts").Contract = import("@near-js/accounts").Contract>(contractInterface: import("@tcswap/toolboxes/near").NearContractInterface) => Promise<T_1>;
1746
+ createContractFunctionCall: (params: import("@tcswap/toolboxes/near").ContractFunctionCallParams) => Promise<import("@near-js/transactions").Transaction>;
1747
+ createSubAccount: (subAccountId: string, publicKey: string, initialBalance: string) => Promise<string>;
1748
+ createTransaction: (params: import("@tcswap/toolboxes/near").NearCreateTransactionParams) => Promise<import("@near-js/transactions").Transaction>;
1749
+ estimateGas: (params: import("@tcswap/toolboxes/near").NearGasEstimateParams, account?: import("@near-js/accounts").Account) => Promise<import("@tcswap/helpers").AssetValue>;
1750
+ estimateTransactionFee: (params: import("@tcswap/toolboxes/near").NearTransferParams | import("@tcswap/toolboxes/near").NearGasEstimateParams) => Promise<import("@tcswap/helpers").AssetValue>;
1751
+ executeBatchTransaction: (batch: import("@tcswap/toolboxes/near").BatchTransaction) => Promise<string>;
1752
+ getAddress: () => Promise<string>;
1753
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1754
+ getGasPrice: () => Promise<string>;
1755
+ getPublicKey: () => Promise<string>;
1756
+ getSignerFromPhrase: (params: import("@tcswap/toolboxes/near").GetSignerFromPhraseParams) => Promise<import("@tcswap/toolboxes/near").NearSigner>;
1757
+ getSignerFromPrivateKey: typeof import("@tcswap/toolboxes/near").getNearSignerFromPrivateKey;
1758
+ provider: import("@near-js/providers").JsonRpcProvider;
1759
+ serializeTransaction: (transaction: import("@near-js/transactions").Transaction) => string;
1760
+ signAndSendTransaction: (transaction: import("@near-js/transactions").Transaction) => Promise<any>;
1761
+ signTransaction: (transaction: import("@near-js/transactions").Transaction) => Promise<import("@near-js/transactions").SignedTransaction>;
1762
+ transfer: (params: import("@tcswap/toolboxes/near").NearTransferParams) => Promise<any>;
1763
+ validateAddress: (address: string) => boolean;
1764
+ };
1765
+ NOBLE: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Noble> & {
1766
+ createPrivateKeyFromPhrase: (phrase: string) => Promise<Uint8Array<ArrayBufferLike>>;
1767
+ createTransaction: typeof import("@tcswap/server").cosmosCreateTransaction;
1768
+ fetchFeeRateFromSwapKit: typeof import("@tcswap/server").fetchFeeRateFromSwapKit;
1769
+ getAccount: (address: string) => Promise<import("@cosmjs/stargate/build").Account | null>;
1770
+ getAddress: () => Promise<string | undefined>;
1771
+ getBalance: (address: string, _potentialScamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1772
+ getBalanceAsDenoms: (address: string) => Promise<{
1773
+ denom: string;
1774
+ amount: string;
1775
+ }[]>;
1776
+ getFees: () => Promise<{
1777
+ average: import("@tcswap/helpers").USwapNumber;
1778
+ fast: import("@tcswap/helpers").USwapNumber;
1779
+ fastest: import("@tcswap/helpers").USwapNumber;
1780
+ }>;
1781
+ getPubKey: () => Promise<string>;
1782
+ getSignerFromPhrase: ({ phrase, derivationPath }: {
1783
+ phrase: string;
1784
+ derivationPath: import("@tcswap/helpers").DerivationPathArray;
1785
+ }) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1HdWallet>;
1786
+ getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
1787
+ signTransaction: ({ recipient, assetValue, memo, feeRate, feeOptionKey, }: import("@tcswap/helpers").GenericTransferParams) => Promise<string>;
1788
+ transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, dryRun, }: import("@tcswap/helpers").GenericTransferParams & {
1789
+ dryRun?: boolean;
1790
+ }) => Promise<string>;
1791
+ validateAddress: (address: string) => boolean;
1792
+ verifySignature: ({ signature, message, address, }: {
1793
+ signature: string;
1794
+ message: string;
1795
+ address: string;
1796
+ }) => Promise<boolean>;
1797
+ };
1798
+ OP: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Optimism> & {
1799
+ estimateGasPrices: Promise<{
1800
+ average: {
1801
+ l1GasPrice?: bigint;
1802
+ gasPrice?: bigint;
1803
+ maxFeePerGas?: bigint;
1804
+ maxPriorityFeePerGas?: bigint;
1805
+ };
1806
+ fast: {
1807
+ l1GasPrice?: bigint;
1808
+ gasPrice?: bigint;
1809
+ maxFeePerGas?: bigint;
1810
+ maxPriorityFeePerGas?: bigint;
1811
+ };
1812
+ fastest: {
1813
+ l1GasPrice?: bigint;
1814
+ gasPrice?: bigint;
1815
+ maxFeePerGas?: bigint;
1816
+ maxPriorityFeePerGas?: bigint;
1817
+ };
1818
+ }>;
1819
+ estimateL1Gas: (tx: import("ethers").TransactionRequest) => Promise<any>;
1820
+ estimateL1GasCost: (tx: import("ethers").TransactionRequest) => Promise<any>;
1821
+ estimateL2GasCost: (tx: import("ethers").TransactionRequest) => Promise<any>;
1822
+ estimateTotalGasCost: (tx: import("ethers").TransactionRequest) => Promise<any>;
1823
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1824
+ getL1GasPrice: () => Promise<bigint | undefined>;
1825
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
1826
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
1827
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
1828
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
1829
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
1830
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
1831
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
1832
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1833
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1834
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
1835
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
1836
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
1837
+ assetValue: import("@tcswap/helpers").AssetValue;
1838
+ funcName?: string;
1839
+ funcParams?: unknown[];
1840
+ txOverrides?: import("@tcswap/server").EVMTxParams;
1841
+ data?: string;
1842
+ }) => Promise<bigint>;
1843
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
1844
+ feeOption: import("@tcswap/helpers").FeeOption;
1845
+ chain: import("@tcswap/types").EVMChain;
1846
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1847
+ getAddress: () => string | Promise<string> | undefined;
1848
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
1849
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
1850
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
1851
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1852
+ }) => Promise<string>;
1853
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1854
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
1855
+ validateAddress: (address: string) => boolean;
1856
+ };
1857
+ DOT: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Polkadot> & {
1858
+ api: import("@polkadot/api").ApiPromise;
1859
+ broadcast: (tx: import("@polkadot/api/types").SubmittableExtrinsic<"promise">, callback?: import("@polkadot/types/types").Callback<import("@polkadot/types/types").ISubmittableResult>) => Promise<string | (() => void)>;
1860
+ convertAddress: (address: string, newPrefix: number) => string;
1861
+ createKeyring: (phrase: string) => Promise<import("@polkadot/keyring/types").KeyringPair>;
1862
+ createTransaction: (params: import("@tcswap/helpers").GenericCreateTransactionParams) => import("@polkadot/api/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult> | undefined;
1863
+ decodeAddress: (address: string, networkPrefix?: number) => Uint8Array<ArrayBufferLike>;
1864
+ encodeAddress: (address: Uint8Array, encoding?: "ss58" | "hex", networkPrefix?: number) => string;
1865
+ estimateTransactionFee: (params: import("@tcswap/server").SubstrateTransferParams) => Promise<import("@tcswap/helpers").AssetValue | undefined>;
1866
+ gasAsset: import("@tcswap/helpers").AssetValue;
1867
+ getAddress: (keyring?: import("@polkadot/types/types").IKeyringPair | import("@polkadot/types/types").Signer) => string | undefined;
1868
+ getBalance: (address: string) => Promise<import("@tcswap/helpers").AssetValue[]>;
1869
+ network: import("@tcswap/server").SubstrateNetwork;
1870
+ sign: (tx: import("@polkadot/api/types").SubmittableExtrinsic<"promise">) => Promise<import("@polkadot/api/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult>>;
1871
+ signAndBroadcast: ({ tx, callback, address, }: {
1872
+ tx: import("@polkadot/api/types").SubmittableExtrinsic<"promise">;
1873
+ callback?: import("@polkadot/types/types").Callback<import("@polkadot/types/types").ISubmittableResult>;
1874
+ address?: string;
1875
+ }) => string | Promise<string> | Promise<() => void>;
1876
+ transfer: (params: import("@tcswap/server").SubstrateTransferParams) => Promise<string>;
1877
+ validateAddress: (address: string) => boolean;
1878
+ };
1879
+ POL: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Polygon> & {
1880
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
1881
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
1882
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
1883
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
1884
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
1885
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
1886
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
1887
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1888
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1889
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
1890
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
1891
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
1892
+ assetValue: import("@tcswap/helpers").AssetValue;
1893
+ funcName?: string;
1894
+ funcParams?: unknown[];
1895
+ txOverrides?: import("@tcswap/server").EVMTxParams;
1896
+ data?: string;
1897
+ }) => Promise<bigint>;
1898
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
1899
+ l1GasPrice?: bigint;
1900
+ gasPrice?: bigint;
1901
+ maxFeePerGas?: bigint;
1902
+ maxPriorityFeePerGas?: bigint;
1903
+ }; }>;
1904
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
1905
+ feeOption: import("@tcswap/helpers").FeeOption;
1906
+ chain: import("@tcswap/types").EVMChain;
1907
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1908
+ getAddress: () => string | Promise<string> | undefined;
1909
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
1910
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
1911
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
1912
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
1913
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
1914
+ }) => Promise<string>;
1915
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1916
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
1917
+ validateAddress: (address: string) => boolean;
1918
+ };
1919
+ XRD: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Radix> & {
1920
+ getAddress: () => string;
1921
+ getBalance: (address: string) => Promise<import("@tcswap/helpers").AssetValue[]>;
1922
+ networkApi: import("@radixdlt/babylon-gateway-api-sdk").GatewayApiClient;
1923
+ signAndBroadcast: (params: any) => Promise<string>;
1924
+ validateAddress: typeof import("@tcswap/server").radixValidateAddress;
1925
+ };
1926
+ XRP: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Ripple> & {
1927
+ broadcastTransaction: (signedTxHex: string) => Promise<string>;
1928
+ createSigner: (phrase: string) => import("@tcswap/helpers").ChainSigner<import("xrpl").Transaction, {
1929
+ tx_blob: string;
1930
+ hash: string;
1931
+ }>;
1932
+ createTransaction: ({ assetValue, recipient, memo, sender, }: {
1933
+ assetValue: import("@tcswap/helpers").AssetValue;
1934
+ recipient: string;
1935
+ sender?: string;
1936
+ memo?: string;
1937
+ }) => Promise<import("xrpl").Payment>;
1938
+ disconnect: () => Promise<void>;
1939
+ estimateTransactionFee: () => Promise<import("@tcswap/helpers").AssetValue>;
1940
+ getAddress: () => string | Promise<string>;
1941
+ getBalance: (address?: string) => Promise<import("@tcswap/helpers").AssetValue[]>;
1942
+ signer: import("@tcswap/helpers").ChainSigner<import("xrpl").Transaction, {
1943
+ tx_blob: string;
1944
+ hash: string;
1945
+ }> | undefined;
1946
+ signTransaction: (tx: import("xrpl").Transaction) => {
1947
+ tx_blob: string;
1948
+ hash: string;
1949
+ } | Promise<{
1950
+ tx_blob: string;
1951
+ hash: string;
1952
+ }>;
1953
+ transfer: (params: import("@tcswap/helpers").GenericTransferParams) => Promise<string>;
1954
+ validateAddress: typeof import("@tcswap/toolboxes/ripple").rippleValidateAddress;
1955
+ };
1956
+ SOL: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Solana> & {
1957
+ broadcastTransaction: (transaction: import("@solana/web3.js/lib").Transaction | import("@solana/web3.js/lib").VersionedTransaction) => Promise<string>;
1958
+ createKeysForPath: typeof import("@tcswap/server").createKeysForPath;
1959
+ createTransaction: ({ recipient, assetValue, memo, isProgramDerivedAddress, sender }: import("@tcswap/server").SolanaCreateTransactionParams) => Promise<import("@solana/web3.js/lib").Transaction>;
1960
+ createTransactionFromInstructions: ({ instructions, }: {
1961
+ instructions: import("@solana/web3.js/lib").TransactionInstruction[];
1962
+ isProgramDerivedAddress?: boolean;
1963
+ }) => Promise<import("@solana/web3.js/lib").Transaction>;
1964
+ estimateTransactionFee: ({ recipient, assetValue, memo, isProgramDerivedAddress, sender, }: Omit<import("@tcswap/helpers").GenericCreateTransactionParams, "feeRate"> & {
1965
+ isProgramDerivedAddress?: boolean;
1966
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
1967
+ getAddress: () => string;
1968
+ getAddressFromPubKey: (publicKey: import("@solana/web3.js/lib").PublicKey) => string;
1969
+ getAddressValidator: typeof import("@tcswap/server").getSolanaAddressValidator;
1970
+ getBalance: (addressParam?: string) => Promise<import("@tcswap/helpers").AssetValue[]>;
1971
+ getConnection: () => Promise<import("@solana/web3.js/lib").Connection>;
1972
+ getPubkeyFromAddress: (address: string) => Promise<import("@solana/web3.js/lib").PublicKey>;
1973
+ signTransaction: (transaction: import("@solana/web3.js/lib").Transaction | import("@solana/web3.js/lib").VersionedTransaction) => Promise<import("@solana/web3.js/lib").Transaction | import("@solana/web3.js/lib").VersionedTransaction>;
1974
+ transfer: ({ recipient, assetValue, memo, isProgramDerivedAddress }: import("@tcswap/server").SolanaTransferParams) => Promise<string>;
1975
+ };
1976
+ SONIC: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Sonic> & {
1977
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
1978
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
1979
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
1980
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
1981
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
1982
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
1983
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
1984
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1985
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
1986
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
1987
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
1988
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
1989
+ assetValue: import("@tcswap/helpers").AssetValue;
1990
+ funcName?: string;
1991
+ funcParams?: unknown[];
1992
+ txOverrides?: import("@tcswap/server").EVMTxParams;
1993
+ data?: string;
1994
+ }) => Promise<bigint>;
1995
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
1996
+ l1GasPrice?: bigint;
1997
+ gasPrice?: bigint;
1998
+ maxFeePerGas?: bigint;
1999
+ maxPriorityFeePerGas?: bigint;
2000
+ }; }>;
2001
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
2002
+ feeOption: import("@tcswap/helpers").FeeOption;
2003
+ chain: import("@tcswap/types").EVMChain;
2004
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
2005
+ getAddress: () => string | Promise<string> | undefined;
2006
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
2007
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
2008
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
2009
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
2010
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
2011
+ }) => Promise<string>;
2012
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
2013
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
2014
+ validateAddress: (address: string) => boolean;
2015
+ };
2016
+ SUI: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Sui> & {
2017
+ createTransaction: ({ recipient, assetValue, gasBudget, sender }: import("@tcswap/toolboxes/sui").SuiCreateTransactionParams) => Promise<{
2018
+ tx: import("@mysten/sui/transactions").Transaction;
2019
+ txBytes: Uint8Array<ArrayBuffer>;
2020
+ }>;
2021
+ estimateTransactionFee: (params?: import("@tcswap/toolboxes/sui").SuiCreateTransactionParams) => Promise<import("@tcswap/helpers").AssetValue>;
2022
+ getAddress: () => string;
2023
+ getBalance: (targetAddress?: string) => Promise<import("@tcswap/helpers").AssetValue[]>;
2024
+ signTransaction: (params: Uint8Array<ArrayBuffer> | import("@tcswap/toolboxes/sui").SuiCreateTransactionParams | Awaited<ReturnType<({ recipient, assetValue, gasBudget, sender }: import("@tcswap/toolboxes/sui").SuiCreateTransactionParams) => Promise<{
2025
+ tx: import("@mysten/sui/transactions").Transaction;
2026
+ txBytes: Uint8Array<ArrayBuffer>;
2027
+ }>>>) => Promise<import("@mysten/sui/cryptography").SignatureWithBytes>;
2028
+ transfer: ({ assetValue, gasBudget, recipient }: import("@tcswap/toolboxes/sui").SuiTransferParams) => Promise<string>;
2029
+ validateAddress: (address: string) => boolean;
2030
+ };
2031
+ THOR: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.THORChain> & {
2032
+ broadcastMultisigTx: (tx: string, signers: import("@tcswap/server").MultiSigSigner[], membersPubKeys: string[], threshold: number, bodyBytes: Uint8Array) => Promise<string>;
2033
+ buildAminoMsg: ({ sender, recipient, assetValue, memo, }: {
2034
+ sender: string;
2035
+ recipient?: string;
2036
+ assetValue: import("@tcswap/helpers").AssetValue;
2037
+ memo?: string;
2038
+ }) => {
2039
+ type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
2040
+ value: {
2041
+ coins: {
2042
+ amount: string;
2043
+ asset: string;
2044
+ }[];
2045
+ memo: string;
2046
+ signer: string;
2047
+ };
2048
+ } | {
2049
+ type: "thorchain/MsgSend" | "mayachain/MsgSend";
2050
+ value: {
2051
+ amount: {
2052
+ amount: string;
2053
+ denom: string;
2054
+ }[];
2055
+ from_address: string;
2056
+ to_address: string | undefined;
2057
+ };
2058
+ };
2059
+ buildEncodedTxBody: typeof import("@tcswap/server").buildEncodedTxBody;
2060
+ convertToSignable: (msg: {
2061
+ type: "thorchain/MsgSend" | "mayachain/MsgSend";
2062
+ value: {
2063
+ amount: {
2064
+ amount: string;
2065
+ denom: string;
2066
+ }[];
2067
+ from_address: string;
2068
+ to_address: string | undefined;
2069
+ };
2070
+ } | {
2071
+ type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
2072
+ value: {
2073
+ coins: {
2074
+ amount: string;
2075
+ asset: string;
2076
+ }[];
2077
+ memo: string;
2078
+ signer: string;
2079
+ };
2080
+ }, chain: import("@tcswap/types").TCLikeChain) => Promise<import("@cosmjs/proto-signing/build").EncodeObject>;
2081
+ createDefaultAminoTypes: () => Promise<import("@cosmjs/stargate/build").AminoTypes>;
2082
+ createDefaultRegistry: typeof import("@tcswap/server").createDefaultRegistry;
2083
+ createMultisig: (pubKeys: string[], threshold: number, noSortPubKeys?: boolean) => Promise<import("@cosmjs/amino/build").MultisigThresholdPubkey>;
2084
+ createTransaction: (params: import("@tcswap/server").ThorchainCreateTransactionParams) => Promise<{
2085
+ accountNumber: number;
2086
+ chainId: import("@tcswap/types").ChainId.Maya | import("@tcswap/types").ChainId.THORChain;
2087
+ fee: {
2088
+ amount: {
2089
+ amount: string;
2090
+ denom: string;
2091
+ }[];
2092
+ gas: string;
2093
+ };
2094
+ memo: string;
2095
+ msgs: (import("@cosmjs/proto-signing/build").EncodeObject | {
2096
+ type: "thorchain/MsgSend" | "mayachain/MsgSend";
2097
+ value: {
2098
+ amount: {
2099
+ amount: string;
2100
+ denom: string;
2101
+ }[];
2102
+ from_address: string;
2103
+ to_address: string | undefined;
2104
+ };
2105
+ })[];
2106
+ sequence: number;
2107
+ }> | Promise<{
2108
+ accountNumber: number;
2109
+ chainId: import("@tcswap/types").ChainId.Maya | import("@tcswap/types").ChainId.THORChain;
2110
+ fee: {
2111
+ amount: {
2112
+ amount: string;
2113
+ denom: string;
2114
+ }[];
2115
+ gas: string;
2116
+ };
2117
+ memo: string;
2118
+ msgs: (import("@cosmjs/proto-signing/build").EncodeObject | {
2119
+ type: "thorchain/MsgDeposit" | "mayachain/MsgDeposit";
2120
+ value: {
2121
+ coins: {
2122
+ amount: string;
2123
+ asset: string;
2124
+ }[];
2125
+ memo: string;
2126
+ signer: string;
2127
+ };
2128
+ })[];
2129
+ sequence: number;
2130
+ }>;
2131
+ deposit: ({ assetValue, memo, recipient, }: Omit<import("@tcswap/helpers").GenericTransferParams, "recipient"> & {
2132
+ recipient?: string;
2133
+ }) => Promise<string>;
2134
+ getFees: () => Promise<{
2135
+ average: import("@tcswap/helpers").USwapNumber;
2136
+ fast: import("@tcswap/helpers").USwapNumber;
2137
+ fastest: import("@tcswap/helpers").USwapNumber;
2138
+ }>;
2139
+ importSignature: (signature: string) => Uint8Array<ArrayBufferLike>;
2140
+ parseAminoMessageForDirectSigning: typeof import("@tcswap/server").parseAminoMessageForDirectSigning;
2141
+ pubkeyToAddress: (pubkey: import("@cosmjs/amino/build").Pubkey) => Promise<string>;
2142
+ secp256k1HdWalletFromMnemonic: (mnemonic: string, index?: number) => Promise<import("@cosmjs/amino/build").Secp256k1HdWallet>;
2143
+ signMultisigTx: ({ wallet, tx }: {
2144
+ wallet: import("@cosmjs/amino/build").Secp256k1HdWallet;
2145
+ tx: string | import("@tcswap/server").MultisigTx;
2146
+ }) => Promise<{
2147
+ bodyBytes: Uint8Array<ArrayBufferLike>;
2148
+ signature: string;
2149
+ }>;
2150
+ signWithPrivateKey: ({ privateKey, message }: {
2151
+ privateKey: Uint8Array;
2152
+ message: string;
2153
+ }) => Promise<string>;
2154
+ transfer: ({ assetValue, memo, recipient, }: Omit<import("@tcswap/helpers").GenericTransferParams, "recipient"> & {
2155
+ recipient?: string;
2156
+ }) => Promise<string>;
2157
+ createPrivateKeyFromPhrase: (phrase: string) => Promise<Uint8Array<ArrayBufferLike>>;
2158
+ fetchFeeRateFromSwapKit: typeof import("@tcswap/server").fetchFeeRateFromSwapKit;
2159
+ getAccount: (address: string) => Promise<import("@cosmjs/stargate/build").Account | null>;
2160
+ getAddress: () => Promise<string | undefined>;
2161
+ getBalance: (address: string, _potentialScamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
2162
+ getBalanceAsDenoms: (address: string) => Promise<{
2163
+ denom: string;
2164
+ amount: string;
2165
+ }[]>;
2166
+ getPubKey: () => Promise<string>;
2167
+ getSignerFromPhrase: ({ phrase, derivationPath }: {
2168
+ phrase: string;
2169
+ derivationPath: import("@tcswap/helpers").DerivationPathArray;
2170
+ }) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1HdWallet>;
2171
+ getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
2172
+ signTransaction: ({ recipient, assetValue, memo, feeRate, feeOptionKey, }: import("@tcswap/helpers").GenericTransferParams) => Promise<string>;
2173
+ validateAddress: (address: string) => boolean;
2174
+ verifySignature: ({ signature, message, address, }: {
2175
+ signature: string;
2176
+ message: string;
2177
+ address: string;
2178
+ }) => Promise<boolean>;
2179
+ };
2180
+ TON: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Ton> & {
2181
+ createTransaction: ({ assetValue, recipient, memo }: import("@tcswap/toolboxes/ton").TONTransferParams) => Promise<import("@ton/ton/dist").Cell>;
2182
+ estimateTransactionFee: () => Promise<import("@tcswap/helpers").AssetValue>;
2183
+ getAddress: () => string;
2184
+ getBalance: (address: string) => Promise<import("@tcswap/helpers").AssetValue[]>;
2185
+ sendTransaction: (transferCell: import("@ton/ton/dist").Cell) => Promise<string>;
2186
+ transfer: ({ assetValue, recipient, memo }: import("@tcswap/toolboxes/ton").TONTransferParams) => Promise<string>;
2187
+ validateAddress: (address: string) => boolean;
2188
+ };
2189
+ TRON: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Tron> & {
2190
+ tronWeb: import("tronweb").TronWeb;
2191
+ getAddress: () => Promise<string>;
2192
+ validateAddress: (address: string) => boolean;
2193
+ getBalance: (address: string) => Promise<import("@tcswap/helpers").AssetValue[]>;
2194
+ transfer: (params: import("@tcswap/toolboxes/tron").TronTransferParams) => Promise<string>;
2195
+ estimateTransactionFee: (params: import("@tcswap/toolboxes/tron").TronTransferParams & {
2196
+ sender?: string;
2197
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
2198
+ createTransaction: (params: import("@tcswap/toolboxes/tron").TronCreateTransactionParams) => Promise<import("@tcswap/toolboxes/tron").TronTransaction>;
2199
+ signTransaction: (transaction: import("@tcswap/toolboxes/tron").TronTransaction) => Promise<import("@tcswap/toolboxes/tron").TronSignedTransaction>;
2200
+ broadcastTransaction: (signedTransaction: import("@tcswap/toolboxes/tron").TronSignedTransaction) => Promise<string>;
2201
+ approve: (params: import("@tcswap/toolboxes/tron").TronApproveParams) => Promise<string>;
2202
+ isApproved: (params: import("@tcswap/toolboxes/tron").TronIsApprovedParams) => Promise<boolean>;
2203
+ getApprovedAmount: (params: import("@tcswap/toolboxes/tron").TronApprovedParams) => Promise<bigint>;
2204
+ };
2205
+ UNI: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Unichain> & {
2206
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
2207
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
2208
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
2209
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
2210
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
2211
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
2212
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
2213
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
2214
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
2215
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
2216
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
2217
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
2218
+ assetValue: import("@tcswap/helpers").AssetValue;
2219
+ funcName?: string;
2220
+ funcParams?: unknown[];
2221
+ txOverrides?: import("@tcswap/server").EVMTxParams;
2222
+ data?: string;
2223
+ }) => Promise<bigint>;
2224
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
2225
+ l1GasPrice?: bigint;
2226
+ gasPrice?: bigint;
2227
+ maxFeePerGas?: bigint;
2228
+ maxPriorityFeePerGas?: bigint;
2229
+ }; }>;
2230
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
2231
+ feeOption: import("@tcswap/helpers").FeeOption;
2232
+ chain: import("@tcswap/types").EVMChain;
2233
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
2234
+ getAddress: () => string | Promise<string> | undefined;
2235
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
2236
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
2237
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
2238
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
2239
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
2240
+ }) => Promise<string>;
2241
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
2242
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
2243
+ validateAddress: (address: string) => boolean;
2244
+ };
2245
+ XLAYER: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.XLayer> & {
2246
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@tcswap/server").ApproveParams) => Promise<string>;
2247
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("@tcswap/server").IsApprovedParams) => Promise<bigint>;
2248
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
2249
+ call: <T_1>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("@tcswap/server").CallParams) => Promise<T_1>;
2250
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("@tcswap/server").ApproveParams) => Promise<import("ethers").ContractTransaction>;
2251
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
2252
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").CallParams) => Promise<import("ethers").ContractTransaction>;
2253
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
2254
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@tcswap/server").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
2255
+ EIP1193SendTransaction: ({ value, ...params }: import("@tcswap/server").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
2256
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("@tcswap/server").EstimateCallParams) => Promise<bigint>;
2257
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("@tcswap/server").EVMTransferParams & {
2258
+ assetValue: import("@tcswap/helpers").AssetValue;
2259
+ funcName?: string;
2260
+ funcParams?: unknown[];
2261
+ txOverrides?: import("@tcswap/server").EVMTxParams;
2262
+ data?: string;
2263
+ }) => Promise<bigint>;
2264
+ estimateGasPrices: () => Promise<{ [key_2 in import("@tcswap/helpers").FeeOption]: {
2265
+ l1GasPrice?: bigint;
2266
+ gasPrice?: bigint;
2267
+ maxFeePerGas?: bigint;
2268
+ maxPriorityFeePerGas?: bigint;
2269
+ }; }>;
2270
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("@tcswap/server").EIP1559TxParams & {
2271
+ feeOption: import("@tcswap/helpers").FeeOption;
2272
+ chain: import("@tcswap/types").EVMChain;
2273
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
2274
+ getAddress: () => string | Promise<string> | undefined;
2275
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
2276
+ getNetworkParams: () => import("@tcswap/helpers").NetworkParams | undefined;
2277
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@tcswap/server").IsApprovedParams) => Promise<boolean>;
2278
+ sendTransaction: ({ feeOptionKey, ...tx }: import("@tcswap/server").EVMTxParams & {
2279
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
2280
+ }) => Promise<string>;
2281
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
2282
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@tcswap/server").EVMTransferParams) => Promise<string>;
2283
+ validateAddress: (address: string) => boolean;
2284
+ };
2285
+ ZEC: import("@tcswap/helpers").ChainWallet<import("@tcswap/types").Chain.Zcash> & {
2286
+ createKeysForPath: ({ phrase, derivationPath, }: {
2287
+ phrase: string;
2288
+ derivationPath?: string;
2289
+ }) => import("ecpair").ECPairInterface;
2290
+ createTransaction: (buildTxParams: import("@tcswap/server").UTXOBuildTxParams) => Promise<{
2291
+ inputs: import("@tcswap/server").UTXOType[];
2292
+ outputs: import("@tcswap/server").TargetOutput[];
2293
+ psbt: import("@bitgo/utxo-lib/dist/src/bitgo").ZcashPsbt;
2294
+ }>;
2295
+ getPrivateKeyFromMnemonic: ({ phrase, derivationPath, }: {
2296
+ phrase: string;
2297
+ derivationPath: string;
2298
+ }) => string;
2299
+ transfer: ({ recipient, assetValue, feeOptionKey, ...rest }: import("@tcswap/server").UTXOTransferParams) => Promise<string>;
2300
+ validateAddress: typeof import("@tcswap/server").validateZcashAddress;
2301
+ accumulative: typeof import("@tcswap/server").accumulative;
2302
+ broadcastTx: (txHash: string) => Promise<string>;
2303
+ calculateTxSize: ({ inputs, outputs, feeRate }: import("@tcswap/server").UTXOCalculateTxSizeParams) => number;
2304
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
2305
+ from: string;
2306
+ memo?: string;
2307
+ feeRate?: number;
2308
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
2309
+ recipients?: number | import("@tcswap/server").TargetOutput[];
2310
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
2311
+ estimateTransactionFee: (params: {
2312
+ assetValue: import("@tcswap/helpers").AssetValue;
2313
+ recipient: string;
2314
+ sender: string;
2315
+ memo?: string;
2316
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
2317
+ feeRate?: number;
2318
+ fetchTxHex?: boolean;
2319
+ }) => Promise<import("@tcswap/helpers").AssetValue>;
2320
+ getAddress: () => Promise<string | undefined>;
2321
+ getAddressFromKeys: (keys: import("ecpair").ECPairInterface | import("@tcswap/server").BchECPair) => string;
2322
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@tcswap/helpers").AssetValue[]>;
2323
+ getFeeRates: () => Promise<{
2324
+ average: number;
2325
+ fast: number;
2326
+ fastest: number;
2327
+ }>;
2328
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@tcswap/server").UTXOBuildTxParams, "feeRate"> & {
2329
+ feeOptionKey?: import("@tcswap/helpers").FeeOption;
2330
+ feeRate?: number;
2331
+ }) => Promise<{
2332
+ fee: number;
2333
+ inputs: (import("@tcswap/server").UTXOType | import("@tcswap/server").UTXOInputWithScriptType)[];
2334
+ outputs: import("@tcswap/server").TargetOutput[];
2335
+ } | {
2336
+ fee: number;
2337
+ inputs?: undefined;
2338
+ outputs?: undefined;
2339
+ }>;
2340
+ };
2341
+ };
2342
+ getBalance: <T_1 extends import("@tcswap/types").Chain, R extends boolean>(chain: T_1, refresh?: R) => import("@tcswap/helpers").ConditionalAssetValueReturn<R>;
2343
+ getWallet: <T_1 extends import("@tcswap/types").Chain>(walletOption: import("@tcswap/helpers").WalletOption, chain: T_1) => import("@tcswap/toolboxes").FullWallet[T_1];
2344
+ getWalletByChain: <T_1 extends import("@tcswap/types").Chain>(chain: T_1) => import("@tcswap/toolboxes").FullWallet[T_1];
2345
+ getWalletWithBalance: <T_1 extends import("@tcswap/types").Chain>(chain: T_1, scamFilter?: boolean) => Promise<import("@tcswap/toolboxes").FullWallet[T_1]>;
2346
+ isAssetValueApproved: (assetValue: import("@tcswap/helpers").AssetValue, contractAddress: string) => Promise<boolean>;
2347
+ signMessage: ({ chain, message }: {
2348
+ chain: import("@tcswap/types").Chain;
2349
+ message: string;
2350
+ }) => Promise<string> | undefined;
2351
+ swap: <T_1 extends "garden" | "near" | "solana" | "radix" | "thorchain" | "mayachain" | "evm" | "chainflip">({ route, pluginName, ...rest }: import("@tcswap/helpers").SwapParams<T_1, {
2352
+ buyAsset: string;
2353
+ expectedBuyAmount: string;
2354
+ fees: {
2355
+ amount: string;
2356
+ asset: string;
2357
+ chain: string;
2358
+ protocol: import("@tcswap/helpers").ProviderName;
2359
+ type: import("@tcswap/helpers").FeeTypeEnum;
2360
+ }[];
2361
+ providers: import("@tcswap/helpers").ProviderName[];
2362
+ sellAmount: string;
2363
+ sellAsset: string;
2364
+ destinationAddress?: string | undefined;
2365
+ estimatedTime?: {
2366
+ total: number;
2367
+ inbound?: number | undefined;
2368
+ outbound?: number | undefined;
2369
+ swap?: number | undefined;
2370
+ } | undefined;
2371
+ expectedBuyAmountMaxSlippage?: string | undefined;
2372
+ expiration?: string | undefined;
2373
+ inboundAddress?: string | undefined;
2374
+ legs?: {
2375
+ buyAmount: string;
2376
+ buyAmountMaxSlippage: string;
2377
+ buyAsset: string;
2378
+ provider: import("@tcswap/helpers").ProviderName;
2379
+ sellAmount: string;
2380
+ sellAsset: string;
2381
+ fees?: {
2382
+ amount: string;
2383
+ asset: string;
2384
+ chain: string;
2385
+ protocol: import("@tcswap/helpers").ProviderName;
2386
+ type: import("@tcswap/helpers").FeeTypeEnum;
2387
+ }[] | undefined;
2388
+ }[] | undefined;
2389
+ memo?: string | undefined;
2390
+ meta?: {
2391
+ assets?: {
2392
+ asset: string;
2393
+ image: string;
2394
+ price: number;
2395
+ }[] | undefined;
2396
+ maxStreamingQuantity?: number | undefined;
2397
+ streamingInterval?: number | undefined;
2398
+ tags?: import("@tcswap/server").PriorityLabel[] | undefined;
2399
+ affiliate?: string | undefined;
2400
+ affiliateFee?: string | undefined;
2401
+ approvalAddress?: string | undefined;
2402
+ chainflip?: {
2403
+ destinationAddress: string;
2404
+ buyAsset: {
2405
+ asset: string;
2406
+ chain: string;
2407
+ };
2408
+ sellAsset: {
2409
+ asset: string;
2410
+ chain: string;
2411
+ };
2412
+ affiliateFees?: {
2413
+ brokerAddress: string;
2414
+ feeBps: number;
2415
+ }[] | undefined;
2416
+ brokerCommissionBps?: number | undefined;
2417
+ channelMetadata?: {
2418
+ cfParameters?: string | undefined;
2419
+ gasBudget?: string | undefined;
2420
+ message?: string | undefined;
2421
+ } | undefined;
2422
+ dcaParameters?: {
2423
+ chunkInterval?: number | undefined;
2424
+ numberOfChunks?: number | undefined;
2425
+ } | undefined;
2426
+ maxBoostFeeBps?: number | undefined;
2427
+ refundParameters?: {
2428
+ minPrice?: string | undefined;
2429
+ refundAddress?: string | undefined;
2430
+ retryDuration?: number | undefined;
2431
+ } | undefined;
2432
+ } | undefined;
2433
+ garden?: {
2434
+ destinationAddress: string;
2435
+ buyAsset: string;
2436
+ sellAmount: string;
2437
+ sellAsset: string;
2438
+ slippage: number;
2439
+ sourceAddress: string;
2440
+ affiliateFees?: {
2441
+ feeBps: number;
2442
+ nearId: string;
2443
+ } | undefined;
2444
+ } | undefined;
2445
+ near?: {
2446
+ destinationAddress: string;
2447
+ buyAsset: string;
2448
+ sellAmount: string;
2449
+ sellAsset: string;
2450
+ slippage: number;
2451
+ sourceAddress: string;
2452
+ affiliateFees?: {
2453
+ feeBps: number;
2454
+ nearId: string;
2455
+ } | undefined;
2456
+ } | undefined;
2457
+ priceImpact?: number | undefined;
2458
+ referrer?: string | undefined;
2459
+ txType?: import("@tcswap/server").RouteQuoteTxType | undefined;
2460
+ } | undefined;
2461
+ refundAddress?: string | undefined;
2462
+ sourceAddress?: string | undefined;
2463
+ targetAddress?: string | undefined;
2464
+ tx?: string | {
2465
+ data: string;
2466
+ from: string;
2467
+ to: string;
2468
+ value: string;
2469
+ } | {
2470
+ accountNumber: number;
2471
+ chainId: import("@tcswap/types").ChainId;
2472
+ fee: {
2473
+ amount: {
2474
+ amount: string;
2475
+ denom: string;
2476
+ }[];
2477
+ gas: string;
2478
+ };
2479
+ memo: string;
2480
+ msgs: {
2481
+ typeUrl: string;
2482
+ value: unknown;
2483
+ }[];
2484
+ sequence: number;
2485
+ } | undefined;
2486
+ txType?: import("@tcswap/server").RouteQuoteTxType | undefined;
2487
+ warnings?: {
2488
+ code: import("@tcswap/helpers").WarningCodeEnum;
2489
+ display: string;
2490
+ tooltip?: string | undefined;
2491
+ }[] | undefined;
2492
+ }>) => any;
2493
+ transfer: ({ assetValue, ...params }: import("@tcswap/helpers").GenericTransferParams | import("@tcswap/server").EVMTransferParams) => Promise<string>;
2494
+ verifyMessage: ({ address, chain, message, signature, }: {
2495
+ chain: import("@tcswap/types").Chain;
2496
+ signature: string;
2497
+ message: string;
2498
+ address: string;
2499
+ }) => Promise<boolean>;
2500
+ };
2501
+ //# sourceMappingURL=index.d.ts.map