chain-node
Advanced tools
Comparing version 0.0.11 to 0.0.12
11
index.js
@@ -60,2 +60,13 @@ var request = require('request'); | ||
}, | ||
getAddressOpReturns: function(address, cb) { | ||
request({ | ||
method: 'GET', | ||
uri: this.getBaseURL() + '/addresses/' + address + '/op-returns', | ||
strictSSL: true, | ||
cert: PEM, | ||
auth: {user: this.getKey()}, | ||
}, function(err, msg, resp) { | ||
cb(err, JSON.parse(resp)); | ||
}); | ||
}, | ||
getTransaction: function(hash, cb) { | ||
@@ -62,0 +73,0 @@ request({ |
{ | ||
"name": "chain-node", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "The Official Node.js SDK for Chain's Bitcoin API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9911
136