UNPKG

@crypto-dev/pasar-sdk-development

Version:
16 lines (15 loc) 1.36 kB
import { ChainType } from "./chaintype"; import { CollectionInfo } from "./collection/collectioninfo"; import { CollectionPage } from "./collection/collectionpage"; import { ItemInfo } from "./iteminfo"; import { ItemPage } from "./itempage"; declare const getAllListedItems: (assistUrl: string, earilerThan: number, pageNum?: number, pageSize?: number) => Promise<ItemPage>; declare const getCollectionInfo: (assistUrl: string, collectionAddr: string, chainType: ChainType) => Promise<CollectionInfo>; declare const getItemByTokenId: (assistUrl: string, baseToken: string, tokenId: string) => Promise<ItemInfo>; declare const getOwnedCollections: (assistUrl: string, walletAddress: string) => Promise<CollectionPage>; declare const getOwnedItems: (assistUrl: string, walletAddress: string) => Promise<ItemPage>; declare const getCreatedItems: (assistUrl: string, walletAddress: string) => Promise<ItemPage>; declare const getListedItems: (assistUrl: string, walletAddress: string) => Promise<ItemPage>; declare const getBiddingItems: (assistUrl: string, walletAddress: string) => Promise<ItemPage>; declare const getSoldItems: (assistUrl: string, walletAddress: string) => Promise<ItemPage>; export { getAllListedItems, getCollectionInfo, getItemByTokenId, getOwnedCollections, getCreatedItems, getOwnedItems, getListedItems, getSoldItems, getBiddingItems };