Skip to content

Commit

Permalink
Updated README for multi-wallet.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Sep 7, 2018
1 parent cb9858a commit 333a012
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,18 @@ $promise = $bitcoind->requestAsync(
$promise->wait();
```

## Multi-Wallet RPC
You can use `wallet($name)` function to do a [Multi-Wallet RPC call](https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#Multi-wallet_RPC_calls):
```php
/**
* Get wallet2.dat balance.
*/
$balance = $bitcoind->wallet('wallet2.dat')->getbalance();

$balance->get(); // 0.10000000
```


## License

This product is distributed under MIT license.
Expand Down

0 comments on commit 333a012

Please sign in to comment.