final case class TxTemplate(inputs: Seq[OutPoint] = _root_.scala.Seq.empty, outputs: Map[String, Long] = _root_.scala.collection.immutable.Map.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[TxTemplate] with Product with Serializable

inputs

An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.

outputs

A map of all addresses and the amounts to send to in the funded PSBT.

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TxTemplate
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TxTemplate(inputs: Seq[OutPoint] = _root_.scala.Seq.empty, outputs: Map[String, Long] = _root_.scala.collection.immutable.Map.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    inputs

    An optional list of inputs to use. Every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the fee rate specified in the parent message. If no inputs are specified, coin selection will be performed instead and inputs of sufficient value will be added to the resulting PSBT.

    outputs

    A map of all addresses and the amounts to send to in the funded PSBT.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllInputs(__vs: Iterable[OutPoint]): TxTemplate
  5. def addAllOutputs(__vs: Iterable[(String, Long)]): TxTemplate
  6. def addInputs(__vs: OutPoint*): TxTemplate
  7. def addOutputs(__vs: (String, Long)*): TxTemplate
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearInputs: TxTemplate
  10. def clearOutputs: TxTemplate
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def companion: TxTemplate.type
    Definition Classes
    TxTemplate → GeneratedMessage
  13. def discardUnknownFields: TxTemplate
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    TxTemplate → GeneratedMessage
  17. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    TxTemplate → GeneratedMessage
  18. val inputs: Seq[OutPoint]
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. val outputs: Map[String, Long]
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. def serializedSize: Int
    Definition Classes
    TxTemplate → GeneratedMessage
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  28. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  29. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  30. def toProtoString: String
    Definition Classes
    TxTemplate → GeneratedMessage
  31. val unknownFields: UnknownFieldSet
  32. def update(ms: (Lens[TxTemplate, TxTemplate]) => Mutation[TxTemplate]*): TxTemplate
    Definition Classes
    Updatable
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. def withInputs(__v: Seq[OutPoint]): TxTemplate
  37. def withOutputs(__v: Map[String, Long]): TxTemplate
  38. def withUnknownFields(__v: UnknownFieldSet): TxTemplate
  39. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  40. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    TxTemplate → GeneratedMessage
  41. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Updatable[TxTemplate]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped