Skip to content
On this page

Events

HubEvent

FieldTypeLabelDescription
typeHubEventType
iduint64
bodyMergeMessageBody,
PruneMessageBody,
RevokeMessageBody,
MergeNameRegistryEventBody,
MergeUserNameProofBody,
MergeRentRegistryEventBody,
MergeStorageAdminRegistryEventBody
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_ID_REGISTRY_EVENT4
HUB_EVENT_TYPE_MERGE_NAME_REGISTRY_EVENT5
HUB_EVENT_TYPE_MERGE_USERNAME_PROOF6
HUB_EVENT_TYPE_MERGE_RENT_REGISTRY_EVENT7
HUB_EVENT_TYPE_MERGE_STORAGE_ADMIN_REGISTRY_EVENT8

MergeIdRegistryEventBody

FieldTypeLabelDescription
id_registry_eventIdRegistryEvent

IdRegistryEvent

FieldTypeLabelDescription
block_numberuint32
block_hashbytes
transaction_hashbytes
log_indexuint32
fiduint64
tobytes
typeIdRegistryEventType
frombytes

IdRegistryEventType

NameNumberDescription
ID_REGISTRY_EVENT_TYPE_NONE0
ID_REGISTRY_EVENT_TYPE_REGISTER1
ID_REGISTRY_EVENT_TYPE_TRANSFER2

MergeMessageBody

FieldTypeLabelDescription
messageMessage
deleted_messagesMessagerepeated

MergeNameRegistryEventBody

FieldTypeLabelDescription
name_registry_eventNameRegistryEvent

NameRegistryEvent

FieldTypeLabelDescription
block_numberuint32
block_hashbytes
transaction_hashbytes
log_indexuint32
fnamebytes
frombytes
tobytes
typeNameRegistryEventType
expiryuint32

NameRegistryEventType

NameNumberDescription
NAME_REGISTRY_EVENT_TYPE_NONE0
NAME_REGISTRY_EVENT_TYPE_TRANSFER1
NAME_REGISTRY_EVENT_TYPE_RENEW2

MergeRentRegistryEventBody

FieldTypeLabelDescription
rent_registry_eventRentRegistryEvent

MergeStorageAdminRegistryEventBody

FieldTypeLabelDescription
storage_admin_registry_eventStorageAdminRegistryEvent

MergeUserNameProofBody

FieldTypeLabelDescription
username_proofUserNameProof
deleted_username_proofUserNameProof
username_proof_messageMessage
deleted_username_proof_messageMessage

PruneMessageBody

FieldTypeLabelDescription
messageMessage

RevokeMessageBody

FieldTypeLabelDescription
messageMessage