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

7 lines (6 loc) 404 B
import type { Chain, Client, Hex, Transport } from "viem"; import type { BundlerRpcSchema } from "../../client/decorators/bundlerClient"; import type { UserOperationResponse } from "../../types"; export declare const getUserOperationByHash: <TClient extends Client<Transport, Chain | undefined, any, BundlerRpcSchema>>(client: TClient, args: { hash: Hex; }) => Promise<UserOperationResponse | null>;