Closed ramezanzade1 closed 3 months ago
When i call the below code i get this error:
error:{ code: "blockchain_link/websocket_error_message", message: "Not supported" }
code: const link = new BlockchainLink({ name: 'MyBlockchainLink', worker: Blockbook, server: ['https://eth1.trezor.io/', 'https://eth2.trezor.io/'], keepAlive: true, debug: true, });
try { const info = await link.getInfo(); console.log(info); const blockHash = await link.getBlockHash(20103106); console.log(blockHash); const block = await link.getBlock(20103106); console.log(block); } catch (error) { console.error('Error fetching blockchain info:', error); }
Hi. The getBlock call is not and will not be supported on our ETH servers.
getBlock
When i call the below code i get this error:
error:{ code: "blockchain_link/websocket_error_message", message: "Not supported" }
code: const link = new BlockchainLink({ name: 'MyBlockchainLink', worker: Blockbook, server: ['https://eth1.trezor.io/', 'https://eth2.trezor.io/'], keepAlive: true, debug: true, });