-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getPairs method is deprecated, need getKeyPaged #36
Comments
@levchmike thank you for trying out the Ajuna.SDK and opening the issue. We will look into it and get back to you asap. |
Hi again @levchmike, Could you please provide some more details regarding the issue, like
We do not seem to be able to reproduce this on our side and I am not sure whether the UnsafeRpcCalled & UnsafeRpcError errors could be caused by a deprecated method. |
@levchmike @dimitrispaxinos getPaires is a restricted RPC Call, we can reproduce by accessing rpc.polkadot.io with the SDK or simply executing getPairs in polkadot.js on Polkadot. We will check, if we can use getKeysPaged. |
@darkfriend77 @dimitrispaxinos hey! can i connect to my substrate wss? i can try ur branch with getPaged method but i have exception |
Hey @levchmike , what has been done on this branch is still Work In Progress. The main problem when switching |
if i use getPairs then i get -32603: Unknown error occurred: UnsafeRpcCalled, UnsafeRpcError. Can youupdate this?
The text was updated successfully, but these errors were encountered: