UNPKG

arweave-account

Version:

Account protocol library on Arweave by Metaweave.xyz

9 lines (8 loc) 297 B
import { ArAccount, T_addr, T_item } from '../types'; export default interface Cache { get(addr: T_addr): ArAccount | undefined; find(uniqueHandle: string): ArAccount | null | undefined; hydrate(account: ArAccount): void; reset(): void; dump(): string | Map<string, T_item>; }