btc-wallet
Version:
BTC Wallet is a toolkit that enables Bitcoin usage on the NEAR blockchain through the Satoshi protocol.
14 lines (13 loc) • 825 B
TypeScript
import type { IEthereumProvider, JsonRpcRequest, SendTransactionParams } from '@particle-network/aa';
import { type AASignerProvider } from '.';
export declare class EthereumProvider implements IEthereumProvider {
sendUserOp: (params: SendTransactionParams, forceHideConfirmModal?: boolean) => Promise<string>;
signer?: AASignerProvider | undefined;
account?: string | undefined;
constructor(sendUserOp: (params: SendTransactionParams, forceHideConfirmModal?: boolean) => 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>;
}