UNPKG

@owlprotocol/contracts-account-abstraction

Version:

ERC4337 Account Abstraction support for deploying relevant smart contracts and interacting with UserOps.

19 lines (18 loc) 512 B
import { Client, Transport } from "viem"; export type GetUserOperationGasPriceReturnType = { slow: { maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; }; standard: { maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; }; fast: { maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; }; }; export declare function getUserOperationGasPrice(client: Client<Transport> & { eip1559?: boolean; }): Promise<GetUserOperationGasPriceReturnType>;