serialize

fun serialize(): List<UByte>

Return the transaction bytes, bitcoin consensus encoded.