title: How to check if the token on opensea is ERC721 or ERC1155 using node.js
body: <pre><code>const { OpenSeaPort, Network } = require(&quot;opensea-js&quot;);
  
  const offer = await seaport.createBuyOrder({
        asset: {
          tokenId,
          tokenAddress,
          schemaName
        },
        accountAddress: WALLET_ADDRESS,
        startAmount: newOffer / (10 ** 18),
        expirationTime: Math.round(Date.now() / 1000 + 60 * 60 * 24)
      });
  </code></pre>
  <p>I am going to get <strong>schemaName</strong>(if ERC721 or ERC1155) from opensea empty token:</p>
  <ul>
  <li><p>ERC721:
  <a href="https://opensea.io/assets/0x5e8bbe6b1a1e9aa353218c5b6693f5f7c5648327/1080" rel="nofollow noreferrer">https://opensea.io/assets/0x5e8bbe6b1a1e9aa353218c5b6693f5f7c5648327/1080</a></p>
  </li>
  <li><p>ERC1155:
  <a href="https://opensea.io/assets/0x495f947276749ce646f68ac8c248420045cb7b5e/77145546951944958763741319904361551411909238433895885342936554025825874214913" rel="nofollow noreferrer">https://opensea.io/assets/0x495f947276749ce646f68ac8c248420045cb7b5e/77145546951944958763741319904361551411909238433895885342936554025825874214913</a></p>
  </li>
  </ul>
  <p>In the Details panel on opensea, I can see the contract schema name as follows: <code>Token Standard: ERC-1155</code></p>
  <p><strong>How can I get schema name from opensea token url using node.js or python?</strong></p>