Getcurrencyinfo

getcurrencyinfo

Returns an object containing information about the currency.

Result:
{                           (json object)
  "ticker" : "str",         (string) Ticker symbol
  "satoshisperunit" : n,    (numeric) Number of satoshis per base unit
  "decimals" : n            (numeric) Number of digits to the right of the decimal point.
}

Examples:
> bitcoin-cli getcurrencyinfo 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getcurrencyinfo", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8332/