Skip to content

Commit

Permalink
docs: add network type for dapi-client
Browse files Browse the repository at this point in the history
  • Loading branch information
thephez committed Dec 12, 2024
1 parent 355a0eb commit e40850b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/dapi-client-js/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ You can see an [example usage here](https://github.com/dashpay/platform/blob/mas

```js
const DAPIClient = require('@dashevo/dapi-client');
const client = new DAPIClient();
const client = new DAPIClient({ network: 'testnet' });

(async () => {
const bestBlockHash = await client.core.getBestBlockHash();
Expand Down
Loading

0 comments on commit e40850b

Please sign in to comment.