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
Attribute | Type | Description | Required |
---|---|---|---|
sender | String | Desmos address of the user that is creating the relationship | yes |
receiver | String | Desmos address of the relationship's recipient | yes |
subspace | String | Identifies the app where the relationship should be valid | yes |
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