Events list
Event bus provides a way to subscribe to events from any of the services running.
const eventBus = require('ocore/event_bus.js');Wallet is ready (only headless wallet)
eventBus.on('headless_wallet_ready', () => {
});Start database update
eventBus.on('started_db_upgrade', () => {
});End of database update
eventBus.on('finished_db_upgrade', () => {
});Connection to the hub via ws is established
Connection to the hub is established and an error is possible
Connected to ws
Not a fatal error
Unit validation status
New joint
Main chain index has become stable
New unstable transactions
Stable transactions
Bad transactions
First history received
Changes with addresses leading to possible new transactions
New unstable unit
New private payment
Stable unit
Syncing is idle
Catching up done
Catching up started
Catchup next hash tree
New direct private chains
Unhandled private payments left
Version of the connected user
New wallet version available
Received the project number for notifications on the phone
Client logged in
Message from the hub
Message for light client
Exchange rates are updated
Message received by hub
Notifications are enabled
Notifications are disabled
Create new wallet
Wallet created and signed
Wallet was rejected by the other side
Wallet has been confirmed by the other party
Created new address
Created new address
Unit saved
Attempt to pair us with another correspondent
Pairing was successful
Pairing was successful using pairing secret
The paired device has been removed
History update started
History update finished
A new message string type message has been received
A new message object type message has been received
Change in permission to store message history
Created a new shared address
Signing request
Signed event
Refuse to sign
Confirmed on another device
All private payments are processed
All private payments are processed in a unit
Event for custom Request
Event for custom JustSaying
Database is read and ready to work (only Cordova)
Error sending message via ws
Last updated
Was this helpful?