REALBITS
  • 💛Welcome!
  • REALBITS
    • 🚎Solution
    • 🍜Sites
  • Ecosystem
    • 🇹🇰Ecosystem
    • 🇩🇰Rent Market
  • SERVICE
    • 🏈AVAME
    • 🎎DULLS
    • 🌅FICTURES
    • 💹MARKET
    • 👻PIXMON
    • 🧠THOTHY
  • CONTRACTS
    • MARKET
      • getAllRegisterData
      • getRegisterData
      • registerNFT
      • getAllRentData
      • getRentData
      • rentNFT
      • rentNFTByToken
    • NFT
      • safeMint
    • WAGMI
  • Coding
    • Connect wallet
    • Mint NFT
    • Fetch all registered NFT
    • Fetch all rented NFT
    • Fetch one rented NFT
    • Change the registered NFT metadata
    • Rent NFT by base coin
    • Rent NFT by ERC20 token
    • Fetch the metadata of NFT
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Coding

Fetch all rented NFT

Last updated 1 year ago

Was this helpful?

  • All rented NFT metadata is stored in rent market smart contract.

  • Developer can write the code which can fetch them from rent market smart contract with web3 library such as wagmi.

  • You can test the front-end sample code.

  • You can test the back-end sample code.

https://codesandbox.io/s/fetch-all-rented-nft-in-rent-market-rf62jx
https://codesandbox.io/p/sandbox/fetch-all-rented-nft-from-rent-market-in-back-end-ggqdxn?file=%2Findex.js%3A24%2C5