0.0.3 • Published 3 years ago
verify-nft-ownership v0.0.3
Verify NFT Ownership
Installation
Add the verify-nfy-ownership package
pnpm i verify-nfy-ownershipUsages
> 📝 This uses AlchemySDK and NEEDS their API Key
import { verifyNFTOwnership } from 'verify-nfy-ownership';- verifyNFTOwnership: function that returns a
booleanif wallet is a owner of a collection.
const settings = {
AlchemyAPIKey: String,
contractAddress: String,
walletAddress: String
};
const isOwner = await verifyNFTOwnership(settings);
console.log(isOwner); //Boolean