Skip to content

Commit

Permalink
Update free calls documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kiruxaspb authored Oct 23, 2024
1 parent 6b04f3e commit 63644c4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,19 @@ If you want to use the free calls you will need to pass these arguments to the `

```python
free_call_auth_token_bin = "f2548d27ffd319b9c05918eeac15ebab934e5cfcd68e1ec3db2b92765",
free_call_token_expiry_block = 172800
free_call_token_expiry_block = 172800,
email = "[email protected]" # which using in AI marketplace account
```

You can receive these for a given service from the [Dapp](https://beta.singularitynet.io/)

Creating a service client with free calls included would look like this:
```python
service_client = snet_sdk.create_service_client(org_id="26072b8b6a0e448180f8c0e702ab6d2f",
service_id="Exampleservice",
group_name="default_group",
service_id="Exampleservice"
free_call_auth_token_bin="f2548d27ffd319b9c05918eeac15ebab934e5cfcd68e1ec3db2b92765",
free_call_token_expiry_block=172800)
free_call_token_expiry_block=172800,
email="[email protected]")
```

### Paid call
Expand Down

0 comments on commit 63644c4

Please sign in to comment.