UNPKG

@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

13 lines 535 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.estimateUserOperationGas = void 0; 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], }); }; exports.estimateUserOperationGas = estimateUserOperationGas; //# sourceMappingURL=estimateUserOperationGas.js.map