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

Fetching of BNS names is not working? #7

Open
dhriaznov opened this issue Mar 8, 2024 · 3 comments
Open

Fetching of BNS names is not working? #7

dhriaznov opened this issue Mar 8, 2024 · 3 comments

Comments

@dhriaznov
Copy link

hey folks, the BNS API is supposed to fetch the BNS names as well as BNSx names, right?

the thing is that when I'm trying the /bns/addresses/stacks/{principal} or /v1/addresses/stacks/{principal} endpoint in bns.xyz Swagger or manually it doesn't return BNS names for some reason.

e.g. I fetch the /v1/names/xxxxxx.stx, it returns the owner address which is SP3PMBT28H9FSKPN8G7AR5K6YP8MABK7T9D1N89P3, but then if I fetch /bns/addresses/stacks/SP3PMBT28H9FSKPN8G7AR5K6YP8MABK7T9D1N89P3 it returns an empty array of names

@almostdotbtc
Copy link

Hi there. BNSx was never widely used. I can find you the exact amount but it’s a very very small percentage of BNS names, and the team working on BNSx has been dissolved. It would be great if this could proceed just using BNS and not worrying about BNSx. Sorry this has taken so long, decentralization is great but definitely has its drawbacks.

Looking forward to hearing,

Cheers!

@almostdotbtc
Copy link

https://docs.bns.xyz/docs/developer-tools/api/

Because migrating to BNSx involves wrapping your BNS Core name, using the Stacks Blockchain API endpoints won't work for users that have upgraded.

@314159265359879
Copy link

It is not fetching both. Leather has proposed this solution though: hirosystems/stacks-blockchain-api#2026

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

3 participants