mochimo-wallet
Version:
Mochimo HD Wallet Implementation with React Integration
16 lines (14 loc) • 617 B
TypeScript
import { NetworkService, TagActivationResponse, TagResolveResponse, TransactionResponse } from '../types/network';
export declare class MeshNetworkService implements NetworkService {
apiUrl: string;
private apiClient;
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>;
}