Skip to main content
Version: v2.3.0

MsgSaveProfile

This message allows you to save a new profile or edit an existent one.

Structure

{
"@type": "/desmos.profiles.v1beta1.MsgSaveProfile",
"dtag": "<Profile dtag>",
"nickname": "<Profile nickname>",
"bio": "<Profile biography>",
"profile_picture": "<URI of the profile account's picture>",
"cover_picture": "<URI of the profile cover picture>",
"creator": "<Desmos address that's creating the profile>"
}

Attributes

AttributeTypeDescriptionRequired
dtagStringDTag of the useryes
nicknameStringNickname of the userno
bioStringBiography of the userno
profile_pictureStringURL to the user profile pictureno
cover_pictureStringURL to the user cover pictureno
creatorStringDesmos address of the user that is editing the profileyes

If you are editing an existing profile and do not want to edit some fields, you can use the special value [do-not-modify].

Example

{
"@type": "/desmos.profiles.v1beta1.MsgSaveProfile",
"dtag": "Eva00",
"nickname": "Rei Ayanami",
"bio": "The real pilot",
"profile_picture": "[do-not-modify]",
"cover_picture": "https://shorturl.at/cgpyF",
"creator": "desmos12a2y7fflz6g4e5gn0mh0n9dkrzllj0q5vx7c6t"
}

Message action

The action associated to this message is the following:

save_profile