@zerodev/sdk
Version:
A utility library for working with ERC-4337
9 lines • 691 B
TypeScript
import type { Account, Chain, Client, Transport } from "viem";
import type { Prettify } from "viem/chains";
import type { ZeroDevAccountClientRpcSchema } from "../../types/kernel.js";
export type GetUserOperationGasPriceReturnType = {
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
};
export declare const getUserOperationGasPrice: <TTransport extends Transport = Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined>(client: Client<TTransport, TChain, TAccount, ZeroDevAccountClientRpcSchema>) => Promise<Prettify<GetUserOperationGasPriceReturnType>>;
//# sourceMappingURL=getUserOperationGasPrice.d.ts.map