Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.
What is the current behavior and expected behavior?
I'm requesting with the wss://westend-rpc.polkadot.io node endpoint for the websocket; however, I'm not able to establish a connection with the endpoint.
Current Behavior:
I'm trying to retrieve the api through inputting the wss://westend-rpc.polkadot.io endpoint into the websocket. However, it returns this message: API-WS: disconnected from wss://westend-rpc.polkadot.io: 1006:: The operation couldn’t be completed. (OSStatus error -9836.)
while running on android it is connected but giving issue in ios.
Expected Behavior:
Establish a connection with the wss://westend-rpc.polkadot.io node endpoint.
What is the motivation for changing the behavior?
Currently, I'm trying to establish a connection, and retrieve data. However, I cannot go to the next step, due to this issue.
Current Behavior: I'm trying to retrieve the api through inputting the wss://westend-rpc.polkadot.io endpoint into the websocket. However, it returns this message: API-WS: disconnected from wss://westend-rpc.polkadot.io: 1006:: The operation couldn’t be completed. (OSStatus error -9836.)
while running on android it is connected but giving issue in ios.
Expected Behavior: Establish a connection with the wss://westend-rpc.polkadot.io node endpoint.
Please tell us about your environment:
"@polkadot/api": "^12.4.2", "react": "18.3.1", "react-native": "0.75.2",
React-native
Language:
[X] TypeScript (include tsc --version)