Skip to content

Latest commit

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

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

About

node.js api to the blockchain websocket api

Resources

Stars

89 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages