Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIP 171: Currency/exchange rate information API #499

Merged
merged 18 commits into from
Mar 14, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bip-xchgrate: Provide secondary currency code in response to info req…
…uest
  • Loading branch information
luke-jr committed Mar 4, 2017
commit 94a5b5393527a8024d4a96d3eaa0af165c7b342d
3 changes: 2 additions & 1 deletion bip-xchgrate.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ Parameters:
Each currency-pair will receive a separate result, a JSON Object, with the following information:

* ''cp'' - The currency-pair token.
* ''cc'' - The currency code for the primary currency, if any.
* ''cc'' - The currency code for the primary currency.
* ''alt'' - The currency code for the secondary currency.
* ''symbol'' - An Array of prefix and suffix for the primary currency. Each may be either a fixed String, an Array of two Strings (negative and positive), or null. Any positive or negative symbols must be included in this prefix/suffix; it MUST NOT be implied otherwise.
* ''digits'' - The type of digits to use for the primary currency's numbers. "arabic" should be used for common 0-9 digits.
* ''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>
Expand Down