-
Notifications
You must be signed in to change notification settings - Fork 118
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
/v1/names/{name}
does not reflect buying usernames from bids on marketplaces
#1236
Comments
|
Related to #1287 |
@pradel can you share the explorer link for the transaction that transferred this name via marketplace bid? I think what's happening is that the API is only programmed to detect Thanks |
@rafaelcr I think this is the transaction https://explorer.stacks.co/txid/0xa75ebee2c824c4943bf8494b101ea7ee7d44191b4a8f761582ce99ef28befb19?chain=mainnet |
Thanks for the quick response @pradel |
🎉 This issue has been resolved in version 5.0.0-beta.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 5.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 7.0.0-stacks-2.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
I am not sure if this is a bug or intended behaviour. Creating the issue to open discussion regarding the behavior of the
/v1/names/{name}
endpoint.Problem: When buying a new .btc domain via a bid from a marketplace, the
/v1/names/{name}
seems to return outdated data.The https://stacks-node-api.mainnet.stacks.co/v1/names/dayslikewater.btc endpoint, return the
last_txid
field with the transaction that registered the name. In the payload, we can see thatSP1TY00PDWJVNVEX7H7KJGS2K2YXHTQMY8C0G1NVP
is the current owner of this name (which is correct), but thelast_txid
explorer link point to a transaction made bySPP117ENNNDQVQ1G3E0N1AP178GXBTC2YNQ3H7J
.SPP117ENNNDQVQ1G3E0N1AP178GXBTC2YNQ3H7J
is the account that bought the username at the beginning and then sold it toSP1TY00PDWJVNVEX7H7KJGS2K2YXHTQMY8C0G1NVP
.Shouldn't this endpoint reference the bid transaction in the
last_txid
result as the owner changed in this process?Expected behavior
The https://stacks-node-api.mainnet.stacks.co/v1/names/dayslikewater.btc endpoint should return the last
last_txid
when the name was transferred to the new account.The text was updated successfully, but these errors were encountered: