Msg Service
Msg/CreateRelationship
A new relationship can be created with the MsgCreateRelationship
, which allows to specify the subspace inside which the relationship should live and the counterparty address.
loading...
It's expected to fail if a relationships between the same user and counterparty already exists inside the same subspace.
Msg/DeleteRelationship
An existing relationship can be deleted with the MsgDeleteRelationship
.
loading...
It's expected to fail if a relationships between the signer and counterparty does not exist inside the specified subspace.
Msg/BlockUser
A new user block can be created with the MsgBlockUser
, which allows to specify the subspace inside which the block should be valid, the address of the blocked user and an optional reason for the block.
loading...
It's expected to fail if a user block between the same user and blocker already exists inside the same subspace.
Msg/UnblockUser
An existing user block can be deleted with the MsgUnblockUser
.
loading...
It's expected to fail if the user block does not exist inside the specified subspace.