class CLightningRpcClient extends CLightningUnixSocketHandler with NativeProcessFactory with StartStopAsync[CLightningRpcClient] with BitcoinSLogger
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CLightningRpcClient
- StartStopAsync
- StartStop
- NativeProcessFactory
- BitcoinSLogger
- CLightningUnixSocketHandler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CLightningRpcClient(instance: CLightningInstanceLocal, binary: File)(implicit executionContext: ExecutionContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cancelChannelOpen(nodeId: NodeId): Future[FundChannelCancelResult]
- def clightningCall[T](command: String, parameters: JsValue = JsArray.empty)(implicit reader: Reads[T]): Future[T]
- Definition Classes
- CLightningUnixSocketHandler
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def closeChannel(channelId: FundedChannelId): Future[CloseChannelResult]
- def closeChannel(shortChanId: ShortChannelId): Future[CloseChannelResult]
- def closeChannel(id: NodeId): Future[CloseChannelResult]
- val cmd: Vector[String]
The command to start the daemon on the underlying OS
The command to start the daemon on the underlying OS
- Definition Classes
- CLightningRpcClient → NativeProcessFactory
- def completeChannelOpen(nodeId: NodeId, psbt: PSBT): Future[FundChannelCompleteResult]
- def connect(nodeId: NodeId): Future[ConnectResult]
- def connect(uri: NodeUri): Future[ConnectResult]
- def connect(nodeId: NodeId, host: String, port: Int): Future[ConnectResult]
- def connect(nodeId: NodeId, addr: InetSocketAddress): Future[ConnectResult]
- def createInvoice(amount: CurrencyUnit, label: String, description: String, expirySeconds: Long): Future[CLightningInvoiceResult]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit val executionContext: ExecutionContext
- Definition Classes
- CLightningRpcClient → NativeProcessFactory
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findChannel(shortChanId: ShortChannelId): Future[Option[Channel]]
- def findPeer(nodeId: NodeId): Future[Option[CLightningPeer]]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getInfo: Future[CLightningInfo]
- def getNewAddress(addressType: AddressType): Future[BitcoinAddress]
- def getNewAddress: Future[BitcoinAddress]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def initChannelOpen(nodeId: NodeId, amount: CurrencyUnit, privateChannel: Boolean): Future[FundChannelStartResult]
- val instance: CLightningInstanceLocal
- def isAlive(): Boolean
- Definition Classes
- NativeProcessFactory
- def isConnected(nodeId: NodeId): Future[Boolean]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listChannels(): Future[Vector[Channel]]
- def listFunds(spent: Boolean): Future[ListFundsResult]
- def listFunds: Future[ListFundsResult]
- def listInvoices: Future[Vector[CLightningLookupInvoiceResult]]
- def listPeers: Future[Vector[CLightningPeer]]
- def listTransactions(): Future[Vector[CLightningTransaction]]
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- def lookupInvoice(paymentHash: Sha256Digest): Future[Option[CLightningLookupInvoiceResult]]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nodeId: Future[NodeId]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def openChannel(nodeId: NodeId, fundingAmount: CurrencyUnit, pushAmt: CurrencyUnit, feeRate: FeeUnit, privateChannel: Boolean): Future[FundChannelResult]
- def payInvoice(invoice: LnInvoice, amount: CurrencyUnit): Future[CLightningPayResult]
- def payInvoice(invoice: LnInvoice): Future[CLightningPayResult]
- def reserveInputs(psbt: PSBT, exclusive: Boolean, reserve: Int): Future[Vector[InputReservation]]
- def reserveInputs(psbt: PSBT, exclusive: Boolean): Future[Vector[InputReservation]]
- def reserveInputs(psbt: PSBT): Future[Vector[InputReservation]]
- def sendCustomMessage(peer: NodeId, lnMessage: LnMessage[TLV]): Future[SendCustomMessageResult]
- def sendCustomMessage(peer: NodeId, tlv: TLV): Future[SendCustomMessageResult]
- def sendCustomMessage(peer: NodeId, tpe: BigSizeUInt, data: ByteVector): Future[SendCustomMessageResult]
- def sendToAddress(address: BitcoinAddress, amount: Satoshis, feeRate: FeeUnit): Future[WithdrawResult]
- def sendToAddress(address: BitcoinAddress, amount: Satoshis): Future[WithdrawResult]
- def signPSBT(psbt: PSBT, indexesToSign: Vector[Int]): Future[PSBT]
- def signPSBT(psbt: PSBT): Future[PSBT]
- def start(): Future[CLightningRpcClient]
- Definition Classes
- CLightningRpcClient → StartStop
- def startBinary(): Future[Unit]
Starts the binary by spinning up a new process
Starts the binary by spinning up a new process
- Definition Classes
- NativeProcessFactory
- def stop(): Future[CLightningRpcClient]
- Definition Classes
- CLightningRpcClient → StartStop
- def stopBinary(): Future[Unit]
Stops the binary by destroying the underlying operating system process
Stops the binary by destroying the underlying operating system process
If the client is a remote client (not started on the host operating system) this method is a no-op
- Definition Classes
- NativeProcessFactory
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def waitInvoice(label: String): Future[CLightningLookupInvoiceResult]
- def walletBalance(): Future[WalletBalances]
- def withdraw(address: BitcoinAddress, amount: Satoshis, feeRate: FeeUnit): Future[WithdrawResult]
- def withdraw(address: BitcoinAddress, amount: Satoshis): Future[WithdrawResult]