import type { RoutesAPIOrderResponse } from '../models/RoutesAPIOrderResponse'; import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class OrderbookDataExperimentalService { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * Get listings / offers for all NFTs in a collection * Returns order data (from supported marketplaces) for all assets in a specified collection * @returns RoutesAPIOrderResponse OK * @throws ApiError */ getOrderbookData({ address, network, limit, marketplace, offset, orderType, }: { /** Collection Address **/ address?: string; /** Network ID **/ network?: 'arbitrum-mainnet' | 'avalanche-mainnet' | 'bsc-mainnet' | 'celo-mainnet' | 'ethereum-goerli' | 'ethereum-mainnet' | 'ethereum-rinkeby' | 'ethereum-ropsten' | 'fantom-mainnet' | 'harmony-mainnet' | 'optimism-mainnet' | 'polygon-mainnet' | 'solana-mainnet'; limit?: number | null; /** The marketplace can be filtered by selecting one of the following options: opensea, looksrare, or x2y2. If no selection is made, the API will return a combined result **/ marketplace?: '' | 'looksrare' | 'x2y2' | 'opensea'; offset?: number | null; /** The order type for the optional parameter can either be BID or ASK. If left blank, the API will provide a consolidated result **/ orderType?: '' | 'bid' | 'ask'; }): CancelablePromise; /** * Get listings / offers for a particular NFT * Returns order data (from supported marketplaces) for a specified asset * @returns RoutesAPIOrderResponse OK * @throws ApiError */ getOrderbookDataByTokenId({ address, network, tokenId, includeCollectionOffers, limit, marketplace, offset, orderType, }: { /** Collection Address **/ address?: string; /** Network ID **/ network?: 'arbitrum-mainnet' | 'avalanche-mainnet' | 'bsc-mainnet' | 'celo-mainnet' | 'ethereum-goerli' | 'ethereum-mainnet' | 'ethereum-rinkeby' | 'ethereum-ropsten' | 'fantom-mainnet' | 'harmony-mainnet' | 'optimism-mainnet' | 'polygon-mainnet' | 'solana-mainnet'; /** Token ID **/ tokenId?: string; /** If false, the response will exclude collection offers **/ includeCollectionOffers?: boolean; limit?: number | null; /** The marketplace can be filtered by selecting one of the following options: opensea, looksrare, or x2y2. If no selection is made, the API will return a combined result **/ marketplace?: '' | 'looksrare' | 'x2y2' | 'opensea'; offset?: number | null; /** The order type for the optional parameter can either be BID or ASK. If left blank, the API will provide a consolidated result. **/ orderType?: '' | 'bid' | 'ask'; }): CancelablePromise; }