UNPKG

@cross-nft-marketplace/auction-house-nft-hooks

Version:

Generic react hooks for fetching cross-nft-marketplace auctions, nfts, and data on arbitary 721s. Powers nft-components.

7 lines (6 loc) 709 B
import { TokenWithMarketsSummary } from '@zoralabs/zdk/dist/queries/queries-sdk'; import { ReserveAuctionPartialFragment } from '../graph-queries/zora-graph-types'; import { IndexerTokenWithAuctionFragment } from '../graph-queries/zora-indexer-types'; import { CurrencyLookupType, IndexerDataType, IndexerV2DataType } from './AuctionInfoTypes'; export declare function transformNFTIndexerResponse(data: IndexerTokenWithAuctionFragment, auction?: ReserveAuctionPartialFragment, currency?: CurrencyLookupType): IndexerDataType; export declare function transformNFTIndexerV2Response(data: TokenWithMarketsSummary, auction?: ReserveAuctionPartialFragment, currency?: CurrencyLookupType): IndexerV2DataType;