Hello hope are good ?
- I have my own full node with a ssh tunnel
My code is :
async function test (){
const url = 'ws://localhost:8546';
const web3 = new Web3(new Web3.providers.WebsocketProvider(url));
const a = await web3.eth.getBlockNumber();
console.log(a);
}
test();
Return :
the method eth_blockNumber does not exist/is not available
All is synced and working is there a pb ?