From 848dc297777bbccb1d9519259f83c1db9c7aa309 Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Wed, 13 Apr 2016 09:17:28 -0400 Subject: [PATCH] docs: update get balance method --- docs/services.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/services.md b/docs/services.md index e4511388..85271347 100644 --- a/docs/services.md +++ b/docs/services.md @@ -65,7 +65,7 @@ var myNode = new bitcore.Node({ Now that you've loaded your services you can access them via `myNode.services..`. For example if you wanted to check the balance of an address, you could access the address service like so. ```js -myNode.services.bitcoind.getBalance('1HB5XMLmzFVj8ALj6mfBsbifRoD4miY36v', false, function(err, total) { +myNode.services.bitcoind.getAddressBalance('1HB5XMLmzFVj8ALj6mfBsbifRoD4miY36v', false, function(err, total) { console.log(total.balance); //Satoshi amount of this address }); ```