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()
- Alphabetic
- By Inheritance
- TxTemplate
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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
- def addAllInputs(__vs: Iterable[OutPoint]): TxTemplate
- def addAllOutputs(__vs: Iterable[(String, Long)]): TxTemplate
- def addInputs(__vs: OutPoint*): TxTemplate
- def addOutputs(__vs: (String, Long)*): TxTemplate
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearInputs: TxTemplate
- def clearOutputs: TxTemplate
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: TxTemplate.type
- Definition Classes
- TxTemplate → GeneratedMessage
- def discardUnknownFields: TxTemplate
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- TxTemplate → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- TxTemplate → GeneratedMessage
- val inputs: Seq[OutPoint]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val outputs: Map[String, Long]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- TxTemplate → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- TxTemplate → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[TxTemplate, TxTemplate]) => Mutation[TxTemplate]*): TxTemplate
- Definition Classes
- Updatable
- 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 withInputs(__v: Seq[OutPoint]): TxTemplate
- def withOutputs(__v: Map[String, Long]): TxTemplate
- def withUnknownFields(__v: UnknownFieldSet): TxTemplate
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- TxTemplate → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage