UNPKG

@crypto-dev/pasar-sdk-development

Version:
30 lines (29 loc) 1.07 kB
import { Filter } from "../filters/filter"; import { AppContext } from "../appcontext"; import { CollectionInfo } from "./collectioninfo"; import { SocialLinks } from "../sociallinks"; import { ItemPage } from "../itempage"; import { ChainType } from "../chaintype"; import { ERCType } from "../erctype"; declare class Collection { private assistURI; private metadata; constructor(appContext: AppContext, collecionInfo: CollectionInfo); getContractAddress(): string; getNetwork(): ChainType; getCreatorDid(): string; getOwnerAddress(): string; getName(): string; getSymbol(): string; getSoicalLinks(): SocialLinks; getAvatar(): string; getBanner(): string; getDescription(): string; getERCStandard(): ERCType; getCategory(): string; queryItemCount(): Promise<number>; queryTradingVolume(pricingToken: string): Promise<number>; queryFloorPrice(pricingToken: string): Promise<number>; queryItems(_beforeTime: number, _capcity?: number, _filter?: Filter): Promise<ItemPage>; } export { Collection, };