UNPKG

@blockchain-lab-um/masca-connector

Version:

Library for using Masca on the frontend

16 lines (13 loc) 490 B
import { AvailableMethods, MascaApi } from '@blockchain-lab-um/masca-types'; import { ProviderStore } from './ProviderStore.js'; import { ViemClient } from './ViemClient.js'; import 'mipd'; declare class Masca { protected readonly snapId: string; readonly supportedMethods: AvailableMethods[]; providerStore: ProviderStore; viemClient: ViemClient; constructor(snapId: string, supportedMethods: AvailableMethods[]); getMascaApi: () => MascaApi; } export { Masca };