OSDN Git Service

add balances api
[bytom/bytom-node-sdk.git] / README.md
1 # Bytom Node.js SDK
2
3 ## Usage
4
5 ### In your code
6
7 ```
8 const bytom = require('bytom-sdk')
9
10 const client = new bytom.Client()
11 ```
12
13 ## Interaction with bytom
14
15 ### Acount
16
17 ```javascript
18 client.account.listAccounts().then(resp => {
19   console.log(resp.data)
20 })
21 ```