summaryrefslogtreecommitdiff
path: root/core/api-common.rst
diff options
context:
space:
mode:
Diffstat (limited to 'core/api-common.rst')
-rw-r--r--core/api-common.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index 9584f240..a7ebe3a7 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -335,6 +335,14 @@ Internally, amounts are parsed into the following object:
}
+An amount that is prefixed with a ``+`` or ``-`` character is also used in certain contexts.
+When no sign is present, the amount is assumed to be positive.
+
+.. ts:def:: SignedAmount
+
+ type SignedAmount = string;
+
+
--------------
Binary Formats
--------------