@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
16 lines (15 loc) • 585 B
TypeScript
import { type Address, type Hash, type Hex, type PublicClient } from "viem";
export type SignWith6492Params = {
factoryAddress: Address;
factoryCalldata: Hex;
signature: Hash;
};
type VerifyEIP6492SignatureParams = {
signer: Address;
hash: Hash;
signature: Hash;
client: PublicClient;
};
export declare const wrapSignatureWith6492: ({ factoryAddress, factoryCalldata, signature, }: SignWith6492Params) => Hash;
export declare const verifyEIP6492Signature: ({ signer, hash, signature, client, }: VerifyEIP6492SignatureParams) => Promise<boolean>;
export {};