package eclair
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class ActivatedFeature(feature: Feature, support: FeatureSupport) extends Product with Serializable
- case class AuditResult(sent: Vector[SentPayment], relayed: Vector[RelayedPayment], received: Vector[ReceivedPayment]) extends Product with Serializable
- case class BaseChannelInfo(nodeId: NodeId, channelId: FundedChannelId, localMsat: MilliSatoshis, remoteMsat: MilliSatoshis, state: ChannelState) extends ChannelInfo with Product with Serializable
This represents the case where the ChannelState is undetermined
- case class ChannelCommandResult(results: Map[Either[ShortChannelId, FundedChannelId], State]) extends Product with Serializable
- case class ChannelDesc(shortChannelId: ShortChannelId, a: NodeId, b: NodeId) extends Product with Serializable
- case class ChannelFlags(isEnabled: Boolean, isNode1: Boolean) extends Product with Serializable
- sealed abstract class ChannelInfo extends AnyRef
This is the data model returned by the RPC call
channels nodeId
.This is the data model returned by the RPC call
channels nodeId
. The content of the objects being returne differ based on whatever state the channel is in. The member of this abstract class are in eveyr channel state, whereas other channel states may have extra information. - case class ChannelResult(nodeId: NodeId, channelId: FundedChannelId, state: ChannelState, feeBaseMsat: Option[MilliSatoshis], feeProportionalMillionths: Option[FeeProportionalMillionths], data: JsObject) extends Product with Serializable
- case class ChannelStats(channelId: FundedChannelId, direction: Direction, avgPaymentAmount: Satoshis, paymentCount: Long, relayFee: Satoshis, networkFee: Satoshis) extends Product with Serializable
- case class ChannelUpdate(signature: ECDigitalSignature, chainHash: DoubleSha256Digest, shortChannelId: ShortChannelId, timestamp: Instant, channelFlags: ChannelFlags, cltvExpiryDelta: Int, htlcMinimumMsat: MilliSatoshis, feeProportionalMillionths: FeeProportionalMillionths, htlcMaximumMsat: Option[MilliSatoshis], feeBaseMsat: MilliSatoshis) extends Product with Serializable
- sealed abstract class EclairModels extends AnyRef
- case class Features(activated: Set[ActivatedFeature], unknown: Set[UnknownFeature]) extends Product with Serializable
- case class GetInfoResult(version: String, nodeId: NodeId, alias: String, color: String, features: Features, chainHash: DoubleSha256Digest, network: BitcoinNetwork, blockHeight: Long, publicAddresses: Seq[InetSocketAddress], instanceId: UUID) extends Product with Serializable
- case class Hop(nodeId: NodeId, nextNodeId: NodeId, shortChannelId: Option[ShortChannelId]) extends Product with Serializable
- case class IncomingPayment(paymentRequest: PaymentRequest, paymentPreimage: PaymentPreimage, paymentType: PaymentType, createdAt: Instant, status: IncomingPaymentStatus) extends Product with Serializable
- sealed trait IncomingPaymentStatus extends AnyRef
- case class InvoiceResult(prefix: LnHumanReadablePart, timestamp: Instant, nodeId: NodeId, serialized: String, description: String, paymentHash: Sha256Digest, expiry: FiniteDuration) extends Product with Serializable
- case class NetworkFeesResult(remoteNodeId: NodeId, channelId: FundedChannelId, txId: DoubleSha256DigestBE, fee: Satoshis, txType: String, timestamp: Instant) extends Product with Serializable
- case class NodeInfo(signature: ECDigitalSignature, features: Features, timestamp: Instant, nodeId: NodeId, rgbColor: String, alias: String, addresses: Vector[InetSocketAddress]) extends Product with Serializable
- case class OnChainBalance(confirmed: Satoshis, unconfirmed: Satoshis) extends Product with Serializable
- case class OpenChannelInfo(nodeId: NodeId, shortChannelId: ShortChannelId, channelId: FundedChannelId, localMsat: MilliSatoshis, remoteMsat: MilliSatoshis, state: NORMAL.type) extends ChannelInfo with Product with Serializable
This represents the case where the channel is in state
NORMAL
(i.e.This represents the case where the channel is in state
NORMAL
(i.e. an open channel) - case class OutgoingPayment(id: PaymentId, parentId: PaymentId, externalId: Option[String], paymentHash: Sha256Digest, paymentType: PaymentType, amount: MilliSatoshis, recipientAmount: MilliSatoshis, recipientNodeId: NodeId, createdAt: Instant, paymentRequest: Option[PaymentRequest], status: OutgoingPaymentStatus) extends Product with Serializable
- sealed trait OutgoingPaymentStatus extends AnyRef
- case class PaymentFailure(failureType: Type, failureMessage: String, failedRoute: Seq[Hop]) extends Product with Serializable
- case class PaymentId(value: UUID) extends Product with Serializable
- case class PaymentRequest(prefix: LnHumanReadablePart, timestamp: Instant, nodeId: NodeId, serialized: String, description: String, paymentHash: Sha256Digest, paymentMetadata: String, expiry: FiniteDuration, minFinalCltvExpiry: Int, amount: Option[MilliSatoshis], features: Features) extends Product with Serializable
- sealed trait PaymentType extends AnyRef
- case class PeerInfo(nodeId: NodeId, state: PeerState, address: Option[String], channels: Int) extends Product with Serializable
- sealed abstract class PeerState extends AnyRef
- case class RealChannelId(status: String, realScid: ShortChannelId) extends Product with Serializable
- case class ReceivedPayment(paymentHash: Sha256Digest, parts: Vector[Part]) extends Product with Serializable
- case class RelayTimestamp(iso: Instant, unix: Long) extends Product with Serializable
- case class RelayedPayment(amountIn: MilliSatoshis, amountOut: MilliSatoshis, paymentHash: Sha256Digest, fromChannelId: FundedChannelId, toChannelId: FundedChannelId, startedAt: RelayTimestamp, settledAt: RelayTimestamp) extends Product with Serializable
- case class SendToRouteResult(paymentId: PaymentId, parentId: PaymentId) extends Product with Serializable
- case class SentPayment(id: PaymentId, paymentHash: Sha256Digest, paymentPreimage: PaymentPreimage, recipientAmount: MilliSatoshis, recipientNodeId: NodeId, parts: Vector[Part]) extends Product with Serializable
- case class ShortIds(real: RealChannelId, localAlias: String, remoteAlias: String) extends Product with Serializable
- sealed trait State extends AnyRef
- case class UnknownFeature(bitIndex: Int) extends Product with Serializable
- sealed trait UpdateRelayFee extends AnyRef
- case class UpdateRelayFeeResult(results: Map[Either[ShortChannelId, FundedChannelId], UpdateRelayFee]) extends Product with Serializable
- case class UsableBalancesResult(remoteNodeId: NodeId, shortIds: ShortIds, canSend: MilliSatoshis, canReceive: MilliSatoshis, isPublic: Boolean, isEnabled: Boolean) extends Product with Serializable
- case class WalletTransaction(address: String, amount: Satoshis, fees: Satoshis, blockId_opt: Option[DoubleSha256DigestBE], confirmations: Long, txid: DoubleSha256DigestBE, timestamp: Long) extends Product with Serializable
- sealed trait WebSocketEvent extends AnyRef
Value Members
- object ChannelCommandResult extends StringFactory[State] with Serializable
- object ChannelStats extends Serializable
- object IncomingPaymentStatus
- object OutgoingPaymentStatus
- object PaymentFailure extends Serializable
- object PaymentType extends StringFactory[PaymentType]
- object PeerState
- object ReceivedPayment extends Serializable
- object SentPayment extends Serializable
- object UpdateRelayFee
- object WebSocketEvent