bluebarricade-client-sdk
v0.2.5
Published
bluebarricade connect sdk
Downloads
2
Readme
bluebarricade-client-sdk
- current version
0.2.5
- install
npm -i bluebarricade-client-sdk (https://www.npmjs.com/package/bluebarricade-client-sdk)
- functions
- getdeposits
- getaddressinfo
- getwithdraws
- gettransfers
- gettransferinfo
- createAddress
- deposit
- withdraw
- lockBalance
- unlockBalance
- transferMoney
- gethistorian
- ....
- usage example
const bluebarricade_client = require('bluebarricade-client-sdk');
bluebarricade_client.msg("HELLO");
bluebarricade_client.getdeposits(base_url, function (data, response){ //get deposit lists
//handle data
})
bluebarricade_client.getaddressinfo(base_url, address, function (data, response){ //get address info
//handle data
})
bluebarricade_client.getwithdraws(base_url, function (data, response){ //get withdraw list
//handle data
})
bluebarricade_client.lockBalance(base_url, address, lock_amount, function (data, response){ //lock some amount on specific address
//handle data
})
bluebarricade_client.gethistorian(base_url, function (res){ //get historian list console.log("res:", res) }) .........
- public
npm publish --access public