Lightspark
Lightspark

Currency Unit

This enum identifies the unit of currency associated with a CurrencyAmount.Values (14)
  • BITCOINBitcoin is the cryptocurrency native to the Bitcoin network. It is used as the native medium for value transfer for the Lightning Network.
  • SATOSHI0.00000001 (10e-8) Bitcoin or one hundred millionth of a Bitcoin. This is the unit most commonly used in Lightning transactions.
  • MILLISATOSHI0.001 Satoshi, or 10e-11 Bitcoin. We recommend using the Satoshi unit instead when possible.
  • USDUnited States Dollar.
  • MXNMexican Peso.
  • PHPPhilippine Peso.
  • EUREuro.
  • GBPBritish Pound.
  • INRIndian Rupee.
  • BRLBrazilian Real.
  • USDTTether
  • NANOBITCOIN0.000000001 (10e-9) Bitcoin or a billionth of a Bitcoin. We recommend using the Satoshi unit instead when possible.
    DEPRECATED: Use BITCOIN instead.
  • MICROBITCOIN0.000001 (10e-6) Bitcoin or a millionth of a Bitcoin. We recommend using the Satoshi unit instead when possible.
    DEPRECATED: Use BITCOIN instead.
  • MILLIBITCOIN0.001 (10e-3) Bitcoin or a thousandth of a Bitcoin. We recommend using the Satoshi unit instead when possible.
    DEPRECATED: Use BITCOIN instead.