Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
node.js api to the blockchain websocket api
branch: master
Failed to load latest commit information.
bin remove optimist, add travis, fix description
lib Update websockets URL.
test fix global leak
.gitignore first commit
.travis.yml update travis
LICENSE add license
README.md add license
package.json 1.0.7

README.md

blockchain

node.js module to access the blockchain websocket api

Build Status

installation

npm install blockchain

donations

1Kk26TMvgxFavxuLTNdkmh7iHzs2A7524y

methods

  • constructor(): creates a new socket and calls open
  • subscribe(address, callback)
  • unsubscribe(address, callback)
  • open()
  • close()

events

  • connect: function()
  • connectFailed: function(errorDescription)
  • disconnect function()
  • error: function(error)

notes

  • subscriptions persist
  • see tests for example

license

ISC

Something went wrong with that request. Please try again.