Define max_value for extraAttributes? #288
-
Is it possible to set a As per the metadata standards on OpenSea: "Adding an optional max_value sets a ceiling for a numerical trait's possible values. It defaults to the maximum that OpenSea has seen so far on the assets on your contract. If you set a max_value, make sure not to pass in a higher value." https://docs.opensea.io/docs/metadata-standards#numeric-traits In our case we'd set max_value to 100 and be generating a number between 0 and 100. Thanks! :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, the In this case,
Will return an attribute like the following:
|
Beta Was this translation helpful? Give feedback.
Yes, the
extraAttribute
config is open to static data or functions.In this case,
max_value
would be a fixed values. something likeWill return an attribute like the following: