Skip to main content
Version: 4.2.0

Msg Service

Msg/SaveProfile

A profile can be created or edited with the MsgSaveProfile, which allows to specify a DTag, a nickname, a bio and the profile and cover pictures.

If a profile already exists, and you want to edit only a subset of the fields, you can use [do-not-modify] to specify the fields which values should not be changed (i.e. setting the DTag to [do-not-modify] will preserve the current value of the DTag).

proto/desmos/profiles/v3/msgs_profile.proto
loading...

It's expected to fail if a profile with the same DTag exists.

Msg/DeleteProfile

A profile can be deleted using the MsgDeleteProfile. This will remove all the profile information from the store, but will not delete the on-chain account associated to such profile.

Beware that using this message you will lose the ownership of your DTag and you will delete everything that is related to your profile (i.e. incoming DTag transfer requests).

proto/desmos/profiles/v3/msgs_profile.proto
loading...

It's expected to fail if the signer does not have a profile.

Msg/RequestDTagTransfer

A DTag transfer request can be created using the MsgRequestDTagTransfer.

proto/desmos/profiles/v3/msgs_dtag_requests.proto
loading...

It's expected to fail if the recipient of the request has no profile.

Msg/CancelDTagTransferRequest

An outgoing DTag transfer request can be canceled using the MsgCancelDTagTransferRequest.

proto/desmos/profiles/v3/msgs_dtag_requests.proto
loading...

It's expected to fail if the request does not exist.

Msg/AcceptDTagTransferRequest

An incoming DTag transfer request can be accepted using the MsgAcceptDTagTransferRequest. When accepting a DTag transfer request, the user accepting it must specify a new DTag that they want after their old one gets transferred to the request sender.

proto/desmos/profiles/v3/msgs_dtag_requests.proto
loading...

It's expected to fail if:

  • the request does not exist.
  • the specified new DTag is already used by someone else.

Msg/RefuseDTagTransferRequest

An incoming DTag transfer request can be refused using MsgRefuseDTagTransferRequest

proto/desmos/profiles/v3/msgs_dtag_requests.proto
loading...

It's expected to fail if the request does not exist.

Msg/LinkChainAccount

A new chain link can be created using the MsgLinkChainAccount

proto/desmos/profiles/v3/msgs_chain_links.proto
loading...

It's expected to fail if:

  • the signer does not have a profile.
  • the chain link signature is not valid.

Msg/UnlinkChainAccount

An existing chain link can be deleted using the MsgUnlinkChainAccount

proto/desmos/profiles/v3/msgs_chain_links.proto
loading...

It's expected to fail if the chain link does not exist.

Msg/SetDefaultExternalAddress

A new default external address can be set using MsgSetDefaultExternalAddress.

proto/desmos/profiles/v3/msgs_chain_links.proto
loading...

It's expected to fail if the chain link does not exist.

Msg/LinkApplication

A new application link can be created using the MsgLinkApplication

proto/desmos/profiles/v3/msgs_app_links.proto
loading...

It's expected to fail if the signer does not have a profile.

Msg/UnlinkApplication

An existing application link can be deleted using the MsgUnlinkApplication

proto/desmos/profiles/v3/msgs_app_links.proto
loading...

It's expected to fail if the application link does not exist.