summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-10-05 21:41:12 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-10-05 21:41:12 +0200
commit45bfeb537164dea4a9793df200cb08e25d432aee (patch)
treea1c64e81fb28cf389cbea6fff2cc823bdd2bc578
parent710b19dd32f9196bea3d78b165e2de21b7bf0cbe (diff)
downloaddocs-45bfeb537164dea4a9793df200cb08e25d432aee.tar.gz
docs-45bfeb537164dea4a9793df200cb08e25d432aee.tar.bz2
docs-45bfeb537164dea4a9793df200cb08e25d432aee.zip
also return current balance and coin denomination
-rw-r--r--core/api-exchange.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index a95532b6..708ee664 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -2568,6 +2568,12 @@ Coin History
.. ts:def:: CoinHistoryResponse
interface CoinHistoryResponse {
+ // Current balance of the coin.
+ balance: Amount;
+
+ // Hash of the coin's denomination.
+ h_denom_pub: HashCode;
+
// Transaction history for the coin.
history: CoinSpendHistoryItem[];
}