kbyte
GitHub
  • kbyte
  • Getting started
  • Full node API
    • Get witnesses
    • Get peers
    • Get joint
    • Get last MCI
    • Catchup
    • Get hash tree
    • Subscribe
  • Light node API
    • Get history
    • Get light props
    • Get attestation
    • Get attestations
    • Pick divisible coins for amount
  • Hub API
    • Get bots
    • Get asset metadata
  • Utils
    • Generate random seed
    • Is seed valid?
  • Subscribe
  • Just saying
  • Promises
Powered by GitBook
On this page

Just saying

PreviousSubscribeNextPromises

Last updated 6 years ago

Send a message to a node:

client.justsaying('light/new_address_to_watch', 'BVVJ2K7ENPZZ3VYZFWQWK7ISPCATFIW3');

You need to subscribe to WebSocket notifications to see messages sent to you. Here is an example of a notification:

[
  'justsaying',
  {
    subject: 'info',
    body: 'now watching BVVJ2K7ENPZZ3VYZFWQWK7ISPCATFIW3'
  }
]

see here