nft-verify

1.0.8 • Public • Published

Verify ownership of a specific NFT using Token ID and wallet address.

Usage:

On terminal, do the following:

$ npm install nft-verify

In a JS file:

const {verifyNFT} = require("nft-verify")

/* Edit values respective to your project
const TOKEN_ID = "XXXXX"
const WALLET_ADDRESS = "YYYYY"
const CONTRACT_ADDRESS = "ZZZZZ"

/* Sample Use Case
verifyNFT(TOKEN_ID, WALLET_ADDRESS, CONTRACT_ADDRESS).then((res) => {
    console.log(res);
}).catch((err) => {
    console.log(err);
})

Package Sidebar

Install

npm i nft-verify

Weekly Downloads

2

Version

1.0.8

License

ISC

Unpacked Size

1.81 kB

Total Files

3

Last publish

Collaborators

  • avirath