0.1.1 • Published 9 years ago
shapeshiftjs v0.1.1
ShapeshiftJS
A javascript wrapper for the Shapeshift API
Installation
npm install shapeshiftjs
Usage
var shapeshiftJS = require('shapeshiftjs');
var params = {
amount: 1,
withdrawal: '19bPFghugaE5Z1LPLegzgw95McdXoU3WKL',
currencyPair: 'btc_eth'
};
return shapeshiftJS.postSendAmount(params)
.then(function(res) {
return console.log(res);
})
.catch(function(res) {
throw new Error(err);
});