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.

8 lines (7 loc) 363 B
import { SWRConfiguration } from "swr"; import { BlockchainNFTDataType } from "../fetcher/AuctionInfoTypes"; export declare type useBlockchainNFTType = { error?: string; data?: BlockchainNFTDataType; }; export declare function useBlockchainNFT(contractAddress?: string, tokenId?: string, swrConfiguration?: SWRConfiguration): useBlockchainNFTType;