From 9faff18d25814ad9fa63fda2681ac8c1329d08a6 Mon Sep 17 00:00:00 2001 From: Jon Eyrick Date: Sun, 25 Mar 2018 21:35:18 -0700 Subject: [PATCH] Added complete balance example --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index ae6650f..1e3ae7f 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,14 @@ npm install skycoin // Accepts single address, or array of addresses. divide balance by 1e6 console.log(await api.balance('2CfGyhRyvT8Y4uF9CqoKBgYZuRrgKfCP2nj')); ``` +
+ View Response + +```js +{ confirmed: { coins: 265000000, hours: 108286 }, + predicted: { coins: 265000000, hours: 108286 } } +``` +
#### Get node version info ```js