UNPKG

opensea-js

Version:

TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data

31 lines (30 loc) 2.42 kB
import { OrderProtocol } from "../orders/types"; import { Chain, OrderSide } from "../types"; export declare const getOrdersAPIPath: (chain: Chain, protocol: OrderProtocol, side: OrderSide) => string; export declare const getAllOffersAPIPath: (collectionSlug: string) => string; export declare const getAllListingsAPIPath: (collectionSlug: string) => string; export declare const getBestOfferAPIPath: (collectionSlug: string, tokenId: string | number) => string; export declare const getBestListingAPIPath: (collectionSlug: string, tokenId: string | number) => string; export declare const getBestListingsAPIPath: (collectionSlug: string) => string; export declare const getCollectionPath: (slug: string) => string; export declare const getCollectionsPath: () => string; export declare const getCollectionStatsPath: (slug: string) => string; export declare const getPaymentTokenPath: (chain: Chain, address: string) => string; export declare const getAccountPath: (address: string) => string; export declare const getBuildOfferPath: () => string; export declare const getPostCollectionOfferPath: () => string; export declare const getCollectionOffersPath: (slug: string) => string; export declare const getListNFTsByCollectionPath: (slug: string) => string; export declare const getListNFTsByContractPath: (chain: Chain, address: string) => string; export declare const getListNFTsByAccountPath: (chain: Chain, address: string) => string; export declare const getNFTPath: (chain: Chain, address: string, identifier: string) => string; export declare const getRefreshMetadataPath: (chain: Chain, address: string, identifier: string) => string; export declare const getOrderByHashPath: (chain: Chain, protocolAddress: string, orderHash: string) => string; export declare const getCancelOrderPath: (chain: Chain, protocolAddress: string, orderHash: string) => string; export declare const getTraitOffersPath: (collectionSlug: string) => string; export declare const getEventsAPIPath: () => string; export declare const getEventsByAccountAPIPath: (address: string) => string; export declare const getEventsByCollectionAPIPath: (collectionSlug: string) => string; export declare const getEventsByNFTAPIPath: (chain: Chain, address: string, identifier: string) => string; export declare const getContractPath: (chain: Chain, address: string) => string; export declare const getTraitsPath: (collectionSlug: string) => string;