Class LnrpcSendCoinsRequest

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

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

  • Constructor Details

    • LnrpcSendCoinsRequest

      public LnrpcSendCoinsRequest()
  • Method Details

    • addr

      public LnrpcSendCoinsRequest addr(String addr)
    • getAddr

      @Nullable public String getAddr()
      Get addr
      Returns:
      addr
    • setAddr

      public void setAddr(String addr)
    • amount

      public LnrpcSendCoinsRequest amount(String amount)
    • getAmount

      @Nullable public String getAmount()
      Get amount
      Returns:
      amount
    • setAmount

      public void setAmount(String amount)
    • targetConf

      public LnrpcSendCoinsRequest targetConf(Integer targetConf)
    • getTargetConf

      @Nullable public Integer getTargetConf()
      The target number of blocks that this transaction should be confirmed by.
      Returns:
      targetConf
    • setTargetConf

      public void setTargetConf(Integer targetConf)
    • satPerVbyte

      public LnrpcSendCoinsRequest satPerVbyte(String satPerVbyte)
    • getSatPerVbyte

      @Nullable public String getSatPerVbyte()
      A manual fee rate set in sat/vbyte that should be used when crafting the transaction.
      Returns:
      satPerVbyte
    • setSatPerVbyte

      public void setSatPerVbyte(String satPerVbyte)
    • satPerByte

      public LnrpcSendCoinsRequest satPerByte(String satPerByte)
    • getSatPerByte

      @Nullable public String getSatPerByte()
      Deprecated, use sat_per_vbyte. A manual fee rate set in sat/vbyte that should be used when crafting the transaction.
      Returns:
      satPerByte
    • setSatPerByte

      public void setSatPerByte(String satPerByte)
    • sendAll

      public LnrpcSendCoinsRequest sendAll(Boolean sendAll)
    • getSendAll

      @Nullable public Boolean getSendAll()
      If set, then the amount field will be ignored, and lnd will attempt to send all the coins under control of the internal wallet to the specified address.
      Returns:
      sendAll
    • setSendAll

      public void setSendAll(Boolean sendAll)
    • label

      public LnrpcSendCoinsRequest label(String label)
    • getLabel

      @Nullable public String getLabel()
      An optional label for the transaction, limited to 500 characters.
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • minConfs

      public LnrpcSendCoinsRequest minConfs(Integer minConfs)
    • getMinConfs

      @Nullable public Integer getMinConfs()
      The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
      Returns:
      minConfs
    • setMinConfs

      public void setMinConfs(Integer minConfs)
    • spendUnconfirmed

      public LnrpcSendCoinsRequest spendUnconfirmed(Boolean spendUnconfirmed)
    • getSpendUnconfirmed

      @Nullable public Boolean getSpendUnconfirmed()
      Whether unconfirmed outputs should be used as inputs for the transaction.
      Returns:
      spendUnconfirmed
    • setSpendUnconfirmed

      public void setSpendUnconfirmed(Boolean spendUnconfirmed)
    • 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