@alchemy/aa-core
Version:
viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts
9 lines • 361 B
JavaScript
export const estimateUserOperationGas = async (client, args) => {
return client.request({
method: "eth_estimateUserOperationGas",
params: args.stateOverride != null
? [args.request, args.entryPoint, args.stateOverride]
: [args.request, args.entryPoint],
});
};
//# sourceMappingURL=estimateUserOperationGas.js.map