Skip to content

Events

HubEvent

FieldTypeLabelDescription
typeHubEventType
iduint64
bodyMergeMessageBody,
PruneMessageBody,
RevokeMessageBody,
MergeUserNameProofBody,
MergeOnChainEventBody
oneOf

HubEventType

NameNumberDescription
HUB_EVENT_TYPE_NONE0
HUB_EVENT_TYPE_MERGE_MESSAGE1
HUB_EVENT_TYPE_PRUNE_MESSAGE2
HUB_EVENT_TYPE_REVOKE_MESSAGE3
HUB_EVENT_TYPE_MERGE_USERNAME_PROOF6
HUB_EVENT_TYPE_MERGE_ON_CHAIN_EVENT9

MergeMessageBody

FieldTypeLabelDescription
messageMessage
deleted_messagesMessagerepeated

MergeUserNameProofBody

FieldTypeLabelDescription
username_proofUserNameProof
deleted_username_proofUserNameProof
username_proof_messageMessage
deleted_username_proof_messageMessage

PruneMessageBody

FieldTypeLabelDescription
messageMessage

RevokeMessageBody

FieldTypeLabelDescription
messageMessage

MergeOnChainEventBody

FieldTypeLabelDescription
on_chain_eventOnChainEvent