Optionaldata: {Optionalemail?: stringCurrent network status:
connected - connected to the socketdisconnected - disconnected from the socketconnecting - connecting to the socketswitching - switching network type (fast/relaxed)Optionalsubscription?: SubscriptionEntitlementSnapshotThe most recently fetched subscription entitlement snapshot.
undefined until the account receives a socket entitlement snapshot or
AccountApi.getSubscriptionStatus / AccountApi.refreshSubscription
has been called.
Subscribe to the 'updated' event (inherited from DataEntity) to react
to changes; the changedKeys array will include 'subscription' when
this field is refreshed.
Optionalusername?: stringOptionalwalletAddress?: stringProtecteddataOptionalemail?: stringCurrent network status:
connected - connected to the socketdisconnected - disconnected from the socketconnecting - connecting to the socketswitching - switching network type (fast/relaxed)Optionalsubscription?: SubscriptionEntitlementSnapshotThe most recently fetched subscription entitlement snapshot.
undefined until the account receives a socket entitlement snapshot or
AccountApi.getSubscriptionStatus / AccountApi.refreshSubscription
has been called.
Subscribe to the 'updated' event (inherited from DataEntity) to react
to changes; the changedKeys array will include 'subscription' when
this field is refreshed.
Optionalusername?: stringOptionalwalletAddress?: stringProtectedlastProtectedlistenersConvenience getter - true when the account has an effective
subscription entitlement on any Unlimited tier ("unlimited" or
"unlimited_pro").
Returns false when no entitlement snapshot has been fetched yet, when
the server reports no active entitlement, or when the tier is not an
Unlimited tier. Call AccountApi.refreshSubscription to force a REST
refresh when no socket entitlement snapshot has been received yet.
The most recently cached subscription entitlement snapshot.
undefined until the account receives a socket entitlement snapshot or
AccountApi.getSubscriptionStatus / AccountApi.refreshSubscription
has been called.
ProtectedemitRemove all event listeners, optionally for a specific event
Optionalevent: TGet a copy of the entity's data
Optionalemail?: stringCurrent network status:
connected - connected to the socketdisconnected - disconnected from the socketconnecting - connecting to the socketswitching - switching network type (fast/relaxed)Optionalsubscription?: SubscriptionEntitlementSnapshotThe most recently fetched subscription entitlement snapshot.
undefined until the account receives a socket entitlement snapshot or
AccountApi.getSubscriptionStatus / AccountApi.refreshSubscription
has been called.
Subscribe to the 'updated' event (inherited from DataEntity) to react
to changes; the changedKeys array will include 'subscription' when
this field is refreshed.
Optionalusername?: stringOptionalwalletAddress?: string
Current account data.