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).
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).
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
.
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
.
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.
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
loading...
It's expected to fail if the request does not exist.
Msg/LinkChainAccount
A new chain link can be created using the MsgLinkChainAccount
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
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
.
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
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
loading...
It's expected to fail if the application link does not exist.