Skip to content

Commit

Permalink
add new endpoint: /api/v2/get_account_info
Browse files Browse the repository at this point in the history
  • Loading branch information
Atif Nazir committed Apr 6, 2020
1 parent a54c850 commit 5004e5c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/block_io.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ BlockIo.PASSTHROUGH_METHODS = [
'delete_notification', 'validate_api_key', 'sign_transaction', 'finalize_transaction',
'get_my_addresses_without_balances', 'get_raw_transaction', 'get_dtrust_balance',
'archive_addresses', 'unarchive_addresses', 'archive_dtrust_addresses', 'unarchive_dtrust_addresses',
'is_valid_address', 'get_current_price'
'is_valid_address', 'get_current_price', 'get_account_info'
];

// withdrawal methods that need local signing
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dogecoin",
"wallet"
],
"version": "2.0.2",
"version": "2.0.3",
"preferGlobal": false,
"homepage": "https://github.com/BlockIo/block_io-nodejs",
"author": "Patrick Lodder <[email protected]> (https://github.com/patricklodder)",
Expand All @@ -31,7 +31,7 @@
"pbkdf2": "=3.0.16"
},
"devDependencies": {
"vows": "^0.8.2"
"vows": "^0.8.3"
},
"engines": {
"node": ">=5.10.1",
Expand Down
2 changes: 1 addition & 1 deletion test/helpers/generic.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var request = require('request');
var loggedEnvError = false;

var genericHelpers = module.exports = {
FEES: {BTC: 0.0001, BTCTEST: 0.0001, DOGE: 1, DOGETEST: 1, LTC: 0.001, LTCTEST: 0.001},
FEES: {BTC: 0.00001, BTCTEST: 0.00001, DOGE: 1, DOGETEST: 1, LTC: 0.0001, LTCTEST: 0.0001},
checkEnv: function () {
if (!process.env.BLOCK_IO_API_KEY || !process.env.BLOCK_IO_PIN) {
if (!loggedEnvError) {
Expand Down

0 comments on commit 5004e5c

Please sign in to comment.