We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue was first reported by a user in the Simple Ledger Protocol Telegram channel: https://t.me/simpleledger
Token stats are being reported incorrectly.
This is an issue with the current /tokenStats endpoint in rest.bitcoin.com. Here is the query: https://rest.bitcoin.com/v2/slp/tokenStats/b10677aef051b73e6b170c1c0824da33a3e0680ab5a01cd8d76aa77840fccfb4
It's showing 200,010 tokens in circulation but there is only 100,010, which is reflected accurately on the SLP explorer: https://simpleledger.info/#token/b10677aef051b73e6b170c1c0824da33a3e0680ab5a01cd8d76aa77840fccfb4
Here is the actual code that gets called. It's a series of queries to SLPDB. There must be an issue in one of the queries where its counting the initial token issuance twice. https://github.com/Bitcoin-com/rest.bitcoin.com/blob/master/src/routes/v2/services/slpdb.ts#L77-L89
The text was updated successfully, but these errors were encountered:
Circulating supply can be found using this query:
https://slpdb.fountainhead.cash/explorer/ewogICJ2IjogMywKICAicSI6IHsKICAgICJkYiI6IFsiZyJdLAogICAgImFnZ3JlZ2F0ZSI6IFsKICAgICAgICB7ICIkbWF0Y2giOiB7CiAgICAgICAgICAidG9rZW5EZXRhaWxzLnRva2VuSWRIZXgiOiAiYjEwNjc3YWVmMDUxYjczZTZiMTcwYzFjMDgyNGRhMzNhM2UwNjgwYWI1YTAxY2Q4ZDc2YWE3Nzg0MGZjY2ZiNCIsCiAgICAgICAgICAiZ3JhcGhUeG4ub3V0cHV0cyI6IAogICAgICAgICAgICB7ICIkZWxlbU1hdGNoIjogewogICAgICAgICAgICAgICJzdGF0dXMiOiAiVU5TUEVOVCIsIAogICAgICAgICAgICAgICJzbHBBbW91bnQiOiB7ICIkZ3RlIjogMCB9CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICB9CiAgICAgIH0sCiAgICAgIHsgIiR1bndpbmQiOiAiJGdyYXBoVHhuLm91dHB1dHMiIH0sCiAgICAgIHsgIiRtYXRjaCI6IHsKICAgICAgICAgICJncmFwaFR4bi5vdXRwdXRzLnN0YXR1cyI6ICJVTlNQRU5UIiwgCiAgICAgICAgICAiZ3JhcGhUeG4ub3V0cHV0cy5zbHBBbW91bnQiOiB7ICIkZ3RlIjogMCB9CiAgICAgICAgfQogICAgICB9LAogICAgICB7CiAgICAgICAgIiRncm91cCI6IHsKICAgICAgICAgICJfaWQiOiBudWxsLAogICAgICAgICAgImNpcmN1bGF0aW5nX3N1cHBseSI6IHsKICAgICAgICAgICAgIiRzdW0iOiAiJGdyYXBoVHhuLm91dHB1dHMuc2xwQW1vdW50IgogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgXSwKICAgICJsaW1pdCI6IDEwMDAwMAogIH0KfQ==
Sorry, something went wrong.
No branches or pull requests
This issue was first reported by a user in the Simple Ledger Protocol Telegram channel:
https://t.me/simpleledger
Token stats are being reported incorrectly.
This is an issue with the current /tokenStats endpoint in rest.bitcoin.com. Here is the query:
https://rest.bitcoin.com/v2/slp/tokenStats/b10677aef051b73e6b170c1c0824da33a3e0680ab5a01cd8d76aa77840fccfb4
It's showing 200,010 tokens in circulation but there is only 100,010, which is reflected accurately on the SLP explorer:
https://simpleledger.info/#token/b10677aef051b73e6b170c1c0824da33a3e0680ab5a01cd8d76aa77840fccfb4
Here is the actual code that gets called. It's a series of queries to SLPDB. There must be an issue in one of the queries where its counting the initial token issuance twice.
https://github.com/Bitcoin-com/rest.bitcoin.com/blob/master/src/routes/v2/services/slpdb.ts#L77-L89
The text was updated successfully, but these errors were encountered: