Get NFT Metadata
Demo:
https://web3-demo.bubbleapps.io/version-test/get_nft_metadata
Metadata result is in a stringified JSON format.
You can then easily extract any data from it using Regex using Bubble's integrated feature "Extract with Regex"
For example, say you want to extract the NFT name from metadata, here's a simple example:
(?:"Name":")(.*?)(?:")
The result here will look something like this:
"Name":"NFT Name"
In the same field you can split these by two dots separator ":" which will make a list where the last item is the NFT name.
It is actually simpler than it sounds, just check the demo editor example in the Popup Metadata.
In any case, you can always write a better regex that will extract only the data you need.
Last updated