@@ -16,7 +16,7 @@ The package is published in PyPI at the following link:
1616The SingularityNET SDK allows you to make calls to SingularityNET services programmatically from your application.
1717To communicate between clients and services, SingularityNET uses [ gRPC] ( https://grpc.io/ ) .
1818To handle payment of services, SingularityNET uses
19- [ Ethereum state channels] ( https://dev.singularitynet.io/docs/concepts/multi-party-escrow / ) .
19+ [ Ethereum state channels] ( https://dev.singularitynet.io/docs/ai-consumers/mpe / ) .
2020The SingularityNET SDK abstracts and manages state channels with service providers on behalf of the user and
2121handles authentication with the SingularityNET services.
2222
@@ -144,18 +144,19 @@ If you want to use the free calls you will need to pass these arguments to the `
144144
145145``` python
146146free_call_auth_token_bin = " f2548d27ffd319b9c05918eeac15ebab934e5cfcd68e1ec3db2b92765" ,
147- free_call_token_expiry_block = 172800
147+ free_call_token_expiry_block = 172800 ,
148+ email = " test@test.com" # which using in AI marketplace account
148149```
149150
150151You can receive these for a given service from the [ Dapp] ( https://beta.singularitynet.io/ )
151152
152153Creating a service client with free calls included would look like this:
153154``` python
154155service_client = snet_sdk.create_service_client(org_id = " 26072b8b6a0e448180f8c0e702ab6d2f" ,
155- service_id = " Exampleservice" ,
156- group_name = " default_group" ,
156+ service_id = " Exampleservice"
157157 free_call_auth_token_bin = " f2548d27ffd319b9c05918eeac15ebab934e5cfcd68e1ec3db2b92765" ,
158- free_call_token_expiry_block = 172800 )
158+ free_call_token_expiry_block = 172800 ,
159+ email = " test@mail.com" )
159160```
160161
161162### Paid call
0 commit comments