We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
new Web3('wss://ws-mainnet-node.huobichain.com'); // WebSocket connection to 'wss://ws-mainnet-node.huobichain.com/' failed: Error during WebSocket handshake: Unexpected response code: 403
The text was updated successfully, but these errors were encountered:
i think the usage is incorrect:
const Web3 = require('web3') const www = new Web3(new Web3.providers.WebsocketProvider("wss://ws-mainnet-node.huobichain.com")); async function f1(){ const balance = await www.eth.getBalance("0x03245922d9dc42d12F6d07013146C986a4d0Aa86"); console.log(balance) } f1()
Sorry, something went wrong.
WebSocket connection to 'wss://ws-mainnet-node.huobichain.com/' failed: Error during WebSocket handshake: Unexpected response code: 403
i think the usage is incorrect: const Web3 = require('web3') const www = new Web3(new Web3.providers.WebsocketProvider("wss://ws-mainnet-node.huobichain.com")); async function f1(){ const balance = await www.eth.getBalance("0x03245922d9dc42d12F6d07013146C986a4d0Aa86"); console.log(balance) } f1()
same issue
No branches or pull requests
The text was updated successfully, but these errors were encountered: