1.1.2 • Published 4 years ago

cryptapi v1.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

cryptapi

cryptapi nodejs wrapper

Bitcoin, Bitcoin Cash, Litecoin, Ethereum, Monero, IOTA, ...

Installation & Use

npm install cryptapi
yarn add cryptapi
const cryptapi = require('cryptapi')()

// each ticker has 3 methods
// tickerInfo, tickerCreateAddress, tickerLogs
// https://cryptapi.io/docs

cryptapi.btcInfo()
  .then(console.log)
  .catch(console.error)

cryptapi.btcCreateAddress(address, callback, options)
  .then(console.log)
  .catch(console.error)

cryptapi.btcLogs(callback)
  .then(console.log)
  .catch(console.error)

Interface

{
  "btcInfo",
  "btcCreateAddress",
  "btcLogs",
  "bchInfo",
  "bchCreateAddress",
  "bchLogs",
  "ltcInfo",
  "ltcCreateAddress",
  "ltcLogs",
  "etcInfo",
  "etcCreateAddress",
  "etcLogs",
  "xmrInfo",
  "xmrCreateAddress",
  "xmrLogs",
  "iotaInfo",
  "iotaCreateAddress",
  "iotaLogs"
}
1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago