UNPKG

mochimo-wallet

Version:

Mochimo HD Wallet Implementation with React Integration

14 lines (12 loc) 588 B
import { NetworkService, TagResolveResponse, TransactionResponse, TagActivationResponse } from '../types/network'; export declare abstract class BaseNetworkService implements NetworkService { getBalance(tag: string): Promise<string>; abstract apiUrl: string; resolveTag(tag: string): Promise<TagResolveResponse>; pushTransaction(transaction: string, recipients?: number): Promise<TransactionResponse>; activateTag(wotsAddress: string): Promise<TagActivationResponse>; abstract getNetworkStatus(): Promise<{ height: number; nodes: any[]; }>; }