mochimo-wallet
Version:
Mochimo HD Wallet Implementation with React Integration
15 lines (13 loc) • 595 B
TypeScript
import { NetworkService, TagActivationResponse, TagResolveResponse, TransactionResponse } from '../types/network';
export declare class ProxyNetworkService implements NetworkService {
apiUrl: string;
getNetworkStatus(): Promise<{
height: number;
nodes: any[];
}>;
constructor(apiUrl: string);
getBalance(tag: string): Promise<string>;
resolveTag(tag: string): Promise<TagResolveResponse>;
pushTransaction(transaction: string, recipients?: number): Promise<TransactionResponse>;
activateTag(wotsAddress: string): Promise<TagActivationResponse>;
}