UNPKG

dingojs

Version:

A simple but feature filled interface between Filecoin's Lotus client and JS.

11 lines (10 loc) 340 B
import PostBundle from "./IPostBundle"; import FilecoinResponse from "@/interfaces/IFilecoinResponse"; export default interface CoreFrame { bundle: PostBundle; setRpc(rpc: string): void; readRpc(): string; setId(id: number): void; readId(): number; postSimpleJson(simpleMethod: string): Promise<FilecoinResponse>; }