Skip to content

Commit

Permalink
docs: Add /treasury/balance endpoint to README.md
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jholdstock authored and chappjc committed Jan 24, 2024
1 parent ce3b11f commit fb13805
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,10 @@ the `/api` path prefix.
| Verbose transaction result for last <br> `N` transactions, skipping `M` | `/address/A/count/N/skip/M/raw` | `types.AddressTxRaw` |
| Transaction inputs and outputs as a CSV formatted file. | `/download/address/io/A` | CSV file |
| Treasury | Path | Type |
| ----------------------------------------------------------------- | --------------------- | --------------------------- |
| Current treasury info (e.g. spendable/immature/spent balance) | `/treasury/balance` | `dbtypes.TreasuryBalance` |
| Stake Difficulty (Ticket Price) | Path | Type |
| -------------------------------------- | ----------------------- | ---------------------------------- |
| Current sdiff and estimates | `/stake/diff` | `types.StakeDiff` |
Expand Down

0 comments on commit fb13805

Please sign in to comment.