Get NFT collections from all blockchain

Hi! In video tutorial (Cloned OpenSea in 2h) we got hardcoded NFT collections by chainId. Is it possible to GET all collections from blockchain?

P.S. what contact and market contract shoud i pass?

Got response error on getAllTokenIds


that error usually means that the parameters were not the expected ones

what do you mean? this query is from YouTube video, guess it must be work. Ok, ill try to change payload looking Moralis docs.

yes. that looks ok, that invalid hex number could mean that a parameter like an address was not a hex number