Package jrpc.clightning.rpc.bitcoin
Class CLightningBitcoinRPC
- java.lang.Object
-
- jrpc.clightning.rpc.bitcoin.CLightningBitcoinRPC
-
public class CLightningBitcoinRPC extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CLightningBitcoinRPC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CLightningFeeRate
feeRate(CommandRPCMediator mediatorCommand, FeeRateStyle style)
CLightningFundPSBT
fundsPSBT(CommandRPCMediator mediatorCommand, java.lang.String satoshi, int feeRate, int startWeight, int minConf, boolean reserve, java.math.BigInteger lockTime, java.math.BigInteger minWitnessWeight, java.lang.Boolean excessAsChange)
java.lang.String
newAddress(CommandRPCMediator mediatorCommand, AddressType type)
CLightningReserveInputs
reserveInputs(CommandRPCMediator mediatorCommand, java.lang.String psbt, boolean exclusive)
CLightningTransaction
sendPSBT(CommandRPCMediator mediatorCommand, java.lang.String psbt)
CLightningPSBT
signPSBT(CommandRPCMediator mediatorCommand, java.lang.String psbt)
CLightningBitcoinTx
txDiscard(CommandRPCMediator mediatorCommand, java.lang.String txId)
CLightningBitcoinTx
txPrepare(CommandRPCMediator mediatorCommand, java.util.List<BitcoinDestination> bitcoinOutputs, java.lang.String feeRate, int minConf, java.util.List<BitcoinUTXO> utxos)
CLightningReserveInputs
unReserveInputs(CommandRPCMediator mediatorCommand, java.lang.String psbt)
CLightningBitcoinTx
withdraw(CommandRPCMediator mediatorCommand, java.lang.String destination, java.lang.String satoshi, java.lang.String feeRate, int minconf, java.util.List<BitcoinUTXO> utxos)
-
-
-
Method Detail
-
feeRate
public CLightningFeeRate feeRate(CommandRPCMediator mediatorCommand, FeeRateStyle style)
-
newAddress
public java.lang.String newAddress(CommandRPCMediator mediatorCommand, AddressType type)
-
txPrepare
public CLightningBitcoinTx txPrepare(CommandRPCMediator mediatorCommand, java.util.List<BitcoinDestination> bitcoinOutputs, java.lang.String feeRate, int minConf, java.util.List<BitcoinUTXO> utxos)
-
txDiscard
public CLightningBitcoinTx txDiscard(CommandRPCMediator mediatorCommand, java.lang.String txId)
-
withdraw
public CLightningBitcoinTx withdraw(CommandRPCMediator mediatorCommand, java.lang.String destination, java.lang.String satoshi, java.lang.String feeRate, int minconf, java.util.List<BitcoinUTXO> utxos)
-
fundsPSBT
public CLightningFundPSBT fundsPSBT(CommandRPCMediator mediatorCommand, java.lang.String satoshi, int feeRate, int startWeight, int minConf, boolean reserve, java.math.BigInteger lockTime, java.math.BigInteger minWitnessWeight, java.lang.Boolean excessAsChange)
-
unReserveInputs
public CLightningReserveInputs unReserveInputs(CommandRPCMediator mediatorCommand, java.lang.String psbt)
-
reserveInputs
public CLightningReserveInputs reserveInputs(CommandRPCMediator mediatorCommand, java.lang.String psbt, boolean exclusive)
-
signPSBT
public CLightningPSBT signPSBT(CommandRPCMediator mediatorCommand, java.lang.String psbt)
-
sendPSBT
public CLightningTransaction sendPSBT(CommandRPCMediator mediatorCommand, java.lang.String psbt)
-
-