home | help
LIGHTNING-LISTCURRENCYRATES(7)			  LIGHTNING-LISTCURRENCYRATES(7)

NAME
     currencyrates  --	Command to list millisatoshis-per-unit from each config-
     ured 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 plu-
	gin 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-source in 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

Core Lightning v26.06.1 			  LIGHTNING-LISTCURRENCYRATES(7)

home | help