UNPKG

@aa-simulator/btc-connectkit

Version:

First Account Abstraction Protocol on Bitcoin

14 lines (13 loc) 757 B
import type { IEthereumProvider, JsonRpcRequest, SendTransactionParams } from '@aa-simulator/core'; import { type AASignerProvider } from '.'; export declare class EthereumProvider implements IEthereumProvider { sendUserOp: (params: SendTransactionParams) => Promise<string>; signer?: AASignerProvider | undefined; account?: string | undefined; constructor(sendUserOp: (params: SendTransactionParams) => Promise<string>, signer?: AASignerProvider | undefined, account?: string | undefined); on(event: string, listener: any): this; once(event: string, listener: any): this; off(event: string, listener: any): this; removeListener(event: string, listener: any): this; request(arg: Partial<JsonRpcRequest>): Promise<any>; }