So today I got an idea to develop an application where users can mortgage their NFTs in return for ethers with added interest. However, one problem I'm facing is of accessing the value of NFT via #smartcontracts. I googled this but was unable to find the resources.
Anyone who knows how to do this share it with me as well