transaction is not optional in transaction output protobuf