Venly API
Search…
Update NFT metadata
Endpoint that allows you to update the metadata of a NFT template (Token type)
Note this endpoint allows you to update the metadata, some attributes are defined on the NFT contract and therefore not updatable.
Here is a list of the attributes that can not be updated:
    fungible
    burnable
    maxSupply

Endpoint: PUT

1
https://api-business.arkane.network/api/apps/{{application_id}}/contracts/{{contract_id}}/token-types/{{tokenTypeId}}/metadata
Copied!

Body

1
{
2
"name" : "Chuck (Updated)",
3
"description" : "Chuck is a Male Tall Chicken (Updated)",
4
"image": "https://previews.123rf.com/images/bankrx/bankrx1810/bankrx181000576/110633429-grunge-green-updated-word-with-star-icon-round-rubber-seal-stamp-on-white-background.jpg",
5
"backgroundColor" : "#021200",
6
"externalUrl" : "https://previews.123rf.com/images/bankrx/bankrx1810/bankrx181000576/110633429-grunge-green-updated-word-with-star-icon-round-rubber-seal-stamp-on-white-background.jpg",
7
"animationUrls" : [
8
{"type": "video", "value" : "https://img.arkane.network/marketing/SpaceChickens/space_chickens_trailer.mp4"}
9
],
10
"attributes" : [
11
{"type": "property", "name" : "Talent", "value": "Leadership"},
12
{"type": "property", "name" : "Allergic", "value": "Monstonuts"},
13
{"type": "property", "name" : "Hobby", "value": "Scouts"},
14
{"type": "stat", "name" : "Cool", "value": "9", "maxValue": "10"},
15
{"type": "stat", "name" : "Daring", "value": "8", "maxValue": "10"},
16
{"type": "stat", "name" : "Noise", "value": "8", "maxValue": "10"},
17
{"type": "stat", "name" : "Age", "value": "3"}
18
]
19
}
Copied!

Returns

1
{
2
"name": "Chuck (Updated)",
3
"description": "Chuck is a Male Tall Chicken (Updated)",
4
"image": "https://previews.123rf.com/images/bankrx/bankrx1810/bankrx181000576/110633429-grunge-green-updated-word-with-star-icon-round-rubber-seal-stamp-on-white-background.jpg",
5
"imagePreview": "https://previews.123rf.com/images/bankrx/bankrx1810/bankrx181000576/110633429-grunge-green-updated-word-with-star-icon-round-rubber-seal-stamp-on-white-background.jpg",
6
"imageThumbnail": "https://previews.123rf.com/images/bankrx/bankrx1810/bankrx181000576/110633429-grunge-green-updated-word-with-star-icon-round-rubber-seal-stamp-on-white-background.jpg",
7
"backgroundColor": "#021200",
8
"background_color": "#021200",
9
"animationUrl": "https://img.arkane.network/marketing/SpaceChickens/space_chickens_trailer.mp4",
10
"animation_url": "https://img.arkane.network/marketing/SpaceChickens/space_chickens_trailer.mp4",
11
"externalUrl": "https://previews.123rf.com/images/bankrx/bankrx1810/bankrx181000576/110633429-grunge-green-updated-word-with-star-icon-round-rubber-seal-stamp-on-white-background.jpg",
12
"external_url": "https://previews.123rf.com/images/bankrx/bankrx1810/bankrx181000576/110633429-grunge-green-updated-word-with-star-icon-round-rubber-seal-stamp-on-white-background.jpg",
13
"animationUrls": [
14
{
15
"type": "video",
16
"value": "https://img.arkane.network/marketing/SpaceChickens/space_chickens_trailer.mp4"
17
}
18
],
19
"maxSupply": 25,
20
"attributes": [
21
{
22
"type": "property",
23
"name": "Talent",
24
"value": "Leadership",
25
"traitType": "Talent",
26
"trait_type": "Talent"
27
},
28
{
29
"type": "property",
30
"name": "Allergic",
31
"value": "Monstonuts",
32
"traitType": "Allergic",
33
"trait_type": "Allergic"
34
},
35
{
36
"type": "property",
37
"name": "Hobby",
38
"value": "Scouts",
39
"traitType": "Hobby",
40
"trait_type": "Hobby"
41
},
42
{
43
"type": "stat",
44
"name": "Cool",
45
"value": "9",
46
"maxValue": "10",
47
"displayType": "number",
48
"display_type": "number",
49
"traitType": "Cool",
50
"trait_type": "Cool"
51
},
52
{
53
"type": "stat",
54
"name": "Daring",
55
"value": "8",
56
"maxValue": "10",
57
"displayType": "number",
58
"display_type": "number",
59
"traitType": "Daring",
60
"trait_type": "Daring"
61
},
62
{
63
"type": "stat",
64
"name": "Noise",
65
"value": "8",
66
"maxValue": "10",
67
"displayType": "number",
68
"display_type": "number",
69
"traitType": "Noise",
70
"trait_type": "Noise"
71
},
72
{
73
"type": "stat",
74
"name": "Age",
75
"value": "3",
76
"displayType": "number",
77
"display_type": "number",
78
"traitType": "Age",
79
"trait_type": "Age"
80
}
81
],
82
"contract": {
83
"address": "0x7940e73832403de364568ce406bd4792097b6594",
84
"name": "Space Chickens",
85
"symbol": "SPACECHICKS",
86
"image": "https://static.wikia.nocookie.net/logopedia/images/a/aa/Space_Chickens_in_Space.jpg",
87
"imageUrl": "https://static.wikia.nocookie.net/logopedia/images/a/aa/Space_Chickens_in_Space.jpg",
88
"image_url": "https://static.wikia.nocookie.net/logopedia/images/a/aa/Space_Chickens_in_Space.jpg",
89
"description": "Space Chickens in Space is an American-Australian-Mexican-British-Irish animated television series produced by Ánima Estudios in Mexico, Studio Moshi in Australia. A trio of chickens—Chuck, Starley and Finley—are taken from their home and mistakenly enrolled in an elite intergalactic former military academy. It would take all their strength, and teamwork, to survive every escapade they have.",
90
"externalLink": "https://en.wikipedia.org/wiki/Space_Chickens_in_Space",
91
"external_link": "https://en.wikipedia.org/wiki/Space_Chickens_in_Space",
92
"externalUrl": "https://en.wikipedia.org/wiki/Space_Chickens_in_Space",
93
"external_url": "https://en.wikipedia.org/wiki/Space_Chickens_in_Space",
94
"media": [
95
{
96
"type": "unknown",
97
"value": "https://dg31sz3gwrwan.cloudfront.net/fanart/355763/1357791-0-q80.jpg"
98
}
99
],
100
"type": "ERC_1155"
101
},
102
"asset_contract": {
103
"address": "0x7940e73832403de364568ce406bd4792097b6594",
104
"name": "Space Chickens",
105
"symbol": "SPACECHICKS",
106
"image": "https://static.wikia.nocookie.net/logopedia/images/a/aa/Space_Chickens_in_Space.jpg",
107
"imageUrl": "https://static.wikia.nocookie.net/logopedia/images/a/aa/Space_Chickens_in_Space.jpg",
108
"image_url": "https://static.wikia.nocookie.net/logopedia/images/a/aa/Space_Chickens_in_Space.jpg",
109
"description": "Space Chickens in Space is an American-Australian-Mexican-British-Irish animated television series produced by Ánima Estudios in Mexico, Studio Moshi in Australia. A trio of chickens—Chuck, Starley and Finley—are taken from their home and mistakenly enrolled in an elite intergalactic former military academy. It would take all their strength, and teamwork, to survive every escapade they have.",
110
"externalLink": "https://en.wikipedia.org/wiki/Space_Chickens_in_Space",
111
"external_link": "https://en.wikipedia.org/wiki/Space_Chickens_in_Space",
112
"externalUrl": "https://en.wikipedia.org/wiki/Space_Chickens_in_Space",
113
"external_url": "https://en.wikipedia.org/wiki/Space_Chickens_in_Space",
114
"media": [
115
{
116
"type": "unknown",
117
"value": "https://dg31sz3gwrwan.cloudfront.net/fanart/355763/1357791-0-q80.jpg"
118
}
119
],
120
"type": "ERC_1155"
121
},
122
"fungible": true
123
}
Copied!

Advanced

For more information on configuration options in the NFT template, such as adding media, defining a max supply, and much more please read NFT Configuration.
Last modified 4mo ago