Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coinsecrets

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coinsecrets

Unofficial client to Coinsecrets.org API

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

coinsecrets NPM Version node Dependency Status JavaScript Style Guide

Node.js unofficial client to Coinsecrets.org - Recent Metadata in the Bitcoin Blockchain

Coinsecrets.org lists metadata recently embedded in the bitcoin blockchain using OP_RETURN outputs.

Install

npm install --save coinsecrets

Usage

const Coinsecrets = require('coinsecrets')
let cs = new Coinsecrets({ network: 'mainnet' }) // or testnet

cs.block(353197)
  .then(console.log)
  .catch(console.error)

cs.mempool()
  .then(console.log)
  .catch(console.error)

Methods

  • block(<Number>): Get a block op_returns scripts.
  • mempool(): Get op_returns tx in the mempool.
  • version(): Get API version.

Debug

To enable debug set the env var DEBUG=coinsecrets

Author

Rocco Musolino (@roccomuso)

License

MIT

Keywords

FAQs

Package last updated on 22 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc