@m3s/wallet
Version:
A flexible wallet interface supporting multiple blockchain wallet types, including EVM wallets and Web3Auth integration
18 lines • 725 B
TypeScript
import { Provider } from 'ethers';
import { GenericTransactionData } from '../types/index.js';
export declare class SimpleGasEstimator {
private static getTransactionComplexity;
static estimateGasLimit(tx: GenericTransactionData, provider: Provider, fromAddress?: string): Promise<bigint>;
static estimateFees(provider: Provider): Promise<{
gasPrice?: bigint;
maxFeePerGas?: bigint;
maxPriorityFeePerGas?: bigint;
}>;
static estimate(tx: GenericTransactionData, provider: Provider, fromAddress?: string): Promise<{
gasLimit: bigint;
gasPrice?: bigint;
maxFeePerGas?: bigint;
maxPriorityFeePerGas?: bigint;
}>;
}
//# sourceMappingURL=gas.d.ts.map