UNPKG

ic0

Version:

An easy-to-use JavaScript API for the Internet Computer.

11 lines 256 B
export interface Network { name: string; host: string; } export interface Replica<T extends Canister> { (id: string): T; } export interface Canister { call(method: string, ...args: any[]): Promise<any>; } //# sourceMappingURL=types.d.ts.map