stratis-strapjs
Version:
Library for interacting with Stratis smart contracts.
14 lines (13 loc) • 466 B
TypeScript
import { Observable } from 'rxjs';
import { Provider } from './Provider';
import { LocalCall, LocalCallResponse } from './Requests';
export declare class HttpProvider implements Provider {
host: string;
constructor(host?: string);
private mapBalance;
private mapLocalCall;
getContractBalance(address: string): Observable<number>;
callLocal(request: LocalCall): Observable<LocalCallResponse>;
private get;
private post;
}