mirror of
https://github.com/bitcoin/bips.git
synced 2025-01-19 05:45:07 +01:00
bip-xchgrate: Use Unicode CLDR for locales
This commit is contained in:
parent
ee90b8c525
commit
00323d1a8f
@ -47,7 +47,7 @@ Parameters:
|
||||
* ''mode'' - Always "list" for this request.
|
||||
* ''quote'' - If provided, the server MAY limit the results to only currency-pairs describing a currency with the given currency code(s).
|
||||
* ''base'' - If provided, the server MAY limit the results to only currency-pairs describing currency rates compared to the given currency code(s).
|
||||
* ''locale'' - If provided, the server MAY limit the results to only currency-pairs supporting the given locale(s).
|
||||
* ''locale'' - If provided, the server MAY limit the results to only currency-pairs supporting the given Unicode CLDR locale(s).
|
||||
|
||||
Each currency-pair will receive a separate result, a JSON Object, with the following information:
|
||||
|
||||
@ -75,7 +75,7 @@ Each currency-pair will receive a separate result, a JSON Object, with the follo
|
||||
* ''grouping'' - An Array alternating between Numbers representing a series of digits, and Strings used as delimiters. If terminated by a zero, the final grouping is to be repeated continually. For example, the common US locale thousands grouping would be <code>[3, ",", 0]</code>
|
||||
* ''fraction_sep'' - A String to be placed between whole numbers and a fractional amount.
|
||||
* ''fraction_digits'' - Array of absolute minimum (even for whole numbers) number of fractional digits, minimum fractional digits when a fraction exists, and maximum number of fractional digits when absolute precision is not demanded (below which is to be rounded in an implementation-dependent manner).
|
||||
* ''locale'' - If provided, a String with the applicable ISO 15897 locale.
|
||||
* ''locale'' - If provided, a String with the applicable Unicode CLDR locale.
|
||||
* ''minpoll'' - A Number of seconds indicating a minimum time between polls to the server. Clients should be prudent about not polling too often, even if this number is low.
|
||||
* ''longpoll'' - If provided and true, indicates longpolling is supported by the server.
|
||||
* ''history'' - If provided, indicates the server has historical records going back no earlier than the POSIX timestamp provided as a value.
|
||||
|
Loading…
Reference in New Issue
Block a user