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