Hello, apologies in advance - total noob, but trying to find my way.
I’m using the OpenSea plugin, importing these libraries:
<script src=
"https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"
<script src=
"https://npmcdn.com/[email protected]/dist/moralis.js"
></script>
Also initialized serverUrl and appId according my account
In the OpenSea plugin configuration both Ethereum Mainnet and Rinkeby Speedy Node are set.
The getAsset API works for testnet, but not for mainnet.
I tried different assets from OpenSea production, won’t work.
Any configuration I might be missing? Also the fact that the exception is uncaught doesn’t help much ( For example, I noticed that if I use a nonexistent address in test produces the same error). Thanks in advance.
await Moralis.Plugins.opensea.getAsset({
network: 'mainnet',
tokenAddress: '0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d',
tokenId: '8520',
});