Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Is there a limit on NFT metadata size?

Are there any limitations on the size of NFT metadata? And does it make a difference whether the metadata is stored off-chain or on-chain?


This question was imported from Telegram Chat: https://t.me/tondev/116708

  
  
Posted one year ago
Votes Newest

Answers


Great question! There are two ways to store NFT metadata: on-chain and off-chain.

Considering the cost and fees for storage, I highly recommend storing the data off-chain. In this case, the NFT will contain a reference to a JSON file that can contain anything.

If you choose to store the metadata on-chain, please note that the maximum size of the contract is 40k cells, and you will need to pay several TON per year for its storage.

1
1
wiki
Posted one year ago