-

Updated for version 0.16.10

+

Updated for version 0.17.0

Introduction

RippleAPI is the official client library to the Ripple Consensus Ledger. Currently, RippleAPI is only available in JavaScript. Using RippleAPI, you can:

@@ -306,7 +306,7 @@ const api = new RippleAPI();

Value

A value is a quantity of a currency represented as a decimal string. Be careful: JavaScript's native number format does not have sufficient precision to represent all values. XRP has different precision from other currencies.

XRP has 6 significant digits past the decimal point. In other words, XRP cannot be divided into positive values smaller than 0.000001 (1e-6). XRP has a maximum value of 100000000000 (1e11).

-

Non-XRP values have 15 decimal digits of precision, with a maximum value of 9999999999999999e80. The smallest positive non-XRP value is 1e-81.

+

Non-XRP values have 16 decimal digits of precision, with a maximum value of 9999999999999999e80. The smallest positive non-XRP value is 1e-81.

Amount

Example amount:

{
diff --git a/tool/dactyl-config.yml b/tool/dactyl-config.yml
index a7afcfbbec..dc9a94352b 100644
--- a/tool/dactyl-config.yml
+++ b/tool/dactyl-config.yml
@@ -103,7 +103,7 @@ pages:
         category: References
         html: reference-rippleapi.html
         # Currently this is the only page that's fetched remotely.
-        md: https://raw.githubusercontent.com/ripple/ripple-lib/0.16.10/docs/index.md
+        md: https://raw.githubusercontent.com/ripple/ripple-lib/0.17.0/docs/index.md
         ripple.com: https://ripple.com/build/rippleapi/
         filters:
             - remove_doctoc