@swapkit/core 4.4.47 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -82,7 +82,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
82
82
  blockTag?: import("ethers").BlockTag;
83
83
  enableCcipRead?: boolean;
84
84
  }>;
85
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
85
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
86
+ gasLimit: bigint;
87
+ value: string;
88
+ data: string;
89
+ from: string;
90
+ to: string;
91
+ maxFeePerGas: bigint;
92
+ maxPriorityFeePerGas: bigint;
93
+ gasPrice?: undefined;
94
+ type?: number | undefined;
95
+ nonce?: number | undefined;
96
+ } | {
97
+ gasLimit: bigint;
98
+ value: string;
99
+ data: string;
100
+ from: string;
101
+ to: string;
102
+ gasPrice: bigint;
103
+ maxFeePerGas?: undefined;
104
+ maxPriorityFeePerGas?: undefined;
105
+ type?: number | undefined;
106
+ nonce?: number | undefined;
107
+ } | {
86
108
  value: string;
87
109
  to: string;
88
110
  data: string;
@@ -100,7 +122,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
100
122
  blockTag?: import("ethers").BlockTag;
101
123
  enableCcipRead?: boolean;
102
124
  }>;
103
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
125
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
126
+ gasLimit: bigint;
127
+ value: string;
128
+ data: string;
129
+ from: string;
130
+ to: string;
131
+ maxFeePerGas: bigint;
132
+ maxPriorityFeePerGas: bigint;
133
+ gasPrice?: undefined;
134
+ type?: number | undefined;
135
+ nonce?: number | undefined;
136
+ } | {
137
+ gasLimit: bigint;
138
+ value: string;
139
+ data: string;
140
+ from: string;
141
+ to: string;
142
+ gasPrice: bigint;
143
+ maxFeePerGas?: undefined;
144
+ maxPriorityFeePerGas?: undefined;
145
+ type?: number | undefined;
146
+ nonce?: number | undefined;
147
+ } | {
104
148
  value: string;
105
149
  to: string;
106
150
  data: string;
@@ -127,12 +171,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
127
171
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
128
172
  data?: string;
129
173
  }) => Promise<bigint>;
130
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
131
- l1GasPrice?: bigint;
132
- gasPrice?: bigint;
133
- maxFeePerGas?: bigint;
134
- maxPriorityFeePerGas?: bigint;
135
- }; }>;
174
+ estimateGasPrices: () => Promise<{
175
+ average: {
176
+ gasPrice?: bigint;
177
+ l1GasPrice?: bigint;
178
+ maxFeePerGas?: bigint;
179
+ maxPriorityFeePerGas?: bigint;
180
+ };
181
+ fast: {
182
+ gasPrice?: bigint;
183
+ l1GasPrice?: bigint;
184
+ maxFeePerGas?: bigint;
185
+ maxPriorityFeePerGas?: bigint;
186
+ };
187
+ fastest: {
188
+ gasPrice?: bigint;
189
+ l1GasPrice?: bigint;
190
+ maxFeePerGas?: bigint;
191
+ maxPriorityFeePerGas?: bigint;
192
+ };
193
+ }>;
136
194
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
137
195
  feeOption: FeeOption;
138
196
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -140,8 +198,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
140
198
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
141
199
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
142
200
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
143
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
201
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
144
202
  feeOptionKey?: FeeOption;
203
+ sweep?: boolean;
145
204
  }) => Promise<string>;
146
205
  signAuthorization: ((params: {
147
206
  address: string;
@@ -150,21 +209,56 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
150
209
  }) => Promise<import("ethers").Authorization>) | undefined;
151
210
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
152
211
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
153
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
212
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
154
213
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
155
214
  };
215
+ ALEO: ChainWallet<Chain.Aleo> & {
216
+ broadcastTransaction: (transaction: import("@swapkit/toolboxes/aleo/types").AleoTransaction) => Promise<string>;
217
+ createSigner: (phrase: string, derivationPath?: import("@swapkit/helpers").DerivationPathArray) => import("@swapkit/toolboxes/aleo/types").AleoChainSigner;
218
+ createTransaction: ({ assetValue, priorityFee, recipient, sender }: import("@swapkit/toolboxes/aleo/types").AleoCreateTransactionParams) => Promise<{
219
+ functionName: "transfer_public";
220
+ inputs: [string, string];
221
+ priorityFee: number;
222
+ programName: string;
223
+ sender: string;
224
+ }>;
225
+ estimateTransactionFee: ({ assetValue, priorityFee }: import("@swapkit/toolboxes/aleo/types").AleoTransferParams) => AssetValue;
226
+ getAddress: () => Promise<string>;
227
+ getBalance: (address: string, scamFilter?: boolean) => Promise<AssetValue[]>;
228
+ getBalanceFromRpc: (address: string) => Promise<AssetValue[]>;
229
+ getBalances: () => Promise<AssetValue[]>;
230
+ getBalanceWithFallback: (address: string, scamFilter?: boolean) => Promise<AssetValue[]>;
231
+ getRecords: ({ transactionIds }: {
232
+ transactionIds: string[];
233
+ }) => Promise<import("@swapkit/toolboxes/aleo/types").AleoRecord[]>;
234
+ getShieldedBalance: ({ transactionIds }: {
235
+ transactionIds: string[];
236
+ }) => Promise<AssetValue>;
237
+ signAndBroadcastTransaction: (transaction: import("@swapkit/toolboxes/aleo/types").AleoUnsignedTransaction) => Promise<string>;
238
+ signTransaction: (transaction: import("@swapkit/toolboxes/aleo/types").AleoUnsignedTransaction) => Promise<import("@swapkit/toolboxes/aleo/types").AleoTransaction>;
239
+ transfer: (params: import("@swapkit/toolboxes/aleo/types").AleoTransferParams) => Promise<string>;
240
+ unshield: ({ transactionId, feeRecordCredits, }: {
241
+ transactionId: string;
242
+ feeRecordCredits?: number;
243
+ }) => Promise<{
244
+ publicBalance: AssetValue;
245
+ splitTransactionId: string | undefined;
246
+ unshieldTransactionId: string;
247
+ }>;
248
+ validateAddress: typeof import("@swapkit/toolboxes/aleo/helpers").validateAleoAddress;
249
+ };
156
250
  APT: ChainWallet<Chain.Aptos> & {
157
251
  broadcastTransaction: ({ senderAuthenticator, transaction, }: {
158
- senderAuthenticator: Awaited<ReturnType<(transaction: Awaited<ReturnType<({ recipient, assetValue, maxGasAmount, sender: _senderAddress, }: import("@swapkit/toolboxes/aptos/types").AptosCreateTransactionParams) => Promise<import("@aptos-labs/ts-sdk").SimpleTransaction>>>) => Promise<import("@aptos-labs/ts-sdk").AccountAuthenticator>>>;
159
- transaction: Awaited<ReturnType<({ recipient, assetValue, maxGasAmount, sender: _senderAddress, }: import("@swapkit/toolboxes/aptos/types").AptosCreateTransactionParams) => Promise<import("@aptos-labs/ts-sdk").SimpleTransaction>>>;
252
+ senderAuthenticator: Awaited<ReturnType<(transaction: Awaited<ReturnType<({ recipient, assetValue, maxGasAmount, sender: _senderAddress, sweep, }: import("@swapkit/toolboxes/aptos/types").AptosCreateTransactionParams) => Promise<import("@aptos-labs/ts-sdk").SimpleTransaction>>>) => Promise<import("@aptos-labs/ts-sdk").AccountAuthenticator>>>;
253
+ transaction: Awaited<ReturnType<({ recipient, assetValue, maxGasAmount, sender: _senderAddress, sweep, }: import("@swapkit/toolboxes/aptos/types").AptosCreateTransactionParams) => Promise<import("@aptos-labs/ts-sdk").SimpleTransaction>>>;
160
254
  }) => Promise<string>;
161
- createTransaction: ({ recipient, assetValue, maxGasAmount, sender: _senderAddress, }: import("@swapkit/toolboxes/aptos/types").AptosCreateTransactionParams) => Promise<import("@aptos-labs/ts-sdk").SimpleTransaction>;
255
+ createTransaction: ({ recipient, assetValue, maxGasAmount, sender: _senderAddress, sweep, }: import("@swapkit/toolboxes/aptos/types").AptosCreateTransactionParams) => Promise<import("@aptos-labs/ts-sdk").SimpleTransaction>;
162
256
  estimateTransactionFee: (params?: import("@swapkit/toolboxes/aptos/types").AptosCreateTransactionParams) => Promise<AssetValue>;
163
257
  getAddress: () => Promise<"" | `0x${string}`>;
164
258
  getBalance: (targetAddress?: string) => Promise<AssetValue[]>;
165
- signAndBroadcastTransaction: (transaction: Awaited<ReturnType<({ recipient, assetValue, maxGasAmount, sender: _senderAddress, }: import("@swapkit/toolboxes/aptos/types").AptosCreateTransactionParams) => Promise<import("@aptos-labs/ts-sdk").SimpleTransaction>>>) => Promise<string>;
166
- signTransaction: (transaction: Awaited<ReturnType<({ recipient, assetValue, maxGasAmount, sender: _senderAddress, }: import("@swapkit/toolboxes/aptos/types").AptosCreateTransactionParams) => Promise<import("@aptos-labs/ts-sdk").SimpleTransaction>>>) => Promise<import("@aptos-labs/ts-sdk").AccountAuthenticator>;
167
- transfer: ({ assetValue, maxGasAmount, recipient }: import("@swapkit/toolboxes/aptos/types").AptosTransferParams) => Promise<string>;
259
+ signAndBroadcastTransaction: (transaction: Awaited<ReturnType<({ recipient, assetValue, maxGasAmount, sender: _senderAddress, sweep, }: import("@swapkit/toolboxes/aptos/types").AptosCreateTransactionParams) => Promise<import("@aptos-labs/ts-sdk").SimpleTransaction>>>) => Promise<string>;
260
+ signTransaction: (transaction: Awaited<ReturnType<({ recipient, assetValue, maxGasAmount, sender: _senderAddress, sweep, }: import("@swapkit/toolboxes/aptos/types").AptosCreateTransactionParams) => Promise<import("@aptos-labs/ts-sdk").SimpleTransaction>>>) => Promise<import("@aptos-labs/ts-sdk").AccountAuthenticator>;
261
+ transfer: ({ assetValue, maxGasAmount, recipient, sweep }: import("@swapkit/toolboxes/aptos/types").AptosTransferParams) => Promise<string>;
168
262
  validateAddress: typeof import("@swapkit/toolboxes/aptos/toolbox").validateAptosAddress;
169
263
  };
170
264
  ARB: ChainWallet<Chain.Arbitrum> & {
@@ -209,7 +303,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
209
303
  blockTag?: import("ethers").BlockTag;
210
304
  enableCcipRead?: boolean;
211
305
  }>;
212
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
306
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
307
+ gasLimit: bigint;
308
+ value: string;
309
+ data: string;
310
+ from: string;
311
+ to: string;
312
+ maxFeePerGas: bigint;
313
+ maxPriorityFeePerGas: bigint;
314
+ gasPrice?: undefined;
315
+ type?: number | undefined;
316
+ nonce?: number | undefined;
317
+ } | {
318
+ gasLimit: bigint;
319
+ value: string;
320
+ data: string;
321
+ from: string;
322
+ to: string;
323
+ gasPrice: bigint;
324
+ maxFeePerGas?: undefined;
325
+ maxPriorityFeePerGas?: undefined;
326
+ type?: number | undefined;
327
+ nonce?: number | undefined;
328
+ } | {
213
329
  value: string;
214
330
  to: string;
215
331
  data: string;
@@ -227,7 +343,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
227
343
  blockTag?: import("ethers").BlockTag;
228
344
  enableCcipRead?: boolean;
229
345
  }>;
230
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
346
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
347
+ gasLimit: bigint;
348
+ value: string;
349
+ data: string;
350
+ from: string;
351
+ to: string;
352
+ maxFeePerGas: bigint;
353
+ maxPriorityFeePerGas: bigint;
354
+ gasPrice?: undefined;
355
+ type?: number | undefined;
356
+ nonce?: number | undefined;
357
+ } | {
358
+ gasLimit: bigint;
359
+ value: string;
360
+ data: string;
361
+ from: string;
362
+ to: string;
363
+ gasPrice: bigint;
364
+ maxFeePerGas?: undefined;
365
+ maxPriorityFeePerGas?: undefined;
366
+ type?: number | undefined;
367
+ nonce?: number | undefined;
368
+ } | {
231
369
  value: string;
232
370
  to: string;
233
371
  data: string;
@@ -254,12 +392,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
254
392
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
255
393
  data?: string;
256
394
  }) => Promise<bigint>;
257
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
258
- l1GasPrice?: bigint;
259
- gasPrice?: bigint;
260
- maxFeePerGas?: bigint;
261
- maxPriorityFeePerGas?: bigint;
262
- }; }>;
395
+ estimateGasPrices: () => Promise<{
396
+ average: {
397
+ gasPrice?: bigint;
398
+ l1GasPrice?: bigint;
399
+ maxFeePerGas?: bigint;
400
+ maxPriorityFeePerGas?: bigint;
401
+ };
402
+ fast: {
403
+ gasPrice?: bigint;
404
+ l1GasPrice?: bigint;
405
+ maxFeePerGas?: bigint;
406
+ maxPriorityFeePerGas?: bigint;
407
+ };
408
+ fastest: {
409
+ gasPrice?: bigint;
410
+ l1GasPrice?: bigint;
411
+ maxFeePerGas?: bigint;
412
+ maxPriorityFeePerGas?: bigint;
413
+ };
414
+ }>;
263
415
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
264
416
  feeOption: FeeOption;
265
417
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -267,8 +419,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
267
419
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
268
420
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
269
421
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
270
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
422
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
271
423
  feeOptionKey?: FeeOption;
424
+ sweep?: boolean;
272
425
  }) => Promise<string>;
273
426
  signAuthorization: ((params: {
274
427
  address: string;
@@ -277,7 +430,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
277
430
  }) => Promise<import("ethers").Authorization>) | undefined;
278
431
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
279
432
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
280
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
433
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
281
434
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
282
435
  };
283
436
  AURORA: ChainWallet<Chain.Aurora> & {
@@ -322,7 +475,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
322
475
  blockTag?: import("ethers").BlockTag;
323
476
  enableCcipRead?: boolean;
324
477
  }>;
325
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
478
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
479
+ gasLimit: bigint;
480
+ value: string;
481
+ data: string;
482
+ from: string;
483
+ to: string;
484
+ maxFeePerGas: bigint;
485
+ maxPriorityFeePerGas: bigint;
486
+ gasPrice?: undefined;
487
+ type?: number | undefined;
488
+ nonce?: number | undefined;
489
+ } | {
490
+ gasLimit: bigint;
491
+ value: string;
492
+ data: string;
493
+ from: string;
494
+ to: string;
495
+ gasPrice: bigint;
496
+ maxFeePerGas?: undefined;
497
+ maxPriorityFeePerGas?: undefined;
498
+ type?: number | undefined;
499
+ nonce?: number | undefined;
500
+ } | {
326
501
  value: string;
327
502
  to: string;
328
503
  data: string;
@@ -340,7 +515,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
340
515
  blockTag?: import("ethers").BlockTag;
341
516
  enableCcipRead?: boolean;
342
517
  }>;
343
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
518
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
519
+ gasLimit: bigint;
520
+ value: string;
521
+ data: string;
522
+ from: string;
523
+ to: string;
524
+ maxFeePerGas: bigint;
525
+ maxPriorityFeePerGas: bigint;
526
+ gasPrice?: undefined;
527
+ type?: number | undefined;
528
+ nonce?: number | undefined;
529
+ } | {
530
+ gasLimit: bigint;
531
+ value: string;
532
+ data: string;
533
+ from: string;
534
+ to: string;
535
+ gasPrice: bigint;
536
+ maxFeePerGas?: undefined;
537
+ maxPriorityFeePerGas?: undefined;
538
+ type?: number | undefined;
539
+ nonce?: number | undefined;
540
+ } | {
344
541
  value: string;
345
542
  to: string;
346
543
  data: string;
@@ -367,12 +564,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
367
564
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
368
565
  data?: string;
369
566
  }) => Promise<bigint>;
370
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
371
- l1GasPrice?: bigint;
372
- gasPrice?: bigint;
373
- maxFeePerGas?: bigint;
374
- maxPriorityFeePerGas?: bigint;
375
- }; }>;
567
+ estimateGasPrices: () => Promise<{
568
+ average: {
569
+ gasPrice?: bigint;
570
+ l1GasPrice?: bigint;
571
+ maxFeePerGas?: bigint;
572
+ maxPriorityFeePerGas?: bigint;
573
+ };
574
+ fast: {
575
+ gasPrice?: bigint;
576
+ l1GasPrice?: bigint;
577
+ maxFeePerGas?: bigint;
578
+ maxPriorityFeePerGas?: bigint;
579
+ };
580
+ fastest: {
581
+ gasPrice?: bigint;
582
+ l1GasPrice?: bigint;
583
+ maxFeePerGas?: bigint;
584
+ maxPriorityFeePerGas?: bigint;
585
+ };
586
+ }>;
376
587
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
377
588
  feeOption: FeeOption;
378
589
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -380,8 +591,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
380
591
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
381
592
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
382
593
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
383
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
594
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
384
595
  feeOptionKey?: FeeOption;
596
+ sweep?: boolean;
385
597
  }) => Promise<string>;
386
598
  signAuthorization: ((params: {
387
599
  address: string;
@@ -390,7 +602,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
390
602
  }) => Promise<import("ethers").Authorization>) | undefined;
391
603
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
392
604
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
393
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
605
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
394
606
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
395
607
  };
396
608
  AVAX: ChainWallet<Chain.Avalanche> & {
@@ -435,7 +647,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
435
647
  blockTag?: import("ethers").BlockTag;
436
648
  enableCcipRead?: boolean;
437
649
  }>;
438
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
650
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
651
+ gasLimit: bigint;
652
+ value: string;
653
+ data: string;
654
+ from: string;
655
+ to: string;
656
+ maxFeePerGas: bigint;
657
+ maxPriorityFeePerGas: bigint;
658
+ gasPrice?: undefined;
659
+ type?: number | undefined;
660
+ nonce?: number | undefined;
661
+ } | {
662
+ gasLimit: bigint;
663
+ value: string;
664
+ data: string;
665
+ from: string;
666
+ to: string;
667
+ gasPrice: bigint;
668
+ maxFeePerGas?: undefined;
669
+ maxPriorityFeePerGas?: undefined;
670
+ type?: number | undefined;
671
+ nonce?: number | undefined;
672
+ } | {
439
673
  value: string;
440
674
  to: string;
441
675
  data: string;
@@ -453,7 +687,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
453
687
  blockTag?: import("ethers").BlockTag;
454
688
  enableCcipRead?: boolean;
455
689
  }>;
456
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
690
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
691
+ gasLimit: bigint;
692
+ value: string;
693
+ data: string;
694
+ from: string;
695
+ to: string;
696
+ maxFeePerGas: bigint;
697
+ maxPriorityFeePerGas: bigint;
698
+ gasPrice?: undefined;
699
+ type?: number | undefined;
700
+ nonce?: number | undefined;
701
+ } | {
702
+ gasLimit: bigint;
703
+ value: string;
704
+ data: string;
705
+ from: string;
706
+ to: string;
707
+ gasPrice: bigint;
708
+ maxFeePerGas?: undefined;
709
+ maxPriorityFeePerGas?: undefined;
710
+ type?: number | undefined;
711
+ nonce?: number | undefined;
712
+ } | {
457
713
  value: string;
458
714
  to: string;
459
715
  data: string;
@@ -480,12 +736,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
480
736
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
481
737
  data?: string;
482
738
  }) => Promise<bigint>;
483
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
484
- l1GasPrice?: bigint;
485
- gasPrice?: bigint;
486
- maxFeePerGas?: bigint;
487
- maxPriorityFeePerGas?: bigint;
488
- }; }>;
739
+ estimateGasPrices: () => Promise<{
740
+ average: {
741
+ gasPrice?: bigint;
742
+ l1GasPrice?: bigint;
743
+ maxFeePerGas?: bigint;
744
+ maxPriorityFeePerGas?: bigint;
745
+ };
746
+ fast: {
747
+ gasPrice?: bigint;
748
+ l1GasPrice?: bigint;
749
+ maxFeePerGas?: bigint;
750
+ maxPriorityFeePerGas?: bigint;
751
+ };
752
+ fastest: {
753
+ gasPrice?: bigint;
754
+ l1GasPrice?: bigint;
755
+ maxFeePerGas?: bigint;
756
+ maxPriorityFeePerGas?: bigint;
757
+ };
758
+ }>;
489
759
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
490
760
  feeOption: FeeOption;
491
761
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -493,8 +763,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
493
763
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
494
764
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
495
765
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
496
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
766
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
497
767
  feeOptionKey?: FeeOption;
768
+ sweep?: boolean;
498
769
  }) => Promise<string>;
499
770
  signAuthorization: ((params: {
500
771
  address: string;
@@ -503,10 +774,17 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
503
774
  }) => Promise<import("ethers").Authorization>) | undefined;
504
775
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
505
776
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
506
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
777
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
507
778
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
508
779
  };
509
780
  BASE: ChainWallet<Chain.Base> & {
781
+ estimateL1Gas: (tx: import("ethers").TransactionRequest) => Promise<any>;
782
+ estimateL1GasCost: (tx: import("ethers").TransactionRequest) => Promise<bigint | undefined>;
783
+ estimateL2GasCost: (tx: import("ethers").TransactionRequest) => Promise<bigint>;
784
+ estimateOperatorFee: (gasLimit: bigint) => Promise<bigint>;
785
+ estimateTotalGasCost: (tx: import("ethers").TransactionRequest) => Promise<bigint>;
786
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
787
+ getL1GasPrice: () => Promise<bigint | undefined>;
510
788
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@swapkit/toolboxes/evm").ApproveParams) => Promise<string>;
511
789
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<bigint>;
512
790
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -548,7 +826,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
548
826
  blockTag?: import("ethers").BlockTag;
549
827
  enableCcipRead?: boolean;
550
828
  }>;
551
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
829
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
830
+ gasLimit: bigint;
831
+ value: string;
832
+ data: string;
833
+ from: string;
834
+ to: string;
835
+ maxFeePerGas: bigint;
836
+ maxPriorityFeePerGas: bigint;
837
+ gasPrice?: undefined;
838
+ type?: number | undefined;
839
+ nonce?: number | undefined;
840
+ } | {
841
+ gasLimit: bigint;
842
+ value: string;
843
+ data: string;
844
+ from: string;
845
+ to: string;
846
+ gasPrice: bigint;
847
+ maxFeePerGas?: undefined;
848
+ maxPriorityFeePerGas?: undefined;
849
+ type?: number | undefined;
850
+ nonce?: number | undefined;
851
+ } | {
552
852
  value: string;
553
853
  to: string;
554
854
  data: string;
@@ -566,7 +866,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
566
866
  blockTag?: import("ethers").BlockTag;
567
867
  enableCcipRead?: boolean;
568
868
  }>;
569
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
869
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
870
+ gasLimit: bigint;
871
+ value: string;
872
+ data: string;
873
+ from: string;
874
+ to: string;
875
+ maxFeePerGas: bigint;
876
+ maxPriorityFeePerGas: bigint;
877
+ gasPrice?: undefined;
878
+ type?: number | undefined;
879
+ nonce?: number | undefined;
880
+ } | {
881
+ gasLimit: bigint;
882
+ value: string;
883
+ data: string;
884
+ from: string;
885
+ to: string;
886
+ gasPrice: bigint;
887
+ maxFeePerGas?: undefined;
888
+ maxPriorityFeePerGas?: undefined;
889
+ type?: number | undefined;
890
+ nonce?: number | undefined;
891
+ } | {
570
892
  value: string;
571
893
  to: string;
572
894
  data: string;
@@ -593,21 +915,35 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
593
915
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
594
916
  data?: string;
595
917
  }) => Promise<bigint>;
596
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
597
- l1GasPrice?: bigint;
598
- gasPrice?: bigint;
599
- maxFeePerGas?: bigint;
600
- maxPriorityFeePerGas?: bigint;
601
- }; }>;
918
+ estimateGasPrices: () => Promise<{
919
+ average: {
920
+ gasPrice?: bigint;
921
+ l1GasPrice?: bigint;
922
+ maxFeePerGas?: bigint;
923
+ maxPriorityFeePerGas?: bigint;
924
+ };
925
+ fast: {
926
+ gasPrice?: bigint;
927
+ l1GasPrice?: bigint;
928
+ maxFeePerGas?: bigint;
929
+ maxPriorityFeePerGas?: bigint;
930
+ };
931
+ fastest: {
932
+ gasPrice?: bigint;
933
+ l1GasPrice?: bigint;
934
+ maxFeePerGas?: bigint;
935
+ maxPriorityFeePerGas?: bigint;
936
+ };
937
+ }>;
602
938
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
603
939
  feeOption: FeeOption;
604
940
  }) => Promise<import("@swapkit/helpers").AssetValue>;
605
941
  getAddress: () => string | Promise<string> | undefined;
606
- getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
607
942
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
608
943
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
609
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
944
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
610
945
  feeOptionKey?: FeeOption;
946
+ sweep?: boolean;
611
947
  }) => Promise<string>;
612
948
  signAuthorization: ((params: {
613
949
  address: string;
@@ -616,7 +952,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
616
952
  }) => Promise<import("ethers").Authorization>) | undefined;
617
953
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
618
954
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
619
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
955
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
620
956
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
621
957
  };
622
958
  BERA: ChainWallet<Chain.Berachain> & {
@@ -661,7 +997,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
661
997
  blockTag?: import("ethers").BlockTag;
662
998
  enableCcipRead?: boolean;
663
999
  }>;
664
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1000
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1001
+ gasLimit: bigint;
1002
+ value: string;
1003
+ data: string;
1004
+ from: string;
1005
+ to: string;
1006
+ maxFeePerGas: bigint;
1007
+ maxPriorityFeePerGas: bigint;
1008
+ gasPrice?: undefined;
1009
+ type?: number | undefined;
1010
+ nonce?: number | undefined;
1011
+ } | {
1012
+ gasLimit: bigint;
1013
+ value: string;
1014
+ data: string;
1015
+ from: string;
1016
+ to: string;
1017
+ gasPrice: bigint;
1018
+ maxFeePerGas?: undefined;
1019
+ maxPriorityFeePerGas?: undefined;
1020
+ type?: number | undefined;
1021
+ nonce?: number | undefined;
1022
+ } | {
665
1023
  value: string;
666
1024
  to: string;
667
1025
  data: string;
@@ -679,7 +1037,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
679
1037
  blockTag?: import("ethers").BlockTag;
680
1038
  enableCcipRead?: boolean;
681
1039
  }>;
682
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1040
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1041
+ gasLimit: bigint;
1042
+ value: string;
1043
+ data: string;
1044
+ from: string;
1045
+ to: string;
1046
+ maxFeePerGas: bigint;
1047
+ maxPriorityFeePerGas: bigint;
1048
+ gasPrice?: undefined;
1049
+ type?: number | undefined;
1050
+ nonce?: number | undefined;
1051
+ } | {
1052
+ gasLimit: bigint;
1053
+ value: string;
1054
+ data: string;
1055
+ from: string;
1056
+ to: string;
1057
+ gasPrice: bigint;
1058
+ maxFeePerGas?: undefined;
1059
+ maxPriorityFeePerGas?: undefined;
1060
+ type?: number | undefined;
1061
+ nonce?: number | undefined;
1062
+ } | {
683
1063
  value: string;
684
1064
  to: string;
685
1065
  data: string;
@@ -706,12 +1086,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
706
1086
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
707
1087
  data?: string;
708
1088
  }) => Promise<bigint>;
709
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
710
- l1GasPrice?: bigint;
711
- gasPrice?: bigint;
712
- maxFeePerGas?: bigint;
713
- maxPriorityFeePerGas?: bigint;
714
- }; }>;
1089
+ estimateGasPrices: () => Promise<{
1090
+ average: {
1091
+ gasPrice?: bigint;
1092
+ l1GasPrice?: bigint;
1093
+ maxFeePerGas?: bigint;
1094
+ maxPriorityFeePerGas?: bigint;
1095
+ };
1096
+ fast: {
1097
+ gasPrice?: bigint;
1098
+ l1GasPrice?: bigint;
1099
+ maxFeePerGas?: bigint;
1100
+ maxPriorityFeePerGas?: bigint;
1101
+ };
1102
+ fastest: {
1103
+ gasPrice?: bigint;
1104
+ l1GasPrice?: bigint;
1105
+ maxFeePerGas?: bigint;
1106
+ maxPriorityFeePerGas?: bigint;
1107
+ };
1108
+ }>;
715
1109
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
716
1110
  feeOption: FeeOption;
717
1111
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -719,8 +1113,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
719
1113
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
720
1114
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
721
1115
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
722
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
1116
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
723
1117
  feeOptionKey?: FeeOption;
1118
+ sweep?: boolean;
724
1119
  }) => Promise<string>;
725
1120
  signAuthorization: ((params: {
726
1121
  address: string;
@@ -729,7 +1124,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
729
1124
  }) => Promise<import("ethers").Authorization>) | undefined;
730
1125
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
731
1126
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
732
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
1127
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
733
1128
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
734
1129
  };
735
1130
  BSC: ChainWallet<Chain.BinanceSmartChain> & {
@@ -774,7 +1169,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
774
1169
  blockTag?: import("ethers").BlockTag;
775
1170
  enableCcipRead?: boolean;
776
1171
  }>;
777
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1172
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1173
+ gasLimit: bigint;
1174
+ value: string;
1175
+ data: string;
1176
+ from: string;
1177
+ to: string;
1178
+ maxFeePerGas: bigint;
1179
+ maxPriorityFeePerGas: bigint;
1180
+ gasPrice?: undefined;
1181
+ type?: number | undefined;
1182
+ nonce?: number | undefined;
1183
+ } | {
1184
+ gasLimit: bigint;
1185
+ value: string;
1186
+ data: string;
1187
+ from: string;
1188
+ to: string;
1189
+ gasPrice: bigint;
1190
+ maxFeePerGas?: undefined;
1191
+ maxPriorityFeePerGas?: undefined;
1192
+ type?: number | undefined;
1193
+ nonce?: number | undefined;
1194
+ } | {
778
1195
  value: string;
779
1196
  to: string;
780
1197
  data: string;
@@ -792,7 +1209,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
792
1209
  blockTag?: import("ethers").BlockTag;
793
1210
  enableCcipRead?: boolean;
794
1211
  }>;
795
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1212
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1213
+ gasLimit: bigint;
1214
+ value: string;
1215
+ data: string;
1216
+ from: string;
1217
+ to: string;
1218
+ maxFeePerGas: bigint;
1219
+ maxPriorityFeePerGas: bigint;
1220
+ gasPrice?: undefined;
1221
+ type?: number | undefined;
1222
+ nonce?: number | undefined;
1223
+ } | {
1224
+ gasLimit: bigint;
1225
+ value: string;
1226
+ data: string;
1227
+ from: string;
1228
+ to: string;
1229
+ gasPrice: bigint;
1230
+ maxFeePerGas?: undefined;
1231
+ maxPriorityFeePerGas?: undefined;
1232
+ type?: number | undefined;
1233
+ nonce?: number | undefined;
1234
+ } | {
796
1235
  value: string;
797
1236
  to: string;
798
1237
  data: string;
@@ -819,12 +1258,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
819
1258
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
820
1259
  data?: string;
821
1260
  }) => Promise<bigint>;
822
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
823
- l1GasPrice?: bigint;
824
- gasPrice?: bigint;
825
- maxFeePerGas?: bigint;
826
- maxPriorityFeePerGas?: bigint;
827
- }; }>;
1261
+ estimateGasPrices: () => Promise<{
1262
+ average: {
1263
+ gasPrice?: bigint;
1264
+ l1GasPrice?: bigint;
1265
+ maxFeePerGas?: bigint;
1266
+ maxPriorityFeePerGas?: bigint;
1267
+ };
1268
+ fast: {
1269
+ gasPrice?: bigint;
1270
+ l1GasPrice?: bigint;
1271
+ maxFeePerGas?: bigint;
1272
+ maxPriorityFeePerGas?: bigint;
1273
+ };
1274
+ fastest: {
1275
+ gasPrice?: bigint;
1276
+ l1GasPrice?: bigint;
1277
+ maxFeePerGas?: bigint;
1278
+ maxPriorityFeePerGas?: bigint;
1279
+ };
1280
+ }>;
828
1281
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
829
1282
  feeOption: FeeOption;
830
1283
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -832,8 +1285,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
832
1285
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
833
1286
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
834
1287
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
835
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
1288
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
836
1289
  feeOptionKey?: FeeOption;
1290
+ sweep?: boolean;
837
1291
  }) => Promise<string>;
838
1292
  signAuthorization: ((params: {
839
1293
  address: string;
@@ -842,7 +1296,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
842
1296
  }) => Promise<import("ethers").Authorization>) | undefined;
843
1297
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
844
1298
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
845
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
1299
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
846
1300
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
847
1301
  };
848
1302
  BTC: ChainWallet<Chain.Bitcoin> & {
@@ -863,7 +1317,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
863
1317
  publicKey: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
864
1318
  };
865
1319
  createReplacementTransaction: ({ txid, newFeeRate, recipient, memo, }: import("@swapkit/toolboxes/utxo/types").RBFTransactionParams) => Promise<import("@swapkit/toolboxes/utxo/toolbox/utxo").ReplacementTransactionResult>;
866
- createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, enableRBF, }: import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams) => Promise<{
1320
+ createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, enableRBF, sweep, }: import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams) => Promise<{
867
1321
  inputs: import("@swapkit/toolboxes/utxo/types").UTXOType[];
868
1322
  tx: import("@swapkit/utxo-signer").Transaction;
869
1323
  utxos: {
@@ -887,11 +1341,12 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
887
1341
  pubkey: string;
888
1342
  } | undefined;
889
1343
  derivePrivateKeyAtIndex: ({ accountIndex, index, change }: import("@swapkit/toolboxes").DeriveAddressParams) => Uint8Array<ArrayBufferLike> | undefined;
890
- estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
1344
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipient, recipients, }: {
891
1345
  from: string;
892
1346
  memo?: string;
893
1347
  feeRate?: number;
894
1348
  feeOptionKey?: FeeOption;
1349
+ recipient?: string;
895
1350
  recipients?: number | import("@swapkit/toolboxes/utxo/types").TargetOutput[];
896
1351
  }) => Promise<AssetValue>;
897
1352
  estimateTransactionFee: (params: {
@@ -921,7 +1376,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
921
1376
  fast: number;
922
1377
  fastest: number;
923
1378
  }>;
924
- getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
1379
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, sweep, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
925
1380
  feeOptionKey?: FeeOption;
926
1381
  feeRate?: number;
927
1382
  }) => Promise<{
@@ -963,10 +1418,10 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
963
1418
  tx: InstanceType<typeof import("@swapkit/utxo-signer").Transaction>;
964
1419
  inputDerivations: import("@swapkit/toolboxes/utxo/types").InputDerivation[];
965
1420
  }) => import("@swapkit/utxo-signer").Transaction;
966
- transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue, enableRBF, }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams & {
1421
+ transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue, enableRBF, sweep, }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams & {
967
1422
  enableRBF?: boolean;
968
1423
  }) => Promise<string>;
969
- transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, }: {
1424
+ transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, sweep, }: {
970
1425
  utxos: import("@swapkit/toolboxes").UTXOForMultiAddressTransfer[];
971
1426
  recipient: string;
972
1427
  assetValue: AssetValue;
@@ -974,6 +1429,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
974
1429
  feeRate?: number;
975
1430
  feeOptionKey?: FeeOption;
976
1431
  changeAddress?: string;
1432
+ sweep?: boolean;
977
1433
  }) => Promise<string>;
978
1434
  validateAddress: (address: string) => boolean;
979
1435
  };
@@ -994,7 +1450,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
994
1450
  };
995
1451
  }[];
996
1452
  }>;
997
- createTransaction: ({ assetValue, recipient, memo, feeRate, sender }: import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams) => Promise<{
1453
+ createTransaction: ({ assetValue, recipient, memo, feeRate, sender, sweep }: import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams) => Promise<{
998
1454
  inputs: import("@swapkit/toolboxes/utxo/types").UTXOType[];
999
1455
  tx: import("@swapkit/utxo-signer").Transaction;
1000
1456
  utxos: {
@@ -1023,7 +1479,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1023
1479
  signTransaction: (tx: InstanceType<typeof import("@swapkit/utxo-signer").Transaction>) => any;
1024
1480
  stripPrefix: typeof import("@swapkit/toolboxes/utxo/index").stripPrefix;
1025
1481
  stripToCashAddress: typeof import("@swapkit/toolboxes/utxo/index").stripToCashAddress;
1026
- transfer: ({ recipient, assetValue, feeOptionKey, ...rest }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams) => Promise<string>;
1482
+ transfer: ({ recipient, assetValue, feeOptionKey, sweep, ...rest }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams) => Promise<string>;
1027
1483
  validateAddress: typeof import("@swapkit/toolboxes/utxo/index").validateBchAddress;
1028
1484
  accumulative: typeof import("@swapkit/toolboxes/utxo/index").accumulative;
1029
1485
  bumpFee: ({ txid, newFeeRate, recipient, memo }: import("@swapkit/toolboxes/utxo/types").RBFTransactionParams) => Promise<{
@@ -1050,11 +1506,12 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1050
1506
  pubkey: string;
1051
1507
  } | undefined;
1052
1508
  derivePrivateKeyAtIndex: ({ accountIndex, index, change }: import("@swapkit/toolboxes").DeriveAddressParams) => Uint8Array<ArrayBufferLike> | undefined;
1053
- estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
1509
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipient, recipients, }: {
1054
1510
  from: string;
1055
1511
  memo?: string;
1056
1512
  feeRate?: number;
1057
1513
  feeOptionKey?: FeeOption;
1514
+ recipient?: string;
1058
1515
  recipients?: number | import("@swapkit/toolboxes/utxo/types").TargetOutput[];
1059
1516
  }) => Promise<import("@swapkit/helpers").AssetValue>;
1060
1517
  estimateTransactionFee: (params: {
@@ -1074,7 +1531,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1074
1531
  path: string;
1075
1532
  xpub: string;
1076
1533
  } | undefined;
1077
- getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
1534
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, sweep, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
1078
1535
  feeOptionKey?: FeeOption;
1079
1536
  feeRate?: number;
1080
1537
  }) => Promise<{
@@ -1114,7 +1571,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1114
1571
  tx: InstanceType<typeof import("@swapkit/utxo-signer").Transaction>;
1115
1572
  inputDerivations: import("@swapkit/toolboxes/utxo/types").InputDerivation[];
1116
1573
  }) => import("@swapkit/utxo-signer").Transaction;
1117
- transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, }: {
1574
+ transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, sweep, }: {
1118
1575
  utxos: import("@swapkit/toolboxes").UTXOForMultiAddressTransfer[];
1119
1576
  recipient: string;
1120
1577
  assetValue: import("@swapkit/helpers").AssetValue;
@@ -1122,6 +1579,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1122
1579
  feeRate?: number;
1123
1580
  feeOptionKey?: FeeOption;
1124
1581
  changeAddress?: string;
1582
+ sweep?: boolean;
1125
1583
  }) => Promise<string>;
1126
1584
  };
1127
1585
  BOTANIX: ChainWallet<Chain.Botanix> & {
@@ -1166,7 +1624,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1166
1624
  blockTag?: import("ethers").BlockTag;
1167
1625
  enableCcipRead?: boolean;
1168
1626
  }>;
1169
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1627
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1628
+ gasLimit: bigint;
1629
+ value: string;
1630
+ data: string;
1631
+ from: string;
1632
+ to: string;
1633
+ maxFeePerGas: bigint;
1634
+ maxPriorityFeePerGas: bigint;
1635
+ gasPrice?: undefined;
1636
+ type?: number | undefined;
1637
+ nonce?: number | undefined;
1638
+ } | {
1639
+ gasLimit: bigint;
1640
+ value: string;
1641
+ data: string;
1642
+ from: string;
1643
+ to: string;
1644
+ gasPrice: bigint;
1645
+ maxFeePerGas?: undefined;
1646
+ maxPriorityFeePerGas?: undefined;
1647
+ type?: number | undefined;
1648
+ nonce?: number | undefined;
1649
+ } | {
1170
1650
  value: string;
1171
1651
  to: string;
1172
1652
  data: string;
@@ -1184,7 +1664,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1184
1664
  blockTag?: import("ethers").BlockTag;
1185
1665
  enableCcipRead?: boolean;
1186
1666
  }>;
1187
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1667
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1668
+ gasLimit: bigint;
1669
+ value: string;
1670
+ data: string;
1671
+ from: string;
1672
+ to: string;
1673
+ maxFeePerGas: bigint;
1674
+ maxPriorityFeePerGas: bigint;
1675
+ gasPrice?: undefined;
1676
+ type?: number | undefined;
1677
+ nonce?: number | undefined;
1678
+ } | {
1679
+ gasLimit: bigint;
1680
+ value: string;
1681
+ data: string;
1682
+ from: string;
1683
+ to: string;
1684
+ gasPrice: bigint;
1685
+ maxFeePerGas?: undefined;
1686
+ maxPriorityFeePerGas?: undefined;
1687
+ type?: number | undefined;
1688
+ nonce?: number | undefined;
1689
+ } | {
1188
1690
  value: string;
1189
1691
  to: string;
1190
1692
  data: string;
@@ -1211,12 +1713,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1211
1713
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
1212
1714
  data?: string;
1213
1715
  }) => Promise<bigint>;
1214
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
1215
- l1GasPrice?: bigint;
1216
- gasPrice?: bigint;
1217
- maxFeePerGas?: bigint;
1218
- maxPriorityFeePerGas?: bigint;
1219
- }; }>;
1716
+ estimateGasPrices: () => Promise<{
1717
+ average: {
1718
+ gasPrice?: bigint;
1719
+ l1GasPrice?: bigint;
1720
+ maxFeePerGas?: bigint;
1721
+ maxPriorityFeePerGas?: bigint;
1722
+ };
1723
+ fast: {
1724
+ gasPrice?: bigint;
1725
+ l1GasPrice?: bigint;
1726
+ maxFeePerGas?: bigint;
1727
+ maxPriorityFeePerGas?: bigint;
1728
+ };
1729
+ fastest: {
1730
+ gasPrice?: bigint;
1731
+ l1GasPrice?: bigint;
1732
+ maxFeePerGas?: bigint;
1733
+ maxPriorityFeePerGas?: bigint;
1734
+ };
1735
+ }>;
1220
1736
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
1221
1737
  feeOption: FeeOption;
1222
1738
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -1224,8 +1740,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1224
1740
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
1225
1741
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
1226
1742
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
1227
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
1743
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
1228
1744
  feeOptionKey?: FeeOption;
1745
+ sweep?: boolean;
1229
1746
  }) => Promise<string>;
1230
1747
  signAuthorization: ((params: {
1231
1748
  address: string;
@@ -1234,11 +1751,11 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1234
1751
  }) => Promise<import("ethers").Authorization>) | undefined;
1235
1752
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1236
1753
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
1237
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
1754
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
1238
1755
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
1239
1756
  };
1240
1757
  ADA: ChainWallet<Chain.Cardano> & {
1241
- createTransaction: ({ sender, recipient, assetValue, memo, pureLovelaceOnly, }: import("@swapkit/toolboxes/cardano/types").CardanoCreateTransactionParams) => Promise<{
1758
+ createTransaction: ({ sender, recipient, assetValue, memo, pureLovelaceOnly, sweep, }: import("@swapkit/toolboxes/cardano/types").CardanoCreateTransactionParams) => Promise<{
1242
1759
  tx: import("@stricahq/typhonjs").Transaction;
1243
1760
  unsignedTx: string;
1244
1761
  }>;
@@ -1247,7 +1764,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1247
1764
  getBalance: (addressParam?: string) => Promise<AssetValue[]>;
1248
1765
  signAndBroadcastTransaction: (txInput: string) => Promise<string>;
1249
1766
  signTransaction: (tx: string) => Promise<string>;
1250
- transfer: ({ recipient, assetValue, memo }: import("@swapkit/toolboxes/cardano/types").CardanoTransferParams) => Promise<string>;
1767
+ transfer: ({ recipient, assetValue, memo, sweep }: import("@swapkit/toolboxes/cardano/types").CardanoTransferParams) => Promise<string>;
1251
1768
  validateAddress: typeof import("@swapkit/toolboxes/cardano/toolbox").validateCardanoAddress;
1252
1769
  };
1253
1770
  FLIP: ChainWallet<Chain.Chainflip> & {
@@ -1314,7 +1831,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1314
1831
  blockTag?: import("ethers").BlockTag;
1315
1832
  enableCcipRead?: boolean;
1316
1833
  }>;
1317
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1834
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1835
+ gasLimit: bigint;
1836
+ value: string;
1837
+ data: string;
1838
+ from: string;
1839
+ to: string;
1840
+ maxFeePerGas: bigint;
1841
+ maxPriorityFeePerGas: bigint;
1842
+ gasPrice?: undefined;
1843
+ type?: number | undefined;
1844
+ nonce?: number | undefined;
1845
+ } | {
1846
+ gasLimit: bigint;
1847
+ value: string;
1848
+ data: string;
1849
+ from: string;
1850
+ to: string;
1851
+ gasPrice: bigint;
1852
+ maxFeePerGas?: undefined;
1853
+ maxPriorityFeePerGas?: undefined;
1854
+ type?: number | undefined;
1855
+ nonce?: number | undefined;
1856
+ } | {
1318
1857
  value: string;
1319
1858
  to: string;
1320
1859
  data: string;
@@ -1332,7 +1871,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1332
1871
  blockTag?: import("ethers").BlockTag;
1333
1872
  enableCcipRead?: boolean;
1334
1873
  }>;
1335
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1874
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
1875
+ gasLimit: bigint;
1876
+ value: string;
1877
+ data: string;
1878
+ from: string;
1879
+ to: string;
1880
+ maxFeePerGas: bigint;
1881
+ maxPriorityFeePerGas: bigint;
1882
+ gasPrice?: undefined;
1883
+ type?: number | undefined;
1884
+ nonce?: number | undefined;
1885
+ } | {
1886
+ gasLimit: bigint;
1887
+ value: string;
1888
+ data: string;
1889
+ from: string;
1890
+ to: string;
1891
+ gasPrice: bigint;
1892
+ maxFeePerGas?: undefined;
1893
+ maxPriorityFeePerGas?: undefined;
1894
+ type?: number | undefined;
1895
+ nonce?: number | undefined;
1896
+ } | {
1336
1897
  value: string;
1337
1898
  to: string;
1338
1899
  data: string;
@@ -1359,12 +1920,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1359
1920
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
1360
1921
  data?: string;
1361
1922
  }) => Promise<bigint>;
1362
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
1363
- l1GasPrice?: bigint;
1364
- gasPrice?: bigint;
1365
- maxFeePerGas?: bigint;
1366
- maxPriorityFeePerGas?: bigint;
1367
- }; }>;
1923
+ estimateGasPrices: () => Promise<{
1924
+ average: {
1925
+ gasPrice?: bigint;
1926
+ l1GasPrice?: bigint;
1927
+ maxFeePerGas?: bigint;
1928
+ maxPriorityFeePerGas?: bigint;
1929
+ };
1930
+ fast: {
1931
+ gasPrice?: bigint;
1932
+ l1GasPrice?: bigint;
1933
+ maxFeePerGas?: bigint;
1934
+ maxPriorityFeePerGas?: bigint;
1935
+ };
1936
+ fastest: {
1937
+ gasPrice?: bigint;
1938
+ l1GasPrice?: bigint;
1939
+ maxFeePerGas?: bigint;
1940
+ maxPriorityFeePerGas?: bigint;
1941
+ };
1942
+ }>;
1368
1943
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
1369
1944
  feeOption: FeeOption;
1370
1945
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -1372,8 +1947,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1372
1947
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
1373
1948
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
1374
1949
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
1375
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
1950
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
1376
1951
  feeOptionKey?: FeeOption;
1952
+ sweep?: boolean;
1377
1953
  }) => Promise<string>;
1378
1954
  signAuthorization: ((params: {
1379
1955
  address: string;
@@ -1382,7 +1958,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1382
1958
  }) => Promise<import("ethers").Authorization>) | undefined;
1383
1959
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1384
1960
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
1385
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
1961
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
1386
1962
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
1387
1963
  };
1388
1964
  CORN: ChainWallet<Chain.Corn> & {
@@ -1427,7 +2003,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1427
2003
  blockTag?: import("ethers").BlockTag;
1428
2004
  enableCcipRead?: boolean;
1429
2005
  }>;
1430
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2006
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2007
+ gasLimit: bigint;
2008
+ value: string;
2009
+ data: string;
2010
+ from: string;
2011
+ to: string;
2012
+ maxFeePerGas: bigint;
2013
+ maxPriorityFeePerGas: bigint;
2014
+ gasPrice?: undefined;
2015
+ type?: number | undefined;
2016
+ nonce?: number | undefined;
2017
+ } | {
2018
+ gasLimit: bigint;
2019
+ value: string;
2020
+ data: string;
2021
+ from: string;
2022
+ to: string;
2023
+ gasPrice: bigint;
2024
+ maxFeePerGas?: undefined;
2025
+ maxPriorityFeePerGas?: undefined;
2026
+ type?: number | undefined;
2027
+ nonce?: number | undefined;
2028
+ } | {
1431
2029
  value: string;
1432
2030
  to: string;
1433
2031
  data: string;
@@ -1445,7 +2043,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1445
2043
  blockTag?: import("ethers").BlockTag;
1446
2044
  enableCcipRead?: boolean;
1447
2045
  }>;
1448
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2046
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2047
+ gasLimit: bigint;
2048
+ value: string;
2049
+ data: string;
2050
+ from: string;
2051
+ to: string;
2052
+ maxFeePerGas: bigint;
2053
+ maxPriorityFeePerGas: bigint;
2054
+ gasPrice?: undefined;
2055
+ type?: number | undefined;
2056
+ nonce?: number | undefined;
2057
+ } | {
2058
+ gasLimit: bigint;
2059
+ value: string;
2060
+ data: string;
2061
+ from: string;
2062
+ to: string;
2063
+ gasPrice: bigint;
2064
+ maxFeePerGas?: undefined;
2065
+ maxPriorityFeePerGas?: undefined;
2066
+ type?: number | undefined;
2067
+ nonce?: number | undefined;
2068
+ } | {
1449
2069
  value: string;
1450
2070
  to: string;
1451
2071
  data: string;
@@ -1472,12 +2092,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1472
2092
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
1473
2093
  data?: string;
1474
2094
  }) => Promise<bigint>;
1475
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
1476
- l1GasPrice?: bigint;
1477
- gasPrice?: bigint;
1478
- maxFeePerGas?: bigint;
1479
- maxPriorityFeePerGas?: bigint;
1480
- }; }>;
2095
+ estimateGasPrices: () => Promise<{
2096
+ average: {
2097
+ gasPrice?: bigint;
2098
+ l1GasPrice?: bigint;
2099
+ maxFeePerGas?: bigint;
2100
+ maxPriorityFeePerGas?: bigint;
2101
+ };
2102
+ fast: {
2103
+ gasPrice?: bigint;
2104
+ l1GasPrice?: bigint;
2105
+ maxFeePerGas?: bigint;
2106
+ maxPriorityFeePerGas?: bigint;
2107
+ };
2108
+ fastest: {
2109
+ gasPrice?: bigint;
2110
+ l1GasPrice?: bigint;
2111
+ maxFeePerGas?: bigint;
2112
+ maxPriorityFeePerGas?: bigint;
2113
+ };
2114
+ }>;
1481
2115
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
1482
2116
  feeOption: FeeOption;
1483
2117
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -1485,8 +2119,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1485
2119
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
1486
2120
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
1487
2121
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
1488
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
2122
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
1489
2123
  feeOptionKey?: FeeOption;
2124
+ sweep?: boolean;
1490
2125
  }) => Promise<string>;
1491
2126
  signAuthorization: ((params: {
1492
2127
  address: string;
@@ -1495,7 +2130,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1495
2130
  }) => Promise<import("ethers").Authorization>) | undefined;
1496
2131
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1497
2132
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
1498
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
2133
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
1499
2134
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
1500
2135
  };
1501
2136
  GAIA: ChainWallet<Chain.Cosmos> & {
@@ -1522,7 +2157,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1522
2157
  getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
1523
2158
  signAndBroadcastTransaction: (transaction: import("@swapkit/helpers").CosmosTransaction) => Promise<string>;
1524
2159
  signTransaction: (transaction: import("@swapkit/helpers").CosmosTransaction) => Promise<import("cosmjs-types/cosmos/tx/v1beta1/tx").TxRaw>;
1525
- transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, }: GenericTransferParams) => Promise<string>;
2160
+ transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, sweep, }: GenericTransferParams) => Promise<string>;
1526
2161
  validateAddress: (address: string) => boolean;
1527
2162
  verifySignature: ({ signature, message, address, }: {
1528
2163
  signature: string;
@@ -1572,7 +2207,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1572
2207
  blockTag?: import("ethers").BlockTag;
1573
2208
  enableCcipRead?: boolean;
1574
2209
  }>;
1575
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2210
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2211
+ gasLimit: bigint;
2212
+ value: string;
2213
+ data: string;
2214
+ from: string;
2215
+ to: string;
2216
+ maxFeePerGas: bigint;
2217
+ maxPriorityFeePerGas: bigint;
2218
+ gasPrice?: undefined;
2219
+ type?: number | undefined;
2220
+ nonce?: number | undefined;
2221
+ } | {
2222
+ gasLimit: bigint;
2223
+ value: string;
2224
+ data: string;
2225
+ from: string;
2226
+ to: string;
2227
+ gasPrice: bigint;
2228
+ maxFeePerGas?: undefined;
2229
+ maxPriorityFeePerGas?: undefined;
2230
+ type?: number | undefined;
2231
+ nonce?: number | undefined;
2232
+ } | {
1576
2233
  value: string;
1577
2234
  to: string;
1578
2235
  data: string;
@@ -1590,7 +2247,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1590
2247
  blockTag?: import("ethers").BlockTag;
1591
2248
  enableCcipRead?: boolean;
1592
2249
  }>;
1593
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2250
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2251
+ gasLimit: bigint;
2252
+ value: string;
2253
+ data: string;
2254
+ from: string;
2255
+ to: string;
2256
+ maxFeePerGas: bigint;
2257
+ maxPriorityFeePerGas: bigint;
2258
+ gasPrice?: undefined;
2259
+ type?: number | undefined;
2260
+ nonce?: number | undefined;
2261
+ } | {
2262
+ gasLimit: bigint;
2263
+ value: string;
2264
+ data: string;
2265
+ from: string;
2266
+ to: string;
2267
+ gasPrice: bigint;
2268
+ maxFeePerGas?: undefined;
2269
+ maxPriorityFeePerGas?: undefined;
2270
+ type?: number | undefined;
2271
+ nonce?: number | undefined;
2272
+ } | {
1594
2273
  value: string;
1595
2274
  to: string;
1596
2275
  data: string;
@@ -1617,12 +2296,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1617
2296
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
1618
2297
  data?: string;
1619
2298
  }) => Promise<bigint>;
1620
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
1621
- l1GasPrice?: bigint;
1622
- gasPrice?: bigint;
1623
- maxFeePerGas?: bigint;
1624
- maxPriorityFeePerGas?: bigint;
1625
- }; }>;
2299
+ estimateGasPrices: () => Promise<{
2300
+ average: {
2301
+ gasPrice?: bigint;
2302
+ l1GasPrice?: bigint;
2303
+ maxFeePerGas?: bigint;
2304
+ maxPriorityFeePerGas?: bigint;
2305
+ };
2306
+ fast: {
2307
+ gasPrice?: bigint;
2308
+ l1GasPrice?: bigint;
2309
+ maxFeePerGas?: bigint;
2310
+ maxPriorityFeePerGas?: bigint;
2311
+ };
2312
+ fastest: {
2313
+ gasPrice?: bigint;
2314
+ l1GasPrice?: bigint;
2315
+ maxFeePerGas?: bigint;
2316
+ maxPriorityFeePerGas?: bigint;
2317
+ };
2318
+ }>;
1626
2319
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
1627
2320
  feeOption: FeeOption;
1628
2321
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -1630,8 +2323,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1630
2323
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
1631
2324
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
1632
2325
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
1633
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
2326
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
1634
2327
  feeOptionKey?: FeeOption;
2328
+ sweep?: boolean;
1635
2329
  }) => Promise<string>;
1636
2330
  signAuthorization: ((params: {
1637
2331
  address: string;
@@ -1640,7 +2334,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1640
2334
  }) => Promise<import("ethers").Authorization>) | undefined;
1641
2335
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
1642
2336
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
1643
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
2337
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
1644
2338
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
1645
2339
  };
1646
2340
  DASH: ChainWallet<Chain.Dash> & {
@@ -1661,7 +2355,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1661
2355
  publicKey: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
1662
2356
  };
1663
2357
  createReplacementTransaction: ({ txid, newFeeRate, recipient, memo, }: import("@swapkit/toolboxes/utxo/types").RBFTransactionParams) => Promise<import("@swapkit/toolboxes/utxo/toolbox/utxo").ReplacementTransactionResult>;
1664
- createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, enableRBF, }: import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams) => Promise<{
2358
+ createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, enableRBF, sweep, }: import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams) => Promise<{
1665
2359
  inputs: import("@swapkit/toolboxes/utxo/types").UTXOType[];
1666
2360
  tx: import("@swapkit/utxo-signer").Transaction;
1667
2361
  utxos: {
@@ -1685,11 +2379,12 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1685
2379
  pubkey: string;
1686
2380
  } | undefined;
1687
2381
  derivePrivateKeyAtIndex: ({ accountIndex, index, change }: import("@swapkit/toolboxes").DeriveAddressParams) => Uint8Array<ArrayBufferLike> | undefined;
1688
- estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
2382
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipient, recipients, }: {
1689
2383
  from: string;
1690
2384
  memo?: string;
1691
2385
  feeRate?: number;
1692
2386
  feeOptionKey?: FeeOption;
2387
+ recipient?: string;
1693
2388
  recipients?: number | import("@swapkit/toolboxes/utxo/types").TargetOutput[];
1694
2389
  }) => Promise<AssetValue>;
1695
2390
  estimateTransactionFee: (params: {
@@ -1719,7 +2414,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1719
2414
  fast: number;
1720
2415
  fastest: number;
1721
2416
  }>;
1722
- getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
2417
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, sweep, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
1723
2418
  feeOptionKey?: FeeOption;
1724
2419
  feeRate?: number;
1725
2420
  }) => Promise<{
@@ -1761,10 +2456,10 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1761
2456
  tx: InstanceType<typeof import("@swapkit/utxo-signer").Transaction>;
1762
2457
  inputDerivations: import("@swapkit/toolboxes/utxo/types").InputDerivation[];
1763
2458
  }) => import("@swapkit/utxo-signer").Transaction;
1764
- transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue, enableRBF, }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams & {
2459
+ transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue, enableRBF, sweep, }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams & {
1765
2460
  enableRBF?: boolean;
1766
2461
  }) => Promise<string>;
1767
- transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, }: {
2462
+ transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, sweep, }: {
1768
2463
  utxos: import("@swapkit/toolboxes").UTXOForMultiAddressTransfer[];
1769
2464
  recipient: string;
1770
2465
  assetValue: AssetValue;
@@ -1772,6 +2467,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1772
2467
  feeRate?: number;
1773
2468
  feeOptionKey?: FeeOption;
1774
2469
  changeAddress?: string;
2470
+ sweep?: boolean;
1775
2471
  }) => Promise<string>;
1776
2472
  validateAddress: (address: string) => boolean;
1777
2473
  };
@@ -1793,7 +2489,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1793
2489
  publicKey: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
1794
2490
  };
1795
2491
  createReplacementTransaction: ({ txid, newFeeRate, recipient, memo, }: import("@swapkit/toolboxes/utxo/types").RBFTransactionParams) => Promise<import("@swapkit/toolboxes/utxo/toolbox/utxo").ReplacementTransactionResult>;
1796
- createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, enableRBF, }: import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams) => Promise<{
2492
+ createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, enableRBF, sweep, }: import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams) => Promise<{
1797
2493
  inputs: import("@swapkit/toolboxes/utxo/types").UTXOType[];
1798
2494
  tx: import("@swapkit/utxo-signer").Transaction;
1799
2495
  utxos: {
@@ -1817,11 +2513,12 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1817
2513
  pubkey: string;
1818
2514
  } | undefined;
1819
2515
  derivePrivateKeyAtIndex: ({ accountIndex, index, change }: import("@swapkit/toolboxes").DeriveAddressParams) => Uint8Array<ArrayBufferLike> | undefined;
1820
- estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
2516
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipient, recipients, }: {
1821
2517
  from: string;
1822
2518
  memo?: string;
1823
2519
  feeRate?: number;
1824
2520
  feeOptionKey?: FeeOption;
2521
+ recipient?: string;
1825
2522
  recipients?: number | import("@swapkit/toolboxes/utxo/types").TargetOutput[];
1826
2523
  }) => Promise<AssetValue>;
1827
2524
  estimateTransactionFee: (params: {
@@ -1851,7 +2548,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1851
2548
  fast: number;
1852
2549
  fastest: number;
1853
2550
  }>;
1854
- getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
2551
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, sweep, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
1855
2552
  feeOptionKey?: FeeOption;
1856
2553
  feeRate?: number;
1857
2554
  }) => Promise<{
@@ -1893,10 +2590,10 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1893
2590
  tx: InstanceType<typeof import("@swapkit/utxo-signer").Transaction>;
1894
2591
  inputDerivations: import("@swapkit/toolboxes/utxo/types").InputDerivation[];
1895
2592
  }) => import("@swapkit/utxo-signer").Transaction;
1896
- transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue, enableRBF, }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams & {
2593
+ transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue, enableRBF, sweep, }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams & {
1897
2594
  enableRBF?: boolean;
1898
2595
  }) => Promise<string>;
1899
- transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, }: {
2596
+ transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, sweep, }: {
1900
2597
  utxos: import("@swapkit/toolboxes").UTXOForMultiAddressTransfer[];
1901
2598
  recipient: string;
1902
2599
  assetValue: AssetValue;
@@ -1904,6 +2601,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1904
2601
  feeRate?: number;
1905
2602
  feeOptionKey?: FeeOption;
1906
2603
  changeAddress?: string;
2604
+ sweep?: boolean;
1907
2605
  }) => Promise<string>;
1908
2606
  validateAddress: (address: string) => boolean;
1909
2607
  };
@@ -1953,7 +2651,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1953
2651
  blockTag?: import("ethers").BlockTag;
1954
2652
  enableCcipRead?: boolean;
1955
2653
  }>;
1956
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2654
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2655
+ gasLimit: bigint;
2656
+ value: string;
2657
+ data: string;
2658
+ from: string;
2659
+ to: string;
2660
+ maxFeePerGas: bigint;
2661
+ maxPriorityFeePerGas: bigint;
2662
+ gasPrice?: undefined;
2663
+ type?: number | undefined;
2664
+ nonce?: number | undefined;
2665
+ } | {
2666
+ gasLimit: bigint;
2667
+ value: string;
2668
+ data: string;
2669
+ from: string;
2670
+ to: string;
2671
+ gasPrice: bigint;
2672
+ maxFeePerGas?: undefined;
2673
+ maxPriorityFeePerGas?: undefined;
2674
+ type?: number | undefined;
2675
+ nonce?: number | undefined;
2676
+ } | {
1957
2677
  value: string;
1958
2678
  to: string;
1959
2679
  data: string;
@@ -1971,7 +2691,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1971
2691
  blockTag?: import("ethers").BlockTag;
1972
2692
  enableCcipRead?: boolean;
1973
2693
  }>;
1974
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2694
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2695
+ gasLimit: bigint;
2696
+ value: string;
2697
+ data: string;
2698
+ from: string;
2699
+ to: string;
2700
+ maxFeePerGas: bigint;
2701
+ maxPriorityFeePerGas: bigint;
2702
+ gasPrice?: undefined;
2703
+ type?: number | undefined;
2704
+ nonce?: number | undefined;
2705
+ } | {
2706
+ gasLimit: bigint;
2707
+ value: string;
2708
+ data: string;
2709
+ from: string;
2710
+ to: string;
2711
+ gasPrice: bigint;
2712
+ maxFeePerGas?: undefined;
2713
+ maxPriorityFeePerGas?: undefined;
2714
+ type?: number | undefined;
2715
+ nonce?: number | undefined;
2716
+ } | {
1975
2717
  value: string;
1976
2718
  to: string;
1977
2719
  data: string;
@@ -1998,12 +2740,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
1998
2740
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
1999
2741
  data?: string;
2000
2742
  }) => Promise<bigint>;
2001
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
2002
- l1GasPrice?: bigint;
2003
- gasPrice?: bigint;
2004
- maxFeePerGas?: bigint;
2005
- maxPriorityFeePerGas?: bigint;
2006
- }; }>;
2743
+ estimateGasPrices: () => Promise<{
2744
+ average: {
2745
+ gasPrice?: bigint;
2746
+ l1GasPrice?: bigint;
2747
+ maxFeePerGas?: bigint;
2748
+ maxPriorityFeePerGas?: bigint;
2749
+ };
2750
+ fast: {
2751
+ gasPrice?: bigint;
2752
+ l1GasPrice?: bigint;
2753
+ maxFeePerGas?: bigint;
2754
+ maxPriorityFeePerGas?: bigint;
2755
+ };
2756
+ fastest: {
2757
+ gasPrice?: bigint;
2758
+ l1GasPrice?: bigint;
2759
+ maxFeePerGas?: bigint;
2760
+ maxPriorityFeePerGas?: bigint;
2761
+ };
2762
+ }>;
2007
2763
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
2008
2764
  feeOption: FeeOption;
2009
2765
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -2011,21 +2767,18 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2011
2767
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
2012
2768
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
2013
2769
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
2014
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
2770
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
2015
2771
  feeOptionKey?: FeeOption;
2772
+ sweep?: boolean;
2016
2773
  }) => Promise<string>;
2017
2774
  signAuthorization: ((params: {
2018
2775
  address: string;
2019
- nonce
2020
- /**
2021
- * @Public
2022
- */
2023
- ?: number | bigint;
2776
+ nonce?: number | bigint;
2024
2777
  chainId?: bigint;
2025
2778
  }) => Promise<import("ethers").Authorization>) | undefined;
2026
2779
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
2027
2780
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
2028
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
2781
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
2029
2782
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
2030
2783
  };
2031
2784
  GNO: ChainWallet<Chain.Gnosis> & {
@@ -2070,7 +2823,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2070
2823
  blockTag?: import("ethers").BlockTag;
2071
2824
  enableCcipRead?: boolean;
2072
2825
  }>;
2073
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2826
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2827
+ gasLimit: bigint;
2828
+ value: string;
2829
+ data: string;
2830
+ from: string;
2831
+ to: string;
2832
+ maxFeePerGas: bigint;
2833
+ maxPriorityFeePerGas: bigint;
2834
+ gasPrice?: undefined;
2835
+ type?: number | undefined;
2836
+ nonce?: number | undefined;
2837
+ } | {
2838
+ gasLimit: bigint;
2839
+ value: string;
2840
+ data: string;
2841
+ from: string;
2842
+ to: string;
2843
+ gasPrice: bigint;
2844
+ maxFeePerGas?: undefined;
2845
+ maxPriorityFeePerGas?: undefined;
2846
+ type?: number | undefined;
2847
+ nonce?: number | undefined;
2848
+ } | {
2074
2849
  value: string;
2075
2850
  to: string;
2076
2851
  data: string;
@@ -2088,7 +2863,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2088
2863
  blockTag?: import("ethers").BlockTag;
2089
2864
  enableCcipRead?: boolean;
2090
2865
  }>;
2091
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2866
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
2867
+ gasLimit: bigint;
2868
+ value: string;
2869
+ data: string;
2870
+ from: string;
2871
+ to: string;
2872
+ maxFeePerGas: bigint;
2873
+ maxPriorityFeePerGas: bigint;
2874
+ gasPrice?: undefined;
2875
+ type?: number | undefined;
2876
+ nonce?: number | undefined;
2877
+ } | {
2878
+ gasLimit: bigint;
2879
+ value: string;
2880
+ data: string;
2881
+ from: string;
2882
+ to: string;
2883
+ gasPrice: bigint;
2884
+ maxFeePerGas?: undefined;
2885
+ maxPriorityFeePerGas?: undefined;
2886
+ type?: number | undefined;
2887
+ nonce?: number | undefined;
2888
+ } | {
2092
2889
  value: string;
2093
2890
  to: string;
2094
2891
  data: string;
@@ -2115,12 +2912,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2115
2912
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
2116
2913
  data?: string;
2117
2914
  }) => Promise<bigint>;
2118
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
2119
- l1GasPrice?: bigint;
2120
- gasPrice?: bigint;
2121
- maxFeePerGas?: bigint;
2122
- maxPriorityFeePerGas?: bigint;
2123
- }; }>;
2915
+ estimateGasPrices: () => Promise<{
2916
+ average: {
2917
+ gasPrice?: bigint;
2918
+ l1GasPrice?: bigint;
2919
+ maxFeePerGas?: bigint;
2920
+ maxPriorityFeePerGas?: bigint;
2921
+ };
2922
+ fast: {
2923
+ gasPrice?: bigint;
2924
+ l1GasPrice?: bigint;
2925
+ maxFeePerGas?: bigint;
2926
+ maxPriorityFeePerGas?: bigint;
2927
+ };
2928
+ fastest: {
2929
+ gasPrice?: bigint;
2930
+ l1GasPrice?: bigint;
2931
+ maxFeePerGas?: bigint;
2932
+ maxPriorityFeePerGas?: bigint;
2933
+ };
2934
+ }>;
2124
2935
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
2125
2936
  feeOption: FeeOption;
2126
2937
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -2128,8 +2939,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2128
2939
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
2129
2940
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
2130
2941
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
2131
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
2942
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
2132
2943
  feeOptionKey?: FeeOption;
2944
+ sweep?: boolean;
2133
2945
  }) => Promise<string>;
2134
2946
  signAuthorization: ((params: {
2135
2947
  address: string;
@@ -2138,7 +2950,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2138
2950
  }) => Promise<import("ethers").Authorization>) | undefined;
2139
2951
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
2140
2952
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
2141
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
2953
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
2142
2954
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
2143
2955
  };
2144
2956
  HARBOR: ChainWallet<Chain.Harbor> & {
@@ -2165,7 +2977,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2165
2977
  getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
2166
2978
  signAndBroadcastTransaction: (transaction: import("@swapkit/helpers").CosmosTransaction) => Promise<string>;
2167
2979
  signTransaction: (transaction: import("@swapkit/helpers").CosmosTransaction) => Promise<import("cosmjs-types/cosmos/tx/v1beta1/tx").TxRaw>;
2168
- transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, }: GenericTransferParams) => Promise<string>;
2980
+ transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, sweep, }: GenericTransferParams) => Promise<string>;
2169
2981
  validateAddress: (address: string) => boolean;
2170
2982
  verifySignature: ({ signature, message, address, }: {
2171
2983
  signature: string;
@@ -2215,7 +3027,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2215
3027
  blockTag?: import("ethers").BlockTag;
2216
3028
  enableCcipRead?: boolean;
2217
3029
  }>;
2218
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3030
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3031
+ gasLimit: bigint;
3032
+ value: string;
3033
+ data: string;
3034
+ from: string;
3035
+ to: string;
3036
+ maxFeePerGas: bigint;
3037
+ maxPriorityFeePerGas: bigint;
3038
+ gasPrice?: undefined;
3039
+ type?: number | undefined;
3040
+ nonce?: number | undefined;
3041
+ } | {
3042
+ gasLimit: bigint;
3043
+ value: string;
3044
+ data: string;
3045
+ from: string;
3046
+ to: string;
3047
+ gasPrice: bigint;
3048
+ maxFeePerGas?: undefined;
3049
+ maxPriorityFeePerGas?: undefined;
3050
+ type?: number | undefined;
3051
+ nonce?: number | undefined;
3052
+ } | {
2219
3053
  value: string;
2220
3054
  to: string;
2221
3055
  data: string;
@@ -2233,7 +3067,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2233
3067
  blockTag?: import("ethers").BlockTag;
2234
3068
  enableCcipRead?: boolean;
2235
3069
  }>;
2236
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3070
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3071
+ gasLimit: bigint;
3072
+ value: string;
3073
+ data: string;
3074
+ from: string;
3075
+ to: string;
3076
+ maxFeePerGas: bigint;
3077
+ maxPriorityFeePerGas: bigint;
3078
+ gasPrice?: undefined;
3079
+ type?: number | undefined;
3080
+ nonce?: number | undefined;
3081
+ } | {
3082
+ gasLimit: bigint;
3083
+ value: string;
3084
+ data: string;
3085
+ from: string;
3086
+ to: string;
3087
+ gasPrice: bigint;
3088
+ maxFeePerGas?: undefined;
3089
+ maxPriorityFeePerGas?: undefined;
3090
+ type?: number | undefined;
3091
+ nonce?: number | undefined;
3092
+ } | {
2237
3093
  value: string;
2238
3094
  to: string;
2239
3095
  data: string;
@@ -2260,12 +3116,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2260
3116
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
2261
3117
  data?: string;
2262
3118
  }) => Promise<bigint>;
2263
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
2264
- l1GasPrice?: bigint;
2265
- gasPrice?: bigint;
2266
- maxFeePerGas?: bigint;
2267
- maxPriorityFeePerGas?: bigint;
2268
- }; }>;
3119
+ estimateGasPrices: () => Promise<{
3120
+ average: {
3121
+ gasPrice?: bigint;
3122
+ l1GasPrice?: bigint;
3123
+ maxFeePerGas?: bigint;
3124
+ maxPriorityFeePerGas?: bigint;
3125
+ };
3126
+ fast: {
3127
+ gasPrice?: bigint;
3128
+ l1GasPrice?: bigint;
3129
+ maxFeePerGas?: bigint;
3130
+ maxPriorityFeePerGas?: bigint;
3131
+ };
3132
+ fastest: {
3133
+ gasPrice?: bigint;
3134
+ l1GasPrice?: bigint;
3135
+ maxFeePerGas?: bigint;
3136
+ maxPriorityFeePerGas?: bigint;
3137
+ };
3138
+ }>;
2269
3139
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
2270
3140
  feeOption: FeeOption;
2271
3141
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -2273,8 +3143,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2273
3143
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
2274
3144
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
2275
3145
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
2276
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3146
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
2277
3147
  feeOptionKey?: FeeOption;
3148
+ sweep?: boolean;
2278
3149
  }) => Promise<string>;
2279
3150
  signAuthorization: ((params: {
2280
3151
  address: string;
@@ -2283,7 +3154,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2283
3154
  }) => Promise<import("ethers").Authorization>) | undefined;
2284
3155
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
2285
3156
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
2286
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3157
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
2287
3158
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
2288
3159
  };
2289
3160
  HYPE: ChainWallet<Chain.Hype> & {
@@ -2336,7 +3207,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2336
3207
  userFillsByTime: ({ aggregateByTime, endTime, startTime, user }: import("@swapkit/toolboxes/hypercore/types").HyperCoreUserFillsByTimeQueryParams) => Promise<import("@swapkit/toolboxes/hypercore/types").HyperCoreFill[]>;
2337
3208
  };
2338
3209
  signTransaction: (request: import("@swapkit/toolboxes/hypercore/types").HyperCoreUnsignedRequest) => Promise<import("@swapkit/toolboxes/hypercore/types").HyperCoreSignedRequest>;
2339
- transfer: (params: import("@swapkit/toolboxes/hypercore/types").HyperCoreTransferParams) => Promise<string>;
3210
+ transfer: ({ sweep, ...params }: import("@swapkit/toolboxes/hypercore/types").HyperCoreTransferParams) => Promise<string>;
2340
3211
  validateAddress: typeof import("@swapkit/toolboxes/hypercore/toolbox").validateHyperCoreAddress;
2341
3212
  };
2342
3213
  KUJI: ChainWallet<Chain.Kujira> & {
@@ -2363,7 +3234,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2363
3234
  getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
2364
3235
  signAndBroadcastTransaction: (transaction: import("@swapkit/helpers").CosmosTransaction) => Promise<string>;
2365
3236
  signTransaction: (transaction: import("@swapkit/helpers").CosmosTransaction) => Promise<import("cosmjs-types/cosmos/tx/v1beta1/tx").TxRaw>;
2366
- transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, }: GenericTransferParams) => Promise<string>;
3237
+ transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, sweep, }: GenericTransferParams) => Promise<string>;
2367
3238
  validateAddress: (address: string) => boolean;
2368
3239
  verifySignature: ({ signature, message, address, }: {
2369
3240
  signature: string;
@@ -2389,7 +3260,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2389
3260
  publicKey: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
2390
3261
  };
2391
3262
  createReplacementTransaction: ({ txid, newFeeRate, recipient, memo, }: import("@swapkit/toolboxes/utxo/types").RBFTransactionParams) => Promise<import("@swapkit/toolboxes/utxo/toolbox/utxo").ReplacementTransactionResult>;
2392
- createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, enableRBF, }: import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams) => Promise<{
3263
+ createTransaction: ({ assetValue, recipient, memo, feeRate, sender, fetchTxHex, enableRBF, sweep, }: import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams) => Promise<{
2393
3264
  inputs: import("@swapkit/toolboxes/utxo/types").UTXOType[];
2394
3265
  tx: import("@swapkit/utxo-signer").Transaction;
2395
3266
  utxos: {
@@ -2413,11 +3284,12 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2413
3284
  pubkey: string;
2414
3285
  } | undefined;
2415
3286
  derivePrivateKeyAtIndex: ({ accountIndex, index, change }: import("@swapkit/toolboxes").DeriveAddressParams) => Uint8Array<ArrayBufferLike> | undefined;
2416
- estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
3287
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipient, recipients, }: {
2417
3288
  from: string;
2418
3289
  memo?: string;
2419
3290
  feeRate?: number;
2420
3291
  feeOptionKey?: FeeOption;
3292
+ recipient?: string;
2421
3293
  recipients?: number | import("@swapkit/toolboxes/utxo/types").TargetOutput[];
2422
3294
  }) => Promise<AssetValue>;
2423
3295
  estimateTransactionFee: (params: {
@@ -2447,7 +3319,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2447
3319
  fast: number;
2448
3320
  fastest: number;
2449
3321
  }>;
2450
- getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
3322
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, sweep, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
2451
3323
  feeOptionKey?: FeeOption;
2452
3324
  feeRate?: number;
2453
3325
  }) => Promise<{
@@ -2489,10 +3361,10 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2489
3361
  tx: InstanceType<typeof import("@swapkit/utxo-signer").Transaction>;
2490
3362
  inputDerivations: import("@swapkit/toolboxes/utxo/types").InputDerivation[];
2491
3363
  }) => import("@swapkit/utxo-signer").Transaction;
2492
- transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue, enableRBF, }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams & {
3364
+ transfer: ({ memo, recipient, feeOptionKey, feeRate, assetValue, enableRBF, sweep, }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams & {
2493
3365
  enableRBF?: boolean;
2494
3366
  }) => Promise<string>;
2495
- transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, }: {
3367
+ transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, sweep, }: {
2496
3368
  utxos: import("@swapkit/toolboxes").UTXOForMultiAddressTransfer[];
2497
3369
  recipient: string;
2498
3370
  assetValue: AssetValue;
@@ -2500,6 +3372,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2500
3372
  feeRate?: number;
2501
3373
  feeOptionKey?: FeeOption;
2502
3374
  changeAddress?: string;
3375
+ sweep?: boolean;
2503
3376
  }) => Promise<string>;
2504
3377
  validateAddress: (address: string) => boolean;
2505
3378
  };
@@ -2545,7 +3418,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2545
3418
  blockTag?: import("ethers").BlockTag;
2546
3419
  enableCcipRead?: boolean;
2547
3420
  }>;
2548
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3421
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3422
+ gasLimit: bigint;
3423
+ value: string;
3424
+ data: string;
3425
+ from: string;
3426
+ to: string;
3427
+ maxFeePerGas: bigint;
3428
+ maxPriorityFeePerGas: bigint;
3429
+ gasPrice?: undefined;
3430
+ type?: number | undefined;
3431
+ nonce?: number | undefined;
3432
+ } | {
3433
+ gasLimit: bigint;
3434
+ value: string;
3435
+ data: string;
3436
+ from: string;
3437
+ to: string;
3438
+ gasPrice: bigint;
3439
+ maxFeePerGas?: undefined;
3440
+ maxPriorityFeePerGas?: undefined;
3441
+ type?: number | undefined;
3442
+ nonce?: number | undefined;
3443
+ } | {
2549
3444
  value: string;
2550
3445
  to: string;
2551
3446
  data: string;
@@ -2563,7 +3458,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2563
3458
  blockTag?: import("ethers").BlockTag;
2564
3459
  enableCcipRead?: boolean;
2565
3460
  }>;
2566
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3461
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3462
+ gasLimit: bigint;
3463
+ value: string;
3464
+ data: string;
3465
+ from: string;
3466
+ to: string;
3467
+ maxFeePerGas: bigint;
3468
+ maxPriorityFeePerGas: bigint;
3469
+ gasPrice?: undefined;
3470
+ type?: number | undefined;
3471
+ nonce?: number | undefined;
3472
+ } | {
3473
+ gasLimit: bigint;
3474
+ value: string;
3475
+ data: string;
3476
+ from: string;
3477
+ to: string;
3478
+ gasPrice: bigint;
3479
+ maxFeePerGas?: undefined;
3480
+ maxPriorityFeePerGas?: undefined;
3481
+ type?: number | undefined;
3482
+ nonce?: number | undefined;
3483
+ } | {
2567
3484
  value: string;
2568
3485
  to: string;
2569
3486
  data: string;
@@ -2590,12 +3507,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2590
3507
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
2591
3508
  data?: string;
2592
3509
  }) => Promise<bigint>;
2593
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
2594
- l1GasPrice?: bigint;
2595
- gasPrice?: bigint;
2596
- maxFeePerGas?: bigint;
2597
- maxPriorityFeePerGas?: bigint;
2598
- }; }>;
3510
+ estimateGasPrices: () => Promise<{
3511
+ average: {
3512
+ gasPrice?: bigint;
3513
+ l1GasPrice?: bigint;
3514
+ maxFeePerGas?: bigint;
3515
+ maxPriorityFeePerGas?: bigint;
3516
+ };
3517
+ fast: {
3518
+ gasPrice?: bigint;
3519
+ l1GasPrice?: bigint;
3520
+ maxFeePerGas?: bigint;
3521
+ maxPriorityFeePerGas?: bigint;
3522
+ };
3523
+ fastest: {
3524
+ gasPrice?: bigint;
3525
+ l1GasPrice?: bigint;
3526
+ maxFeePerGas?: bigint;
3527
+ maxPriorityFeePerGas?: bigint;
3528
+ };
3529
+ }>;
2599
3530
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
2600
3531
  feeOption: FeeOption;
2601
3532
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -2603,8 +3534,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2603
3534
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
2604
3535
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
2605
3536
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
2606
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3537
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
2607
3538
  feeOptionKey?: FeeOption;
3539
+ sweep?: boolean;
2608
3540
  }) => Promise<string>;
2609
3541
  signAuthorization: ((params: {
2610
3542
  address: string;
@@ -2613,7 +3545,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2613
3545
  }) => Promise<import("ethers").Authorization>) | undefined;
2614
3546
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
2615
3547
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
2616
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3548
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
2617
3549
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
2618
3550
  };
2619
3551
  MAYA: ChainWallet<Chain.Maya> & import("@swapkit/toolboxes/cosmos").ThorchainWallet;
@@ -2659,7 +3591,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2659
3591
  blockTag?: import("ethers").BlockTag;
2660
3592
  enableCcipRead?: boolean;
2661
3593
  }>;
2662
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3594
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3595
+ gasLimit: bigint;
3596
+ value: string;
3597
+ data: string;
3598
+ from: string;
3599
+ to: string;
3600
+ maxFeePerGas: bigint;
3601
+ maxPriorityFeePerGas: bigint;
3602
+ gasPrice?: undefined;
3603
+ type?: number | undefined;
3604
+ nonce?: number | undefined;
3605
+ } | {
3606
+ gasLimit: bigint;
3607
+ value: string;
3608
+ data: string;
3609
+ from: string;
3610
+ to: string;
3611
+ gasPrice: bigint;
3612
+ maxFeePerGas?: undefined;
3613
+ maxPriorityFeePerGas?: undefined;
3614
+ type?: number | undefined;
3615
+ nonce?: number | undefined;
3616
+ } | {
2663
3617
  value: string;
2664
3618
  to: string;
2665
3619
  data: string;
@@ -2677,7 +3631,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2677
3631
  blockTag?: import("ethers").BlockTag;
2678
3632
  enableCcipRead?: boolean;
2679
3633
  }>;
2680
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3634
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3635
+ gasLimit: bigint;
3636
+ value: string;
3637
+ data: string;
3638
+ from: string;
3639
+ to: string;
3640
+ maxFeePerGas: bigint;
3641
+ maxPriorityFeePerGas: bigint;
3642
+ gasPrice?: undefined;
3643
+ type?: number | undefined;
3644
+ nonce?: number | undefined;
3645
+ } | {
3646
+ gasLimit: bigint;
3647
+ value: string;
3648
+ data: string;
3649
+ from: string;
3650
+ to: string;
3651
+ gasPrice: bigint;
3652
+ maxFeePerGas?: undefined;
3653
+ maxPriorityFeePerGas?: undefined;
3654
+ type?: number | undefined;
3655
+ nonce?: number | undefined;
3656
+ } | {
2681
3657
  value: string;
2682
3658
  to: string;
2683
3659
  data: string;
@@ -2704,12 +3680,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2704
3680
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
2705
3681
  data?: string;
2706
3682
  }) => Promise<bigint>;
2707
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
2708
- l1GasPrice?: bigint;
2709
- gasPrice?: bigint;
2710
- maxFeePerGas?: bigint;
2711
- maxPriorityFeePerGas?: bigint;
2712
- }; }>;
3683
+ estimateGasPrices: () => Promise<{
3684
+ average: {
3685
+ gasPrice?: bigint;
3686
+ l1GasPrice?: bigint;
3687
+ maxFeePerGas?: bigint;
3688
+ maxPriorityFeePerGas?: bigint;
3689
+ };
3690
+ fast: {
3691
+ gasPrice?: bigint;
3692
+ l1GasPrice?: bigint;
3693
+ maxFeePerGas?: bigint;
3694
+ maxPriorityFeePerGas?: bigint;
3695
+ };
3696
+ fastest: {
3697
+ gasPrice?: bigint;
3698
+ l1GasPrice?: bigint;
3699
+ maxFeePerGas?: bigint;
3700
+ maxPriorityFeePerGas?: bigint;
3701
+ };
3702
+ }>;
2713
3703
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
2714
3704
  feeOption: FeeOption;
2715
3705
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -2717,8 +3707,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2717
3707
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
2718
3708
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
2719
3709
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
2720
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3710
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
2721
3711
  feeOptionKey?: FeeOption;
3712
+ sweep?: boolean;
2722
3713
  }) => Promise<string>;
2723
3714
  signAuthorization: ((params: {
2724
3715
  address: string;
@@ -2727,7 +3718,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2727
3718
  }) => Promise<import("ethers").Authorization>) | undefined;
2728
3719
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
2729
3720
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
2730
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3721
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
2731
3722
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
2732
3723
  };
2733
3724
  MONAD: ChainWallet<Chain.Monad> & {
@@ -2772,7 +3763,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2772
3763
  blockTag?: import("ethers").BlockTag;
2773
3764
  enableCcipRead?: boolean;
2774
3765
  }>;
2775
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3766
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3767
+ gasLimit: bigint;
3768
+ value: string;
3769
+ data: string;
3770
+ from: string;
3771
+ to: string;
3772
+ maxFeePerGas: bigint;
3773
+ maxPriorityFeePerGas: bigint;
3774
+ gasPrice?: undefined;
3775
+ type?: number | undefined;
3776
+ nonce?: number | undefined;
3777
+ } | {
3778
+ gasLimit: bigint;
3779
+ value: string;
3780
+ data: string;
3781
+ from: string;
3782
+ to: string;
3783
+ gasPrice: bigint;
3784
+ maxFeePerGas?: undefined;
3785
+ maxPriorityFeePerGas?: undefined;
3786
+ type?: number | undefined;
3787
+ nonce?: number | undefined;
3788
+ } | {
2776
3789
  value: string;
2777
3790
  to: string;
2778
3791
  data: string;
@@ -2790,7 +3803,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2790
3803
  blockTag?: import("ethers").BlockTag;
2791
3804
  enableCcipRead?: boolean;
2792
3805
  }>;
2793
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3806
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
3807
+ gasLimit: bigint;
3808
+ value: string;
3809
+ data: string;
3810
+ from: string;
3811
+ to: string;
3812
+ maxFeePerGas: bigint;
3813
+ maxPriorityFeePerGas: bigint;
3814
+ gasPrice?: undefined;
3815
+ type?: number | undefined;
3816
+ nonce?: number | undefined;
3817
+ } | {
3818
+ gasLimit: bigint;
3819
+ value: string;
3820
+ data: string;
3821
+ from: string;
3822
+ to: string;
3823
+ gasPrice: bigint;
3824
+ maxFeePerGas?: undefined;
3825
+ maxPriorityFeePerGas?: undefined;
3826
+ type?: number | undefined;
3827
+ nonce?: number | undefined;
3828
+ } | {
2794
3829
  value: string;
2795
3830
  to: string;
2796
3831
  data: string;
@@ -2817,12 +3852,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2817
3852
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
2818
3853
  data?: string;
2819
3854
  }) => Promise<bigint>;
2820
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
2821
- l1GasPrice?: bigint;
2822
- gasPrice?: bigint;
2823
- maxFeePerGas?: bigint;
2824
- maxPriorityFeePerGas?: bigint;
2825
- }; }>;
3855
+ estimateGasPrices: () => Promise<{
3856
+ average: {
3857
+ gasPrice?: bigint;
3858
+ l1GasPrice?: bigint;
3859
+ maxFeePerGas?: bigint;
3860
+ maxPriorityFeePerGas?: bigint;
3861
+ };
3862
+ fast: {
3863
+ gasPrice?: bigint;
3864
+ l1GasPrice?: bigint;
3865
+ maxFeePerGas?: bigint;
3866
+ maxPriorityFeePerGas?: bigint;
3867
+ };
3868
+ fastest: {
3869
+ gasPrice?: bigint;
3870
+ l1GasPrice?: bigint;
3871
+ maxFeePerGas?: bigint;
3872
+ maxPriorityFeePerGas?: bigint;
3873
+ };
3874
+ }>;
2826
3875
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
2827
3876
  feeOption: FeeOption;
2828
3877
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -2830,8 +3879,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2830
3879
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
2831
3880
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
2832
3881
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
2833
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3882
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
2834
3883
  feeOptionKey?: FeeOption;
3884
+ sweep?: boolean;
2835
3885
  }) => Promise<string>;
2836
3886
  signAuthorization: ((params: {
2837
3887
  address: string;
@@ -2840,7 +3890,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2840
3890
  }) => Promise<import("ethers").Authorization>) | undefined;
2841
3891
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
2842
3892
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
2843
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3893
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
2844
3894
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
2845
3895
  };
2846
3896
  NEAR: ChainWallet<Chain.Near> & {
@@ -2850,10 +3900,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2850
3900
  createContract: <T_1 extends import("@near-js/accounts").Contract = import("@near-js/accounts").Contract>(contractInterface: import("@swapkit/toolboxes/near/types").NearContractInterface) => Promise<T_1>;
2851
3901
  createContractFunctionCall: ({ args, attachedDeposit, contractId, gas, methodName, sender: accountId, }: import("@swapkit/toolboxes/near/types").ContractFunctionCallParams) => Promise<import("@near-js/transactions").Transaction>;
2852
3902
  createSubAccount: (subAccountId: string, publicKey: string, initialBalance: string) => Promise<string>;
2853
- createTransaction: ({ recipient, assetValue, memo, attachedDeposit, sender, functionCall, }: import("@swapkit/toolboxes/near/types").NearCreateTransactionParams) => Promise<import("@near-js/transactions").Transaction>;
3903
+ createTransaction: ({ recipient, assetValue, memo, attachedDeposit, sender, functionCall, sweep, }: import("@swapkit/toolboxes/near/types").NearCreateTransactionParams) => Promise<import("@near-js/transactions").Transaction>;
2854
3904
  estimateGas: (params: import("@swapkit/toolboxes/near/types").NearGasEstimateParams, account?: import("@near-js/accounts").Account) => Promise<AssetValue>;
2855
3905
  estimateGasLimit: (params: import("@swapkit/toolboxes/near/types").NearGasEstimateParams, account?: import("@near-js/accounts").Account) => Promise<AssetValue>;
2856
- estimateTransactionFee: (params: import("@swapkit/toolboxes/near/types").NearTransferParams | import("@swapkit/toolboxes/near/types").NearGasEstimateParams) => Promise<AssetValue>;
3906
+ estimateTransactionFee: (params: import("@swapkit/toolboxes/near/types").NearTransferParams | import("@swapkit/toolboxes/near/types").NearGasEstimateParams, protocolConfigParam?: {
3907
+ runtime_config: {
3908
+ storage_amount_per_byte: string;
3909
+ transaction_costs: {
3910
+ action_creation_config: {
3911
+ transfer_cost: {
3912
+ execution: string;
3913
+ send_sir: string;
3914
+ };
3915
+ };
3916
+ action_receipt_creation_config: {
3917
+ execution: string;
3918
+ send_sir: string;
3919
+ };
3920
+ };
3921
+ };
3922
+ }) => Promise<AssetValue>;
2857
3923
  executeBatchTransaction: (batch: import("@swapkit/toolboxes/near/types").BatchTransaction) => Promise<string>;
2858
3924
  getAddress: () => Promise<string>;
2859
3925
  getBalance: (address: string, scamFilter?: boolean) => Promise<AssetValue[]>;
@@ -2892,7 +3958,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2892
3958
  getSignerFromPrivateKey: (privateKey: Uint8Array) => Promise<import("@cosmjs/proto-signing/build").DirectSecp256k1Wallet>;
2893
3959
  signAndBroadcastTransaction: (transaction: import("@swapkit/helpers").CosmosTransaction) => Promise<string>;
2894
3960
  signTransaction: (transaction: import("@swapkit/helpers").CosmosTransaction) => Promise<import("cosmjs-types/cosmos/tx/v1beta1/tx").TxRaw>;
2895
- transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, }: GenericTransferParams) => Promise<string>;
3961
+ transfer: ({ recipient, assetValue, memo, feeRate, feeOptionKey, sweep, }: GenericTransferParams) => Promise<string>;
2896
3962
  validateAddress: (address: string) => boolean;
2897
3963
  verifySignature: ({ signature, message, address, }: {
2898
3964
  signature: string;
@@ -2901,30 +3967,11 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2901
3967
  }) => Promise<boolean>;
2902
3968
  };
2903
3969
  OP: ChainWallet<Chain.Optimism> & {
2904
- estimateGasPrices: () => Promise<{
2905
- average: {
2906
- l1GasPrice?: bigint;
2907
- gasPrice?: bigint;
2908
- maxFeePerGas?: bigint;
2909
- maxPriorityFeePerGas?: bigint;
2910
- };
2911
- fast: {
2912
- l1GasPrice?: bigint;
2913
- gasPrice?: bigint;
2914
- maxFeePerGas?: bigint;
2915
- maxPriorityFeePerGas?: bigint;
2916
- };
2917
- fastest: {
2918
- l1GasPrice?: bigint;
2919
- gasPrice?: bigint;
2920
- maxFeePerGas?: bigint;
2921
- maxPriorityFeePerGas?: bigint;
2922
- };
2923
- }>;
2924
3970
  estimateL1Gas: (tx: import("ethers").TransactionRequest) => Promise<any>;
2925
- estimateL1GasCost: (tx: import("ethers").TransactionRequest) => Promise<any>;
3971
+ estimateL1GasCost: (tx: import("ethers").TransactionRequest) => Promise<bigint | undefined>;
2926
3972
  estimateL2GasCost: (tx: import("ethers").TransactionRequest) => Promise<bigint>;
2927
- estimateTotalGasCost: (tx: import("ethers").TransactionRequest) => Promise<any>;
3973
+ estimateOperatorFee: (gasLimit: bigint) => Promise<bigint>;
3974
+ estimateTotalGasCost: (tx: import("ethers").TransactionRequest) => Promise<bigint>;
2928
3975
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
2929
3976
  getL1GasPrice: () => Promise<bigint | undefined>;
2930
3977
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@swapkit/toolboxes/evm").ApproveParams) => Promise<string>;
@@ -2968,7 +4015,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2968
4015
  blockTag?: import("ethers").BlockTag;
2969
4016
  enableCcipRead?: boolean;
2970
4017
  }>;
2971
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4018
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4019
+ gasLimit: bigint;
4020
+ value: string;
4021
+ data: string;
4022
+ from: string;
4023
+ to: string;
4024
+ maxFeePerGas: bigint;
4025
+ maxPriorityFeePerGas: bigint;
4026
+ gasPrice?: undefined;
4027
+ type?: number | undefined;
4028
+ nonce?: number | undefined;
4029
+ } | {
4030
+ gasLimit: bigint;
4031
+ value: string;
4032
+ data: string;
4033
+ from: string;
4034
+ to: string;
4035
+ gasPrice: bigint;
4036
+ maxFeePerGas?: undefined;
4037
+ maxPriorityFeePerGas?: undefined;
4038
+ type?: number | undefined;
4039
+ nonce?: number | undefined;
4040
+ } | {
2972
4041
  value: string;
2973
4042
  to: string;
2974
4043
  data: string;
@@ -2986,7 +4055,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
2986
4055
  blockTag?: import("ethers").BlockTag;
2987
4056
  enableCcipRead?: boolean;
2988
4057
  }>;
2989
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4058
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4059
+ gasLimit: bigint;
4060
+ value: string;
4061
+ data: string;
4062
+ from: string;
4063
+ to: string;
4064
+ maxFeePerGas: bigint;
4065
+ maxPriorityFeePerGas: bigint;
4066
+ gasPrice?: undefined;
4067
+ type?: number | undefined;
4068
+ nonce?: number | undefined;
4069
+ } | {
4070
+ gasLimit: bigint;
4071
+ value: string;
4072
+ data: string;
4073
+ from: string;
4074
+ to: string;
4075
+ gasPrice: bigint;
4076
+ maxFeePerGas?: undefined;
4077
+ maxPriorityFeePerGas?: undefined;
4078
+ type?: number | undefined;
4079
+ nonce?: number | undefined;
4080
+ } | {
2990
4081
  value: string;
2991
4082
  to: string;
2992
4083
  data: string;
@@ -3013,14 +4104,35 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3013
4104
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
3014
4105
  data?: string;
3015
4106
  }) => Promise<bigint>;
4107
+ estimateGasPrices: () => Promise<{
4108
+ average: {
4109
+ gasPrice?: bigint;
4110
+ l1GasPrice?: bigint;
4111
+ maxFeePerGas?: bigint;
4112
+ maxPriorityFeePerGas?: bigint;
4113
+ };
4114
+ fast: {
4115
+ gasPrice?: bigint;
4116
+ l1GasPrice?: bigint;
4117
+ maxFeePerGas?: bigint;
4118
+ maxPriorityFeePerGas?: bigint;
4119
+ };
4120
+ fastest: {
4121
+ gasPrice?: bigint;
4122
+ l1GasPrice?: bigint;
4123
+ maxFeePerGas?: bigint;
4124
+ maxPriorityFeePerGas?: bigint;
4125
+ };
4126
+ }>;
3016
4127
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
3017
4128
  feeOption: FeeOption;
3018
4129
  }) => Promise<import("@swapkit/helpers").AssetValue>;
3019
4130
  getAddress: () => string | Promise<string> | undefined;
3020
4131
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
3021
4132
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
3022
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
4133
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3023
4134
  feeOptionKey?: FeeOption;
4135
+ sweep?: boolean;
3024
4136
  }) => Promise<string>;
3025
4137
  signAuthorization: ((params: {
3026
4138
  address: string;
@@ -3029,7 +4141,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3029
4141
  }) => Promise<import("ethers").Authorization>) | undefined;
3030
4142
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
3031
4143
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
3032
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
4144
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3033
4145
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
3034
4146
  };
3035
4147
  XPL: ChainWallet<Chain.Plasma> & {
@@ -3074,7 +4186,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3074
4186
  blockTag?: import("ethers").BlockTag;
3075
4187
  enableCcipRead?: boolean;
3076
4188
  }>;
3077
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4189
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4190
+ gasLimit: bigint;
4191
+ value: string;
4192
+ data: string;
4193
+ from: string;
4194
+ to: string;
4195
+ maxFeePerGas: bigint;
4196
+ maxPriorityFeePerGas: bigint;
4197
+ gasPrice?: undefined;
4198
+ type?: number | undefined;
4199
+ nonce?: number | undefined;
4200
+ } | {
4201
+ gasLimit: bigint;
4202
+ value: string;
4203
+ data: string;
4204
+ from: string;
4205
+ to: string;
4206
+ gasPrice: bigint;
4207
+ maxFeePerGas?: undefined;
4208
+ maxPriorityFeePerGas?: undefined;
4209
+ type?: number | undefined;
4210
+ nonce?: number | undefined;
4211
+ } | {
3078
4212
  value: string;
3079
4213
  to: string;
3080
4214
  data: string;
@@ -3092,7 +4226,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3092
4226
  blockTag?: import("ethers").BlockTag;
3093
4227
  enableCcipRead?: boolean;
3094
4228
  }>;
3095
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4229
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4230
+ gasLimit: bigint;
4231
+ value: string;
4232
+ data: string;
4233
+ from: string;
4234
+ to: string;
4235
+ maxFeePerGas: bigint;
4236
+ maxPriorityFeePerGas: bigint;
4237
+ gasPrice?: undefined;
4238
+ type?: number | undefined;
4239
+ nonce?: number | undefined;
4240
+ } | {
4241
+ gasLimit: bigint;
4242
+ value: string;
4243
+ data: string;
4244
+ from: string;
4245
+ to: string;
4246
+ gasPrice: bigint;
4247
+ maxFeePerGas?: undefined;
4248
+ maxPriorityFeePerGas?: undefined;
4249
+ type?: number | undefined;
4250
+ nonce?: number | undefined;
4251
+ } | {
3096
4252
  value: string;
3097
4253
  to: string;
3098
4254
  data: string;
@@ -3119,12 +4275,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3119
4275
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
3120
4276
  data?: string;
3121
4277
  }) => Promise<bigint>;
3122
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
3123
- l1GasPrice?: bigint;
3124
- gasPrice?: bigint;
3125
- maxFeePerGas?: bigint;
3126
- maxPriorityFeePerGas?: bigint;
3127
- }; }>;
4278
+ estimateGasPrices: () => Promise<{
4279
+ average: {
4280
+ gasPrice?: bigint;
4281
+ l1GasPrice?: bigint;
4282
+ maxFeePerGas?: bigint;
4283
+ maxPriorityFeePerGas?: bigint;
4284
+ };
4285
+ fast: {
4286
+ gasPrice?: bigint;
4287
+ l1GasPrice?: bigint;
4288
+ maxFeePerGas?: bigint;
4289
+ maxPriorityFeePerGas?: bigint;
4290
+ };
4291
+ fastest: {
4292
+ gasPrice?: bigint;
4293
+ l1GasPrice?: bigint;
4294
+ maxFeePerGas?: bigint;
4295
+ maxPriorityFeePerGas?: bigint;
4296
+ };
4297
+ }>;
3128
4298
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
3129
4299
  feeOption: FeeOption;
3130
4300
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -3132,8 +4302,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3132
4302
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
3133
4303
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
3134
4304
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
3135
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
4305
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3136
4306
  feeOptionKey?: FeeOption;
4307
+ sweep?: boolean;
3137
4308
  }) => Promise<string>;
3138
4309
  signAuthorization: ((params: {
3139
4310
  address: string;
@@ -3142,7 +4313,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3142
4313
  }) => Promise<import("ethers").Authorization>) | undefined;
3143
4314
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
3144
4315
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
3145
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
4316
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3146
4317
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
3147
4318
  };
3148
4319
  DOT: ChainWallet<Chain.Polkadot> & {
@@ -3209,7 +4380,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3209
4380
  blockTag?: import("ethers").BlockTag;
3210
4381
  enableCcipRead?: boolean;
3211
4382
  }>;
3212
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4383
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4384
+ gasLimit: bigint;
4385
+ value: string;
4386
+ data: string;
4387
+ from: string;
4388
+ to: string;
4389
+ maxFeePerGas: bigint;
4390
+ maxPriorityFeePerGas: bigint;
4391
+ gasPrice?: undefined;
4392
+ type?: number | undefined;
4393
+ nonce?: number | undefined;
4394
+ } | {
4395
+ gasLimit: bigint;
4396
+ value: string;
4397
+ data: string;
4398
+ from: string;
4399
+ to: string;
4400
+ gasPrice: bigint;
4401
+ maxFeePerGas?: undefined;
4402
+ maxPriorityFeePerGas?: undefined;
4403
+ type?: number | undefined;
4404
+ nonce?: number | undefined;
4405
+ } | {
3213
4406
  value: string;
3214
4407
  to: string;
3215
4408
  data: string;
@@ -3227,7 +4420,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3227
4420
  blockTag?: import("ethers").BlockTag;
3228
4421
  enableCcipRead?: boolean;
3229
4422
  }>;
3230
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4423
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4424
+ gasLimit: bigint;
4425
+ value: string;
4426
+ data: string;
4427
+ from: string;
4428
+ to: string;
4429
+ maxFeePerGas: bigint;
4430
+ maxPriorityFeePerGas: bigint;
4431
+ gasPrice?: undefined;
4432
+ type?: number | undefined;
4433
+ nonce?: number | undefined;
4434
+ } | {
4435
+ gasLimit: bigint;
4436
+ value: string;
4437
+ data: string;
4438
+ from: string;
4439
+ to: string;
4440
+ gasPrice: bigint;
4441
+ maxFeePerGas?: undefined;
4442
+ maxPriorityFeePerGas?: undefined;
4443
+ type?: number | undefined;
4444
+ nonce?: number | undefined;
4445
+ } | {
3231
4446
  value: string;
3232
4447
  to: string;
3233
4448
  data: string;
@@ -3254,12 +4469,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3254
4469
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
3255
4470
  data?: string;
3256
4471
  }) => Promise<bigint>;
3257
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
3258
- l1GasPrice?: bigint;
3259
- gasPrice?: bigint;
3260
- maxFeePerGas?: bigint;
3261
- maxPriorityFeePerGas?: bigint;
3262
- }; }>;
4472
+ estimateGasPrices: () => Promise<{
4473
+ average: {
4474
+ gasPrice?: bigint;
4475
+ l1GasPrice?: bigint;
4476
+ maxFeePerGas?: bigint;
4477
+ maxPriorityFeePerGas?: bigint;
4478
+ };
4479
+ fast: {
4480
+ gasPrice?: bigint;
4481
+ l1GasPrice?: bigint;
4482
+ maxFeePerGas?: bigint;
4483
+ maxPriorityFeePerGas?: bigint;
4484
+ };
4485
+ fastest: {
4486
+ gasPrice?: bigint;
4487
+ l1GasPrice?: bigint;
4488
+ maxFeePerGas?: bigint;
4489
+ maxPriorityFeePerGas?: bigint;
4490
+ };
4491
+ }>;
3263
4492
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
3264
4493
  feeOption: FeeOption;
3265
4494
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -3267,8 +4496,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3267
4496
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
3268
4497
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
3269
4498
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
3270
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
4499
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3271
4500
  feeOptionKey?: FeeOption;
4501
+ sweep?: boolean;
3272
4502
  }) => Promise<string>;
3273
4503
  signAuthorization: ((params: {
3274
4504
  address: string;
@@ -3277,7 +4507,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3277
4507
  }) => Promise<import("ethers").Authorization>) | undefined;
3278
4508
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
3279
4509
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
3280
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
4510
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3281
4511
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
3282
4512
  };
3283
4513
  XRD: ChainWallet<Chain.Radix> & {
@@ -3293,11 +4523,12 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3293
4523
  tx_blob: string;
3294
4524
  hash: string;
3295
4525
  }>;
3296
- createTransaction: ({ assetValue, recipient, memo, sender, destinationTag, extendBySeconds, }: {
4526
+ createTransaction: ({ assetValue, recipient, memo, sender, sweep, destinationTag, extendBySeconds, }: {
3297
4527
  assetValue: AssetValue;
3298
4528
  recipient: string;
3299
4529
  sender?: string;
3300
4530
  memo?: string;
4531
+ sweep?: boolean;
3301
4532
  destinationTag?: number;
3302
4533
  extendBySeconds?: number;
3303
4534
  }) => Promise<import("xrpl").Payment>;
@@ -3318,7 +4549,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3318
4549
  tx_blob: string;
3319
4550
  hash: string;
3320
4551
  }>;
3321
- transfer: (params: GenericTransferParams) => Promise<string>;
4552
+ transfer: ({ assetValue, memo, recipient, sweep }: GenericTransferParams) => Promise<string>;
3322
4553
  validateAddress: typeof import("@swapkit/toolboxes/ripple/index").validateRippleAddress;
3323
4554
  };
3324
4555
  HOOD: ChainWallet<Chain.Robinhood> & {
@@ -3363,7 +4594,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3363
4594
  blockTag?: import("ethers").BlockTag;
3364
4595
  enableCcipRead?: boolean;
3365
4596
  }>;
3366
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4597
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4598
+ gasLimit: bigint;
4599
+ value: string;
4600
+ data: string;
4601
+ from: string;
4602
+ to: string;
4603
+ maxFeePerGas: bigint;
4604
+ maxPriorityFeePerGas: bigint;
4605
+ gasPrice?: undefined;
4606
+ type?: number | undefined;
4607
+ nonce?: number | undefined;
4608
+ } | {
4609
+ gasLimit: bigint;
4610
+ value: string;
4611
+ data: string;
4612
+ from: string;
4613
+ to: string;
4614
+ gasPrice: bigint;
4615
+ maxFeePerGas?: undefined;
4616
+ maxPriorityFeePerGas?: undefined;
4617
+ type?: number | undefined;
4618
+ nonce?: number | undefined;
4619
+ } | {
3367
4620
  value: string;
3368
4621
  to: string;
3369
4622
  data: string;
@@ -3381,7 +4634,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3381
4634
  blockTag?: import("ethers").BlockTag;
3382
4635
  enableCcipRead?: boolean;
3383
4636
  }>;
3384
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4637
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4638
+ gasLimit: bigint;
4639
+ value: string;
4640
+ data: string;
4641
+ from: string;
4642
+ to: string;
4643
+ maxFeePerGas: bigint;
4644
+ maxPriorityFeePerGas: bigint;
4645
+ gasPrice?: undefined;
4646
+ type?: number | undefined;
4647
+ nonce?: number | undefined;
4648
+ } | {
4649
+ gasLimit: bigint;
4650
+ value: string;
4651
+ data: string;
4652
+ from: string;
4653
+ to: string;
4654
+ gasPrice: bigint;
4655
+ maxFeePerGas?: undefined;
4656
+ maxPriorityFeePerGas?: undefined;
4657
+ type?: number | undefined;
4658
+ nonce?: number | undefined;
4659
+ } | {
3385
4660
  value: string;
3386
4661
  to: string;
3387
4662
  data: string;
@@ -3408,12 +4683,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3408
4683
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
3409
4684
  data?: string;
3410
4685
  }) => Promise<bigint>;
3411
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
3412
- l1GasPrice?: bigint;
3413
- gasPrice?: bigint;
3414
- maxFeePerGas?: bigint;
3415
- maxPriorityFeePerGas?: bigint;
3416
- }; }>;
4686
+ estimateGasPrices: () => Promise<{
4687
+ average: {
4688
+ gasPrice?: bigint;
4689
+ l1GasPrice?: bigint;
4690
+ maxFeePerGas?: bigint;
4691
+ maxPriorityFeePerGas?: bigint;
4692
+ };
4693
+ fast: {
4694
+ gasPrice?: bigint;
4695
+ l1GasPrice?: bigint;
4696
+ maxFeePerGas?: bigint;
4697
+ maxPriorityFeePerGas?: bigint;
4698
+ };
4699
+ fastest: {
4700
+ gasPrice?: bigint;
4701
+ l1GasPrice?: bigint;
4702
+ maxFeePerGas?: bigint;
4703
+ maxPriorityFeePerGas?: bigint;
4704
+ };
4705
+ }>;
3417
4706
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
3418
4707
  feeOption: FeeOption;
3419
4708
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -3421,8 +4710,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3421
4710
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
3422
4711
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
3423
4712
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
3424
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
4713
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3425
4714
  feeOptionKey?: FeeOption;
4715
+ sweep?: boolean;
3426
4716
  }) => Promise<string>;
3427
4717
  signAuthorization: ((params: {
3428
4718
  address: string;
@@ -3431,13 +4721,13 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3431
4721
  }) => Promise<import("ethers").Authorization>) | undefined;
3432
4722
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
3433
4723
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
3434
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
4724
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3435
4725
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
3436
4726
  };
3437
4727
  SOL: ChainWallet<Chain.Solana> & {
3438
4728
  broadcastTransaction: (transaction: import("@solana/web3.js/lib").Transaction | import("@solana/web3.js/lib").VersionedTransaction) => Promise<string>;
3439
4729
  createKeysForPath: typeof import("@swapkit/toolboxes/solana/toolbox").createKeysForPath;
3440
- createTransaction: ({ recipient, assetValue, memo, isProgramDerivedAddress, sender }: import("@swapkit/toolboxes/solana/index").SolanaCreateTransactionParams) => Promise<import("@solana/web3.js/lib").Transaction>;
4730
+ createTransaction: ({ recipient, assetValue, memo, isProgramDerivedAddress, sender, sweep, }: import("@swapkit/toolboxes/solana/index").SolanaCreateTransactionParams) => Promise<import("@solana/web3.js/lib").Transaction>;
3441
4731
  createTransactionFromInstructions: ({ instructions, }: {
3442
4732
  instructions: import("@solana/web3.js/lib").TransactionInstruction[];
3443
4733
  isProgramDerivedAddress?: boolean;
@@ -3453,7 +4743,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3453
4743
  getPubkeyFromAddress: (address: string) => import("@solana/web3.js/lib").PublicKey;
3454
4744
  signAndBroadcastTransaction: (transaction: import("@solana/web3.js/lib").Transaction | import("@solana/web3.js/lib").VersionedTransaction) => Promise<string>;
3455
4745
  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>;
3456
- transfer: ({ recipient, assetValue, memo, isProgramDerivedAddress }: import("@swapkit/toolboxes/solana/index").SolanaTransferParams) => Promise<string>;
4746
+ transfer: ({ recipient, assetValue, memo, isProgramDerivedAddress, sweep }: import("@swapkit/toolboxes/solana/index").SolanaTransferParams) => Promise<string>;
3457
4747
  validateAddress: typeof import("@swapkit/toolboxes/solana/toolbox").validateSolanaAddress;
3458
4748
  };
3459
4749
  SONIC: ChainWallet<Chain.Sonic> & {
@@ -3498,7 +4788,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3498
4788
  blockTag?: import("ethers").BlockTag;
3499
4789
  enableCcipRead?: boolean;
3500
4790
  }>;
3501
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4791
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4792
+ gasLimit: bigint;
4793
+ value: string;
4794
+ data: string;
4795
+ from: string;
4796
+ to: string;
4797
+ maxFeePerGas: bigint;
4798
+ maxPriorityFeePerGas: bigint;
4799
+ gasPrice?: undefined;
4800
+ type?: number | undefined;
4801
+ nonce?: number | undefined;
4802
+ } | {
4803
+ gasLimit: bigint;
4804
+ value: string;
4805
+ data: string;
4806
+ from: string;
4807
+ to: string;
4808
+ gasPrice: bigint;
4809
+ maxFeePerGas?: undefined;
4810
+ maxPriorityFeePerGas?: undefined;
4811
+ type?: number | undefined;
4812
+ nonce?: number | undefined;
4813
+ } | {
3502
4814
  value: string;
3503
4815
  to: string;
3504
4816
  data: string;
@@ -3516,7 +4828,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3516
4828
  blockTag?: import("ethers").BlockTag;
3517
4829
  enableCcipRead?: boolean;
3518
4830
  }>;
3519
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4831
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
4832
+ gasLimit: bigint;
4833
+ value: string;
4834
+ data: string;
4835
+ from: string;
4836
+ to: string;
4837
+ maxFeePerGas: bigint;
4838
+ maxPriorityFeePerGas: bigint;
4839
+ gasPrice?: undefined;
4840
+ type?: number | undefined;
4841
+ nonce?: number | undefined;
4842
+ } | {
4843
+ gasLimit: bigint;
4844
+ value: string;
4845
+ data: string;
4846
+ from: string;
4847
+ to: string;
4848
+ gasPrice: bigint;
4849
+ maxFeePerGas?: undefined;
4850
+ maxPriorityFeePerGas?: undefined;
4851
+ type?: number | undefined;
4852
+ nonce?: number | undefined;
4853
+ } | {
3520
4854
  value: string;
3521
4855
  to: string;
3522
4856
  data: string;
@@ -3543,12 +4877,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3543
4877
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
3544
4878
  data?: string;
3545
4879
  }) => Promise<bigint>;
3546
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
3547
- l1GasPrice?: bigint;
3548
- gasPrice?: bigint;
3549
- maxFeePerGas?: bigint;
3550
- maxPriorityFeePerGas?: bigint;
3551
- }; }>;
4880
+ estimateGasPrices: () => Promise<{
4881
+ average: {
4882
+ gasPrice?: bigint;
4883
+ l1GasPrice?: bigint;
4884
+ maxFeePerGas?: bigint;
4885
+ maxPriorityFeePerGas?: bigint;
4886
+ };
4887
+ fast: {
4888
+ gasPrice?: bigint;
4889
+ l1GasPrice?: bigint;
4890
+ maxFeePerGas?: bigint;
4891
+ maxPriorityFeePerGas?: bigint;
4892
+ };
4893
+ fastest: {
4894
+ gasPrice?: bigint;
4895
+ l1GasPrice?: bigint;
4896
+ maxFeePerGas?: bigint;
4897
+ maxPriorityFeePerGas?: bigint;
4898
+ };
4899
+ }>;
3552
4900
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
3553
4901
  feeOption: FeeOption;
3554
4902
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -3556,8 +4904,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3556
4904
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
3557
4905
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
3558
4906
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
3559
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
4907
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3560
4908
  feeOptionKey?: FeeOption;
4909
+ sweep?: boolean;
3561
4910
  }) => Promise<string>;
3562
4911
  signAuthorization: ((params: {
3563
4912
  address: string;
@@ -3566,7 +4915,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3566
4915
  }) => Promise<import("ethers").Authorization>) | undefined;
3567
4916
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
3568
4917
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
3569
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
4918
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3570
4919
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
3571
4920
  };
3572
4921
  SPARK: never;
@@ -3575,7 +4924,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3575
4924
  hash?: () => Buffer;
3576
4925
  toXDR: () => string;
3577
4926
  }) => Promise<string>;
3578
- createTransaction: ({ recipient, assetValue, memo, sender }: import("@swapkit/toolboxes/stellar/types").StellarCreateTransactionParams) => Promise<import("@stellar/stellar-sdk").Transaction<import("@stellar/stellar-sdk").Memo<import("@stellar/stellar-sdk").MemoType>, import("@stellar/stellar-sdk").Operation[]>>;
4927
+ createTransaction: ({ recipient, assetValue, memo, sender, sweep }: import("@swapkit/toolboxes/stellar/types").StellarCreateTransactionParams) => Promise<import("@stellar/stellar-sdk").Transaction<import("@stellar/stellar-sdk").Memo<import("@stellar/stellar-sdk").MemoType>, import("@stellar/stellar-sdk").Operation[]>>;
3579
4928
  createTrustline: ({ assetValue, limit }: import("@swapkit/toolboxes/stellar/types").StellarTrustlineParams) => Promise<string>;
3580
4929
  createTrustlineTransaction: ({ assetValue, limit, sender }: import("@swapkit/toolboxes/stellar/types").StellarCreateTrustlineTransactionParams) => Promise<import("@stellar/stellar-sdk").Transaction<import("@stellar/stellar-sdk").Memo<import("@stellar/stellar-sdk").MemoType>, import("@stellar/stellar-sdk").Operation[]>>;
3581
4930
  estimateTransactionFee: () => Promise<AssetValue>;
@@ -3587,13 +4936,13 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3587
4936
  signTransaction: (transaction: {
3588
4937
  toXDR: () => string;
3589
4938
  }) => Promise<import("@stellar/stellar-sdk").Transaction<import("@stellar/stellar-sdk").Memo<import("@stellar/stellar-sdk").MemoType>, import("@stellar/stellar-sdk").Operation[]> | import("@stellar/stellar-sdk").FeeBumpTransaction>;
3590
- transfer: ({ recipient, assetValue, memo }: import("@swapkit/toolboxes/stellar/types").StellarTransferParams) => Promise<string>;
4939
+ transfer: ({ recipient, assetValue, memo, sweep }: import("@swapkit/toolboxes/stellar/types").StellarTransferParams) => Promise<string>;
3591
4940
  validateAddress: typeof import("@swapkit/toolboxes/stellar/toolbox").validateStellarAddress;
3592
4941
  };
3593
4942
  STRK: ChainWallet<Chain.Starknet> & {
3594
4943
  broadcastTransaction: (calls: import("starknet").Call[]) => Promise<string>;
3595
4944
  createKeysForPath: typeof import("@swapkit/toolboxes/starknet/toolbox").createKeysForPath;
3596
- createTransaction: ({ recipient, assetValue }: import("@swapkit/toolboxes/starknet/types").StarknetCreateTransactionParams) => Promise<import("starknet").Call[]>;
4945
+ createTransaction: ({ recipient, assetValue, sender, sweep }: import("@swapkit/toolboxes/starknet/types").StarknetCreateTransactionParams) => Promise<import("starknet").Call[]>;
3597
4946
  deployAccount: () => Promise<string>;
3598
4947
  estimateTransactionFee: ({ recipient, assetValue, sender, }: import("@swapkit/toolboxes/starknet/types").StarknetTransferParams & {
3599
4948
  sender?: string;
@@ -3604,7 +4953,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3604
4953
  isAccountDeployed: (address?: string) => Promise<boolean>;
3605
4954
  signAndBroadcastTransaction: (calls: import("starknet").Call[]) => Promise<string>;
3606
4955
  signMessage: (typedData: import("starknet").TypedData) => Promise<string[]>;
3607
- transfer: ({ recipient, assetValue, memo }: import("@swapkit/toolboxes/starknet/types").StarknetTransferParams) => Promise<string>;
4956
+ transfer: ({ recipient, assetValue, memo, sweep }: import("@swapkit/toolboxes/starknet/types").StarknetTransferParams) => Promise<string>;
3608
4957
  validateAddress: typeof import("@swapkit/toolboxes/starknet/toolbox").validateStarknetAddress;
3609
4958
  };
3610
4959
  SUI: ChainWallet<Chain.Sui> & {
@@ -3612,7 +4961,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3612
4961
  bytes: string;
3613
4962
  signature: string;
3614
4963
  }) => Promise<string>;
3615
- createTransaction: ({ recipient, assetValue, gasBudget, sender }: import("@swapkit/toolboxes/sui/types").SuiCreateTransactionParams) => Promise<{
4964
+ createTransaction: ({ recipient, assetValue, gasBudget, sender, sweep }: import("@swapkit/toolboxes/sui/types").SuiCreateTransactionParams) => Promise<{
3616
4965
  tx: import("@mysten/sui/transactions").Transaction;
3617
4966
  txBytes: Uint8Array<ArrayBuffer>;
3618
4967
  }>;
@@ -3620,14 +4969,14 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3620
4969
  getAddress: () => Promise<string>;
3621
4970
  getBalance: (targetAddress?: string) => Promise<AssetValue[]>;
3622
4971
  signAndBroadcastTransaction: (transaction: import("@mysten/sui/transactions").Transaction | Uint8Array<ArrayBuffer> | string) => Promise<string>;
3623
- signTransaction: (params: Uint8Array<ArrayBuffer> | import("@swapkit/toolboxes/sui/types").SuiCreateTransactionParams | Awaited<ReturnType<({ recipient, assetValue, gasBudget, sender }: import("@swapkit/toolboxes/sui/types").SuiCreateTransactionParams) => Promise<{
4972
+ signTransaction: (params: Uint8Array<ArrayBuffer> | import("@swapkit/toolboxes/sui/types").SuiCreateTransactionParams | Awaited<ReturnType<({ recipient, assetValue, gasBudget, sender, sweep }: import("@swapkit/toolboxes/sui/types").SuiCreateTransactionParams) => Promise<{
3624
4973
  tx: import("@mysten/sui/transactions").Transaction;
3625
4974
  txBytes: Uint8Array<ArrayBuffer>;
3626
4975
  }>>>) => Promise<{
3627
4976
  bytes: string;
3628
4977
  signature: string;
3629
4978
  } | import("@mysten/sui/cryptography").SignatureWithBytes>;
3630
- transfer: ({ assetValue, gasBudget, recipient }: import("@swapkit/toolboxes/sui/types").SuiTransferParams) => Promise<string>;
4979
+ transfer: ({ assetValue, gasBudget, recipient, sweep }: import("@swapkit/toolboxes/sui/types").SuiTransferParams) => Promise<string>;
3631
4980
  validateAddress: typeof import("@swapkit/toolboxes/sui/toolbox").validateSuiAddress;
3632
4981
  };
3633
4982
  THOR: ChainWallet<Chain.THORChain> & import("@swapkit/toolboxes/cosmos").ThorchainWallet;
@@ -3635,7 +4984,6 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3635
4984
  broadcastTransaction: (transferCell: import("@ton/core").Cell) => Promise<string>;
3636
4985
  createTransaction: ({ sender, sweep, ...params }: GenericTransferParams & {
3637
4986
  sender?: string;
3638
- sweep?: boolean;
3639
4987
  }) => Promise<import("@swapkit/toolboxes/ton/types").TONToolboxTransaction>;
3640
4988
  estimateTransactionFee: ({ sender, ...params }: GenericTransferParams & {
3641
4989
  sender?: string;
@@ -3648,15 +4996,13 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3648
4996
  }) => Promise<import("@ton/core").Address>;
3649
4997
  sign: (transactionInput: import("@swapkit/toolboxes/ton/types").TONTransactionInput) => Promise<import("@ton/core").Cell>;
3650
4998
  signAndBroadcastTransaction: (transaction: import("@swapkit/toolboxes/ton/types").TONTransactionInput) => Promise<string>;
3651
- transfer: ({ assetValue, recipient, memo, sweep }: GenericTransferParams & {
3652
- sweep?: boolean;
3653
- }) => Promise<string>;
4999
+ transfer: ({ assetValue, recipient, memo, sweep }: GenericTransferParams) => Promise<string>;
3654
5000
  validateAddress: typeof import("@swapkit/toolboxes/ton/toolbox").validateTonAddress;
3655
5001
  };
3656
5002
  TRON: ChainWallet<Chain.Tron> & {
3657
5003
  approve: ({ assetAddress, spenderAddress, amount, from }: import("@swapkit/toolboxes/tron/types").TronApproveParams) => Promise<string>;
3658
5004
  broadcastTransaction: typeof import("@swapkit/toolboxes/tron/helpers/trongrid").broadcastTronTransaction;
3659
- createTransaction: ({ recipient, assetValue, memo, sender, expiration }: import("@swapkit/toolboxes/tron/types").TronCreateTransactionParams) => Promise<import("@swapkit/toolboxes/tron/types").TronTransaction>;
5005
+ createTransaction: ({ recipient, assetValue, memo, sender, expiration, sweep, }: import("@swapkit/toolboxes/tron/types").TronCreateTransactionParams) => Promise<import("@swapkit/toolboxes/tron/types").TronTransaction>;
3660
5006
  estimateTransactionFee: ({ assetValue, memo, recipient, sender, }: import("@swapkit/toolboxes/tron/types").TronTransferParams & {
3661
5007
  sender?: string;
3662
5008
  }) => Promise<AssetValue>;
@@ -3667,10 +5013,17 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3667
5013
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/tron/types").TronIsApprovedParams) => Promise<boolean>;
3668
5014
  signAndBroadcastTransaction: (transaction: import("@swapkit/toolboxes/tron/types").TronTransaction) => Promise<string>;
3669
5015
  signTransaction: (transaction: import("@swapkit/toolboxes/tron/types").TronTransaction) => Promise<import("@swapkit/toolboxes/tron/types").TronSignedTransaction>;
3670
- transfer: ({ recipient, assetValue, memo, expiration }: import("@swapkit/toolboxes/tron/types").TronTransferParams) => Promise<string>;
5016
+ transfer: ({ recipient, assetValue, memo, expiration, sweep }: import("@swapkit/toolboxes/tron/types").TronTransferParams) => Promise<string>;
3671
5017
  validateAddress: typeof import("@swapkit/toolboxes/tron/helpers/utils").isValidTronAddress;
3672
5018
  };
3673
5019
  UNI: ChainWallet<Chain.Unichain> & {
5020
+ estimateL1Gas: (tx: import("ethers").TransactionRequest) => Promise<any>;
5021
+ estimateL1GasCost: (tx: import("ethers").TransactionRequest) => Promise<bigint | undefined>;
5022
+ estimateL2GasCost: (tx: import("ethers").TransactionRequest) => Promise<bigint>;
5023
+ estimateOperatorFee: (gasLimit: bigint) => Promise<bigint>;
5024
+ estimateTotalGasCost: (tx: import("ethers").TransactionRequest) => Promise<bigint>;
5025
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
5026
+ getL1GasPrice: () => Promise<bigint | undefined>;
3674
5027
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("@swapkit/toolboxes/evm").ApproveParams) => Promise<string>;
3675
5028
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<bigint>;
3676
5029
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -3712,7 +5065,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3712
5065
  blockTag?: import("ethers").BlockTag;
3713
5066
  enableCcipRead?: boolean;
3714
5067
  }>;
3715
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
5068
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
5069
+ gasLimit: bigint;
5070
+ value: string;
5071
+ data: string;
5072
+ from: string;
5073
+ to: string;
5074
+ maxFeePerGas: bigint;
5075
+ maxPriorityFeePerGas: bigint;
5076
+ gasPrice?: undefined;
5077
+ type?: number | undefined;
5078
+ nonce?: number | undefined;
5079
+ } | {
5080
+ gasLimit: bigint;
5081
+ value: string;
5082
+ data: string;
5083
+ from: string;
5084
+ to: string;
5085
+ gasPrice: bigint;
5086
+ maxFeePerGas?: undefined;
5087
+ maxPriorityFeePerGas?: undefined;
5088
+ type?: number | undefined;
5089
+ nonce?: number | undefined;
5090
+ } | {
3716
5091
  value: string;
3717
5092
  to: string;
3718
5093
  data: string;
@@ -3730,7 +5105,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3730
5105
  blockTag?: import("ethers").BlockTag;
3731
5106
  enableCcipRead?: boolean;
3732
5107
  }>;
3733
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
5108
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
5109
+ gasLimit: bigint;
5110
+ value: string;
5111
+ data: string;
5112
+ from: string;
5113
+ to: string;
5114
+ maxFeePerGas: bigint;
5115
+ maxPriorityFeePerGas: bigint;
5116
+ gasPrice?: undefined;
5117
+ type?: number | undefined;
5118
+ nonce?: number | undefined;
5119
+ } | {
5120
+ gasLimit: bigint;
5121
+ value: string;
5122
+ data: string;
5123
+ from: string;
5124
+ to: string;
5125
+ gasPrice: bigint;
5126
+ maxFeePerGas?: undefined;
5127
+ maxPriorityFeePerGas?: undefined;
5128
+ type?: number | undefined;
5129
+ nonce?: number | undefined;
5130
+ } | {
3734
5131
  value: string;
3735
5132
  to: string;
3736
5133
  data: string;
@@ -3757,21 +5154,35 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3757
5154
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
3758
5155
  data?: string;
3759
5156
  }) => Promise<bigint>;
3760
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
3761
- l1GasPrice?: bigint;
3762
- gasPrice?: bigint;
3763
- maxFeePerGas?: bigint;
3764
- maxPriorityFeePerGas?: bigint;
3765
- }; }>;
5157
+ estimateGasPrices: () => Promise<{
5158
+ average: {
5159
+ gasPrice?: bigint;
5160
+ l1GasPrice?: bigint;
5161
+ maxFeePerGas?: bigint;
5162
+ maxPriorityFeePerGas?: bigint;
5163
+ };
5164
+ fast: {
5165
+ gasPrice?: bigint;
5166
+ l1GasPrice?: bigint;
5167
+ maxFeePerGas?: bigint;
5168
+ maxPriorityFeePerGas?: bigint;
5169
+ };
5170
+ fastest: {
5171
+ gasPrice?: bigint;
5172
+ l1GasPrice?: bigint;
5173
+ maxFeePerGas?: bigint;
5174
+ maxPriorityFeePerGas?: bigint;
5175
+ };
5176
+ }>;
3766
5177
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
3767
5178
  feeOption: FeeOption;
3768
5179
  }) => Promise<import("@swapkit/helpers").AssetValue>;
3769
5180
  getAddress: () => string | Promise<string> | undefined;
3770
- getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
3771
5181
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
3772
5182
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
3773
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
5183
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3774
5184
  feeOptionKey?: FeeOption;
5185
+ sweep?: boolean;
3775
5186
  }) => Promise<string>;
3776
5187
  signAuthorization: ((params: {
3777
5188
  address: string;
@@ -3780,7 +5191,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3780
5191
  }) => Promise<import("ethers").Authorization>) | undefined;
3781
5192
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
3782
5193
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
3783
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
5194
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3784
5195
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
3785
5196
  };
3786
5197
  XLAYER: ChainWallet<Chain.XLayer> & {
@@ -3825,7 +5236,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3825
5236
  blockTag?: import("ethers").BlockTag;
3826
5237
  enableCcipRead?: boolean;
3827
5238
  }>;
3828
- createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
5239
+ createTransaction: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
5240
+ gasLimit: bigint;
5241
+ value: string;
5242
+ data: string;
5243
+ from: string;
5244
+ to: string;
5245
+ maxFeePerGas: bigint;
5246
+ maxPriorityFeePerGas: bigint;
5247
+ gasPrice?: undefined;
5248
+ type?: number | undefined;
5249
+ nonce?: number | undefined;
5250
+ } | {
5251
+ gasLimit: bigint;
5252
+ value: string;
5253
+ data: string;
5254
+ from: string;
5255
+ to: string;
5256
+ gasPrice: bigint;
5257
+ maxFeePerGas?: undefined;
5258
+ maxPriorityFeePerGas?: undefined;
5259
+ type?: number | undefined;
5260
+ nonce?: number | undefined;
5261
+ } | {
3829
5262
  value: string;
3830
5263
  to: string;
3831
5264
  data: string;
@@ -3843,7 +5276,29 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3843
5276
  blockTag?: import("ethers").BlockTag;
3844
5277
  enableCcipRead?: boolean;
3845
5278
  }>;
3846
- createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
5279
+ createTransferTx: ({ assetValue, authorizations, memo, recipient, data, feeOptionKey, gasLimit, sender: fromOverride, sweep, type, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("@swapkit/toolboxes/evm").EVMCreateTransactionParams) => Promise<{
5280
+ gasLimit: bigint;
5281
+ value: string;
5282
+ data: string;
5283
+ from: string;
5284
+ to: string;
5285
+ maxFeePerGas: bigint;
5286
+ maxPriorityFeePerGas: bigint;
5287
+ gasPrice?: undefined;
5288
+ type?: number | undefined;
5289
+ nonce?: number | undefined;
5290
+ } | {
5291
+ gasLimit: bigint;
5292
+ value: string;
5293
+ data: string;
5294
+ from: string;
5295
+ to: string;
5296
+ gasPrice: bigint;
5297
+ maxFeePerGas?: undefined;
5298
+ maxPriorityFeePerGas?: undefined;
5299
+ type?: number | undefined;
5300
+ nonce?: number | undefined;
5301
+ } | {
3847
5302
  value: string;
3848
5303
  to: string;
3849
5304
  data: string;
@@ -3870,12 +5325,26 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3870
5325
  txOverrides?: import("@swapkit/toolboxes/evm").EVMTxParams;
3871
5326
  data?: string;
3872
5327
  }) => Promise<bigint>;
3873
- estimateGasPrices: () => Promise<{ [key_2 in FeeOption]: {
3874
- l1GasPrice?: bigint;
3875
- gasPrice?: bigint;
3876
- maxFeePerGas?: bigint;
3877
- maxPriorityFeePerGas?: bigint;
3878
- }; }>;
5328
+ estimateGasPrices: () => Promise<{
5329
+ average: {
5330
+ gasPrice?: bigint;
5331
+ l1GasPrice?: bigint;
5332
+ maxFeePerGas?: bigint;
5333
+ maxPriorityFeePerGas?: bigint;
5334
+ };
5335
+ fast: {
5336
+ gasPrice?: bigint;
5337
+ l1GasPrice?: bigint;
5338
+ maxFeePerGas?: bigint;
5339
+ maxPriorityFeePerGas?: bigint;
5340
+ };
5341
+ fastest: {
5342
+ gasPrice?: bigint;
5343
+ l1GasPrice?: bigint;
5344
+ maxFeePerGas?: bigint;
5345
+ maxPriorityFeePerGas?: bigint;
5346
+ };
5347
+ }>;
3879
5348
  estimateTransactionFee: ({ feeOption, ...txObject }: import("@swapkit/toolboxes/evm").EIP1559TxParams & {
3880
5349
  feeOption: FeeOption;
3881
5350
  }) => Promise<import("@swapkit/helpers").AssetValue>;
@@ -3883,8 +5352,9 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3883
5352
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
3884
5353
  getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
3885
5354
  isApproved: ({ assetAddress, spenderAddress, from, amount }: import("@swapkit/toolboxes/evm").IsApprovedParams) => Promise<boolean>;
3886
- sendTransaction: ({ feeOptionKey, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
5355
+ sendTransaction: ({ feeOptionKey, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTxParams & {
3887
5356
  feeOptionKey?: FeeOption;
5357
+ sweep?: boolean;
3888
5358
  }) => Promise<string>;
3889
5359
  signAuthorization: ((params: {
3890
5360
  address: string;
@@ -3893,7 +5363,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3893
5363
  }) => Promise<import("ethers").Authorization>) | undefined;
3894
5364
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
3895
5365
  signTypedData: (({ domain, types, value }: import("@swapkit/toolboxes/evm").SignTypedDataParams) => Promise<string>) | undefined;
3896
- transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
5366
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, sweep, ...tx }: import("@swapkit/toolboxes/evm").EVMTransferParams) => Promise<string>;
3897
5367
  validateAddress: typeof import("@swapkit/toolboxes/evm").validateEVMAddress;
3898
5368
  };
3899
5369
  ZEC: ChainWallet<Chain.Zcash> & {
@@ -3915,7 +5385,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3915
5385
  }) => string;
3916
5386
  signAndBroadcastTransaction: (tx: import("@swapkit/utxo-signer").ZcashTransaction | import("@swapkit/utxo-signer").PCZT | import("@swapkit/utxo-signer").ZcashPSBT) => Promise<string>;
3917
5387
  signTransaction: (tx: import("@swapkit/utxo-signer").ZcashTransaction | import("@swapkit/utxo-signer").PCZT | import("@swapkit/utxo-signer").ZcashPSBT) => Promise<import("@swapkit/utxo-signer").ZcashTransaction>;
3918
- transfer: ({ recipient, assetValue, feeOptionKey, ...rest }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams) => Promise<string>;
5388
+ transfer: ({ recipient, assetValue, feeOptionKey, sweep, ...rest }: import("@swapkit/toolboxes/utxo/types").UTXOTransferParams) => Promise<string>;
3919
5389
  validateAddress: typeof import("@swapkit/utxo-signer").validateZcashAddress;
3920
5390
  accumulative: typeof import("@swapkit/toolboxes/utxo/index").accumulative;
3921
5391
  broadcastTx: (txHash: string) => Promise<string>;
@@ -3935,11 +5405,12 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3935
5405
  pubkey: string;
3936
5406
  } | undefined;
3937
5407
  derivePrivateKeyAtIndex: ({ accountIndex, index, change }: import("@swapkit/toolboxes").DeriveAddressParams) => Uint8Array<ArrayBufferLike> | undefined;
3938
- estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipients, }: {
5408
+ estimateMaxSendableAmount: ({ from, memo, feeRate, feeOptionKey, recipient, recipients, }: {
3939
5409
  from: string;
3940
5410
  memo?: string;
3941
5411
  feeRate?: number;
3942
5412
  feeOptionKey?: FeeOption;
5413
+ recipient?: string;
3943
5414
  recipients?: number | import("@swapkit/toolboxes/utxo/types").TargetOutput[];
3944
5415
  }) => Promise<import("@swapkit/helpers").AssetValue>;
3945
5416
  estimateTransactionFee: (params: {
@@ -3969,7 +5440,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
3969
5440
  fast: number;
3970
5441
  fastest: number;
3971
5442
  }>;
3972
- getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
5443
+ getInputsOutputsFee: ({ assetValue, feeOptionKey, feeRate, memo, sender, recipient, sweep, }: Omit<import("@swapkit/toolboxes/utxo/types").UTXOBuildTxParams, "feeRate"> & {
3973
5444
  feeOptionKey?: FeeOption;
3974
5445
  feeRate?: number;
3975
5446
  }) => Promise<{
@@ -4005,7 +5476,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
4005
5476
  tx: InstanceType<typeof import("@swapkit/utxo-signer").Transaction>;
4006
5477
  inputDerivations: import("@swapkit/toolboxes/utxo/types").InputDerivation[];
4007
5478
  }) => import("@swapkit/utxo-signer").Transaction;
4008
- transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, }: {
5479
+ transferFromMultipleAddresses: ({ utxos, recipient, assetValue, memo, feeRate, feeOptionKey, changeAddress, sweep, }: {
4009
5480
  utxos: import("@swapkit/toolboxes").UTXOForMultiAddressTransfer[];
4010
5481
  recipient: string;
4011
5482
  assetValue: import("@swapkit/helpers").AssetValue;
@@ -4013,6 +5484,7 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
4013
5484
  feeRate?: number;
4014
5485
  feeOptionKey?: FeeOption;
4015
5486
  changeAddress?: string;
5487
+ sweep?: boolean;
4016
5488
  }) => Promise<string>;
4017
5489
  };
4018
5490
  };