Update README.md

This commit is contained in:
Richard Ramos 2019-10-10 11:00:02 +09:00 committed by GitHub
parent 3bebea2dad
commit 918b457ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -72,13 +72,13 @@ myObservable$.subscribe(console.dir)
```
#### Tracking a contract balance, and a account balance
Track balance changes in ETH or Tokens by specifying the token address. By default it will track ETH balance.
Track balance changes in ETH or Tokens by optionally specifying the token address. By default it will track ETH balance.
```js
const myObservable$ = myContract.trackBalance([tokenAddress])
or
// OR
const myObservable$ = subspace.trackBalance(address, [tokenAddress])
```
@ -177,4 +177,4 @@ const Subspace = require('./dist/node.js');
The browser version can be found at `dist/browser.js`. You can also check the examples in `test/`.
## License
MIT
MIT