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

8 lines 305 B
import { AccountNotFoundError } from "../../errors/account.js"; export const signMessage = async (client, { account = client.account, message }) => { if (!account) { throw new AccountNotFoundError(); } return account.signMessage({ message }); }; //# sourceMappingURL=signMessage.js.map