From fb138059e1ed868b80a19de56dc6ff615daa073a Mon Sep 17 00:00:00 2001 From: jholdstock Date: Mon, 22 Jan 2024 09:21:51 +0000 Subject: [PATCH] docs: Add /treasury/balance endpoint to README.md 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. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 165ac12a2..50f719941 100644 --- a/README.md +++ b/README.md @@ -569,6 +569,10 @@ the `/api` path prefix. | Verbose transaction result for last
`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` |