Code 141 on resolveDomain

Trying to call Web3Api to resolve ENS domain, without user logging in.
We keep getting {“code”:141,“error”:"{}"}

const options = {
     domain: "vitalik.eth",
};          
const resolve = await Web3Api.resolve.resolveDomain(options);

However, when resolve address works perfectly.

Also tried enableWeb3 without user authentication

const web3 = await Moralis.enableWeb3();
const resolve = await web3.eth.ens.getAddress("vitalik.eth");

web3.eth is undefind

I think that resolve works only for unstoppable domains in web3api now, not for ENS domains

https://docs.moralis.io/moralis-dapp/web3-api/resolve#resolvedomain

you should be able to make it work with ethers

Thanks. I guess we just stick with ethers or web3js for now.