Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "cli/utils"

Index

Variables

Const SATOSHIS_PER_COIN

SATOSHIS_PER_COIN: number = 10 ** 8

Functions

Const coinsToSats

  • coinsToSats(coinsQuantity: number): number
  • Returns a number of coins as an integer number of satoshis.

    Parameters

    • coinsQuantity: number

    Returns number

Const generateHeaders

  • generateHeaders(headers: string[]): string[]

getDefaultCertPath

  • getDefaultCertPath(): string

Const satsToCoinsStr

  • satsToCoinsStr(satsQuantity: number): string
  • Returns a number of satoshis as a string representation of coins with up to 8 decimal places.

    Parameters

    • satsQuantity: number

    Returns string

Generated using TypeDoc