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

docs: Add /treasury/balance endpoint to README.md #1984

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

jholdstock
Copy link
Member

The treasury info endpoint was not added to the README when it was added to the API (#1894). Including it now so it becomes Google-able and CTRL+F-able.

The treasury info endpoint was not added to the README when it was added
to the API. Including it now so it becomes Google-able and CTRL+F-able.
Copy link
Member

@chappjc chappjc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty

$  curl https://explorer.dcrdata.org/api/treasury/balance
{"height":837200,"maturity_height":836944,"balance":82213748656995,"output_count":284787,"add_count":13,"added":61780107690000,"spend_count":21,"spent":8777742465763,"tbase_count":284753,"tbase":29211383432758,"immature_count":256,"immature":20636194304}

@chappjc chappjc merged commit fb13805 into decred:master Jan 24, 2024
3 of 5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants