Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "swaps/SwapClient"

Index

Type aliases

ChannelBalance

ChannelBalance: { balance: number; inactiveBalance: number; pendingOpenBalance: number }

Type declaration

  • balance: number

    The cumulative balance of open channels denominated in satoshis.

  • inactiveBalance: number

    The cumulative balance of inactive channels denominated in satoshis.

  • pendingOpenBalance: number

    The cumulative balance of pending channels denominated in satoshis.

PaymentStatus

PaymentStatus: { preimage?: undefined | string; state: PaymentState }

Type declaration

  • Optional preimage?: undefined | string
  • state: PaymentState

SwapClientInfo

SwapClientInfo: { newIdentifier?: undefined | string; newUris?: string[] }

Type declaration

  • Optional newIdentifier?: undefined | string
  • Optional newUris?: string[]

WalletBalance

WalletBalance: { confirmedBalance: number; totalBalance: number; unconfirmedBalance: number }

Type declaration

  • confirmedBalance: number

    The confirmed balance of a wallet (with >= 1 confirmations).

  • totalBalance: number

    The balance of the wallet.

  • unconfirmedBalance: number

    The unconfirmed balance of a wallet (with 0 confirmations).

WithdrawArguments

WithdrawArguments: { all?: undefined | false | true; amount?: undefined | number; currency: string; destination: string; fee?: undefined | number }

Type declaration

  • Optional all?: undefined | false | true
  • Optional amount?: undefined | number
  • currency: string
  • destination: string
  • Optional fee?: undefined | number

Generated using TypeDoc