coloredcoinsd-wraper
v0.5.0
Published
coloredcoinsd api wraper
Downloads
49
Readme
coloredcoinsd-wraper
Installation
$ npm i coloredcoinsd-wraper
Constructor
var ColoredCoins = require('coloredcoinsd-wraper')
var cc = new ColoredCoins({
coloredCoinsHost: 'optional'
})
API's
Coloredcoinsd.prototype.getIssueAssetTx(args, cb)
Coloredcoinsd.prototype.getSendAssetTx(args, cb)
Coloredcoinsd.prototype.broadcastTx(args, cb)
Coloredcoinsd.prototype.getAddressInfo(address, cb)
Coloredcoinsd.prototype.getStakeHolders(assetId, numConfirmations, cb)
Coloredcoinsd.prototype.getAssetMetadata(assetId, utxo, cb)
Coloredcoinsd.prototype.getAssetData(args, cb)
Coloredcoinsd.signTx(unsignedTx, privateKey)
Testing
$ mocha