Skip to content

Commit

Permalink
Added complete balance example
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Eyrick authored Mar 26, 2018
1 parent dd325c6 commit 9faff18
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ npm install skycoin
// Accepts single address, or array of addresses. divide balance by 1e6
console.log(await api.balance('2CfGyhRyvT8Y4uF9CqoKBgYZuRrgKfCP2nj'));
```
<details>
<summary>View Response</summary>

```js
{ confirmed: { coins: 265000000, hours: 108286 },
predicted: { coins: 265000000, hours: 108286 } }
```
</details>

#### Get node version info
```js
Expand Down

0 comments on commit 9faff18

Please sign in to comment.