New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blockcypher-unofficial

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blockcypher-unofficial - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "blockcypher-unofficial",
"version": "1.0.1",
"version": "1.0.2",
"description": "wrapper around blockcypher's api. Conforms to a standard derived from bitcoind",

@@ -5,0 +5,0 @@ "keywords": [

@@ -7,17 +7,24 @@ # blockcypher-unofficial

for a guide to the standard that this module follows please check out <a href="https://github.com/blockai/abstract-common-blockchain/blob/master/README.md">here</a>
```
npm install blockcypher-unofficial
```
<a href="https://github.com/blockai/abstract-common-blockchain/edit/master/README.md">See abstract-common-blockchain for API</a>
Also check out the comments above each function in lib if you want a deeper understanding of what each function expects and returns.
## Convention
Standard convention is described fully in the types.json file.
here is a quick example call to each function in the library
##Usage
//simply require the npm module at the top of the file you are using it on.
simply require the npm module at the top of the file
```javascript
var blockcypher = require('blockcypher-unoffical');
```
Also check out the comments above each function in lib if you want a deeper understanding of what each function expects and returns.
## Addresses
```javascript
//for more information about the arguments, check the comment stubs above each function in addresses.js in lib.

@@ -33,4 +40,6 @@

blockcypher({network: "testnet"}).Addresses.Transactions(addresses, callback);
```
## Blocks
```javascript
//for more information about the arguments, check the comment stubs above each function in blocks.js in lib.

@@ -49,4 +58,7 @@

blockcypher({network: "testnet"}).Blocks.Transactions(blockids, callback);
```
## Transactions
```javascript
//for more information about the arguments, check the comment stubs above each function in transactions.js in lib.

@@ -67,2 +79,9 @@

blockcypher({network: "mainnet"}).Transactions.Propogate(transactionHex, callback);
blockcypher({network: "testnet"}).Transactions.Propogate(transactionHex, callback);
blockcypher({network: "testnet"}).Transactions.Propogate(transactionHex, callback);
```
## Maintainers
* Andrew Malta: andrew.malta@yale.edu
* Howard Wu: howardwu@berkeley.edu
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