Skip to main content
Version: 2.3

MsgCreateRelationship

This message allows you to create a relationship between the signer and a specified user.

Structure

{
"@type": "/desmos.profiles.v1beta1.MsgCreateRelationship",
"sender": "<Desmos address that's creating the relationship>",
"receiver": "<Desmos address that's receiving the relationship>",
"subspace": "<Subspace of the relationship>"
}

Attributes

AttributeTypeDescriptionRequired
senderStringDesmos address of the user that is creating the relationshipyes
receiverStringDesmos address of the relationship's recipientyes
subspaceStringIdentifies the app where the relationship should be validyes

Example

{
"@type": "/desmos.profiles.v1beta1.MsgCreateRelationship",
"sender": "desmos1e209r8nc8qdkmqujahwrq4xrlxhk3fs9k7yzmw",
"receiver": "desmos13p5pamrljhza3fp4es5m3llgmnde5fzcpq6nud",
"subspace": "4e188d9c17150037d5199bbdb91ae1eb2a78a15aca04cb35530cccb81494b36e"
}

Message action

The action associated to this message is the following:

create_relationship