mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
Clarify XRP currency code
This commit is contained in:
@@ -60,7 +60,7 @@ The standard currency mapping allocates the bits as follows:
|
||||
Ripple recommends using [ISO 4217](http://www.xe.com/iso4217.php) codes, or popular pseudo-ISO 4217 codes such as "BTC". However, any combination of the following characters is permitted: all uppercase and lowercase letters, digits, as well as the symbols `?`, `!`, `@`, `#`, `$`, `%`, `^`, `&`, `*`, `<`, `>`, `(`, `)`, `{`, `}`, `[`, `]`, and <code>|</code>. The currency code `XRP` (all-uppercase) is reserved for XRP and cannot be used by issued currencies.
|
||||
4. The next 40 bits are reserved and should be all `0`'s.
|
||||
|
||||
In the rare case that a field specifies a currency code for XRP, the currency code should be all zeroes.
|
||||
Usually, XRP amounts are not specified with currency codes. In the rare case that a field specifies a currency code for XRP, the currency code's binary format is all zeroes.
|
||||
|
||||
### Nonstandard Currency Codes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user