webflow-nft-components
webflow-nft-components copied to clipboard
How to call contract methods from the web flow nft component
Once we have added the embedded web flow nft component to mint magically! Thanks! What object should we use to call any other contract methods, like to display number of NFT to mint left? Thanks.
Create a text element with an HTML id minted-counter
for minted amount, and HTML id total-counter
for total amount. Right now you can't call any other contract methods. What other methods did you have in mind?
Thanks of the quick answer. These are handy and probably the most important. I was also thinking about total owners, floor price and volume traded.
Volume traded & floor price can be fetched using OpenSea API only, but total owners is something we might add in the future.