Polygon opensea plugin get assets no asset found

Hey !

is Polygon Blockchain not supported by moralis
- i’m trying to get polygon assets, always i got [ " No asset found " ]
EXMP : https://opensea.io/assets/matic/0x2953399124f0cbb46d2cbacd8a89cf0599974963/8786516451398580092396300739080298917502022498757012518843819132165117968385

Hi @pure.roboot

Which endpoint do you call? API or Opensea plugin?

same answer for both [ API and Opensea plugin]

does it work fine for a different chain?

it work with ETH chain
not polygon

Polygon is supported.

const queryAll = new Moralis.Query("PolygonNFTOwners");
queryAll.equalTo("owner_of", ethereum.selectedAddress);

This will only work if your db is populated with the “PolygonNFTOwners”

1 Like

please can you help me more,
What should be the value of ethereum
=> it give me an error : ‘ethereum’ is not defined no-undef

Please share your full code. It’s an error from the your code

1 Like