Hook: useAllBuyNFT
Fetch all NFT of Collection which are available for Buying with metadata.
function useAllBuyNFT(
contractAddress?:string,
chainId?:string)type useAllBuyNFTType = {
allBuyNFT: [{Object}];
isLoading?: bool;
};import {ChainConfig, useAllBuyNFT} from "@lyncworld/nft-marketplace";
function App() {
const { isLoading, allBuyNFT } = useAllBuyNFT(
"0x9342b1039949d536b2eb456de198c26362daa523",
ChainConfig.MATIC_MUMBAI
);
Last updated