简体   繁体   中英

Fetching somehow the owner address of a polygon network NFT in opensea?

I try to fetch the owner address of a NFT which sits in the Polygon Network from OpenSea.io! The problem is that the API from opensea does not support Polygon.

I use the owner address as part of a auth process with MetaMask but I cant figure out any way to get the address except with some type of website scraping tool which would be pretty quick and dirty.

Does anyone has an idea how could I get the owner address somehow from polygon? Here a test NFT from opensea: https://opensea.io/assets/matic/0x2953399124f0cbb46d2cbacd8a89cf0599974963/25867163425986018856889440957896213450322282376135695915897716851719840727041

Contract is: 0x2953399124f0cbb46d2cbacd8a89cf0599974963 Token ID: 25867163425986018856889440957896213450322282376135695915897716851719840727041

Thx for any tips and ideas in advance

You can use the moralis sdk for this, checkout this doc ->https://deep-index.moralis.io/api-docs/#/token/getTokenIdOwners

You can get the API key by signing up on moralis and just try it out in the browser on the above link!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM