SDK

StreamNFT SDK rental integration

  • Get all rented collection NFTs by user wallet

const streamNFT = require('streamnft-evm');

let nfts= indexerCall(wallet.address) // indexer call to get nfts by wallet
nfts.push.apply(nfts, await streamNFT.getNFTs(chainId,wallet.address));
  • Get all rented NFTs by user wallet

const streamNFT = require('streamnft-evm');

let nfts= indexerCall(wallet.address) // indexer call to get nfts by wallet
nfts.push.apply(nfts, await streamNFT.getNFTs(chainId,wallet.address));

Last updated