Skip to main content

NFTContract type

This feature is currently in beta and may change based on feedback that we receive.

The possible NFT contract types.

Example 1

const nftDrop = useNFTDrop(<ContractAddress>);

Example 2

const editionDrop = useEditionDrop(<ContractAddress>);

Example 3

const nftCollection = useNFTCollection(<ContractAddress>);

Example 4

const edition = useEdition(<ContractAddress>);

Example 5

const { contract } = useContract(<ContractAddress>);
const nftContract = contract?.nft;

Signature:

export declare type NFTContract = Erc721 | Erc1155;