Can you once try this and see if it solves your issue.
For websocket :
const Xdc3 = require("xdc3");
let provider = new Xdc3.providers.WebsocketProvider('wss://ws.apothem.network/ws');
let xdc3 = new Xdc3(provider);
~~const Web3 = require("web3");
let provider = new Web3.providers.WebsocketProvider('wss://ws.apothem.network/ws');
let web3 = new Web3(provider);~~
For Http RPC
1. const Xdc3 = require("xdc3");
2. let provider = new Xdc3.providers.HttpProvider('rpc.apothem.network');
3. let xdc3 = new Xdc3(provider);
4.
const Web3 = require("web3");
let provider = new Web3.providers.HttpProvider('rpc.apothem.network');
let web3 = new Web3(provider);
Discussion (1)
Hey @mary_soto_d55cd6963af53cd
Could you provide some clarification on what your question is?