@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.
13 lines (12 loc) • 587 B
TypeScript
import { ReserveAuctionPartialFragment } from '../graph-queries/zora-graph-types';
import { BlockchainNFTDataType, CurrencyLookupType } from './AuctionInfoTypes';
export interface BlockchainResponse {
token_id: string;
address: string;
contract_name: string;
contract_symbol: string;
owner: string;
uri: string;
zoraMetadataUri?: string;
}
export declare const transformBlockchainResponse: (data: BlockchainResponse, auctionData?: ReserveAuctionPartialFragment | undefined, currencyData?: CurrencyLookupType | undefined) => BlockchainNFTDataType;