metapro
Ask or search…
K

Metadata structure

To have better understanding metapro protocol flow 🛠️

How to read all data about Token ?
To get access to data about token You need to follow these steps:
  • Enter BSC Scan
  • In BNB Smart Chain Explorer find MetaproMetaAsset Contract 0xa293D68684Be29540838Dc8A0222De0c43c6b5B4
  • Click on Contract and Read Contract
    View of contract on BSC Scan
  • In this tab we have all methods which we can read from MetaproMetaAsset Contract
  • Last method calls "uri" which get data about token.
    Method called "uri" where you can insert TokenId
  • Copy link from response and paste it on new browser tab
    Example of JSON response with all data about token
⚠️ Hint : If you want to have parsed data like on picture above it needs JSON formatter extension installed on browser
How to read metadata ?
  • Metadata response
    Example response of token
You can get detailed informations with description of each key type here : NFT Properties scheme 📒

NFT Properties scheme 📒

Key
Value Type
Required
Description
asset_category
string
true
NFT category
asset_category_ids
integerArray
false
List of ids from database
asset_subcategories
stringArray
false
NFT subcategories
asset_tags
stringArray
false
NFT tags
asset_tag_ids
integerArray
false
List of Ids from database
asset_geometry
string (dictionary)
false
Polygonal Quads only
Polygonal Quads/ Tris
Polygonal Tris only
Polygonal Ngons
Polygonal, Subdivision
Nurbs
Unknown
null
asset_polygons
intiger
false
Number of polygons
asset_verticles
intiger
false
Number of verticles
asset_materials
boolean
false
If the files contain materials
asset_textures
boolean
false
If the files contain textures
asset_uv_mapped
boolean
false
If the files are uv mapped
asset_animated
boolean
false
If the files contain animations
asset_width
intiger
false
First input of resolution
asset_height
intiger
false
Second input of resolution
asset_layers
boolean
false
Yes/ No
asset_bpm
intiger
false
Given range
asset_sample_rate
string (dictionary)
false
44.1 kHz
48 kHz null
asset_bit_depth
intiger
false
Given range
asset_channels
string (dictionary)
false
Stereo
Mono
null
asset_duration
string
false
hh:mm:ss
asset_licence
string (dictionary)
true
Royalty Free (RF)
Rights Managed (RM)
Creative Commons (CC)
asset_restriction
string (dictionary)
true
Public meta asset
Restricted meta asset
asset_type
string [array]
true
an array with possible values:
3d meta asset
2d meta asset
sound meta asset

NFT Properties JSON ⚙️

{
"description":"Description of token",
"image":"Direct link to storage",
"extraFiles":[
"https://resource-link.com",
"https://resource-link2.com",
"https://resource-link3.com"
],
"minifiedImage":"Direct link to storage where image is with extension avif or webp",
"name":"Token Name",
"properties":{
"item_experiance":[
{
"key":"game_score",
"value":"xxxxxx",
"value_type":"xxxxxx"
}
],
"common":{
"standard":[
{
"key":"asset_licence",
"value":"Royalty Free (RF)",
"value_type":"string"
},
{
"key":"asset_restriction",
"value":"Public meta asset",
"value_type":"string"
},
{
"key":"asset_type",
"value":[
"2d meta asset",
"Sound meta asset"
],
"value_type":"string array"
},
{
"key":"asset_tags",
"value":[
"metaverse",
"abstract"
],
"value_type":"string array"
},
{
"key":"asset_tag_ids",
"value":[
12,
44
],
"value_type":"integer array"
},
{
"key":"asset_category",
"value":"Other",
"value_type":"string"
},
{
"key":"asset_subcategories",
"value":[
],
"value_type":"string array"
},
{
"key":"asset_category_ids",
"value":[
37
],
"value_type":"integer array"
}
],
"2d_spec":[
{
"key":"asset_width",
"value":474,
"value_type":"integer"
},
{
"key":"asset_height",
"value":238,
"value_type":"integer"
},
{
"key":"asset_layers",
"value":true,
"value_type":"boolean"
}
],
"3d_spec":[
{
"key":"asset_geometry",
"value":"Polygonal Quads/Tris",
"value_type":"string"
},
{
"key":"asset_polygons",
"value":47494,
"value_type":"integer"
},
{
"key":"asset_vertices",
"value":23854,
"value_type":"integer"
},
{
"key":"asset_materials",
"value":true,
"value_type":"boolean"
},
{
"key":"asset_textures",
"value":false,
"value_type":"boolean"
},
{
"key":"asset_uv_mapped",
"value":false,
"value_type":"boolean"
},
{
"key":"asset_animated",
"value":false,
"value_type":"boolean"
}
],
"sound spec":[
{
"key":"asset_bpm",
"value":50,
"value_type":"integer"
},
{
"key":"asset_sample_rate",
"value":"44.1 kHz",
"value_type":"string"
},
{
"key":"asset_bit_depth",
"value":16,
"value_type":"integer"
},
{
"key":"asset_channels",
"value":"Stereo",
"value_type":"string"
},
{
"key":"asset_duration",
"value":"01:00:15",
"value_type":"string"
},
{
"key":"asset_isrc_code",
"value":"AA6Q72000047",
"value_type":"string"
},
{
"key":"asset_isvc_code",
"value":"AA6Q72000047",
"value_type":"string"
}
]
}
}
}