UNPKG

@dfinity/assets

Version:

JavaScript and TypeScript library to manage assets on the Internet Computer

9 lines (8 loc) 360 B
import { ActorConfig, ActorSubclass } from '@dfinity/agent'; import _SERVICE from './assets_service'; export declare type AssetsCanisterRecord = _SERVICE; /** * Create an assets canister actor * @param config Configuration to make calls to the Replica. */ export declare function getAssetsCanister(config: ActorConfig): ActorSubclass<AssetsCanisterRecord>;