UNPKG

@funded-labs/plug-controller

Version:

Internet Computer Plug wallet's controller

10 lines (9 loc) 488 B
import { HttpAgent } from '@dfinity/agent'; export interface CanisterInfo { canisterId: string; name: string; description: string; icon: string; } export declare const getCanisterInfo: (canisterId: string, agent?: HttpAgent | undefined, fetch?: typeof fetch | undefined) => Promise<CanisterInfo | undefined>; export declare const getMultipleCanisterInfo: (canisterIds: string[], agent?: HttpAgent | undefined, fetch?: typeof fetch | undefined) => Promise<CanisterInfo[]>;