> For the complete documentation index, see [llms.txt](https://realbits.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://realbits.gitbook.io/home/coding/fetch-all-rented-nft.md).

# Fetch all rented NFT

* 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.
  * <https://codesandbox.io/s/fetch-all-rented-nft-in-rent-market-rf62jx>
* You can test the back-end sample code.
  * <https://codesandbox.io/p/sandbox/fetch-all-rented-nft-from-rent-market-in-back-end-ggqdxn?file=%2Findex.js%3A24%2C5>
