4
votes
Accepted
Updated token metadata not refreshing on OpenSea
I kind of encountered probably the same metadata update problem. In my case it was because I rushed through the opensea docs didn't use the correct api endpoint for force updating the metadata.
...
4
votes
Reveal NFT metadata after buy
Inside SimpleNFT.sol, instead of the bool public revealed variable you could have a mapping (uint256 => bool) revealed.
This maps each tokenId to a boolean value (it is false by default). This ...
3
votes
How do I access/read the metadata from my Opensea NFT purchase?
There may be a way to retrieve the metadata through Etherscan but because of the broadness of the space of possible Ethereum contracts (effectively infinite), Etherscan really only provides the most ...
3
votes
Accepted
How to tell if a transaction is contract creation?
contract creation transaction will have "to" as 0 address, meaning that there is not recipient for this transaction.
Another way to tell if a transaction is a contract creation is to check ...
3
votes
Accepted
Can I delete, change or add a new metadata?
Yes, but not directly from the IPFS. Anything uploaded to IPFS cannot be altered further.
However, if you want to change metadata of your NFTs you can upload updated version of your files(JSON ...
2
votes
Accepted
Properly parse contract creation bytecode metadata hash using cbor module in npm
The bytecode is not CBOR-encoded as a whole. Only the part representing the metadata hash at the end is and you seem to be decoding it correctly. As to why it can start with 0xa264, 0xa265 or ...
2
votes
ERC721 Metadata - TokenURI - Return the full JSON String Instead of URL Pointer?
Yes, it's possible using Data URLs. OpenSea requires the tokenURI method to return a URI of a JSON containing properties such as image (which themselves can also have data URLs as values).
Here's a ...
2
votes
How to Download Metadata for an ERC721 NFT Collection
i gotchu
the alchemy nft api has a getNFTsForCollection endpoint that allows you to fetch all the images, metadata, etc. for an NFT collection (based on contract address)
here's an example request:
// ...
2
votes
Accepted
How to populate a large amount of data into a mapping of struct
Your understanding of both the solutions is right. There are a few things that are needed to be considered.
Solution 1
This is simple to implement, but as you mentioned, you'll pay gas for every ...
2
votes
How can I make use of dynamic metadata for tokens?
Let's build from your 2nd approach:
Can you create an erc-1155 that points to an IPNS directory and references a particular IPFS file within? If so, you could update a metadata file which dictates ...
2
votes
Updatable attributes for ERC721 Tokens without touching to immutable rarity attributes
You could have some publicly readable data structure or mapping within your ERC-721 contract that allow other smart contracts and centralized applications to read the mutable values.
So basically keep ...
2
votes
my nft image not showing in opensea testnet
In metadata, you gave image attribute the wrong value (x.png). If you want Opensea to find your image you should provide a public uri to your image as the value.
Usually you first upload the image to ...
2
votes
How to decode and update input data of a specific transaction?
no it's not possible. a transaction is an immutable record of something that has happened. It doesn't make sense to be able to change it as it would mean there could be no certainty on the blockchain.
...
1
vote
Decreasing size of the images, fetched from IPFS, before rendering
I think it is not possible until we cache the image somewhere on the server before downloading, which contradicts using IPFS.
One way to overcome slow loading is to pick an IPFS gateway that is faster ...
1
vote
Accepted
ERC-721 metadata doesn't show up for rinkeby but does show up for mumbai?
You have a literal metadata document there. But you need a URI.
Please see the data URL scheme which explains how to convert a literal document to a URI.
This is an intended and supported use case for ...
1
vote
Metadata isnt showing for opensea
With limited information about the real file, I can only think of two possibilities at the moment:
the IPFS file may not work (e.g. the real link of ipfs://..../hidden.png may be invalid or some ...
1
vote
search NFT collection by name
To complete Grizzly,
Web3 contracts dont save the NFT data, but save the URI. NFT data are commonly saved on IPFS.
If you have the full URI saved then just make the request to it.
If you miss a part ...
1
vote
Accepted
How to create many ERC721 tokens sharing the same metadata tokenURI but different TokenId?
I'm not convinced this is the best answer, because I found this post looking for a better one. But it at least works:
// set the base uri at top of contract
string public uri = "ipfs://&...
1
vote
How does Ethereum / the EVM know not to execute metadata/auxdata?
Basically, the auxdata/metadata is just unreachable code. It doesn't have any jump destinations that are jumped to by the rest of the code.
It's sort of like having code after a return statement. It ...
1
vote
Reveal NFT image/metadata after mint
Your best option is to use tho different URIs. One for the pre-mint containing the general image and then changing that URI to the one containing the real images. From what I see you can already do it ...
1
vote
Updated token metadata not refreshing on OpenSea
The polygon version of this endpoint should be https://api.opensea.io/api/v1/asset/matic/<your_contract_address>/<token_id>/?force_update=true
1
vote
Can I delete, change or add a new metadata?
You need to elaborate more.
How are you storing the URI in the contract?
Do you want to change the URI of the directory that contains the metadata of all NFTs or just one specific NFT?
Can the data be ...
1
vote
Accepted
Is it possible to write protect an IPFS base url?
If you are publishing to a URL that starts with ipfs://ABC then:
Anybody can inspect all the files in all paths starting at ABC.
Nobody can change the contents of the paths starting at ABC.
This is ...
1
vote
Why metadata is not valid "token_uri": null
What worked for me is removing the file extension from the files so the ipfs url reference didn't have the .json file extension a the end and nor did the tokenURI.
Hope this helps everyone
1
vote
Why metadata is not valid "token_uri": null
Having the same problem in last 5 days.
Opensea is not showing any metadata
Rarible is showing the metadata ok.
I had wrote message to Opensea support and waiting the reply.
regard
tomas
this is my ...
1
vote
Why metadata is not valid "token_uri": null
I am having the same problem, while the data is correct, it is getting a "token_uri" : null
https://testnets-api.opensea.io/asset/0x2D8aC58b1957c5cb4A6158dBC9343dA0fE13f51f/0/validate
The ...
1
vote
ERC721 Contract: Adding Contract Level Metadata?
I struggled so much to find how to make this work but at the end was so simple.
create a .json file with the metadata and serve it with a simple http server
ie. if your file name is metadata.json your ...
1
vote
Accepted
What is this CDN in NFT marketplace ? it this the replacement for IPFS.? any leads or links related to the same would be great help
CDN is content delivery network. It is a way of delivering content of HTTP/S protocol - your usual internet. It is an internet standard and used commonly for usual internet technologies. IPFS is a ...
1
vote
How to avoid user to get metadata from non-minted ERC721 token?
Your choices are either
Hide the metadata (which means you could tell your friends which are the good ones and they could rush to get it); or
Publish the metadata and so everybody knowns
I just ...
1
vote
I minted an NFT using an interface I created but the media (image) is not showing up on opensea
Reading through OpenSea Metadata standards, you'll find that your json data field with the image link needs to be called "image" instead of "imageCID".
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
meta-data × 69nft × 43
erc-721 × 25
solidity × 20
ipfs × 17
opensea × 13
erc-1155 × 7
tokens × 5
pinata × 5
polygon × 3
bytecode × 3
contracturi × 3
web3js × 2
contract-development × 2
transactions × 2
metamask × 2
contract-deployment × 2
etherscan × 2
abi × 2
mint × 2
assets × 2
blockchain × 1
javascript × 1
security × 1
evm × 1