obyte.js
GitHubDiscord
0.1.0
0.1.0
  • Byteball.js
  • Getting started
    • Quick start
  • Client
    • Subscribe
    • Just saying
  • API
    • Get witnesses
    • Get peers
    • Get joint
    • Get last MCI
    • Get history
    • Get attestation
    • Get attestations
    • Get bots
    • Get asset metadata
    • Core
      • Catchup
      • Get hash tree
      • Get light props
      • Post joint
      • Pick divisible coins for amount
  • Post
    • Address definition change
    • Attestation
    • Asset
    • Asset attestors
    • Data
    • Data feed
    • Definition template
    • Payment
    • Poll
    • Vote
    • Profile
    • Text
  • Utils
    • Generate a random address
  • About
    • About
    • Links
    • Tutorials
Powered by GitBook
On this page
  1. Client

Just saying

Send a message to a node that does not require response.

PreviousSubscribeNextGet witnesses

Last updated 6 years ago

Example

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