LIGHTNING-CURRENCYCONVERT(7) LIGHTNING-CURRENCYCONVERT(7) NAME currencyconvert -- Command to convert a fiat amount into millisatoshis SYNOPSIS currencyconvert amount currency DESCRIPTION Command added in v26.04. The currencyconvert RPC command converts a given amount in a given currency into millisatoshis. It uses the median of the available exchange-rate sources for the requested currency. * amount (number): The amount, expressed in the given currency, to convert into millisatoshis. * currency (string): The ISO-4217 currency code (e.g. USD) to convert from. The plugin normalizes this value to uppercase before querying sources. RETURN VALUE On success, an object is returned, containing: * msat (msat): The converted amount in millisatoshis, computed using the median result from the available sources. AUTHOR daywalker90 is mainly responsible. SEE ALSO lightning-currencyrates(7) RESOURCES Main web site: https://github.com/ElementsProject/lightning Core Lightning v26.06.1 LIGHTNING-CURRENCYCONVERT(7)
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHOR | SEE ALSO | RESOURCES
Want to link to this manual page? Use this URL:
<https://man.FreeBSD.org/cgi/man.cgi?query=lightning-currencyconvert&sektion=7&manpath=FreeBSD+Ports+15.1.quarterly>