currencyrates -- Command to list millisatoshis-per-unit from each configured source
SYNOPSIS
currencyrates currency
DESCRIPTION
Command added in v26.04.
The listcurrencyrates RPC command returns the number of units of a given currency for one BTC from each configured exchange-rate source.
- currency (string): The ISO4217 currency code to query, eg USD.
The plugin normalizes this value to uppercase before querying sources.
RETURN VALUE
On success, an object containing currencyrates is returned. It is an array of objects, where each object contains:
- source (string): The name of the source of this rate (see
currencyrate-add-sourcein lightningd-config) - amount (number): The amount of currency for 1 BTC.
AUTHOR
daywalker90 is mainly responsible.
SEE ALSO
lightning-currencyconvert(7)
RESOURCES
Main web site: https://github.com/ElementsProject/lightning