Replies: 1 comment
-
The note that you have mentioned seems to be for user interface. To do that using code, you should supply the "Contract Address" of the NFT to ethers, and you should be able to obtain that from OpenSea contracts/infrastructure (Metamask should be doing the same). Can you have a look at the OpenSea docs https://docs.opensea.io they have an API section. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://metamask.zendesk.com/hc/en-us/articles/360058238591-NFT-tokens
this is how one queries a NFT token in metamask:
I want to replicate the same functionality in ethers. Be able to query and get details of an OpenSea NFT token directly from the blockchain. Including the asset url (image, etc). Has anyone done this ? i have not been able to find any example of the same.
Beta Was this translation helpful? Give feedback.
All reactions