currencyconvert

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 is Blockstream's open-source implementation of the Lightning Network optimised for performance. It is highly customizable through modular expandability.

© 2026 Core Lightning, a Blockstream project.
All rights reserved.

X Twitter Logo Streamline Icon: https://streamlinehq.com

X

The official Core Lightning X(Twitter) handle to follow project updates and announcements.

Github Logo 2 Streamline Icon: https://streamlinehq.com

Github

Github repository for source code, issues, and contributions. Visit our project here to explore or contibute.

Telegram

Community-driven telegram group where most of the node operators hang out. Go to https://t.me/lightningd to join.

Discord

Community-driven discord server where the devs flock together. Go to https://discord.gg/V6ay9yNhBQ to join.