RPC call using the solana python library throws error on AsyncClient

45 views Asked by At

I have the following code:

from solana.rpc.async_api import AsyncClient
async_client = AsyncClient(endpoint="https://go.getblock.io/77fe047d82cc43eda038133a17c60b18")

It throws the following error:

TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'

I'm not able to get it working

0

There are 0 answers