TxOut

object TxOut extends BtcSerializer[TxOut]
Companion:
class
Source:
Transaction.scala
trait Product
trait Mirror
class Object
trait Matchable
class Any
TxOut.type

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def apply(amount: Satoshi, publicKeyScript: Seq[ScriptElt]): TxOut
override def read(input: InputStream, protocolVersion: Long): TxOut

read a message from a stream

read a message from a stream

Value parameters:
in

input stream / byte array / bytevector / hex string

protocolVersion

(optional) protocol version

Returns:

a deserialized message

Definition Classes
Source:
Transaction.scala
def totalSize(txOut: TxOut, protocolVersion: Long): Int
override def validate(input: TxOut): Unit
Definition Classes
Source:
Transaction.scala
def weight(txOut: TxOut, protocolVersion: Long): Int
override def write(input: TxOut, out: OutputStream, protocolVersion: Long): Unit

write a message to a stream

write a message to a stream

Value parameters:
out

output stream

t

message

Definition Classes
Source:
Transaction.scala

Inherited methods

def read(in: ByteVector): T
Inherited from:
BtcSerializer
Source:
Protocol.scala
def read(in: String): T
Inherited from:
BtcSerializer
Source:
Protocol.scala
def read(in: String, protocolVersion: Long): T
Inherited from:
BtcSerializer
Source:
Protocol.scala
def read(in: Array[Byte]): T
Inherited from:
BtcSerializer
Source:
Protocol.scala
def read(in: Array[Byte], protocolVersion: Long): T
Inherited from:
BtcSerializer
Source:
Protocol.scala
def read(in: InputStream): T
Inherited from:
BtcSerializer
Source:
Protocol.scala
Inherited from:
BtcSerializer
Source:
Protocol.scala
def write(t: TxOut, protocolVersion: Long): ByteVector

write a message to a byte array

write a message to a byte array

Value parameters:
t

message

Returns:

a serialized message

Inherited from:
BtcSerializer
Source:
Protocol.scala
def write(t: TxOut, out: OutputStream): Unit
Inherited from:
BtcSerializer
Source:
Protocol.scala