@aut-labs/sdk
Version:
The TS/JS SDK package aims to make it easy for frontends/backends to integrate with Aut Smart Contracts
5 lines (4 loc) • 311 B
TypeScript
export declare const addMetadataToCache: <T>(key: string, value: T) => void;
export declare const removeMetadataFromCache: (key: string) => void;
export declare const getMetadataFromCache: <T>(key: string) => T;
export declare const fetchMetadata: <T>(metadataURI: string, nftStorageUrl: string) => Promise<T>;