UNPKG

permissionless

Version:

A utility library for working with ERC-4337

12 lines 462 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isSmartAccountDeployed = void 0; const actions_1 = require("viem/actions"); const isSmartAccountDeployed = async (client, address) => { const contractCode = await (0, actions_1.getCode)(client, { address: address }); return Boolean(contractCode); }; exports.isSmartAccountDeployed = isSmartAccountDeployed; //# sourceMappingURL=isSmartAccountDeployed.js.map