Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library not fetching assets from opensea #3

Open
iamonuwa opened this issue Jun 15, 2019 · 4 comments
Open

Library not fetching assets from opensea #3

iamonuwa opened this issue Jun 15, 2019 · 4 comments

Comments

@iamonuwa
Copy link

I've tried so many times to use this library for fetching assets from opeansea but it keeps returning empty object even when I have quite a lot of assets in the opensea.

@vrde
Copy link
Owner

vrde commented Jun 16, 2019

Can you give me the address of the smart contract you are querying, and the ethereum address connected to the assets?

@iamonuwa
Copy link
Author

0x9A8A9958ac1B70c49ccE9693CCb0230f13F63505

@vrde
Copy link
Owner

vrde commented Jun 16, 2019

0x9A8A9958ac1B70c49ccE9693CCb0230f13F63505

I see from Etherscan that there are a bunch of ERC-721 tokens connected to that address. Etherscan scans transactions in the blockchain to index all your ERC-721 tokens. This library cannot do that. Instead, this library lists all your tokens for a specific smart contract. This is how (unfortunately) the system is designed to work. If you want to index all tokens across all smart contracts, you need to use an external, centralized service for that.

@iamonuwa
Copy link
Author

Noted, thanks for taking a look at it. Any plans on adding support to do this in the future? I don't mind contributing to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants