简体   繁体   English

在 opensea 中以某种方式获取多边形网络 NFT 的所有者地址?

[英]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!我尝试从 OpenSea.io 获取位于多边形网络中的 NFT 的所有者地址! The problem is that the API from opensea does not support Polygon.问题是 opensea 的 API 不支持 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.我使用所有者地址作为 MetaMask 身份验证过程的一部分,但我想不出任何方法来获取地址,除非使用某种类型的网站抓取工具,这会非常快速和肮脏。

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这里有一个来自 opensea 的测试 NFT: https ://opensea.io/assets/matic/0x2953399124f0cbb46d2cbacd8a89cf05999974963/258671634259860188568894409578962162787378737818737595953

Contract is: 0x2953399124f0cbb46d2cbacd8a89cf0599974963 Token ID: 25867163425986018856889440957896213450322282376135695915897716851719840727041合同是:0x2953399124f0cbb46d2cbacd8a89cf0599974963令牌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您可以为此使用moralis sdk,查看此文档->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!您可以通过在moralis 上注册来获取API 密钥,然后在浏览器中通过上述链接进行试用!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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