πlistNFT
Last updated
npm install @nest25/evm-chains-lib
OR
yarn add @nest25/evm-chains-libconst {NftMarketPlace} = require('@nest25/evm-chains-lib')
// create instance of SOULBOUND
const nftMarketPlace = new NftMarketPlace();
const privateKey = "your private key here"
// nft contract address
let nftContract = '0xaa223c2379daf21526925a07fe466fad7269103a';
const main = async () => {
// list nft
const contract = await nftMarketPlace.listNFT(
'klay',
privateKey,
"1",
"1",
"0",
false,
nftContract
);
// print result
console.log(contract);
}
main()