Skip to content

Commit

Permalink
📝 warn to pass param in getClient README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vikiival authored Mar 29, 2023
1 parent 28b27a0 commit 1764cf0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,14 @@ We have currently two implementations
```js
import { getClient } from '@kodadot1/uniquery'

const client = getClient()
const client = getClient('bsx')
const id = '2305670031'
const query = client.collectionById(id)
const result = await client.fetch(query)
```

> ⚠️: If you want to use `.fetch` method on client, you need to pass chain prefix as parameter
- 2. REST

```js
Expand Down

0 comments on commit 1764cf0

Please sign in to comment.