RegisterEvent

RegisterEvent

new RegisterEvent(valueopt, propertiesopt, transactionIdopt)

Creates an instance of RegisterEvent. A CustomEvent subclass with a predefined name and known properties.

Properties:
Properties
Name Type Description
properties Object
Name Type Description
category String

255 character limit.

See:
  • CustomEvent for all properties and constructor details.
Parameters:
Name Type Attributes Default Description
value Number <optional>
properties Object <optional>
{}
transactionId String <optional>
Example
const event = new sdk.CustomEvent.templates.account.RegisterEvent()
event.properties.category = 'my-category'
event.track()