UNPKG

btc-wallet

Version:

BTC Wallet is a toolkit that enables Bitcoin usage on the NEAR blockchain through the Satoshi protocol.

22 lines (21 loc) 940 B
import type { RequestArguments } from '@particle-network/aa'; import { type PublicClient } from 'viem'; export declare class AASignerProvider { supportChainIds: number[]; projectId: string; clientKey: string; rpcUrls: Record<number, string> | undefined; private events; chainId: number; publicClient: PublicClient; constructor(supportChainIds: number[], projectId: string, clientKey: string, rpcUrls: Record<number, string> | undefined); request(arg: RequestArguments): Promise<any>; personalSign: (message: string) => Promise<string>; getPublicKey: () => Promise<string>; removeListener(event: string, listener: (...args: any[]) => void): this; on(event: string, listener: (...args: any[]) => void): this; once(event: string, listener: any): this; off(event: string, listener: any): this; emit(event: string, ...args: any[]): void; getPublicClient: () => PublicClient; }