Skip to main content
Version: master

Events

The relationships module emits the following events:

Handlers

MsgCreateRelationship

TypeAttribute KeyAttribute Value
created_relationshipcreator{userAddress}
created_relationshipcounterparty{counterpartyAddress}
created_relationshipsubspace_id{subspaceID}
messagemodulerelationships
messageaction/desmos.relationships.v1.MsgCreateRelationship
messagesender{userAddress}

MsgDeleteRelationship

TypeAttribute KeyAttribute Value
deleted_relationshipcreator{userAddress}
deleted_relationshipcounterparty{counterpartyAddress}
deleted_relationshipsubspace_id{subspaceID}
messagemodulerelationships
messageaction/desmos.relationships.v1.MsgDeleteRelationship
messagesender{userAddress}

MsgBlockUser

TypeAttribute KeyAttribute Value
blocked_userblocker{blockerAddress}
blocked_userblocked{blockedAddress}
blocked_usersubspace_id{subspaceID}
messagemodulerelationships
messageaction/desmos.relationships.v1.MsgBlockUser
messagesender{userAddress}

MsgUnblockUser

TypeAttribute KeyAttribute Value
unblocked_userblocker{blockerAddress}
unblocked_userblocked{blockedAddress}
unblocked_usersubspace_id{subspaceID}
messagemodulerelationships
messageaction/desmos.relationships.v1.MsgUnblockUser
messagesender{userAddress}