Class LnrpcBatchOpenChannel

java.lang.Object
net.osslabz.lnd.dto.LnrpcBatchOpenChannel

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-07T12:03:34.958542131Z[Etc/UTC]") public class LnrpcBatchOpenChannel extends Object
LnrpcBatchOpenChannel
  • Field Details

  • Constructor Details

    • LnrpcBatchOpenChannel

      public LnrpcBatchOpenChannel()
  • Method Details

    • nodePubkey

      public LnrpcBatchOpenChannel nodePubkey(byte[] nodePubkey)
    • getNodePubkey

      @Nullable public byte[] getNodePubkey()
      The pubkey of the node to open a channel with. When using REST, this field must be encoded as base64.
      Returns:
      nodePubkey
    • setNodePubkey

      public void setNodePubkey(byte[] nodePubkey)
    • localFundingAmount

      public LnrpcBatchOpenChannel localFundingAmount(String localFundingAmount)
    • getLocalFundingAmount

      @Nullable public String getLocalFundingAmount()
      The number of satoshis the wallet should commit to the channel.
      Returns:
      localFundingAmount
    • setLocalFundingAmount

      public void setLocalFundingAmount(String localFundingAmount)
    • pushSat

      public LnrpcBatchOpenChannel pushSat(String pushSat)
    • getPushSat

      @Nullable public String getPushSat()
      The number of satoshis to push to the remote side as part of the initial commitment state.
      Returns:
      pushSat
    • setPushSat

      public void setPushSat(String pushSat)
    • _private

      public LnrpcBatchOpenChannel _private(Boolean _private)
    • getPrivate

      @Nullable public Boolean getPrivate()
      Whether this channel should be private, not announced to the greater network.
      Returns:
      _private
    • setPrivate

      public void setPrivate(Boolean _private)
    • minHtlcMsat

      public LnrpcBatchOpenChannel minHtlcMsat(String minHtlcMsat)
    • getMinHtlcMsat

      @Nullable public String getMinHtlcMsat()
      The minimum value in millisatoshi we will require for incoming HTLCs on the channel.
      Returns:
      minHtlcMsat
    • setMinHtlcMsat

      public void setMinHtlcMsat(String minHtlcMsat)
    • remoteCsvDelay

      public LnrpcBatchOpenChannel remoteCsvDelay(Long remoteCsvDelay)
    • getRemoteCsvDelay

      @Nullable public Long getRemoteCsvDelay()
      The delay we require on the remote's commitment transaction. If this is not set, it will be scaled automatically with the channel size.
      Returns:
      remoteCsvDelay
    • setRemoteCsvDelay

      public void setRemoteCsvDelay(Long remoteCsvDelay)
    • closeAddress

      public LnrpcBatchOpenChannel closeAddress(String closeAddress)
    • getCloseAddress

      @Nullable public String getCloseAddress()
      Close address is an optional address which specifies the address to which funds should be paid out to upon cooperative close. This field may only be set if the peer supports the option upfront feature bit (call listpeers to check). The remote peer will only accept cooperative closes to this address if it is set. Note: If this value is set on channel creation, you will *not* be able to cooperatively close out to a different address.
      Returns:
      closeAddress
    • setCloseAddress

      public void setCloseAddress(String closeAddress)
    • pendingChanId

      public LnrpcBatchOpenChannel pendingChanId(byte[] pendingChanId)
    • getPendingChanId

      @Nullable public byte[] getPendingChanId()
      An optional, unique identifier of 32 random bytes that will be used as the pending channel ID to identify the channel while it is in the pre-pending state.
      Returns:
      pendingChanId
    • setPendingChanId

      public void setPendingChanId(byte[] pendingChanId)
    • commitmentType

      public LnrpcBatchOpenChannel commitmentType(LnrpcCommitmentType commitmentType)
    • getCommitmentType

      @Nullable public LnrpcCommitmentType getCommitmentType()
      Get commitmentType
      Returns:
      commitmentType
    • setCommitmentType

      public void setCommitmentType(LnrpcCommitmentType commitmentType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object